/* FlashFlow public landing and authentication system */
:root {
    --ff-ink: #111217;
    --ff-muted: #6c7080;
    --ff-soft: #9297a8;
    --ff-paper: #f5f6fb;
    --ff-white: #ffffff;
    --ff-border: rgba(17, 18, 23, 0.1);
    --ff-blue: #3157ff;
    --ff-violet: #8c45ff;
    --ff-success: #2f9c6a;
    --ff-serif: Georgia, 'Times New Roman', serif;
    --ff-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ff-ink); background: var(--ff-paper); font-family: var(--ff-sans); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; }

.ff-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ff-ink); text-decoration: none; }
.ff-logo__symbol { width: 32px; height: 32px; overflow: visible; fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.ff-logo__flow--primary { stroke: var(--ff-violet); }
.ff-logo__flow--secondary { stroke: var(--ff-blue); }
.ff-logo__point { stroke: none; }
.ff-logo__point--start { fill: var(--ff-blue); }
.ff-logo__point--end { fill: var(--ff-violet); }
.ff-logo__word { font-size: 19px; font-weight: 780; letter-spacing: -0.045em; }
.ff-kicker { margin: 0; color: #73778a; font-size: 10px; font-weight: 650; letter-spacing: 0.28em; line-height: 1.5; text-transform: uppercase; }

.ff-btn { min-height: 46px; padding: 0 20px; border: 1px solid var(--ff-border); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: var(--ff-ink); background: rgba(255,255,255,.66); font-size: 13px; font-weight: 650; text-decoration: none; transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease; }
.ff-btn:hover { transform: translateY(-2px); border-color: rgba(49,87,255,.36); }
.ff-btn--dark { border-color: #111217; color: white; background: #111217; }
.ff-btn--accent { border-color: transparent; color: white; background: linear-gradient(115deg, var(--ff-blue), var(--ff-violet)); }
.ff-btn svg { width: 15px; height: 15px; }
.ff-btn:focus-visible, .ff-nav a:focus-visible, .ff-text-link:focus-visible, .ff-feature:focus-visible, .ff-footer a:focus-visible { outline: 3px solid rgba(49,92,255,.22); outline-offset: 4px; }

/* Public landing */
.ff-site { min-width: 320px; overflow-x: clip; overflow-y: auto; background: #f7f8fc; }
.ff-container { width: min(1280px, calc(100% - 64px)); margin: 0 auto; }
.ff-site .ff-kicker { font-size: 11px; }
.ff-site .ff-btn { font-size: 14px; }
.ff-skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; border-radius: 6px; color: #fff; background: #111217; text-decoration: none; transform: translateY(-150%); }
.ff-skip-link:focus { transform: translateY(0); }
.ff-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; }
.ff-header__inner { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ff-nav { display: flex; align-items: center; justify-content: center; gap: clamp(22px,2.4vw,38px); margin-left: auto; }
.ff-nav a { color: #272933; font-size: clamp(14px,1.05vw,15px); font-weight: 550; text-decoration: none; transition: color .18s ease; }
.ff-nav a:hover { color: var(--ff-blue); }
.ff-header__actions { display: flex; align-items: center; gap: 9px; }
.ff-header__actions > .ff-locale-switcher { margin-right: 3px; }
.ff-header__actions .ff-btn { min-height: 38px; padding: 0 15px; font-size: 13px; }
.ff-mobile-nav { display: none; position: relative; }
.ff-mobile-nav summary { width: 38px; height: 38px; border: 1px solid var(--ff-border); border-radius: 7px; display: grid; place-content: center; gap: 5px; cursor: pointer; list-style: none; background: rgba(255,255,255,.72); }
.ff-mobile-nav summary::-webkit-details-marker { display: none; }
.ff-mobile-nav summary span { width: 16px; height: 1px; display: block; background: var(--ff-ink); }
.ff-mobile-nav__panel { position: absolute; top: 47px; right: 0; width: 230px; padding: 12px; border: 1px solid var(--ff-border); border-radius: 10px; background: #fff; box-shadow: 0 18px 45px rgba(31,35,50,.12); }
.ff-mobile-nav nav { display: grid; }
.ff-mobile-nav nav a { padding: 10px 9px; border-radius: 6px; color: var(--ff-ink); font-size: 15px; text-decoration: none; }
.ff-mobile-nav nav a:hover, .ff-mobile-nav nav a:focus { background: #f2f1ff; color: #6240dd; }
.ff-mobile-nav .ff-locale-switcher { display: none; margin: 8px 9px 0; padding-top: 10px; border-top: 1px solid var(--ff-border); }

.ff-hero { position: relative; min-height: 850px; padding: 180px 0 188px; isolation: isolate; overflow: hidden; background: linear-gradient(110deg,#fff 0%,#fbfbfe 41%,#f1f2fb 100%); }
.ff-hero::before { content: ''; position: absolute; z-index: -2; width: 980px; height: 980px; top: -370px; right: -230px; border-radius: 50%; background: radial-gradient(circle,rgba(255,255,255,.9) 0 20%,rgba(205,199,255,.24) 45%,rgba(49,92,255,.055) 61%,transparent 71%); }
.ff-hero::after { content: ''; position: absolute; z-index: -1; width: 2px; height: 440px; top: -190px; right: 17%; background: linear-gradient(transparent,#b6a7ff 45%,#fff 72%,transparent); transform: rotate(-27deg); box-shadow: 0 0 24px rgba(116,71,255,.36); }
.ff-hero__inner { position: relative; min-height: 482px; }
.ff-hero__content { position: relative; z-index: 3; width: min(650px,55%); }
.ff-hero h1 { margin: 28px 0 30px; font-size: clamp(76px,7.75vw,116px); font-weight: 820; letter-spacing: -.08em; line-height: .88; }
.ff-hero h1 span { display: block; font-size: .94em; font-style: normal; font-weight: 410; letter-spacing: -.082em; }
.ff-hero h1 em { display: block; font-size: .94em; font-weight: 520; letter-spacing: -.078em; }
.ff-hero__lead { max-width: 500px; margin: 0; color: #5f6473; font-size: clamp(18px,1.3vw,20px); line-height: 1.58; }
.ff-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.ff-visual { position: absolute; z-index: 1; top: -100px; right: -132px; width: min(63vw,780px); aspect-ratio: 760/650; }
.ff-visual__svg { width: 100%; height: auto; display: block; overflow: visible; animation: ff-float 13s ease-in-out infinite; transform-origin: 52% 50%; }
.ff-visual__ribbon { fill: none; stroke: url(#ff-ribbon); stroke-width: 19; stroke-linecap: round; opacity: .64; }
.ff-visual__ribbon--thin { stroke-width: 2; opacity: .7; }
.ff-visual__module { transform-box: fill-box; transform-origin: center; }
.ff-visual__capsule { transform-box: fill-box; transform-origin: center; }
.ff-visual__axis { position: absolute; right: 96px; top: 42%; display: grid; gap: 12px; padding: 46px 0; color: #555a6b; font-size: 8px; font-weight: 620; letter-spacing: .24em; text-transform: uppercase; }
.ff-visual__axis::before, .ff-visual__axis::after { content: ''; position: absolute; left: 50%; width: 1px; height: 30px; background: #1e2028; }
.ff-visual__axis::before { top: 0; }
.ff-visual__axis::after { bottom: 0; }
.ff-visual__index { position: absolute; right: 96px; bottom: 55px; color: #7f8495; font-size: 8px; letter-spacing: .18em; }
@keyframes ff-float { 0%,100% { transform: translate3d(0,0,0) rotate(.001deg); } 50% { transform: translate3d(0,-9px,0) rotate(1deg); } }

.ff-capabilities { position: relative; z-index: 5; margin-top: -76px; }
.ff-capabilities__inner { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--ff-border); border-bottom: 1px solid var(--ff-border); background: rgba(255,255,255,.72); }
.ff-capability { min-height: 128px; padding: 30px 24px; display: grid; grid-template-columns: 26px 1fr; gap: 14px; border-right: 1px solid var(--ff-border); }
.ff-capability:last-child { border-right: 0; }
.ff-capability__number { color: #777c8e; font-size: 9px; letter-spacing: .06em; }
.ff-capability strong { display: block; margin: 9px 0 7px; font-size: clamp(17px,1.35vw,19px); font-weight: 680; line-height: 1.25; }
.ff-capability p { margin: 0; color: var(--ff-muted); font-size: clamp(14px,1.05vw,15px); line-height: 1.55; }

.ff-section { padding: 168px 0 154px; }
.ff-section__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(72px,9vw,138px); align-items: center; }
.ff-section h2 { margin: 20px 0 32px; font-family: var(--ff-serif); font-size: clamp(60px,5.7vw,84px); font-weight: 400; letter-spacing: -.062em; line-height: .91; }
.ff-section h2 em { display: block; }
.ff-section__lead { max-width: 500px; margin: 0 0 30px; color: var(--ff-muted); font-size: clamp(16px,1.25vw,18px); line-height: 1.7; }
.ff-text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid #bbb5da; color: #46319d; font-size: 14px; font-weight: 650; text-decoration: none; }
.ff-text-link:hover { color: var(--ff-blue); border-color: var(--ff-blue); }
.ff-feature-list { display: grid; border-top: 1px solid var(--ff-border); }
.ff-feature { min-height: 104px; padding: 19px 6px; display: grid; grid-template-columns: 48px 1fr 28px; align-items: center; gap: 19px; border-bottom: 1px solid var(--ff-border); color: inherit; background: transparent; text-decoration: none; transition: padding .22s ease, background .22s ease; }
.ff-feature:hover, .ff-feature:focus-visible { padding-right: 14px; padding-left: 14px; background: rgba(116,71,255,.045); }
.ff-feature__icon { width: 42px; height: 42px; display: grid; place-items: center; color: #30333e; }
.ff-feature__icon svg { width: 22px; height: 22px; }
.ff-feature strong { display: block; margin-bottom: 6px; font-size: clamp(19px,1.5vw,21px); font-weight: 690; line-height: 1.25; }
.ff-feature small { display: block; color: var(--ff-muted); font-size: clamp(16px,1.15vw,17px); line-height: 1.5; }
.ff-feature__arrow { font-size: 19px; transition: transform .22s ease, color .22s ease; }
.ff-feature:hover .ff-feature__arrow { color: var(--ff-violet); transform: translateX(5px); }

.ff-proof { padding: 0 0 64px; }
.ff-proof__inner { padding: 44px 0; display: grid; grid-template-columns: 1.35fr repeat(4,1fr); align-items: center; border-top: 1px solid var(--ff-border); border-bottom: 1px solid var(--ff-border); }
.ff-proof__title { margin: 0; font-family: var(--ff-serif); font-size: clamp(44px,4vw,58px); font-weight: 400; letter-spacing: -.045em; line-height: .92; }
.ff-proof__title em { font-weight: 400; }
.ff-proof__item { min-height: 58px; padding-left: 34px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--ff-border); }
.ff-proof__item strong { display: block; font-size: clamp(44px,4.4vw,64px); letter-spacing: -.06em; line-height: .95; }
.ff-proof__item span { margin-top: 9px; color: var(--ff-muted); font-size: 12px; }

.ff-cta { padding: 0 0 84px; }
.ff-cta__inner { min-height: 360px; padding: 58px 64px; position: relative; overflow: hidden; display: flex; align-items: center; border-radius: 14px; color: white; background: #090a0f; }
.ff-cta__inner::before, .ff-cta__inner::after { content: ''; position: absolute; border: 1px solid rgba(146,126,255,.55); border-radius: 48%; transform: rotate(-24deg); box-shadow: 0 0 45px rgba(92,75,255,.22),inset 0 0 40px rgba(90,75,255,.18); }
.ff-cta__inner::before { width: 670px; height: 190px; right: -90px; top: 46px; }
.ff-cta__inner::after { width: 560px; height: 142px; right: -35px; top: 92px; transform: rotate(24deg); }
.ff-cta__copy { position: relative; z-index: 2; max-width: 560px; }
.ff-cta h2 { margin: 0 0 26px; font-family: var(--ff-serif); font-size: clamp(58px,5.1vw,76px); font-weight: 400; letter-spacing: -.058em; line-height: .93; }
.ff-cta .ff-kicker { margin-bottom: 18px; color: #a9adba; }
.ff-cta .ff-btn { margin-top: 9px; }
.ff-cta__art { position: absolute; inset: 0 0 0 48%; overflow: hidden; }
.ff-cta__art span { position: absolute; width: 640px; height: 180px; right: -80px; top: 92px; border: 1px solid rgba(139,117,255,.58); border-radius: 50%; transform: rotate(-22deg); background: linear-gradient(180deg,rgba(91,72,210,.13),rgba(255,255,255,.025)); box-shadow: inset 0 0 45px rgba(83,65,210,.2),0 0 35px rgba(78,63,189,.14); }
.ff-cta__art span:nth-child(2) { top: 78px; right: -20px; transform: rotate(24deg); }
.ff-cta__art span:nth-child(3) { width: 330px; height: 330px; top: 10px; right: 185px; transform: rotate(45deg); }

/* API and pricing */
.ff-api-section { margin: 68px 0 142px; padding: 136px 0; border-top: 1px solid var(--ff-border); border-bottom: 1px solid var(--ff-border); background: rgba(255,255,255,.72); }
.ff-api-section__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(70px,9vw,140px); align-items: center; }
.ff-api-section h2, .ff-pricing h2 { margin: 19px 0 27px; font-family: var(--ff-serif); font-size: clamp(56px,5.1vw,76px); font-weight: 400; letter-spacing: -.062em; line-height: .92; }
.ff-api-section h2 em, .ff-pricing h2 em { font-weight: 400; }
.ff-api-section__copy p:not(.ff-kicker) { max-width: 500px; margin: 0 0 26px; color: var(--ff-muted); font-size: clamp(16px,1.2vw,18px); line-height: 1.68; }
.ff-code { overflow: hidden; border: 1px solid #252735; border-radius: 10px; color: #cdd3e4; background: #0d0f16; box-shadow: 0 24px 54px rgba(13,15,22,.12); }
.ff-code__top { height: 44px; padding: 0 16px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid #252735; }
.ff-code__top > span { width: 7px; height: 7px; border-radius: 50%; background: #3b3f52; }
.ff-code__top small { margin-left: auto; color: #777e95; font-size: 9px; }
.ff-code pre { margin: 0; padding: 34px; overflow: auto; font: 12px/1.9 'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace; }
.ff-code code span { color: #7658ff; }
.ff-code code b { color: #7ca5ff; font-weight: 500; }
.ff-code__status { padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-top: 1px solid #252735; color: #777e95; font-size: 9px; }
.ff-code__status i { width: 6px; height: 6px; border-radius: 50%; background: #4dd092; }
.ff-pricing { padding: 0 0 142px; }
.ff-pricing__inner { padding: 66px 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(70px,9vw,140px); align-items: center; border-top: 1px solid var(--ff-border); border-bottom: 1px solid var(--ff-border); }
.ff-pricing__content p { margin: 0 0 26px; color: var(--ff-muted); font-size: clamp(16px,1.2vw,18px); line-height: 1.7; }

/* Footer */
.ff-footer { padding: 32px 0; border-top: 1px solid rgba(17,18,23,.06); background: #f4f5f9; }
.ff-footer__main { padding: 50px 0 66px; display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 52px; }
.ff-footer__about p, .ff-footer__column p { max-width: 280px; margin: 18px 0 12px; color: var(--ff-muted); font-size: 14px; line-height: 1.65; }
.ff-footer__about > span { color: var(--ff-soft); font-size: 12px; }
.ff-footer__column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ff-footer__column strong { margin-bottom: 5px; font-size: 14px; }
.ff-footer__column a { color: var(--ff-muted); font-size: 13px; text-decoration: none; }
.ff-footer__column a:hover { color: var(--ff-blue); }
.ff-footer__bottom { padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid var(--ff-border); color: var(--ff-soft); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* Unified auth */
.ff-auth-page { min-width: 320px; min-height: 100vh; background: var(--ff-paper); }
.ff-auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(420px,1.08fr) minmax(420px,.92fr); }
.ff-auth-story { min-height: 100vh; padding: 44px clamp(42px,6vw,92px); position: relative; overflow: hidden; display: flex; flex-direction: column; isolation: isolate; background: linear-gradient(145deg,#f9fafe,#eef0fa); }
.ff-auth-story::before { content: ''; position: absolute; z-index: -2; inset: 0; opacity: .62; background-image: linear-gradient(rgba(50,57,85,.055) 1px, transparent 1px), linear-gradient(90deg,rgba(50,57,85,.055) 1px, transparent 1px); background-size: 70px 70px; }
.ff-auth-story::after { content: ''; position: absolute; z-index: -1; width: 620px; height: 620px; right: -260px; bottom: -250px; border-radius: 50%; background: radial-gradient(circle,rgba(120,88,255,.35),rgba(64,92,255,.1) 45%,transparent 68%); filter: blur(10px); }
.ff-auth-home { width: max-content; text-decoration: none; }
.ff-auth-story__copy { margin: auto 0 24px; max-width: 640px; }
.ff-auth-story h1 { margin: 20px 0 22px; font-size: clamp(56px,6.2vw,94px); font-weight: 760; letter-spacing: -.075em; line-height: .88; }
.ff-auth-story h1 em { display: block; font-family: var(--ff-serif); font-weight: 400; }
.ff-auth-story__copy > p:last-child { max-width: 440px; color: var(--ff-muted); font-size: 15px; line-height: 1.65; }
.ff-auth-story__footer { margin: auto 0 0; color: var(--ff-soft); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.ff-auth-flow { position: absolute; right: -50px; bottom: 54px; width: 420px; height: 310px; }
.ff-auth-flow__line { position: absolute; width: 450px; height: 130px; right: -10px; top: 80px; border: 2px solid rgba(104,79,232,.38); border-radius: 50%; transform: rotate(-26deg); box-shadow: 0 0 30px rgba(98,74,232,.12); }
.ff-auth-flow__node { position: absolute; width: 16px; height: 16px; border: 4px solid white; border-radius: 50%; background: var(--ff-violet); box-shadow: 0 6px 18px rgba(76,53,190,.28); }
.ff-auth-flow__node--one { top: 83px; left: 45px; }
.ff-auth-flow__node--two { top: 145px; left: 208px; }
.ff-auth-flow__node--three { top: 197px; right: 24px; }
.ff-auth-flow__card { position: absolute; top: 98px; left: 115px; width: 225px; padding: 18px; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; background: rgba(255,255,255,.64); box-shadow: 0 24px 55px rgba(46,42,90,.14); backdrop-filter: blur(18px); transform: rotate(-5deg); }
.ff-auth-flow__card span { display: block; color: var(--ff-violet); font-size: 8px; font-weight: 700; letter-spacing: .2em; }
.ff-auth-flow__card strong { display: block; margin: 12px 0 5px; font-family: var(--ff-serif); font-size: 19px; font-weight: 500; }
.ff-auth-flow__card small { color: var(--ff-muted); font-size: 10px; }
.ff-auth-panel { min-height: 100vh; padding: 42px; display: grid; place-items: center; border-left: 1px solid var(--ff-border); background: rgba(255,255,255,.82); }
.ff-auth-panel__inner { width: min(100%,430px); }
.ff-auth-mobile-logo { display: none; width: max-content; margin-bottom: 54px; text-decoration: none; }
.ff-auth-panel h2 { margin: 17px 0 8px; font-family: var(--ff-serif); font-size: 47px; font-weight: 400; letter-spacing: -.055em; line-height: 1; }
.ff-auth-role { margin: 0 0 34px; color: var(--ff-muted); font-size: 13px; }
.ff-auth-form { display: grid; gap: 19px; }
.ff-field { display: grid; gap: 8px; }
.ff-field label { font-size: 11px; font-weight: 650; }
.ff-field input { width: 100%; height: 52px; padding: 0 15px; border: 1px solid #d9dce6; border-radius: 7px; outline: none; color: var(--ff-ink); background: rgba(255,255,255,.9); font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.ff-field input:focus { border-color: #8064ed; box-shadow: 0 0 0 4px rgba(128,100,237,.1); }
.ff-field input::placeholder { color: #a1a5b1; }
.ff-auth-options { margin-top: -3px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ff-check { display: flex; align-items: center; gap: 9px; color: var(--ff-muted); font-size: 11px; }
.ff-check input { width: 15px; height: 15px; accent-color: var(--ff-violet); }
.ff-auth-link { color: #6844dd; font-size: 11px; font-weight: 650; text-decoration: none; }
.ff-auth-link:hover { text-decoration: underline; }
.ff-turnstile { width: 100%; min-height: 65px; overflow: hidden; }
.ff-turnstile .cf-turnstile { width: 100%; }
.ff-auth-submit { width: 100%; min-height: 52px; border: 0; cursor: pointer; }
.ff-alert { margin-bottom: 22px; padding: 12px 14px; border: 1px solid rgba(201,65,85,.18); border-radius: 7px; color: #9f2f41; background: rgba(201,65,85,.07); font-size: 12px; line-height: 1.5; }
.ff-alert--success { border-color: rgba(47,156,106,.2); color: #247b54; background: rgba(47,156,106,.07); }
.ff-auth-help { margin-top: 28px; padding-top: 22px; display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--ff-border); color: var(--ff-soft); font-size: 10px; }
.ff-auth-help__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ff-success); box-shadow: 0 0 0 4px rgba(47,156,106,.1); }

@media (max-width:1050px) {
    .ff-nav { display: none; }
    .ff-mobile-nav { display: block; }
    .ff-hero { min-height: 790px; }
    .ff-visual { right: -245px; }
    .ff-visual__axis, .ff-visual__index { display: none; }
    .ff-hero__content { width: 64%; }
    .ff-section__grid { gap: 64px; }
    .ff-auth-shell { grid-template-columns: .95fr 1.05fr; }
    .ff-auth-flow { opacity: .62; right: -180px; }
}

@media (max-width:800px) {
    .ff-container { width: min(100% - 32px,680px); }
    .ff-header__inner { height: 76px; }
    .ff-header__actions { display: none; }
    .ff-mobile-nav { margin-left: auto; }
    .ff-mobile-nav .ff-locale-switcher { display: flex; }
    .ff-hero { min-height: auto; padding: 136px 0 58px; }
    .ff-hero__inner { min-height: 0; }
    .ff-hero__content { width: 100%; }
    .ff-hero h1 { max-width: 660px; font-size: clamp(64px,11.5vw,90px); }
    .ff-visual { position: relative; top: auto; right: auto; width: min(700px,calc(100% + 96px)); margin: -4px -48px -76px auto; }
    .ff-visual__axis { display: none; }
    .ff-visual__index { right: 48px; bottom: 62px; }
    .ff-capabilities { margin-top: 0; }
    .ff-capabilities__inner { grid-template-columns: 1fr 1fr; }
    .ff-capability:nth-child(2) { border-right: 0; }
    .ff-capability:nth-child(-n+2) { border-bottom: 1px solid var(--ff-border); }
    .ff-section { padding: 112px 0; }
    .ff-section__grid { grid-template-columns: 1fr; gap: 68px; }
    .ff-editorial { max-width: 590px; }
    .ff-section h2 { font-size: clamp(52px,8vw,60px); }
    .ff-feature { min-height: 96px; }
    .ff-proof { padding-bottom: 28px; }
    .ff-proof__inner { grid-template-columns: 1fr 1fr; gap: 0; }
    .ff-proof__title { grid-column: 1/-1; }
    .ff-proof__item { margin-top: 32px; }
    .ff-proof__item:nth-child(even) { padding-left: 0; border-left: 0; }
    .ff-proof__item:nth-child(n+4) { padding-top: 26px; border-top: 1px solid var(--ff-border); }
    .ff-api-section { margin: 68px 0 104px; padding: 104px 0; }
    .ff-api-section__inner { grid-template-columns: 1fr; gap: 58px; }
    .ff-api-section__copy { max-width: 570px; }
    .ff-pricing { padding-bottom: 104px; }
    .ff-pricing__inner { grid-template-columns: 1fr; gap: 34px; }
    .ff-cta__inner { min-height: 340px; padding: 46px; }
    .ff-cta__art { left: 30%; opacity: .68; }
    .ff-footer__main { grid-template-columns: 1.25fr 1fr 1fr; }
    .ff-footer__column:last-child { grid-column: 2 / -1; }
    .ff-auth-shell { display: block; }
    .ff-auth-story { display: none; }
    .ff-auth-panel { min-height: 100vh; padding: 40px 24px; border-left: 0; }
    .ff-auth-mobile-logo { display: block; }
}

@media (max-width:520px) {
    .ff-container { width: calc(100% - 28px); }
    .ff-logo__symbol { width: 28px; height: 28px; }
    .ff-logo__word { font-size: 17px; }
    .ff-hero { padding: 116px 0 58px; }
    .ff-hero h1 { margin: 23px 0 24px; font-size: clamp(50px,14.5vw,60px); line-height: .91; }
    .ff-hero__lead { font-size: 17px; line-height: 1.6; }
    .ff-hero__actions { width: min(100%,320px); flex-direction: column; align-items: stretch; }
    .ff-visual { width: calc(100% + 72px); margin: 8px -36px -35px; }
    .ff-visual__index { right: 38px; bottom: 40px; }
    .ff-capabilities__inner { grid-template-columns: 1fr; }
    .ff-capability { min-height: 0; padding: 24px 8px; border-right: 0; border-bottom: 1px solid var(--ff-border); }
    .ff-capability:nth-child(3) { border-bottom: 1px solid var(--ff-border); }
    .ff-capability:last-child { border-bottom: 0; }
    .ff-section { padding: 92px 0; }
    .ff-section__grid { gap: 54px; }
    .ff-section h2 { font-size: clamp(40px,11vw,46px); }
    .ff-section__lead { font-size: 17px; }
    .ff-feature { grid-template-columns: 42px 1fr 22px; gap: 12px; padding: 17px 0; }
    .ff-feature:hover, .ff-feature:focus-visible { padding-right: 6px; padding-left: 6px; }
    .ff-feature__icon { width: 38px; height: 38px; }
    .ff-feature strong { font-size: 18px; }
    .ff-feature small { font-size: 16px; }
    .ff-proof__inner { padding: 34px 0; grid-template-columns: 1fr 1fr; }
    .ff-proof__title { font-size: clamp(38px,10vw,42px); }
    .ff-proof__item { padding-left: 18px; }
    .ff-proof__item:nth-child(even) { border-left: 0; padding-left: 0; }
    .ff-proof__item strong { font-size: clamp(36px,9.5vw,42px); }
    .ff-proof__item span { font-size: 12px; }
    .ff-api-section { margin: 48px 0 88px; padding: 82px 0; }
    .ff-api-section h2, .ff-pricing h2 { font-size: clamp(40px,10.5vw,44px); }
    .ff-api-section__copy p:not(.ff-kicker), .ff-pricing__content p { font-size: 17px; }
    .ff-code__top small { max-width: 72%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .ff-code pre { padding: 24px 18px; font-size: 10px; }
    .ff-pricing { padding-bottom: 88px; }
    .ff-pricing__inner { padding: 52px 0; }
    .ff-cta { padding-bottom: 62px; }
    .ff-cta__inner { min-height: 360px; padding: 34px 24px; align-items: flex-end; }
    .ff-cta h2 { font-size: clamp(40px,10.5vw,44px); }
    .ff-cta__art { inset: 0 0 28% 0; opacity: .62; }
    .ff-footer__main { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .ff-footer__about { grid-column: 1 / -1; }
    .ff-footer__column:last-child { grid-column: 1 / -1; }
    .ff-footer__bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
    .ff-auth-panel { align-items: start; }
    .ff-auth-panel h2 { font-size: 42px; }
}

@media (max-width:347px) {
    .ff-auth-panel { padding-right: 10px; padding-left: 10px; }
}

@media (prefers-reduced-motion:reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
