/* ===== aira landing page ===== */

:root{
    --ink:#0C0C0C;
    --ink-soft:rgba(12,12,12,0.62);
    --mist:#8E8C88;
    --line:rgba(185,202,232,0.42);
    --accent:#3883F6;
    --accent-soft:#D7E4FF;
    --success:#10b981;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}

body{
    min-height:100vh;
    background:#fff;
    background-image:
        radial-gradient(120% 60% at 50% -8%, rgba(248,246,255,0.75) 0%, rgba(255,255,255,0) 55%),
        radial-gradient(130% 75% at 82% 8%, rgba(210,224,255,0.65) 0%, rgba(255,255,255,0) 55%),
        linear-gradient(to bottom, #ffffff 0%, #ffffff 60%, #f2f5ff 100%);
    color:var(--ink);
    font-family:'Inter', ui-sans-serif, -apple-system, sans-serif;
    -webkit-font-smoothing:antialiased;
}

.mono{font-family:'JetBrains Mono', monospace}
a{color:inherit;text-decoration:none}
*:focus-visible{outline:2px solid rgba(56,131,246,0.55);outline-offset:2px;border-radius:6px}

/* ---------- header ---------- */
.site-header{
    position:sticky;top:0;z-index:30;height:64px;
    display:flex;align-items:center;justify-content:space-between;
    padding:0 clamp(20px,5vw,56px);
    background:rgba(255,255,255,0.72);
    backdrop-filter:blur(22px) saturate(1.2);
    -webkit-backdrop-filter:blur(22px) saturate(1.2);
    border-bottom:1px solid var(--line);
    transition:box-shadow 260ms ease, background 260ms ease;
}
.site-header.scrolled{
    background:rgba(255,255,255,0.88);
    box-shadow:0 8px 28px -18px rgba(85,105,165,0.35);
}
.brand{display:flex;align-items:center;gap:10px}
.brand-word{font-size:13px;letter-spacing:-0.01em;color:var(--ink);font-weight:500}
.brand-mark{width:18px;height:18px;flex-shrink:0;overflow:visible}
.brand-mark circle{fill:#FFFFFF;stroke:#0C0C0C;stroke-width:6.4}
.brand-mark polygon{fill:var(--accent-soft);stroke:#3d4a6b;stroke-width:2.8;stroke-linejoin:round}

.site-nav{display:flex;align-items:center;gap:22px}
.nav-link{font-size:11px;color:var(--ink-soft);letter-spacing:0.02em;transition:color 200ms}
.nav-link:hover{color:var(--ink)}

.btn-primary{
    display:inline-flex;align-items:center;gap:6px;
    background:var(--ink);color:#fff;border-radius:9999px;
    padding:9px 18px;font-size:12.5px;font-weight:500;letter-spacing:-0.005em;
    transition:background 200ms, transform 150ms, box-shadow 200ms;
    box-shadow:0 1px 0 rgba(255,255,255,0.14) inset;
}
.btn-primary:hover{background:#262626;box-shadow:0 8px 22px -10px rgba(12,12,12,0.35)}
.btn-primary:active{transform:scale(0.97)}
.btn-small{padding:7px 15px;font-size:11.5px}
.btn-large{padding:14px 30px;font-size:14px}

.btn-secondary{
    display:inline-flex;align-items:center;font-size:11px;color:var(--ink-soft);
    letter-spacing:0.02em;padding-bottom:2px;border-bottom:1px solid rgba(142,140,136,0.4);
    transition:color 200ms, border-color 200ms;
}
.btn-secondary:hover{color:var(--ink);border-color:var(--ink)}

/* ---------- shared eyebrow ---------- */
.eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:22px}
.eyebrow-line{width:26px;height:1px;background:linear-gradient(90deg, rgba(12,12,12,0.22) 0%, rgba(12,12,12,0.05) 100%)}
.eyebrow-text{font-size:10px;letter-spacing:0.16em;color:rgba(142,140,136,0.7)}

/* ---------- hero ---------- */
.hero{padding:clamp(48px,8vw,96px) clamp(20px,5vw,56px) clamp(40px,6vw,72px)}
.hero-inner{
    max-width:1180px;margin:0 auto;
    display:grid;grid-template-columns:1.05fr 0.95fr;gap:clamp(32px,5vw,72px);
    align-items:center;
}

.hero-h1{
    font-family:'Newsreader', serif;font-style:italic;font-weight:300;
    font-size:clamp(34px,4.6vw,54px);line-height:1.14;letter-spacing:-0.02em;
    color:#101010;margin-bottom:22px;
}
.hero-sub{
    font-size:15.5px;line-height:1.65;color:var(--ink-soft);
    max-width:460px;margin-bottom:32px;
}
.hero-ctas{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.btn-arrow{display:inline-block;margin-left:6px;transition:transform 220ms cubic-bezier(0.16,1,0.3,1)}
.btn-primary:hover .btn-arrow{transform:translateX(3px)}

.hero-credibility{
    margin-top:26px;font-size:10px;letter-spacing:0.02em;color:rgba(142,140,136,0.65);
    display:flex;align-items:center;gap:8px;flex-wrap:wrap;
}
.cred-label{letter-spacing:0.12em;color:rgba(142,140,136,0.5);margin-right:2px}
.cred-dot{opacity:0.5;margin:0 2px}

/* ---------- hero demo card (live replica of the product) ---------- */
.hero-demo{display:flex;justify-content:center}
.demo-card{
    width:100%;max-width:360px;
    min-height:496px;
    display:flex;flex-direction:column;
    background:rgba(255,255,255,0.62);
    backdrop-filter:blur(20px) saturate(1.2);
    -webkit-backdrop-filter:blur(20px) saturate(1.2);
    border:1px solid rgba(255,255,255,0.7);
    border-radius:20px;
    padding:22px 24px 26px;
    box-shadow:0 30px 70px -30px rgba(85,105,165,0.35), 0 1px 0 rgba(255,255,255,0.9) inset;
    position:relative;
}
.demo-card::before{
    content:'';position:absolute;inset:0;border-radius:20px;padding:1px;
    background:linear-gradient(160deg, rgba(255,255,255,0.9), rgba(190,208,255,0.25));
    -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;
}

.demo-topline{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--mist);margin-bottom:18px}
.demo-dot{width:5px;height:5px;border-radius:9999px;background:var(--mist);transition:all 400ms}
.demo-dot.listening{background:#0C0C0C;box-shadow:0 0 0 3px rgba(12,12,12,0.1)}
.demo-dot.retrieving{background:var(--accent);box-shadow:0 0 0 3px rgba(56,131,246,0.16)}
.demo-dot.complete{background:var(--success);box-shadow:0 0 0 3px rgba(16,185,129,0.16)}

.demo-orb-wrap{position:relative;width:108px;height:108px;margin:0 auto 20px;display:grid;place-items:center}
.demo-aura{
    position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
    width:90px;height:90px;border-radius:9999px;border:1px solid rgba(190,205,255,0.6);
    opacity:0;pointer-events:none;
}
.demo-orb-wrap.listening .demo-aura{animation:demoAura 1.6s ease-out infinite}
@keyframes demoAura{0%{transform:translate(-50%,-50%) scale(0.7);opacity:0.5}100%{transform:translate(-50%,-50%) scale(1.35);opacity:0}}

.demo-hex-svg{width:78px;height:78px;transition:opacity 380ms}
.demo-orb-wrap.listening .demo-hex-svg{opacity:0}
.demo-hex-dot{fill:#fff;stroke:#0C0C0C;stroke-width:1.1;transform-origin:center;transition:transform 600ms cubic-bezier(0.16,1,0.3,1)}
.demo-hex-polygon{fill:none;stroke:#0C0C0C;stroke-width:0.8;opacity:0.22}

.demo-bars{
    position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0.85);
    display:flex;gap:6px;opacity:0;transition:opacity 380ms, transform 500ms cubic-bezier(0.16,1,0.3,1);
}
.demo-orb-wrap.listening .demo-bars{opacity:1;transform:translate(-50%,-50%) scale(1)}
.demo-bar{
    width:10px;height:14px;background:#0C0C0C;border:1px solid #0C0C0C;border-radius:9999px;
}
.demo-orb-wrap.listening .demo-bar{animation:demoBar 900ms ease-in-out infinite}
.demo-orb-wrap.listening .demo-bar:nth-child(1){animation-delay:0ms;animation-duration:820ms}
.demo-orb-wrap.listening .demo-bar:nth-child(2){animation-delay:120ms;animation-duration:960ms}
.demo-orb-wrap.listening .demo-bar:nth-child(3){animation-delay:60ms;animation-duration:880ms}
.demo-orb-wrap.listening .demo-bar:nth-child(4){animation-delay:180ms;animation-duration:1020ms}
@keyframes demoBar{
    0%,100%{height:12px}
    50%{height:30px}
}

.demo-section-label{font-size:8.5px;letter-spacing:0.08em;text-transform:uppercase;color:rgba(120,125,145,0.5);margin-bottom:6px}
.demo-transcript{min-height:16px;font-size:12px;color:var(--ink);margin-bottom:18px}
.demo-transcript .placeholder{color:rgba(142,140,136,0.4)}

.demo-answer-kicker{font-size:8.5px;letter-spacing:0.14em;text-transform:uppercase;color:rgba(142,140,136,0.55);margin-bottom:8px}
.demo-answer{
    font-family:'Newsreader', serif;font-style:italic;font-weight:300;
    font-size:15px;line-height:1.42;color:#141414;min-height:92px;
}
.demo-skel-line{
    display:block;height:11px;border-radius:6px;margin-bottom:9px;
    background:linear-gradient(90deg, rgba(190,205,235,0.32) 25%, rgba(150,175,235,0.55) 37%, rgba(190,205,235,0.32) 63%);
    background-size:400% 100%;
    animation:demoShimmer 1.3s ease-in-out infinite;
}
@keyframes demoShimmer{0%{background-position:100% 0}100%{background-position:0 0}}

.demo-meta{display:flex;gap:6px;margin-top:14px;flex-wrap:wrap;min-height:22px}
.demo-pill{
    font-size:8px;letter-spacing:0.07em;text-transform:uppercase;
    padding:4px 8px;border-radius:9999px;border:1px solid var(--line);
    background:rgba(255,255,255,0.7);color:rgba(90,95,115,0.8);
}
.demo-sources{margin-top:14px;display:flex;flex-direction:column;gap:6px;min-height:58px}
.demo-source-row{display:flex;gap:8px;font-size:10.5px;color:rgba(30,30,32,0.75);opacity:0;transform:translateY(4px);transition:all 420ms cubic-bezier(0.16,1,0.3,1)}
.demo-source-row.show{opacity:1;transform:translateY(0)}
.demo-source-num{color:rgba(142,140,136,0.5);font-size:9px;min-width:14px}

/* ---------- how it works ---------- */
.how{padding:clamp(56px,8vw,100px) clamp(20px,5vw,56px);max-width:1180px;margin:0 auto}
.how-head{max-width:560px;margin-bottom:clamp(32px,5vw,56px)}
.how-h2{
    font-family:'Newsreader', serif;font-style:italic;font-weight:300;
    font-size:clamp(24px,3vw,32px);line-height:1.28;letter-spacing:-0.015em;color:#141414;
}

.how-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.how-card{
    background:rgba(255,255,255,0.7);backdrop-filter:blur(10px);
    padding:28px 24px 32px;
    transition:opacity 560ms cubic-bezier(0.16,1,0.3,1), transform 560ms cubic-bezier(0.16,1,0.3,1);
}
.how-card.pre-reveal{opacity:0;transform:translateY(14px)}
.how-card.reveal{opacity:1;transform:translateY(0)}
.how-num{
    width:32px;height:32px;border-radius:9999px;
    display:flex;align-items:center;justify-content:center;
    font-size:11px;color:var(--accent);
    border:1.4px solid rgba(56,131,246,0.4);background:rgba(56,131,246,0.06);
    margin-bottom:18px;
}
.how-title{font-size:15px;font-weight:600;letter-spacing:-0.01em;color:var(--ink);margin-bottom:8px}
.how-desc{font-size:12.5px;line-height:1.55;color:var(--ink-soft)}

/* ---------- final cta ---------- */
.final-cta{
    margin:0 clamp(20px,5vw,56px) clamp(56px,8vw,96px);
    max-width:1180px;margin-left:auto;margin-right:auto;
    padding:clamp(56px,9vw,96px) clamp(24px,6vw,64px);
    border-radius:28px;text-align:center;
    background:
        radial-gradient(120% 140% at 50% 0%, rgba(199,216,255,0.55) 0%, rgba(255,255,255,0) 60%),
        linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(235,241,255,0.92) 100%);
    border:1px solid var(--line);
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.9);
}
.final-h2{
    font-family:'Newsreader', serif;font-style:italic;font-weight:300;
    font-size:clamp(28px,4vw,40px);letter-spacing:-0.02em;color:#101010;
    margin-bottom:30px;
}

/* ---------- footer ---------- */
.site-footer{
    display:flex;align-items:center;justify-content:space-between;
    padding:26px clamp(20px,5vw,56px) 40px;
    border-top:1px solid var(--line);max-width:1180px;margin:0 auto;
}
.foot-brand .brand-word{color:rgba(12,12,12,0.55)}
.foot-brand .brand-mark circle{stroke:rgba(12,12,12,0.4)}
.foot-brand .brand-mark polygon{opacity:0.6}
.foot-line{font-size:9px;letter-spacing:0.1em;color:rgba(142,140,136,0.55)}

/* ---------- responsive ---------- */
@media(max-width:900px){
    .hero-inner{grid-template-columns:1fr}
    .hero-demo{margin-bottom:8px}
    .how-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
    .site-nav{gap:14px}
    .nav-link{display:none}
    .how-grid{grid-template-columns:1fr}
    .hero-ctas{flex-direction:column;align-items:flex-start;gap:16px}
    .site-footer{flex-direction:column;gap:14px;align-items:flex-start}
}

@media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto}
    *{transition-duration:0.01ms !important;animation-duration:0.01ms !important}
}
