:root {
    --bg-0: #0b0d12;
    --bg-1: #131621;
    --bg-2: #1a1f2c;
    --bg-3: rgba(22, 27, 36, 0.78);
    --stroke: #262b39;
    --stroke-soft: rgba(68, 79, 101, 0.35);
    --text-1: #f3f4f8;
    --text-2: #b2b9c8;
    --brand: #d6c06a;
    --brand-2: #9d8c45;
    --brand-hot: #ff9350;
    --lava: #ff7a1a;
    --accent: #3f67ff;
    --focus-ring: 0 0 0 4px rgba(214, 192, 106, 0.22);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-soft: 0 22px 48px rgba(4, 5, 12, 0.45);
    --shadow-glow: 0 0 0 0 rgba(214, 192, 106, 0.0), 0 0 36px rgba(214, 192, 106, 0.18), 0 0 120px rgba(255, 122, 26, 0.16);
    --maxw: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
    color: var(--text-1);
    background:
        radial-gradient(1200px 640px at 80% -20%, rgba(214, 192, 106, 0.12), transparent 55%),
        radial-gradient(900px 520px at -15% 0%, rgba(63, 103, 255, 0.15), transparent 50%),
        linear-gradient(160deg, #07080c 0%, #131621 40%, #0d1017 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
    line-height: 1;
}

a:hover {
    color: var(--brand);
}

.container {
    width: min(100%, var(--maxw));
    margin-inline: auto;
    padding-inline: 24px;
}

section {
    padding: 110px 0;
    position: relative;
    z-index: 1;
}

.bg-layers {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 0.82;
}

.bg-orb,
.bg-trail,
.bg-grid {
    position: absolute;
    will-change: transform, opacity;
}

.bg-orb {
    border-radius: 50%;
    filter: blur(0);
    mix-blend-mode: screen;
    opacity: 0.28;
    background: radial-gradient(circle at 30% 30%, rgba(255, 122, 26, 0.5), transparent 65%);
    animation: orb-drift 8s ease-in-out infinite alternate;
}

.bg-orb--primary {
    width: 620px;
    height: 620px;
    top: -120px;
    right: -220px;
    background: radial-gradient(circle at 50% 40%, rgba(214, 192, 106, 0.5), transparent 70%);
    animation-duration: 11s;
}

.bg-orb--secondary {
    width: 420px;
    height: 420px;
    bottom: -160px;
    left: -120px;
    background: radial-gradient(circle at 50% 50%, rgba(63, 103, 255, 0.55), transparent 70%);
    animation-duration: 9s;
}

.bg-orb--accent {
    width: 380px;
    height: 380px;
    top: 45%;
    left: 15%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 122, 26, 0.45), transparent 72%);
    animation-duration: 13s;
}

.bg-trail {
    --angle: 0deg;
    width: 320px;
    height: 140%;
    background: linear-gradient(180deg, rgba(214, 192, 106, 0.0) 0%, rgba(214, 192, 106, 0.15) 40%, rgba(214, 192, 106, 0.0) 100%);
    opacity: 0.1;
    filter: blur(0.5px);
    animation: trail-drift 12s linear infinite;
}

.bg-trail--one {
    left: 8%;
    --angle: 12deg;
}

.bg-trail--two {
    right: 12%;
    --angle: -8deg;
    animation-duration: 14s;
}

.bg-trail--three {
    left: 55%;
    --angle: 4deg;
    animation-duration: 16s;
}

.bg-grid {
    inset: -10%;
    background-image:
        linear-gradient(transparent 97%, rgba(63, 103, 255, 0.08) 100%),
        linear-gradient(90deg, transparent 97%, rgba(63, 103, 255, 0.08) 100%);
    background-size: 140px 140px;
    opacity: 0.12;
    animation: grid-pan 30s linear infinite;
}

/* Header */

header.site {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: saturate(140%) blur(12px);
    background: color-mix(in srgb, rgba(10, 12, 18, 0.92), transparent 22%);
    border-bottom: 1px solid rgba(38, 43, 57, 0.6);
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

body[data-scrolled="true"] header.site {
    background: color-mix(in srgb, rgba(12, 15, 22, 0.95), transparent 10%);
    border-color: rgba(63, 103, 255, 0.18);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 8px 28px rgba(214, 192, 106, 0.35));
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav a {
    color: var(--text-2);
    font-weight: 600;
    letter-spacing: 0.2px;
    position: relative;
    padding: 4px 0;
    transition: color .2s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(214, 192, 106, 0.0), rgba(214, 192, 106, 0.6), rgba(63, 103, 255, 0.0));
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-active::after {
    opacity: 1;
    transform: translateY(0);
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
    color: var(--text-1);
}

/* Buttons */

.btn {
    --padx: 20px;
    --pady: 12px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--pady) var(--padx);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: linear-gradient(180deg, rgba(25, 29, 40, 0.92), rgba(13, 16, 24, 0.95));
    color: var(--text-1);
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0.2px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.btn .pulse {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background:
        radial-gradient(220px 120px at var(--x, 50%) var(--y, 50%), rgba(214, 192, 106, 0.22), transparent 42%),
        radial-gradient(180px 120px at var(--x, 50%) var(--y, 50%), rgba(255, 122, 26, 0.2), transparent 48%);
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
}

.btn:hover,
.btn:focus-visible {
    border-color: rgba(214, 192, 106, 0.45);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn:hover .pulse,
.btn:focus-visible .pulse {
    opacity: 1;
}

.btn:focus-visible {
    outline: none;
    box-shadow: var(--shadow-glow), var(--focus-ring);
}

.btn--primary {
    background:
        radial-gradient(80% 130% at 10% -10%, rgba(255, 100, 0, 1), transparent 55%),
        linear-gradient(180deg, color-mix(in srgb, var(--brand) 35%, #000 20%), color-mix(in srgb, #000 50%, var(--brand-hot)));
    color: white;
    border-color: color-mix(in srgb, var(--brand), #000 35%);
    text-shadow: 0 0 18px rgba(255, 122, 26, 0.45);
}

.btn--primary:hover {
    box-shadow: 0 0 0 6px rgba(255, 122, 26, 0.18), 0 32px 120px rgba(255, 122, 26, 0.16), 0 0 80px rgba(214, 192, 106, 0.16);
}

.btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.08);
}

/* Tag */

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    color: var(--text-2);
    padding: 6px 12px;
    font-size: 12px;
    letter-spacing: 0.2px;
    background: linear-gradient(180deg, rgba(25, 29, 40, 0.95), rgba(12, 15, 24, 0.95));
    box-shadow: inset 0 0 24px rgba(63, 103, 255, 0.15);
    text-transform: uppercase;
}

.tag .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 20px rgba(214, 192, 106, 0.8), 0 0 60px rgba(255, 122, 26, 0.6);
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
}

.hero .glow {
    position: absolute;
    inset: 0 20% auto;
    height: 60%;
    background: radial-gradient(circle at 50% -1%, rgba(214, 192, 106, 0.18), transparent 60%);
    opacity: 0.8;
    filter: blur(4px);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-copy h1 {
    margin-top: 16px;
    margin-bottom: 16px;
    font-size: clamp(2.6rem, 4vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.8px;
}

.lead {
    margin: 0 0 18px;
    color: var(--text-2);
    font-size: 1.05rem;
    max-width: 640px;
}

.lead-points {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 10px;
    color: var(--text-2);
    font-weight: 500;
}

.lead-points li {
    position: relative;
    padding-left: 20px;
}

.lead-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-hot));
    box-shadow: 0 0 12px rgba(214, 192, 106, 0.5);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(38, 43, 57, 0.7), rgba(255, 255, 255, 0));
    margin: 24px 0;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 80%;
}

.stat {
    flex: 1 1 180px;
    background: linear-gradient(180deg, rgba(25, 29, 40, 0.9), rgba(9, 11, 18, 0.85));
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stat strong {
    display: block;
    font-size: 1.02rem;
    margin-bottom: 6px;
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(25, 29, 40, 0.92), rgba(9, 12, 19, 0.96));
    border: 1px solid rgba(63, 103, 255, 0.12);
    padding: 18px 18px 0;
    box-shadow: 0 35px 65px rgba(8, 12, 18, 0.55);
    isolation: isolate;
}

.hero-visual img {
    width: 100%;
    border-radius: calc(var(--radius-xl) - 4px);
    display: block;
}

.hero-float {
    position: absolute;
    left: 6%;
    right: 6%;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(27, 31, 43, 0.95), rgba(11, 14, 22, 0.92));
    border: 1px solid rgba(214, 192, 106, 0.22);
    box-shadow: 0 18px 45px rgba(9, 12, 18, 0.55);
    backdrop-filter: blur(12px);
    animation: float-bob 7s ease-in-out infinite;
}

.hero-float strong {
    display: block;
    font-size: 0.98rem;
    margin-bottom: 4px;
}

.hero-float small {
    color: var(--text-2);
    font-size: 0.76rem;
}

.hero-float__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(214, 192, 106, 0.65);
    display: inline-block;
    margin-bottom: 6px;
}

.hero-float--top {
    top: 10%;
    width: 78%;
}

.hero-float--bottom {
    bottom: 8%;
    left: auto;
    right: 6%;
    width: 74%;
}

.hero-float--portal {
    bottom: 10%;
    left: 8%;
    width: 76%;
}

/* Section headers */

.section-title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.section-sub {
    margin: 0 0 32px;
    color: var(--text-2);
    max-width: 760px;
    font-size: 1rem;
}

/* Services */

.service-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.service-card {
    padding: 20px 22px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(25, 29, 41, 0.92), rgba(9, 11, 19, 0.92));
    border: 1px solid rgba(63, 103, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 20px 48px rgba(8, 12, 18, 0.45);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(214, 192, 106, 0.35);
    box-shadow: 0 32px 60px rgba(12, 16, 24, 0.5);
}

.service-card h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
}

/* Trusted */

.trusted {
    padding-top: 80px;
    padding-bottom: 80px;
}

.trusted-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.caps {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    color: var(--text-2);
}

.logo-tape {
    position: relative;
    overflow: hidden;
    width: min(100%);
    border-radius: 999px;
    border: 1px solid rgba(63, 103, 255, 0.18);
    background: rgba(15, 18, 28, 0.8);
    isolation: isolate;
}

.logo-track {
    display: flex;
    align-items: center;
    animation: marquee 10s linear infinite;
    will-change: transform;
}

.logo-tape:hover .logo-track,
.logo-tape:focus-within .logo-track {
    animation-play-state: paused;
}

.tape {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    padding: 12px 16px;
}

.logo-tape img {
    height: 32px;
    width: auto;
    filter: brightness(1.15);
    opacity: 0.85;
    transition: transform .35s cubic-bezier(.25, .8, .25, 1), filter .35s ease, clip-path .35s ease;
    transform-origin: center;
    clip-path: inset(0);
    position: relative;
    will-change: transform;
}

.logo-tape img:hover,
.logo-tape img:focus-visible {
    transform: scale(1.1);
    clip-path: inset(-10% -10% -10% -10%);
    filter: brightness(1.35);
    z-index: 2;
}

.trust-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.trust-points div {
    background: linear-gradient(180deg, rgba(20, 23, 33, 0.9), rgba(10, 12, 19, 0.92));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(214, 192, 106, 0.12);
    padding: 20px 22px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.trust-points strong {
    display: block;
    margin-bottom: 8px;
}

/* Process */

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.step {
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(25, 29, 41, 0.92), rgba(9, 11, 18, 0.92));
    border: 1px solid rgba(63, 103, 255, 0.18);
    padding: 20px;
    display: grid;
    gap: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
    transition: transform .25s ease, border-color .25s ease;
}

.step:hover {
    transform: translateY(-4px);
    border-color: rgba(214, 192, 106, 0.35);
}

.step .num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-hot));
    color: #090b12;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 0 50px rgba(214, 192, 106, 1);
}

/* Portal */

.portal {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 28px;
    align-items: center;
}

.portal-card {
    background: linear-gradient(180deg, rgba(25, 29, 41, 0.92), rgba(9, 11, 18, 0.92));
    border-radius: var(--radius-xl);
    padding: 36px;
    border: 1px solid rgba(63, 103, 255, 0.16);
    box-shadow: 0 28px 60px rgba(8, 12, 18, 0.55);
}

.list {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: flex-start;
    background: rgba(12, 14, 22, 0.6);
    border: 1px solid rgba(214, 192, 106, 0.12);
    border-radius: var(--radius-md);
    padding: 14px 16px;
}

.check {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-hot));
    color: #0b0d12;
    font-size: 0.9rem;
    box-shadow: 0 0 50px rgba(214, 192, 106, 1);
}

.portal-visual {
    position: relative;
    padding: 22px;
}

.hero-card {
    background: linear-gradient(180deg, rgba(24, 28, 40, 0.92), rgba(10, 12, 19, 0.94));
    border-radius: var(--radius-xl);
    padding: 28px;
    border: 1px solid rgba(63, 103, 255, 0.18);
    box-shadow: 0 25px 55px rgba(8, 12, 18, 0.5);
}

.hero-card h3 {
    margin-top: 0;
}

/* FAQ */

.faq {
    display: grid;
    gap: 10px;
}

.faq-q {
    width: 100%;
    text-align: left;
    background: linear-gradient(180deg, rgba(25, 29, 41, 0.96), rgba(10, 12, 19, 0.94));
    border: 1px solid rgba(63, 103, 255, 0.16);
    color: var(--text-1);
    border-radius: var(--radius-md);
    padding: 16px 42px 16px 18px;
    font-weight: 600;
    position: relative;
    cursor: pointer;
    transition: border-color .25s ease, transform .2s ease;
}

.faq-q:hover,
.faq-q:focus-visible {
    border-color: rgba(214, 192, 106, 0.35);
    transform: translateY(-1px);
}

.faq-q:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.faq-q .chev {
    position: absolute;
    right: 16px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--brand);
    border-bottom: 2px solid var(--brand);
    transform: translateY(-50%) rotate(45deg);
    transition: transform .25s ease;
}

.faq-q[aria-expanded="true"] .chev {
    transform: translateY(-50%) rotate(135deg);
}

.faq-a {
    margin: 0;
    border: 1px solid rgba(63, 103, 255, 0.14);
    border-radius: var(--radius-md);
    padding: 0 18px;
    background: rgba(12, 14, 22, 0.9);
    color: var(--text-2);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .4s ease, opacity .35s ease, padding .35s ease;
}

.faq-a[data-open="true"] {
    padding: 16px 18px;
    max-height: 360px;
    opacity: 1;
}

/* Contact */

.grid-2 {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
}

.muted {
    color: var(--text-2);
}

/* Footer */

footer {
    border-top: 1px solid rgba(38, 43, 57, 0.7);
    background: linear-gradient(180deg, rgba(10, 12, 18, 0.95), rgba(7, 8, 12, 0.98));
    padding: 26px 0;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 16px;
}

/* Drawer */

.drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    grid-template-columns: 1fr auto;
    pointer-events: none;
    opacity: 0;
    transition: opacity .4s ease;
}

.drawer .scrim {
    background: rgba(5, 6, 10, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .4s ease;
}

.drawer .panel {
    background: linear-gradient(180deg, rgba(23, 27, 38, 0.96), rgba(10, 12, 19, 0.96));
    border-left: 1px solid rgba(63, 103, 255, 0.18);
    width: min(620px, 100%);
    height: 100%;
    box-shadow: -10px 0 45px rgba(5, 7, 12, 0.55);
    display: grid;
    grid-template-rows: auto 1fr auto;
    transform: translateX(40px);
    opacity: 0;
    transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .4s ease;
}

.drawer .panel::-webkit-scrollbar {
    width: 10px;
}

.drawer .panel::-webkit-scrollbar-thumb {
    background: rgba(63, 103, 255, 0.25);
    border-radius: 999px;
}

.drawer header {
    padding: 22px 22px 12px;
    border-bottom: 1px solid rgba(63, 103, 255, 0.14);
}

.drawer header h3 {
    font-size: 1.4rem;
}

.drawer .content {
    padding: 22px;
    overflow-y: auto;
    max-height: min(780px);
}

.drawer .actions {
    padding: 18px 22px;
    border-top: 1px solid rgba(63, 103, 255, 0.14);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: rgba(12, 14, 22, 0.8);
}

.drawer[data-open="true"] {
    pointer-events: auto;
    opacity: 1;
}

.drawer[data-open="true"] .scrim {
    opacity: 1;
}

.drawer[data-open="true"] .panel {
    transform: translateX(0);
    opacity: 1;
}

body[data-drawer-open="true"] {
    overflow: hidden;
}

/* Form elements */

form .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

form .row-1 {
    margin-bottom: 18px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-1);
}

input,
select,
textarea {
    width: 100%;
    background: rgba(9, 11, 18, 0.92);
    border: 1px solid rgba(63, 103, 255, 0.18);
    border-radius: 12px;
    color: var(--text-1);
    padding: 12px 14px;
    font: inherit;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: color-mix(in srgb, var(--brand), #000 35%);
    box-shadow: var(--focus-ring);
}

select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(214, 192, 106, 0.6) 55%), linear-gradient(135deg, rgba(214, 192, 106, 0.6) 45%, transparent 50%);
    background-position: calc(100% - 16px) 50%, calc(100% - 12px) 50%;
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
}

/* Chips */

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    --active: 0;
    border: 1px solid rgba(63, 103, 255, 0.2);
    border-radius: 999px;
    padding: 8px 14px;
    background: color-mix(in srgb, rgba(25, 29, 40, 0.92), rgba(214, 192, 106, 0.08) calc(var(--active) * 100%));
    color: var(--text-1);
    cursor: pointer;
    user-select: none;
    transition: border-color .2s ease, transform .12s ease, background .25s ease, box-shadow .25s ease;
}

.chip:hover {
    transform: translateY(-1px);
    border-color: rgba(214, 192, 106, 0.4);
}

.chip[data-active="true"] {
    --active: 1;
    border-color: rgba(214, 192, 106, 0.55);
    box-shadow: inset 0 0 30px rgba(214, 192, 106, 0.22), 0 0 30px rgba(214, 192, 106, 0.18);
}

.chip:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* Animation helpers */

[data-animate] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    filter: blur(8px);
    transition: opacity .6s ease, transform .6s ease, filter .6s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

[data-animate][data-animate="float-in"] {
    transform: translate3d(0, 40px, 0) scale(0.96);
}

[data-animate].is-visible[data-animate="float-in"] {
    transform: translate3d(0, 0, 0) scale(1);
}

[data-animate][data-animate="fade-down"] {
    transform: translate3d(0, -24px, 0);
}

/* Media queries */

@media (max-width: 1100px) {

    .hero-grid,
    .portal,
    .grid-2,
    .foot-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-visual {
        order: -1;
    }

    .portal-visual {
        order: 2;
    }

    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    section {
        padding: 90px 0;
    }

    .trusted-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .logo-tape {
        width: 100%;
    }

    .stats {
        gap: 16px;
    }
}

@media (max-width: 720px) {
    .hero {
        padding-top: 100px;
    }

    .hero-copy h1 {
        font-size: clamp(2.2rem, 8vw, 2.6rem);
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .service-highlights {
        grid-template-columns: 1fr;
    }

    .portal-card {
        padding: 28px;
    }

    .hero-float {
        position: static;
        margin-top: 14px;
        width: auto;
        animation: none;
    }

    .hero-visual {
        padding: 18px;
    }

    .hero-visual img {
        border-radius: var(--radius-lg);
    }

    .hero-float--top,
    .hero-float--bottom,
    .hero-float--portal {
        width: auto;
        left: auto;
        right: auto;
    }

    .drawer {
        grid-template-columns: 1fr;
    }

    .drawer .panel {
        width: 100%;
        max-width: none;
        transform: translateY(40px);
    }

    .drawer[data-open="true"] .panel {
        transform: translateY(0);
    }

    .drawer .content {
        max-height: calc(100vh - 170px);
    }
}

@media (max-width: 640px) {
    .nav ul {
        display: none;
    }

    .btn {
        --padx: 16px;
        --pady: 11px;
    }

    .cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    form .row {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .bg-layers {
        display: none;
    }

    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* Keyframes */

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

@keyframes orb-drift {
    to {
        transform: translate3d(40px, -20px, 0) scale(1.05);
    }
}

@keyframes trail-drift {
    0% {
        transform: translateY(0) rotate(var(--angle));
    }

    100% {
        transform: translateY(-12%) rotate(var(--angle));
    }
}

@keyframes grid-pan {
    to {
        transform: translate3d(-10%, -10%, 0);
    }
}

@keyframes float-bob {
    0% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -10px, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}