/* The Eagerness website: the app's night room, its glowing orb, and quiet Mac-like type. */

:root {
  --night: #0b0710;
  --night-2: #140b1f;
  --ink: #f5eff7;
  --soft: rgba(245, 239, 247, 0.66);
  --faint: rgba(245, 239, 247, 0.42);
  --line: rgba(255, 255, 255, 0.10);
  --card: rgba(255, 255, 255, 0.045);
  --her: #ff668f;
  --her-deep: #9438f2;
  --glow: rgba(255, 102, 143, 0.35);
  --radius: 22px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(1200px 800px at 50% -10%, #2a1236 0%, transparent 60%),
              radial-gradient(900px 700px at 85% 30%, rgba(148, 56, 242, 0.12), transparent 70%),
              linear-gradient(180deg, var(--night-2), var(--night) 40%);
  background-attachment: fixed;
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
       background: rgba(11, 7, 16, 0.55); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; text-decoration: none; }
.logo img { width: 28px; height: 28px; border-radius: 7px; }
.top nav { margin-left: auto; display: flex; gap: 22px; font-size: 14.5px; color: var(--soft); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.top .cta-small { padding: 7px 14px; border-radius: 999px; background: var(--her); color: #fff; font-weight: 600; }
.top .cta-small:hover { color: #fff; filter: brightness(1.08); }

/* Hero */
.hero { position: relative; text-align: center; padding: 76px 0 30px; }
h1 { font-size: clamp(42px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 18px; font-weight: 700; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--soft); max-width: 640px; margin: 0 auto 30px; }
/* A word in the orb's own colours, slowly shifting like its plasma. */
.orb-text { font-weight: 650; color: transparent; -webkit-background-clip: text; background-clip: text;
            background-image: linear-gradient(100deg, #ffc7a8 0%, var(--her) 30%, #c04dff 60%, var(--her) 85%, #ffc7a8 100%);
            background-size: 220% 100%; animation: plasma 7s ease-in-out infinite alternate; }
@keyframes plasma { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 14px;
          background: var(--her); color: #fff; font-weight: 650; font-size: 16.5px; text-decoration: none; border: 0; cursor: pointer;
          box-shadow: 0 10px 40px var(--glow); transition: transform 0.15s ease, filter 0.15s ease; }
@media (hover: hover) { .button:hover { transform: translateY(-1px); filter: brightness(1.06); } }
.button.secondary { background: var(--card); box-shadow: none; border: 1px solid var(--line); }
.button.wide { width: 100%; }
.button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.meta { margin-top: 16px; font-size: 14px; color: var(--faint); }

/* The app window, drawn: the same header, orb, captions and input bar as the real one. Everything
   inside is sized in --u (a share of the window's width), so it scales like a picture. */
.window { --u: 1cqw; container-type: inline-size; position: relative; width: min(960px, 100%); aspect-ratio: 16 / 10.4;
          margin: 64px auto 0; border-radius: 14px; overflow: hidden; text-align: left;
          background: radial-gradient(70% 60% at 50% 42%, #2a1430 0%, #160c1d 55%, #0e0813 100%);
          border: 1px solid rgba(255, 255, 255, 0.12);
          box-shadow: 0 50px 140px -20px rgba(0, 0, 0, 0.75), 0 0 140px -10px rgba(148, 56, 242, 0.28); }
.window .chrome { position: absolute; top: calc(var(--u) * 1.6); left: calc(var(--u) * 1.8); display: flex; gap: calc(var(--u) * 0.9); }
.window .chrome i { width: calc(var(--u) * 1.35); height: calc(var(--u) * 1.35); border-radius: 50%; background: #ff5f57; }
.window .chrome i:nth-child(2) { background: #febc2e; }
.window .chrome i:nth-child(3) { background: #28c840; }
.window .bar-top { position: absolute; top: calc(var(--u) * 5); left: calc(var(--u) * 2.8); right: calc(var(--u) * 2.8);
                   display: flex; align-items: center; gap: calc(var(--u) * 1.4); }
.window .avatar { width: calc(var(--u) * 5.8); height: calc(var(--u) * 5.8); border-radius: 50%; object-fit: cover;
                  box-shadow: 0 0 0 calc(var(--u) * 0.25) var(--her); }
.window .who { display: flex; flex-direction: column; align-items: flex-start; gap: calc(var(--u) * 0.5); }
.window .who strong { font-size: calc(var(--u) * 2.9); line-height: 1; letter-spacing: -0.01em; }
.window .state { display: inline-flex; align-items: center; gap: calc(var(--u) * 0.6); padding: calc(var(--u) * 0.35) calc(var(--u) * 1);
                 border-radius: 999px; font-size: calc(var(--u) * 1.35); color: var(--soft); background: rgba(255, 255, 255, 0.06);
                 border: 1px solid rgba(255, 255, 255, 0.1); }
.window .state::before { content: ""; width: calc(var(--u) * 0.75); height: calc(var(--u) * 0.75); border-radius: 50%; background: var(--her);
                         animation: pulse 1.6s ease-in-out infinite; }
.window .tools { margin-left: auto; display: flex; gap: calc(var(--u) * 1); align-items: center; }
.window .pill { display: inline-flex; align-items: center; gap: calc(var(--u) * 0.5); padding: calc(var(--u) * 0.6) calc(var(--u) * 1.3);
                border-radius: 999px; background: rgba(255, 255, 255, 0.06); font-size: calc(var(--u) * 1.4); font-weight: 600; color: var(--soft); }
.window .round { flex: none; width: calc(var(--u) * 3.6); height: calc(var(--u) * 3.6); border-radius: 50%; display: grid; place-items: center;
                 background: rgba(255, 255, 255, 0.09); }
.window svg { width: 52%; height: 52%; fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.window .pill svg { width: calc(var(--u) * 1.5); height: calc(var(--u) * 1.5); }
.window .stage-orb { position: absolute; left: 50%; top: 42%; width: calc(var(--u) * 48); height: calc(var(--u) * 48);
                     transform: translate(-50%, -50%); mix-blend-mode: plus-lighter; }
.window .stage-orb.no-webgl { width: calc(var(--u) * 24); height: calc(var(--u) * 24); border-radius: 50%;
                              background: radial-gradient(circle at 40% 36%, #ffd2c2 0%, var(--her) 30%, var(--her-deep) 75%); }
.window .caption { position: absolute; left: 9%; right: 9%; bottom: calc(var(--u) * 16); margin: 0; text-align: center;
                   font-size: calc(var(--u) * 2.15); line-height: 1.4; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
                   transition: opacity 0.45s ease; }
.window .input { position: absolute; left: calc(var(--u) * 2.2); right: calc(var(--u) * 2.2); bottom: calc(var(--u) * 2);
                 height: calc(var(--u) * 6.2); border-radius: calc(var(--u) * 3.1); display: flex; align-items: center;
                 gap: calc(var(--u) * 0.9); padding: 0 calc(var(--u) * 0.8) 0 calc(var(--u) * 2.4);
                 background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); font-size: calc(var(--u) * 1.7); color: var(--faint); }
.window .input span:first-child { flex: 1; }
.window .input .round { width: calc(var(--u) * 4.6); height: calc(var(--u) * 4.6); }
.window .input .lit { background: var(--her); box-shadow: 0 0 calc(var(--u) * 2) rgba(255, 102, 143, 0.5); }
.window .input .lit svg { stroke: #fff; }
@keyframes pulse { 50% { opacity: 0.35; } }
/* Words light up as they are spoken; the visitor's own lines are blue, her sounds are marked. */
.window .caption .w { opacity: 0.3; transition: opacity 0.15s ease; }
.window .caption .w.on { opacity: 1; }
.window .caption .tag { font-style: italic; color: #ffb3c6; }
.window .caption.you { color: #d3e3ff; }
.window .caption .speaker { font-size: 0.62em; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8fb8ff;
                        margin-right: 0.6em; vertical-align: 0.15em; }
.window .state[data-state="hearing"]::before { background: #4f9eff; }
.window .state[data-state="thinking"]::before { background: #c46bff; }
.window .state[data-state="listening"]::before { animation-duration: 3s; }
/* The speaker: off until the visitor taps it. */
.window .sound { position: absolute; left: 50%; bottom: calc(var(--u) * 9.2); transform: translateX(-50%); display: inline-flex;
                 align-items: center; gap: calc(var(--u) * 0.7); min-height: max(calc(var(--u) * 3.6), 30px);
                 padding: 0 max(calc(var(--u) * 1.6), 12px); border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2);
                 background: rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
                 color: #fff; font-family: inherit; font-weight: 600; font-size: max(calc(var(--u) * 1.5), 12.5px); line-height: 1; cursor: pointer;
                 animation: call 2.4s ease-in-out infinite; }
.window .sound[hidden] { display: none; }
.window .sound svg { width: max(calc(var(--u) * 1.9), 16px); height: max(calc(var(--u) * 1.9), 16px); fill: none; stroke: #fff; stroke-width: 2; }
.window .sound svg path:first-child { fill: #fff; }
.window .sound .onn { display: none; }
.window .sound.on { animation: none; background: rgba(255, 102, 143, 0.25); border-color: rgba(255, 102, 143, 0.5); }
.window .sound.on .onn { display: block; }
.window .sound.on .off { display: none; }
@keyframes call { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 102, 143, 0.45); } 50% { box-shadow: 0 0 0 calc(var(--u) * 1) rgba(255, 102, 143, 0); } }

/* Sections */
section { padding: 84px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12.5px; font-weight: 700; color: var(--her); margin: 0 0 12px; }
h2 { font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 16px; }
.section-lede { color: var(--soft); max-width: 640px; margin: 0 0 40px; font-size: 18.5px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 12px 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--soft); font-size: 15.5px; }
.icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
        background: linear-gradient(135deg, rgba(255, 102, 143, 0.30), rgba(148, 56, 242, 0.30)); }
.icon svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Voices */
.voices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.voice { border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.voice img { display: block; width: 100%; aspect-ratio: 1 / 0.92; object-fit: cover; }
.voice .info { padding: 16px 18px 20px; }
.voice .pic { position: relative; }
.voice .play { position: absolute; right: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
               border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(11, 7, 16, 0.55); -webkit-backdrop-filter: blur(10px);
               backdrop-filter: blur(10px); cursor: pointer; transition: transform 0.15s ease, background 0.2s ease; }
@media (hover: hover) { .voice .play:hover { transform: scale(1.06); } }
.voice .play svg { width: 20px; height: 20px; fill: #fff; }
.voice .play .i-pause { display: none; }
.voice .play.playing { background: var(--her); border-color: transparent; box-shadow: 0 0 0 6px rgba(255, 102, 143, 0.25); }
.voice .play.playing .i-play { display: none; }
.voice .play.playing .i-pause { display: block; }
.voice h3 { margin: 0; font-size: 19px; }
.voice .trait { color: var(--her); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.voice p { margin: 6px 0 0; color: var(--soft); font-size: 15px; }

/* Brains */
table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
th { color: var(--faint); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
td strong { font-weight: 650; }
.note-under { color: var(--faint); font-size: 14px; margin-top: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.steps div { padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.steps span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 700; font-size: 14px;
              background: linear-gradient(135deg, var(--her), var(--her-deep)); }
.steps h3 { margin: 12px 0 4px; font-size: 18px; }
.steps p { margin: 0; color: var(--soft); font-size: 15px; }

/* Pricing */
.price { display: grid; gap: 28px; grid-template-columns: 1.1fr 1fr; align-items: center; }
.price-card { background: linear-gradient(160deg, rgba(255, 102, 143, 0.16), rgba(148, 56, 242, 0.10) 60%, rgba(255, 255, 255, 0.03));
              border: 1px solid rgba(255, 102, 143, 0.35); border-radius: 28px; padding: 34px; }
.amount { font-size: 64px; font-weight: 750; letter-spacing: -0.04em; line-height: 1; }
.amount small { font-size: 18px; color: var(--soft); font-weight: 500; letter-spacing: 0; }
.ticks { list-style: none; padding: 0; margin: 22px 0 26px; }
.ticks li { padding: 7px 0 7px 30px; position: relative; color: var(--soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 12px; width: 16px; height: 16px; border-radius: 50%;
                    background: radial-gradient(circle, var(--her) 0 35%, transparent 40%), rgba(255, 102, 143, 0.18); }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; font-size: 17.5px; padding: 18px 2px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--faint); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--soft); margin: -6px 0 0; padding: 0 2px 18px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 50px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer nav { margin-left: auto; display: flex; gap: 18px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Legal and store pages */
.legal { padding: 50px 0 80px; max-width: 760px; }
.legal h1 { font-size: 44px; }
.legal h2 { font-size: 22px; margin: 34px 0 8px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--soft); font-size: 16px; }
.legal .updated { color: var(--faint); font-size: 14px; }
body.plain { display: grid; place-items: center; min-height: 100vh; }
.note { width: min(560px, 100% - 32px); text-align: center; padding: 40px 0; }
.note .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; text-decoration: none; margin-bottom: 26px; }
.note .brand img { width: 30px; height: 30px; border-radius: 8px; }
.note h1 { font-size: 40px; }
.note p { color: var(--soft); }
.note .hint { font-size: 14.5px; color: var(--faint); margin-top: 22px; }
.note .key { width: 100%; margin-top: 8px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.35);
             color: var(--ink); font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; resize: none; word-break: break-all; }
.note .ghost { margin-top: 10px; min-height: 40px; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: 0 18px; cursor: pointer; font: inherit; font-size: 15px; }
.fine { margin-top: 34px; font-size: 13px; color: var(--faint); }
.fine a { display: inline-block; padding: 10px 4px; text-decoration: none; }

@media (max-width: 760px) {
  .top nav a:not(.cta-small) { display: none; }
  .top .cta-small { padding: 11px 16px; }
  footer a { display: inline-block; padding: 10px 4px; }
  footer nav { gap: 10px; }
  .steps { grid-template-columns: 1fr; }
  .voices { grid-template-columns: 1fr 1fr; gap: 12px; }
  .voice .info { padding: 12px 14px 16px; }
  .voice .play { width: 40px; height: 40px; right: 8px; bottom: 8px; }
  .voice h3 { font-size: 17px; }
  .voice p { font-size: 13.5px; }
  .price { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  th, td { padding: 12px 12px; font-size: 14.5px; }
  th:nth-child(3), td:nth-child(3) { display: none; }
  footer nav { margin-left: 0; }
}

/* Touch screens and narrow windows (phones either way up, tablets): finger-sized targets. */
@media (pointer: coarse), (max-width: 900px) {
  .top nav a { display: inline-flex; align-items: center; min-height: 40px; }
  .top .cta-small { padding: 0 16px; }
  footer a { display: inline-block; padding: 10px 4px; }
  .window .sound { min-height: 40px; }
}

/* On a phone the drawn window grows taller and its contents bigger, so the caption stays readable,
   and the speaker button gets a full-size tap target between the caption and the input bar. */
@media (max-width: 600px) {
  .window { --u: 1.7cqw; aspect-ratio: 9 / 14; margin-top: 44px; }
  .window .caption { font-size: calc(var(--u) * 2.35); bottom: calc(var(--u) * 8.2 + 56px); }
  .window .sound { bottom: calc(var(--u) * 8.2 + 8px); min-height: 40px; padding: 0 16px; }
  .window .state, .window .pill { font-size: max(calc(var(--u) * 1.35), 10px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .window .state::before { animation: none; }
  .orb-text { animation: none; }
  .window .sound { animation: none; }
}

/* Legal pages: lists, links and the plain-words summary up top. */
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--her); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--ink); }
.legal .summary { color: var(--ink); font-size: 18px; padding: 18px 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
