/* Home: wide layout, product collage, sections. Tokens come from style.css. */
:root {
  --cream: #f3efe4;
  --olive: #2f2d29;
  --shadow: 0 1px 2px rgba(28, 27, 26, .06), 0 12px 40px rgba(28, 27, 26, .10);
}
@media (prefers-color-scheme: dark) {
  :root { --cream: #22201c; --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 40px rgba(0, 0, 0, .45); }
}
.home main, .home .nav, .home .foot { max-width: 1180px; padding: 0 28px; margin: 0 auto; }
.home .nav { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; }
.home .brand img { border-radius: 8px; }
.home nav { display: flex; align-items: center; }
.home nav a:not(.button) { margin-left: 26px; }

.button { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 16px; padding: 14px 24px; border-radius: 999px; transition: transform .15s ease, opacity .15s ease; }
.button:hover { transform: translateY(-1px); opacity: .92; }
.button.small { font-size: 14px; padding: 9px 16px; margin-left: 26px; }
.button.light { background: var(--paper); color: var(--ink); }
.link { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.eyebrow { color: var(--coral); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 10px; }
.home h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 0 0 16px; letter-spacing: -.01em; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; min-height: 640px; padding: 56px 0 40px; }
.badge { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px 5px 5px; }
.badge span { background: var(--coral); color: #fff; font-weight: 600; font-size: 12px; border-radius: 999px; padding: 3px 9px; }
.hero h1 { font-size: clamp(44px, 6.2vw, 76px); line-height: 1.02; margin: 26px 0 20px; letter-spacing: -.02em; }
.sub { font-size: 20px; color: var(--muted); max-width: 520px; margin: 0 0 30px; }
.sub strong { color: var(--ink); font-weight: 600; }
.cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.platforms { color: var(--muted); font-size: 14px; margin-top: 22px; }
.check { color: var(--coral); font-weight: 700; margin-right: 4px; }

/* Collage */
.hero-art { position: relative; height: 560px; }
.window { position: absolute; top: 20px; left: 8%; right: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.window-bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.window-bar i:nth-child(1) { background: #ff5f57; } .window-bar i:nth-child(2) { background: #febc2e; } .window-bar i:nth-child(3) { background: #28c840; }
.note { padding: 22px 28px 26px; }
.note-kicker { color: var(--muted); font-size: 13px; margin: 0; }
.note h3 { font-size: 26px; margin: 4px 0 14px; }
.chips { display: flex; gap: 8px; margin-bottom: 14px; }
.chips span { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.chips span.muted { background: var(--cream); color: var(--muted); }
.note ul { margin: 0 0 16px; padding-left: 18px; font-size: 15px; }
.note li { margin: 4px 0; }
.note-label { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 6px; text-transform: uppercase; letter-spacing: .05em; }
.task { display: flex; align-items: center; gap: 10px; font-size: 15px; padding: 6px 0; border-top: 1px solid var(--line); }
.task em { margin-left: auto; color: var(--muted); font-style: normal; font-size: 13px; }
.box { width: 18px; height: 18px; border: 1.5px solid var(--muted); border-radius: 5px; display: inline-grid; place-items: center; font-size: 12px; flex: none; }
.box.done { background: var(--coral); border-color: var(--coral); color: #fff; }

.lock { position: absolute; left: -6%; bottom: 0; width: 300px; padding: 18px 14px 14px; border-radius: 30px; background: linear-gradient(160deg, #3b3a45, #1d1c22); box-shadow: var(--shadow); color: #fff; }
.lock-time { font: 600 44px/1 -apple-system, BlinkMacSystemFont, sans-serif; text-align: center; margin: 6px 0 16px; opacity: .92; }
.activity { background: #faf8f1; color: #1c1b1a; border-radius: 22px; padding: 14px; }
.activity-head { display: flex; gap: 10px; align-items: stretch; margin-bottom: 12px; }
.activity-head .bar { width: 4px; border-radius: 4px; background: var(--coral); }
.activity-head strong { display: block; font: 600 16px/1.2 ui-serif, "New York", Georgia, serif; }
.activity-head small { color: #6b675f; font-size: 13px; }
.activity-button { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--coral); color: #fff; font-weight: 600; border-radius: 999px; padding: 11px; font-size: 15px; }
.dot-white { width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.activity-place { display: block; color: #6b675f; font-size: 12px; margin-top: 10px; }

.pill-rec { position: absolute; right: 28px; top: 0; display: flex; align-items: center; gap: 10px; background: #1c1b1a; color: #fff; border-radius: 999px; padding: 10px 18px; font-size: 14px; box-shadow: var(--shadow); }
.pill-rec b { font-variant-numeric: tabular-nums; }
.rec { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 10px rgba(255, 92, 79, .8); animation: pulse 1.6s ease-in-out infinite; }
.rec.big { width: 16px; height: 16px; }
.wave { display: flex; align-items: center; gap: 3px; height: 18px; }
.wave i { width: 3px; border-radius: 2px; background: var(--coral); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(1) { height: 30%; } .wave i:nth-child(2) { height: 70%; animation-delay: .1s; } .wave i:nth-child(3) { height: 100%; animation-delay: .2s; }
.wave i:nth-child(4) { height: 55%; animation-delay: .3s; } .wave i:nth-child(5) { height: 85%; animation-delay: .4s; } .wave i:nth-child(6) { height: 40%; animation-delay: .5s; } .wave i:nth-child(7) { height: 65%; animation-delay: .6s; }
@keyframes wave { 50% { transform: scaleY(.45); } }
@keyframes pulse { 50% { opacity: .45; } }

.watch { position: absolute; right: 0; bottom: -10px; width: 120px; height: 146px; border-radius: 36px; background: #111; padding: 9px; box-shadow: var(--shadow); }
.watch-face { height: 100%; border-radius: 28px; background: #000; color: #fff; display: grid; place-items: center; align-content: center; gap: 4px; }
.watch-face b { font: 600 26px/1 -apple-system, BlinkMacSystemFont, sans-serif; font-variant-numeric: tabular-nums; }
.watch-face small { color: var(--coral); font-size: 12px; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 40px 0 70px; border-bottom: 1px solid var(--line); }
.benefits .icon { color: var(--coral); font-size: 22px; }
.benefits h3 { margin: 8px 0 6px; }
.benefits p { color: var(--muted); margin: 0; font-size: 16px; }

/* Steps */
.steps { padding: 90px 0 40px; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.step-grid article { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.step-n { color: var(--coral); font-weight: 600; font-size: 14px; }
.step-grid h3 { font-size: 22px; margin: 10px 0 8px; }
.step-grid p { color: var(--muted); margin: 0; font-size: 16px; }

/* Memory */
.memory { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; margin: 70px 0; padding: 56px; border-radius: 28px; background: var(--cream); }
.memory-copy p:last-child { color: var(--muted); font-size: 18px; }
.chat { display: grid; gap: 14px; }
.bubble { padding: 16px 18px; border-radius: 20px; font-size: 16px; box-shadow: var(--shadow); max-width: 92%; }
.bubble.me { justify-self: end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 6px; }
.bubble.ai { background: var(--card); border-bottom-left-radius: 6px; }
.sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sources span { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }

/* Features */
.features-grid { padding: 40px 0; }
.features-grid .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.features-grid article { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); }
.features-grid h3 { margin: 0 0 8px; font-size: 20px; }
.features-grid p { margin: 0; color: var(--muted); font-size: 16px; }

/* Privacy */
.privacy { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; padding: 90px 0 70px; }
.privacy ul { list-style: none; margin: 0; padding: 0; }
.privacy li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 17px; color: var(--muted); }
.privacy li b { color: var(--ink); }

/* Final CTA */
.final { text-align: center; padding: 84px 28px; border-radius: 28px; background: #1c1b1a; color: #faf8f1; margin-bottom: 30px; }
.final h2 { color: #faf8f1; }
.final p { color: #c9c4b8; font-size: 18px; margin: 0 0 28px; }
.final .button.light { background: #faf8f1; color: #1c1b1a; }

/* Footer */
.home .foot { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 28px; padding-bottom: 40px; }
.foot-brand { display: flex; align-items: center; gap: 8px; font: 600 18px ui-serif, "New York", Georgia, serif; color: var(--ink); }
.foot-brand img { border-radius: 6px; }
.foot-links a { margin-right: 18px; }
.home .foot p { margin: 0 0 0 auto; }

/* Narrow screens */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; gap: 36px; }
  .hero-art { height: 520px; }
  .window { left: 0; }
  .lock { left: 0; }
  .memory, .privacy { grid-template-columns: 1fr; gap: 28px; }
  .step-grid, .features-grid .grid, .benefits { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .home main, .home .nav, .home .foot { padding: 0 16px; }
  .home nav a:not(.button) { display: none; }
  .button.small { margin-left: 0; }
  .sub { font-size: 18px; }
  .hero-art { height: 600px; }
  .window { top: 0; }
  .note { padding: 18px; }
  .lock { width: 260px; bottom: 30px; }
  .pill-rec { top: -18px; right: 8px; bottom: auto; }
  .watch { width: 96px; height: 118px; border-radius: 30px; bottom: 0; }
  .watch-face b { font-size: 20px; }
  .memory { padding: 28px 20px; margin: 40px 0; }
  .final { padding: 60px 20px; }
  .home .foot p { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .rec, .wave i { animation: none; } }
