/* Takepad landing. Palette: gold accent on near-black. */
:root {
  --bg-deep: #0B0B0B;
  --bg: #121212;
  --surface: #1A1A1A;
  --surface-hi: #212121;
  --surface-top: #2B2B2B;
  --line: #4A4A4A;
  --text: #ECECEC;
  --text-2: #B3B3B3;
  --gold: #FFC72C;
  --gold-rgb: 255,199,44;
  --on-gold: #1A1400;
  --sand: #C9B99C;
  --bone: #D8CDBA;
  --cream: #F5E8CE;
  --red: #FF6B5E;
  --radius: 22px;
  --wrap: 1180px;
  --font: Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - clamp(2rem, 6vw, 5rem)); margin-inline: auto; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 11, 11, .55);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.top.is-scrolled { border-bottom-color: rgba(74, 74, 74, .5); background: rgba(11, 11, 11, .82); }
.top .wrap { display: flex; align-items: center; gap: 1.25rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; text-decoration: none; }
.brand img { width: 32px; height: 32px; flex: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.nav a { text-decoration: none; color: var(--text-2); font-size: .95rem; transition: color .2s; }
.nav a:hover { color: var(--text); }
.lang {
  border: 1px solid var(--line); border-radius: 999px; padding: .28rem .8rem;
  font-weight: 600; font-size: .85rem !important; letter-spacing: .06em; color: var(--text) !important;
}
.lang:hover { border-color: var(--gold); }
.pill-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: var(--on-gold); font-weight: 700;
  border-radius: 999px; padding: .55rem 1.1rem; font-size: .92rem; white-space: nowrap;
}
.pill-cta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--on-gold); animation: pulse 1.8s ease-in-out infinite; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(236,236,236,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(236,236,236,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
}
.blob { position: absolute; z-index: -2; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.blob.b1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(var(--gold-rgb),.25), transparent 65%); top: -140px; right: -80px; animation: drift1 22s ease-in-out infinite; }
.blob.b2 { width: 440px; height: 440px; background: radial-gradient(circle, rgba(201,185,156,.35), transparent 65%); bottom: -160px; left: -120px; animation: drift2 26s ease-in-out infinite; }
.blob.b3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,107,94,.25), transparent 65%); top: 38%; left: 42%; animation: drift3 18s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-90px,70px) scale(1.15); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(110px,-60px) scale(1.1); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(.9); } 33% { transform: translate(60px,-50px) scale(1.1); } 66% { transform: translate(-50px,40px) scale(1); } }

.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .38rem .9rem; border-radius: 999px;
  border: 1px solid var(--gold); background: rgba(var(--gold-rgb),.08);
  color: var(--cream); font-size: .85rem; font-weight: 500;
}
.eyebrow svg { width: 15px; height: 15px; color: var(--gold); }
h1 {
  font-size: clamp(2.5rem, 5.8vw, 4.7rem); line-height: 1.02; letter-spacing: -.035em;
  margin: 1.2rem 0 1.2rem; font-weight: 800;
}
.grad { color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-2); max-width: 36rem; margin: 0 0 2rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.cta-big {
  display: inline-flex; align-items: center; gap: .65rem;
  background: var(--gold); color: var(--on-gold); font-weight: 800; font-size: 1.05rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  box-shadow: 0 10px 40px -10px rgba(var(--gold-rgb),.25);
}
.cta-big .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--on-gold); animation: pulse 1.8s ease-in-out infinite; }
.cta-note { color: var(--text-2); font-size: .92rem; display: inline-flex; align-items: center; gap: .45rem; }
.cta-note svg { width: 18px; height: 18px; color: var(--sand); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 2.2rem 0 0; }
.chips li { font-size: .82rem; color: var(--bone); border: 1px solid rgba(74,74,74,.8); background: rgba(26,26,26,.6); padding: .3rem .75rem; border-radius: 999px; }

/* ---------- phone mock ---------- */
.stage { position: relative; display: flex; justify-content: center; }
.stage::after {
  content: ""; position: absolute; width: 70%; height: 30px; bottom: -36px; left: 15%;
  background: radial-gradient(ellipse, rgba(0,0,0,.7), transparent 70%); filter: blur(6px);
  animation: shadow 6s ease-in-out infinite;
}
.phone {
  position: relative; width: clamp(262px, 28vw, 340px); aspect-ratio: 9 / 19;
  border-radius: 46px; padding: 11px;
  background: linear-gradient(145deg, #3a3a3a, #121212 40%, #2b2b2b);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 40px 90px -30px rgba(var(--gold-rgb),.25), 0 30px 60px -20px rgba(0,0,0,.9);
  animation: float 6s ease-in-out infinite;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--bg); }
.phone-screen::before { content: ""; position: absolute; top: 10px; left: 50%; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: #050505; z-index: 3; box-shadow: 0 0 0 2px #1a1a1a; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-16px) rotate(.4deg); } }
@keyframes shadow { 0%,100% { transform: scaleX(1); opacity: .9; } 50% { transform: scaleX(.82); opacity: .55; } }

.phone-screen { container-type: inline-size; }
/* note mock: sizes in app dp (screen = 360 dp wide), colours sampled from app screenshots */
.ui, .fab { --dp: calc(100cqw / 360); }
@supports not (width: 1cqw) { .ui, .fab { --dp: .72px; } }
.ui { position: absolute; inset: 0; display: flex; flex-direction: column; text-align: left; color: var(--text); font-size: calc(14 * var(--dp)); }
.ui-status { flex: none; height: calc(30 * var(--dp)); padding: calc(8 * var(--dp)) calc(24 * var(--dp)) 0; display: flex; justify-content: space-between; background: #262626; font-size: calc(11 * var(--dp)); font-weight: 600; color: var(--text-2); }
.ui-bar { flex: none; height: calc(50 * var(--dp)); padding: 0 calc(12 * var(--dp)) 0 calc(14 * var(--dp)); display: flex; align-items: center; gap: calc(13 * var(--dp)); background: #262626; border-bottom: 1px solid #434343; color: var(--text); }
.ui-bar svg { flex: none; width: calc(21 * var(--dp)); height: calc(21 * var(--dp)); }
.ui-title { flex: 1; min-width: 0; font-size: calc(19 * var(--dp)); font-weight: 700; color: #FFF7DC; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-bar .b-mic { color: var(--gold); }
.b-rec { flex: none; width: calc(15 * var(--dp)); height: calc(15 * var(--dp)); border-radius: 50%; background: #E0413A; }
.b-more { flex: none; width: calc(26 * var(--dp)); height: calc(26 * var(--dp)); border-radius: calc(6 * var(--dp)); background: #90A0AC; color: #F2F5F7; display: grid; place-items: center; }
.ui-bar .b-more svg { width: calc(15 * var(--dp)); height: calc(15 * var(--dp)); }
.ui-body { flex: 1; min-height: 0; overflow: hidden; padding: calc(12 * var(--dp)) calc(11 * var(--dp)) 0; display: flex; flex-direction: column; gap: calc(13 * var(--dp)); }
.ui-meta { font-size: calc(11.5 * var(--dp)); color: var(--text-2); margin-bottom: calc(-5 * var(--dp)); }
.note-text, .typed, .lyric { font-size: max(11px, calc(15 * var(--dp))); line-height: 1.32; color: var(--text); white-space: nowrap; }
.note-text .v { overflow: hidden; }
.tile { flex: none; margin: 0 calc(-8 * var(--dp)); padding: calc(13 * var(--dp)) calc(11 * var(--dp)) calc(12 * var(--dp)); background: #242424; border: 1px solid var(--line); border-radius: calc(15 * var(--dp)); }
.tile-row { display: flex; align-items: center; gap: calc(7 * var(--dp)); }
.tile-name { font-size: calc(14 * var(--dp)); font-weight: 700; color: #BFBFBF; white-space: nowrap; }
.tile-grip { flex: none; width: calc(15 * var(--dp)); height: calc(6 * var(--dp)); margin-left: auto; border-top: calc(1.6 * var(--dp)) solid #6E6E6E; border-bottom: calc(1.6 * var(--dp)) solid #6E6E6E; }
.tile-time { font-size: calc(14 * var(--dp)); font-weight: 700; color: #C1C1C1; font-variant-numeric: tabular-nums; margin: 0 calc(4 * var(--dp)) 0 calc(5 * var(--dp)); }
.tb { flex: none; width: calc(27 * var(--dp)); height: calc(27 * var(--dp)); border-radius: calc(7 * var(--dp)); display: grid; place-items: center; color: #FFFFFF; }
.tb svg { width: calc(14 * var(--dp)); height: calc(14 * var(--dp)); }
.tb-more { background: #90A0AC; }
.tb-loop { background: #214C49; color: #8FD1C7; }
.tb-play { background: #1E9441; }
.tb-mic { background: #E0413A; }
.wave { height: calc(22 * var(--dp)); margin-top: calc(14 * var(--dp)); display: flex; align-items: center; gap: calc(1.4 * var(--dp)); }
.wave i { flex: 1; height: 100%; border-radius: 1px; background: var(--gold); opacity: 1; transform-origin: center; transform: scaleY(var(--h)); animation: bars 1.15s ease-in-out infinite; animation-delay: calc(var(--i) * -97ms); }
.wave i.off { background: rgba(var(--gold-rgb),.25); animation: none; }
@keyframes bars { 0%,100% { transform: scaleY(var(--h)); } 50% { transform: scaleY(calc(var(--h) * .45)); } }
.draft-head { display: flex; align-items: center; gap: calc(8 * var(--dp)); margin-top: calc(3 * var(--dp)); }
.dh-bar { flex: none; width: calc(4 * var(--dp)); height: calc(15 * var(--dp)); border-radius: calc(2 * var(--dp)); background: var(--gold); }
.dh-label { flex: none; font-size: calc(11.5 * var(--dp)); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.dh-line { flex: 1; height: 1px; background: var(--gold); }
.draft-head svg { flex: none; width: calc(15 * var(--dp)); height: calc(15 * var(--dp)); color: var(--gold); }
.typed { min-height: calc(var(--n, 4) * 1.32em); white-space: pre; overflow: hidden; margin-top: calc(-3 * var(--dp)); }
.typed .w { display: inline; animation: wordIn .35s ease-out both; }
.typed .caret { display: inline-block; width: 2px; height: 1em; background: var(--gold); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes wordIn { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: blur(0); } }
@keyframes blink { 50% { opacity: 0; } }
.sec { display: flex; align-items: center; gap: calc(8 * var(--dp)); font-size: calc(11.5 * var(--dp)); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: calc(3 * var(--dp)); }
.sec::after { content: ""; flex: 1; height: 1px; background: var(--gold); }
.lyric { margin-top: calc(-4 * var(--dp)); }
.fab { position: absolute; right: calc(16 * var(--dp)); bottom: calc(18 * var(--dp)); width: calc(52 * var(--dp)); height: calc(52 * var(--dp)); border-radius: calc(16 * var(--dp)); background: var(--gold); color: var(--on-gold); display: grid; place-items: center; box-shadow: 0 8px 22px -6px rgba(var(--gold-rgb),.25); }
.fab svg { width: calc(24 * var(--dp)); height: calc(24 * var(--dp)); }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--gold); animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.7); } }

/* ---------- sections ---------- */
section { position: relative; }
.band { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.kicker { color: var(--gold); font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 .9rem; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 1rem; font-weight: 800; }
.sub { color: var(--text-2); font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 40rem; margin: 0; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }

.story { background: linear-gradient(180deg, var(--bg-deep), var(--bg)); border-block: 1px solid rgba(74,74,74,.35); }
.story blockquote { margin: 0 auto; max-width: 52rem; text-align: center; font-size: clamp(1.25rem, 2.4vw, 1.85rem); line-height: 1.45; font-weight: 500; letter-spacing: -.01em; color: var(--text); }
.story blockquote em { font-style: normal; color: var(--gold); }
.flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem; margin: 2.4rem 0 0; padding: 0; list-style: none; }
.flow li { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--cream); }
.flow li + li::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); }
.flow b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(var(--gold-rgb),.14); color: var(--gold); font-size: .8rem; }

.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; margin-top: 3rem; }
.card {
  grid-column: span 2; position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--surface-hi), var(--surface));
  border: 1px solid #2b2b2b; border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.8rem;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s;
}
.card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--gold-rgb),.12), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(var(--gold-rgb),.25); box-shadow: 0 24px 50px -24px rgba(var(--gold-rgb),.25); }
.card:hover::before { opacity: 1; }
.icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: rgba(var(--gold-rgb),.12); color: var(--gold); margin-bottom: 1.2rem; border: 1px solid rgba(var(--gold-rgb),.25); }
.icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.22rem; margin: 0 0 .5rem; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--text-2); font-size: .98rem; }
.card .tag { display: inline-block; margin-top: 1rem; font-size: .78rem; color: var(--sand); border: 1px solid rgba(201,185,156,.3); border-radius: 999px; padding: .2rem .65rem; }

/* screenshots */
.shots { display: flex; justify-content: center; gap: clamp(1.25rem, 4vw, 4rem); flex-wrap: wrap; margin-top: 3.2rem; }
.shot { margin: 0; text-align: center; }
.shot .phone { width: clamp(200px, 23vw, 280px); aspect-ratio: auto; animation: none; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.shot:nth-child(1) .phone { transform: rotate(-3deg); }
.shot:nth-child(2) .phone { transform: rotate(3deg) translateY(28px); }
.shot:nth-child(3) .phone { transform: rotate(-3deg); }
.shot:hover .phone { transform: rotate(0) translateY(-8px); }
.shot .phone-screen { height: auto; }
.shot .phone-screen::before { display: none; }
.shot img { width: 100%; height: auto; border-radius: 36px; }
.shot figcaption { margin-top: 1.6rem; font-weight: 700; color: var(--cream); letter-spacing: .02em; }
.shot:nth-child(2) figcaption { margin-top: calc(1.6rem + 28px); }

/* privacy */
.privacy-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  border-radius: 30px; padding: clamp(2rem, 5vw, 3.8rem);
  background: radial-gradient(120% 140% at 0% 0%, rgba(var(--gold-rgb),.16), transparent 50%), linear-gradient(180deg, var(--surface-hi), var(--bg));
  border: 1px solid rgba(var(--gold-rgb),.25);
}
.shield { width: clamp(110px, 14vw, 170px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; position: relative; background: radial-gradient(circle, rgba(var(--gold-rgb),.22), rgba(var(--gold-rgb),.04) 70%); color: var(--gold); }
.shield svg { width: 46%; height: 46%; }
.shield::before, .shield::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(var(--gold-rgb),.25); animation: ripple 3.6s ease-out infinite; }
.shield::after { animation-delay: 1.8s; }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.55); opacity: 0; } }
.checks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.6rem; }
.checks li { display: flex; gap: .7rem; color: var(--text); font-size: .98rem; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 1px; }
.checks span { color: var(--text-2); }
.checks strong { color: var(--text); font-weight: 600; }

/* final CTA */
.final { text-align: center; }
.final .cta-big { margin-top: 2rem; font-size: 1.15rem; padding: 1.1rem 2rem; }
.final .ring-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 55%, rgba(var(--gold-rgb),.14), transparent 70%); }

footer { border-top: 1px solid rgba(74,74,74,.4); padding: 2rem 0; color: var(--text-2); font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
footer .brand { font-size: 1rem; }
footer .brand img { width: 24px; height: 24px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .cta-row, .chips { justify-content: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: span 1; }
  .card:nth-child(5) { grid-column: span 2; }
  .privacy-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .checks { text-align: left; }
}
@media (max-width: 680px) {
  .nav .hide-s { display: none; }
  .pill-cta { display: none; }
  .features { grid-template-columns: 1fr; }
  .card:nth-child(5) { grid-column: span 1; }
  .checks { grid-template-columns: 1fr; }
  .shot:nth-child(2) .phone { transform: rotate(3deg); }
  .shot:nth-child(2) figcaption { margin-top: 1.6rem; }
  .flow li + li::before { width: 14px; }
}
@media (max-width: 400px) {
  .top .wrap { gap: .6rem; }
}

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