/* ZYR Assistant website, 2.13: clean premium. One type family, true black, frosted glass, one soft gradient. */
:root {
  --bg: #000;
  --bg-2: #0b0c10;
  --card: rgba(255, 255, 255, 0.045);
  --card-hi: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.09);
  --line-hi: rgba(255, 255, 255, 0.16);
  --text: #f5f7fa;
  --body: #b9c2cc;
  --mute: #8a94a0;
  --acc: #3ad6ff;
  --acc-2: #6a8cff;
  --acc-3: #b47cff;
  --grad: linear-gradient(100deg, #7ee8ff 0%, #6a8cff 48%, #c08cff 100%);
  --good: #4ee3a6;
  --r-lg: 32px;
  --r: 22px;
  --r-sm: 14px;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* system fonts only: nothing is fetched from a font service, so no visitor's IP goes to a third party */
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto,
          "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); letter-spacing: -0.011em;
       -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(106, 140, 255, .4); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 8px; }
kbd { font: 600 0.78em var(--font); padding: 2px 7px; border-radius: 7px; border: 1px solid var(--line-hi);
      background: var(--card-hi); color: var(--text); }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.center { text-align: center; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- type */
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.04; font-weight: 700; }
h1 { font-size: clamp(48px, 9vw, 112px); letter-spacing: -0.05em; font-weight: 800; }
h2 { font-size: clamp(36px, 5.6vw, 68px); }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; font-weight: 650; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--body); max-width: 660px; margin: 22px 0 0; line-height: 1.5; }
.center .lead { margin-inline: auto; }
.label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--acc); margin: 0 0 18px; }
.fine { font-size: 13.5px; color: var(--mute); line-height: 1.55; }
.fine a { color: var(--body); }
.pro { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 650; letter-spacing: 0;
       padding: 3px 10px 3px 8px; border-radius: 999px; color: #fff; vertical-align: middle;
       background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.pro svg { width: 11px; height: 11px; }

/* ---- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 50px; padding: 0 26px;
       border-radius: 999px; border: 1px solid var(--line-hi); background: var(--card-hi); color: var(--text);
       font: 600 16px var(--font); text-decoration: none; cursor: pointer; letter-spacing: -0.01em;
       transition: transform .25s var(--ease), background .25s, border-color .25s; backdrop-filter: blur(14px); }
.btn:hover { background: rgba(255, 255, 255, .12); transform: translateY(-1px); }
.btn.primary { background: #fff; color: #000; border-color: #fff; }
.btn.primary:hover { background: #e9eef3; }
.btn.small { height: 38px; padding: 0 18px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }
.btn.soon { cursor: default; }
.btn.soon:hover { transform: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(78, 227, 166, .6);
       animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(78, 227, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(78, 227, 166, 0); } }

/* ---- nav: a floating frosted pill */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1040px, 100% - 24px);
       display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; border-radius: 999px;
       background: rgba(18, 19, 24, .55); border: 1px solid var(--line); backdrop-filter: blur(22px) saturate(1.6);
       -webkit-backdrop-filter: blur(22px) saturate(1.6); transition: background .3s, border-color .3s; }
.nav.scrolled { background: rgba(14, 15, 19, .82); border-color: var(--line-hi); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; font-size: 15px; }
.brand img { width: 26px; height: 26px; }
.nav .links { display: flex; gap: 2px; margin: 0 auto; }
.nav .links a { font-size: 14px; color: var(--body); text-decoration: none; padding: 8px 13px; border-radius: 999px; transition: color .2s, background .2s; }
.nav .links a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav .right { display: flex; gap: 8px; margin-left: auto; }
@media (max-width: 900px) { .nav .links { display: none; } }
@media (max-width: 420px) { .nav .signin { display: none; } }

/* ---- hero */
.hero { padding: 170px 0 0; text-align: center; overflow: hidden; }
.aurora { position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none; z-index: -1; filter: blur(80px); opacity: .55;
          background: radial-gradient(40% 50% at 30% 30%, rgba(58, 214, 255, .45), transparent 70%),
                      radial-gradient(35% 45% at 70% 25%, rgba(140, 110, 255, .45), transparent 70%),
                      radial-gradient(30% 40% at 50% 60%, rgba(40, 90, 255, .3), transparent 70%);
          animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(3%, 4%, 0) scale(1.08); } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; font-size: 14px;
        color: var(--body); background: var(--card); border: 1px solid var(--line); text-decoration: none; margin-bottom: 30px; }
.pill b { font-weight: 650; color: #000; background: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; }
.hero .lead { margin: 26px auto 0; }               /* centred under the headline at any width (it's capped at 660px) */
.hero .fine { margin-inline: auto; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.hero .fine { margin-top: 20px; }
.showcase { margin: 80px auto 0; perspective: 1600px; width: min(1240px, 100% - 2 * var(--gutter)); }
.showcase .frame { transform: rotateX(var(--tilt, 18deg)) scale(var(--sc, .94)); transform-origin: 50% 0; transition: transform .1s linear; }
.frame { position: relative; border-radius: var(--r-lg); padding: 10px; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
         border: 1px solid var(--line-hi); box-shadow: 0 60px 140px -40px rgba(80, 120, 255, .45), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.frame img, .frame video { border-radius: calc(var(--r-lg) - 10px); width: 100%; height: auto; background: #05070b; }
.showcase::after { content: ""; display: block; height: 120px; margin-top: -120px; position: relative;
                   background: linear-gradient(transparent, var(--bg)); }

/* ---- providers strip */
.strip { padding: 40px 0 0; }
.strip p { text-align: center; color: var(--mute); font-size: 14px; margin: 0 0 18px; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px;
            font-size: 20px; font-weight: 650; color: #6f7883; letter-spacing: -0.02em; }

/* ---- bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 64px; }
.tile { position: relative; grid-column: span 2; border-radius: var(--r-lg); padding: 32px; background: var(--card);
        border: 1px solid var(--line); overflow: hidden; min-height: 280px; display: flex; flex-direction: column;
        transition: border-color .3s, transform .4s var(--ease), background .3s; }
.tile:hover { border-color: var(--line-hi); background: var(--card-hi); transform: translateY(-3px); }
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
.tile.w6 { grid-column: span 6; }
.tile p { color: var(--body); margin: 10px 0 0; font-size: 16px; }
.tile .shot { margin: 26px -32px -32px; border-top: 1px solid var(--line); }
.tile .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; max-height: 320px; }
.tile .big { font-size: clamp(54px, 7vw, 84px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin-bottom: 12px; }
.tile .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: auto;
              background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.tile .icon svg { width: 22px; height: 22px; stroke: var(--acc); }
.tile .icon + h3 { margin-top: 40px; }
.tile .glow { position: absolute; width: 340px; height: 340px; right: -120px; top: -140px; border-radius: 50%; filter: blur(60px);
              background: radial-gradient(rgba(106, 140, 255, .35), transparent 70%); pointer-events: none; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .tile, .tile.w3, .tile.w4 { grid-column: span 2; } .tile.half { grid-column: span 1; } }
@media (max-width: 560px) { .tile.half { grid-column: span 2; } .tile { padding: 26px; } .tile .shot { margin: 22px -26px -26px; } }

/* ---- split sections */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split.rev { grid-template-columns: 1.15fr 1fr; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; color: var(--body); font-size: 16.5px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
                    background: rgba(78, 227, 166, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ee3a6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ---- agents tabs */
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); margin: 40px 0 22px; }
.seg button { border: 0; background: none; color: var(--body); font: 600 14.5px var(--font); padding: 10px 20px; border-radius: 999px; cursor: pointer;
              transition: background .25s, color .25s; }
.seg button[aria-selected="true"] { background: #fff; color: #000; }
.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; text-align: left; }
.mini article { padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.mini h3 { font-size: 18px; }
.mini p { color: var(--body); font-size: 15px; margin: 8px 0 0; }
@media (max-width: 860px) { .mini { grid-template-columns: 1fr; } }

/* ---- phone mock */
.phone { width: min(320px, 82vw); aspect-ratio: 9 / 19; margin: 0 auto; border-radius: 52px; padding: 12px; position: relative;
         background: linear-gradient(160deg, #2a2d35, #0d0e12); border: 1px solid var(--line-hi);
         box-shadow: 0 80px 120px -50px rgba(106, 140, 255, .55), inset 0 0 0 2px #000; }
.phone .scr { height: 100%; border-radius: 42px; overflow: hidden; position: relative; display: flex; flex-direction: column; align-items: center;
              justify-content: center; gap: 18px; padding: 30px 22px; text-align: center;
              background: radial-gradient(120% 60% at 50% 0%, rgba(58, 150, 255, .28), transparent 60%), #05060a; }
.phone .scr::before { content: ""; position: absolute; top: 12px; width: 96px; height: 28px; border-radius: 999px; background: #000; }
.orb { width: 150px; height: 150px; border-radius: 50%; position: relative;
       background: radial-gradient(circle, #fff 0 8%, #bdf3ff 16%, #3ad6ff 30%, rgba(80, 110, 255, .5) 48%, transparent 70%);
       animation: breathe 3.6s ease-in-out infinite; }
.orb::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1.5px solid rgba(126, 232, 255, .35);
              animation: ring 3.6s ease-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); filter: brightness(1.15); } }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.phone .st { font-size: 14px; font-weight: 600; color: var(--acc); margin: 0; }
.phone .heard { font-size: 21px; font-weight: 650; letter-spacing: -0.02em; margin: 0; line-height: 1.25; }
.phone .ctl { display: flex; gap: 18px; margin-top: 18px; }
.phone .ctl i { width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.phone .ctl i.end { background: #ff4d5e; }

/* ---- buddy */
.buddies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.buddies figure { margin: 0; padding: 18px 18px 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); text-align: center; }
.buddies img { width: 100%; height: auto; }
.buddies figcaption { font-size: 15px; font-weight: 600; color: var(--body); margin-top: 8px; }
@media (max-width: 760px) { .buddies { grid-template-columns: 1fr 1fr; } }

/* ---- pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px; max-width: 920px; margin-inline: auto; text-align: left; }
.plan { padding: 38px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.best { background: linear-gradient(#0c0d12, #0c0d12) padding-box, var(--grad) border-box; border: 1.5px solid transparent;
             box-shadow: 0 50px 120px -60px rgba(106, 140, 255, .7); }
.plan .tag { color: var(--mute); margin: 6px 0 0; font-size: 15px; }
.plan .price { font-size: 64px; font-weight: 800; letter-spacing: -0.05em; margin: 26px 0 4px; line-height: 1; }
.plan .price small { font-size: 17px; font-weight: 500; color: var(--mute); letter-spacing: -0.01em; }
.plan .ticks { margin: 26px 0 32px; flex: 1; }
.plan .ticks li { font-size: 15.5px; }
.plan .btn { width: 100%; }
.plan .badge { align-self: flex-start; font-size: 12.5px; font-weight: 650; padding: 4px 12px; border-radius: 999px; background: #fff; color: #000; margin-bottom: 18px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .plan { padding: 30px; } }

/* ---- privacy */
.privacy-card { border-radius: 40px; padding: clamp(36px, 6vw, 80px); border: 1px solid var(--line);
                background: radial-gradient(80% 120% at 100% 0%, rgba(78, 227, 166, .12), transparent 60%), var(--bg-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

/* ---- steps */
.steps { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; padding: 28px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); color: var(--body); font-size: 15.5px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #000;
                    font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.steps a { color: var(--text); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---- faq */
.faq { max-width: 820px; margin: 50px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 18.5px; font-weight: 600; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--mute);
                      transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--body); }

/* ---- footer */
.footer { border-top: 1px solid var(--line); padding: 50px 0 60px; }
.footer .row { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; align-items: flex-start; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; }
.footer nav a { color: var(--body); text-decoration: none; }
.footer nav a:hover { color: #fff; }
.footer .copy { margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--mute);
                letter-spacing: .01em; }

/* ---- motion */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .showcase .frame { transform: none; }
}
.note { min-height: 1.4em; margin-top: 18px; }

/* ---- animated showcase: the desktop window (plays by itself) */
.app { aspect-ratio: 16 / 9.6; border-radius: calc(var(--r-lg) - 10px); overflow: hidden; position: relative; display: flex; flex-direction: column;
       background: radial-gradient(60% 50% at 18% -10%, rgba(58, 214, 255, .22), transparent 70%),
                   radial-gradient(55% 45% at 86% -8%, rgba(150, 110, 255, .24), transparent 70%), #020204;
       font-size: clamp(6px, 1.05vw, 13px); text-align: left; container-type: inline-size; }
.app-top { display: flex; align-items: center; gap: 1em; padding: 1.2em 1.8em; }
.app-name { font-weight: 600; letter-spacing: .2em; font-size: 1.15em; }
.app-chip { display: inline-flex; align-items: center; gap: .5em; padding: .35em .9em; border-radius: 999px; border: 1px solid var(--line-hi);
            color: var(--mute); font-size: .9em; }
.app-chip:first-of-type { margin-left: auto; }
.app-chip i { width: .55em; height: .55em; border-radius: 50%; background: var(--acc); }
.app-chip b { color: var(--text); font-weight: 600; }
.app-clock { margin-left: auto; font-weight: 600; font-size: 1.5em; font-variant-numeric: tabular-nums; }
.app-plan { background: #fff; color: #000; font-weight: 650; padding: .2em .9em; border-radius: 999px; font-size: .85em; }
.app-win { display: flex; gap: 1.2em; }
.app-win i { width: .9em; height: .12em; background: var(--mute); }
.app-body { flex: 1; display: grid; grid-template-columns: 5.2em 1fr 22em; gap: 1.2em; padding: 0 1.8em; min-height: 0; }
.app-rail, .app-card, .app-bar { background: linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.03)); border: 1px solid var(--line); border-radius: 1.6em; }
.app-rail { display: flex; flex-direction: column; align-items: center; gap: .8em; padding: 1.2em 0; }
.r-logo { width: 2.2em; height: 2.2em; border-radius: 50%; background: radial-gradient(circle, #fff 0 15%, var(--acc) 45%, transparent 72%); margin-bottom: .8em; }
.r-btn { width: 3.2em; height: 3.2em; border-radius: 1em; background: rgba(255, 255, 255, .05); }
.r-btn.on { background: #fff; }
.r-av { margin-top: auto; width: 3em; height: 3em; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
        background: linear-gradient(135deg, var(--acc), var(--acc-3)); }
.app-core { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; }
.app-hello { margin: 0; font-size: 2.8em; font-weight: 750; letter-spacing: -0.04em; line-height: 1; }
.app-sub { margin: .4em 0 0; color: var(--mute); font-size: 1.1em; }
.app-orb { position: relative; width: 17em; height: 17em; margin: 1.4em 0 1em; display: grid; place-items: center; }
.app-orb::before { content: ""; position: absolute; inset: -12%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); }
.app-orb .sphere { width: 52%; height: 52%; border-radius: 50%; position: relative; z-index: 1;
                   background: radial-gradient(circle at 34% 30%, #fff 0 8%, #cdf5ff 18%, var(--acc) 48%, #2a46c8 80%, #9a6eff 100%);
                   box-shadow: 0 0 5em -.5em rgba(106, 140, 255, .8); animation: breathe 4s ease-in-out infinite; transition: transform .2s; }
.app-orb .sphere::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
                          background: conic-gradient(transparent 0 18%, rgba(255,255,255,.45) 26%, transparent 38%, rgba(160,120,255,.35) 66%, transparent 80%);
                          animation: spin 7s linear infinite; }
.app-orb .wave { position: absolute; inset: 18%; border-radius: 47% 53% 51% 49%; border: 1.5px solid rgba(126, 160, 255, .7);
                 animation: wob 3s ease-in-out infinite, spin 14s linear infinite; }
.app-orb .sat { position: absolute; inset: -12%; animation: spin 9s linear infinite; }
.app-orb .sat::after { content: ""; position: absolute; top: 50%; right: -.25em; width: .5em; height: .5em; border-radius: 50%; background: #fff; }
.app[data-state="thinking"] .wave { border-color: rgba(192, 140, 255, .9); animation-duration: .9s, 2.4s; }
.app[data-state="acting"] .wave { border-style: dashed; border-color: rgba(255, 255, 255, .7); animation-duration: 1.4s, 3s; }
.app[data-state="speaking"] .sphere { animation: talk .35s ease-in-out infinite alternate; }
.app[data-state="listening"] .app-orb::before { animation: ripple 1.6s ease-out infinite; border-color: rgba(58, 214, 255, .5); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wob { 50% { border-radius: 53% 47% 46% 54%; transform: scale(1.04); } }
@keyframes talk { to { transform: scale(1.08); } }
@keyframes ripple { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.app-status { display: inline-flex; align-items: center; gap: .6em; margin: 0; padding: .55em 1.3em; border-radius: 999px; font-weight: 600; font-size: 1.15em;
              border: 1px solid rgba(58, 214, 255, .4); background: rgba(58, 214, 255, .08); transition: border-color .3s, background .3s; }
.app-status i { width: .6em; height: .6em; border-radius: 50%; background: var(--acc); box-shadow: 0 0 .8em var(--acc); }
.app[data-state="acting"] .app-status { border-color: rgba(106, 140, 255, .6); background: rgba(106, 140, 255, .12); }
.app-step { margin: .6em 0 0; color: var(--mute); font-size: 1em; min-height: 1.4em; }
.app-side { display: flex; flex-direction: column; gap: 1.2em; min-height: 0; }
.app-card { padding: 1.3em 1.4em; position: relative; overflow: hidden; }
.app-card::before { content: ""; position: absolute; left: 1.6em; right: 1.6em; top: 0; height: 1px; background: var(--grad); opacity: .8; }
.c-t { margin: 0 0 1em; font-weight: 600; font-size: 1.05em; display: flex; align-items: center; gap: .6em; }
.c-t::before { content: ""; width: 1.1em; height: .4em; border-radius: .2em; background: var(--grad); }
.gauges { display: flex; justify-content: space-around; }
.g { width: 6.4em; height: 6.4em; border-radius: 50%; display: grid; place-content: center; text-align: center; position: relative;
     background: conic-gradient(from 210deg, var(--acc) calc(var(--v) * 300deg), rgba(255, 255, 255, .08) 0 300deg, transparent 0); transition: --v 1s; }
.g::after { content: ""; position: absolute; inset: .45em; border-radius: 50%; background: #08090d; }
.g b, .g em { position: relative; z-index: 1; }
.g b { font-size: 1.5em; font-weight: 700; }
.g em { font-style: normal; color: var(--mute); font-size: .8em; }
.spark { width: 100%; height: 4.4em; margin-top: 1em; }
.spark path { fill: none; stroke: var(--acc); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.row { display: flex; justify-content: space-between; padding: .65em 0; border-top: 1px solid var(--line); color: var(--mute); font-size: 1em; }
.row b { color: var(--text); font-weight: 600; }
.row b.ok { color: var(--good); }
.app-bar { margin: 1.2em 1.8em 1.4em; display: flex; align-items: center; gap: 1em; padding: .6em .7em; border-radius: 999px; }
.app-bar .mic { width: 3em; height: 3em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #bdf3ff, var(--acc) 60%, #1a78d0); }
.app-bar .typed { font-size: 1.2em; color: var(--text); white-space: nowrap; overflow: hidden; }
.app-bar .typed:empty::before { content: "Type a command, or say “Hey Jarvis”…"; color: var(--mute); }
.app-bar .caret { width: 1.5px; height: 1.3em; background: var(--acc); animation: blink 1s steps(1) infinite; margin-left: -.6em; }
.app-bar .send { margin-left: auto; width: 3em; height: 3em; border-radius: 50%; background: #fff; }
@keyframes blink { 50% { opacity: 0; } }
@container (max-width: 640px) { .app-body { grid-template-columns: 5.2em 1fr; } .app-side { display: none; } .app-chip { display: none; } }

/* ---- animated showcase: the phone app */
.phone .scr { display: block; padding: 0; }
.ph-home, .ph-callview { position: absolute; inset: 0; padding: 54px 18px 18px; display: flex; flex-direction: column; transition: opacity .6s, transform .6s var(--ease); }
.ph-callview { align-items: center; justify-content: center; text-align: center; gap: 16px; opacity: 0; transform: scale(1.06); pointer-events: none; }
.phone.calling .ph-home { opacity: 0; transform: scale(.94); }
.phone.calling .ph-callview { opacity: 1; transform: none; }
.ph-k { margin: 0; font-size: 11px; font-weight: 600; color: var(--acc); }
.ph-hi { margin: 4px 0 16px; font-size: 27px; font-weight: 750; letter-spacing: -0.04em; text-align: left; }
.ph-call { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 22px; text-align: left;
           background: linear-gradient(#0f1016, #0f1016) padding-box, var(--grad) border-box; border: 1px solid transparent; transition: transform .3s; }
.phone.tap .ph-call { transform: scale(.95); }
.ph-call > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.ph-call b { font-size: 13.5px; } .ph-call em { font-style: normal; font-size: 10.5px; color: var(--mute); }
.ph-orb { width: 40px; height: 40px; border-radius: 50%; flex: none;
          background: radial-gradient(circle at 34% 30%, #fff 0 8%, #cdf5ff 18%, var(--acc) 48%, #2a46c8 80%, #9a6eff 100%); }
.ph-go { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.ph-grid span { padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); text-align: left; }
.ph-grid em { display: block; font-style: normal; font-size: 10px; color: var(--mute); }
.ph-grid b { font-size: 18px; }
.ph-dock { margin-top: auto; padding: 11px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
           color: var(--mute); font-size: 12px; text-align: left; }
.ph-timer { position: absolute; top: 52px; margin: 0; font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; }
.ph-callview .orb { background: radial-gradient(circle at 34% 30%, #fff 0 8%, #cdf5ff 18%, var(--acc) 48%, #2a46c8 80%, #9a6eff 100%);
                    box-shadow: 0 0 60px -10px rgba(106, 140, 255, .8); }
.ph-callview .heard { min-height: 2.6em; }

/* ---- more motion */
.grad { background-size: 200% auto; animation: shimmer 8s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }
.tile { transform-style: preserve-3d; }
.tile .shot img { transition: transform .8s var(--ease); }
.tile:hover .shot img { transform: scale(1.04); }
.reveal.zoom { transform: scale(.94); }
.reveal.zoom.in { transform: none; }
.bento .reveal:nth-child(even) { transition-delay: .08s; }
.grad { background-image: linear-gradient(100deg, #7ee8ff, #6a8cff, #c08cff, #7ee8ff); }   /* loops seamlessly while it shimmers */

/* ---- the hands-on demo: a real text box, cards you can throw around, a reply bubble */
.try { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 56px 0 -40px; color: var(--body); font-size: 15px; }
.app-bar input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 1.2em; }
.app-bar input::placeholder { color: var(--mute); }
.app-bar .typed:empty, .app-bar .typed:empty::before { display: none; }
.app-bar .typed:not(:empty) + input { display: none; }
.app-bar button { border: 0; cursor: pointer; padding: 0; }
.app-bar .send { display: grid; place-items: center; color: #000; transition: transform .2s var(--ease); }
.app-bar .send:hover { transform: scale(1.08); }
.app-bar .send svg { width: 1.4em; height: 1.4em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.app-bar .mic { transition: transform .2s; } .app-bar .mic:hover { transform: scale(1.08); }
.app-bar:focus-within { border-color: rgba(126, 160, 255, .55); box-shadow: 0 0 0 4px rgba(106, 140, 255, .15); }
.app-side { position: relative; }
.app-card[data-drag] { cursor: grab; touch-action: none; user-select: none; transition: box-shadow .25s, border-color .25s, transform .25s var(--ease); }
.app-card[data-drag] .c-t::after { content: "⠿"; margin-left: auto; color: var(--mute); font-size: 1.1em; letter-spacing: 0; }
.app-card.free { position: absolute; z-index: 5; margin: 0; background: linear-gradient(rgba(30, 32, 42, .92), rgba(16, 17, 24, .92));
                 backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.app-card.dragging { cursor: grabbing; z-index: 9; border-color: rgba(126, 232, 255, .7);
                     box-shadow: 0 0 0 1px rgba(126, 232, 255, .35), 0 2em 4em -1em rgba(58, 214, 255, .45), 0 0 3em rgba(150, 110, 255, .25); }
.app-card.dragging::before { opacity: 1; height: 2px; }
.app-reply { position: absolute; left: 50%; bottom: 7.2em; transform: translate(-50%, .8em); opacity: 0; pointer-events: none; max-width: 80%;
             padding: .7em 1.2em; border-radius: 1.4em; background: #fff; color: #000; font-weight: 600; font-size: 1.15em; white-space: nowrap;
             box-shadow: 0 1.4em 3em -1.2em rgba(126, 160, 255, .9); transition: opacity .35s, transform .45s var(--ease); z-index: 4; }
.app-reply.on { opacity: 1; transform: translate(-50%, 0); }
.app-reply.me { background: rgba(255, 255, 255, .1); color: var(--text); bottom: 10.6em; border: 1px solid var(--line-hi); font-weight: 500; }
.app-reset { position: absolute; right: 2em; bottom: 6.6em; z-index: 6; font: 600 .95em var(--font); color: var(--text); cursor: pointer;
             padding: .45em 1em; border-radius: 999px; border: 1px solid var(--line-hi); background: rgba(20, 21, 28, .8); opacity: 0; pointer-events: none;
             transition: opacity .3s; }
.app-reset.on { opacity: 1; pointer-events: auto; }

/* ---- more motion: a spotlight that follows the cursor, magnetic buttons, a scroll progress line, a rising headline */
.tile::after, .plan::after, .mini article::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(126, 180, 255, .13), transparent 60%); transition: opacity .3s; }
.tile:hover::after, .plan:hover::after, .mini article:hover::after { opacity: 1; }
.plan, .mini article { position: relative; }
#progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
            background: var(--grad); pointer-events: none; }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(2deg); filter: blur(8px);
              animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
.btn.magnet { transition: transform .2s var(--ease), background .25s, border-color .25s; }
.aurora { translate: var(--ax, 0) var(--ay, 0); }   /* follows the cursor, on top of its slow drift */
@media (prefers-reduced-motion: reduce) { .hero h1 .w { opacity: 1; transform: none; filter: none; } }
.app-reply.jarvis { bottom: 6.8em; }
.app-reply.me { left: auto; right: 25.5em; bottom: 11.4em; transform: translateY(.8em); }
.app-reply.me.on { transform: none; }
.app-reset { right: auto; left: 8em; bottom: 6.8em; }
@container (max-width: 640px) { .app-reply.me { right: 2em; } }
