/* TallPro website — the app's "Electric Apex" look: deep navy, electric cyan, pink only for streaks.
   Layout: a hero with stacked phone screens, a fact strip, feature grid, alternating showcases,
   research, steps, FAQ and a closing call to action. Legal pages reuse header, footer and .legal. */
:root {
  --bg: #0b132b;
  --bg-deep: #070d20;
  --surface: #1c2541;
  --surface-high: #26314f;
  --border: #2a3558;
  --text: #ffffff;
  --muted: #a3aec3;
  --cyan: #00e5ff;
  --cyan-soft: rgba(0, 229, 255, 0.12);
  --pink: #ff007f;
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 760px; }

/* ——— Header ——— */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(11, 19, 43, 0.82); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(42, 53, 88, 0.7); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 900; font-size: 20px; letter-spacing: -0.4px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand b { color: var(--cyan); font-weight: 900; }
nav.top { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 700; }
nav.top a { color: var(--muted); }
nav.top a:hover, nav.top a[aria-current="page"] { color: var(--text); text-decoration: none; }
nav.top .btn { padding: 9px 16px; font-size: 14px; }

/* ——— Buttons ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 24px; border-radius: 999px; font-weight: 800; font-size: 16px; line-height: 1; transition: transform 0.15s ease, filter 0.15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.06); }
.btn.primary { background: var(--cyan); color: var(--bg) !important; box-shadow: 0 8px 30px rgba(0, 229, 255, 0.35); }
.btn.ghost { border: 1px solid var(--border); color: var(--text) !important; background: rgba(28, 37, 65, 0.6); }

/* ——— Hero ——— */
.hero { position: relative; padding-block: 72px 56px; }
.hero::before { content: ""; position: absolute; inset: -120px 0 auto; height: 720px; z-index: -1;
  background: radial-gradient(600px 380px at 78% 30%, rgba(0, 229, 255, 0.22), transparent 70%),
              radial-gradient(520px 320px at 10% 10%, rgba(0, 120, 255, 0.14), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.pill-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: rgba(28, 37, 65, 0.7); color: var(--muted); font-size: 14px; font-weight: 700; }
.pill-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
h1 { font-size: clamp(42px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -2px; margin: 18px 0 18px; text-wrap: balance; }
h1 .hl { background: linear-gradient(90deg, #00e5ff, #7cf9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 19px; max-width: 32em; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust span::before { content: "✓"; color: var(--cyan); font-weight: 900; }

/* Stacked phones */
.phones { position: relative; height: 600px; }
.phones .device { position: absolute; }
.phones .device.back { left: 4%; top: 46px; transform: rotate(-6deg); opacity: 0.96; }
.phones .device.front { right: 4%; top: 0; transform: rotate(4deg); }
.float { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--bg); font-weight: 900; font-size: 15px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); }
.float .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); }
.float.streak .dot { background: var(--pink); }

/* ——— Device + mini app screens ——— */
.device { width: 272px; aspect-ratio: 9 / 19; border-radius: 46px; padding: 9px; background: linear-gradient(160deg, #3a4670, #1a2240); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(0, 229, 255, 0.18); }
.screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: var(--bg); padding: 40px 12px 58px; display: flex; flex-direction: column; gap: 9px; font-size: 12px; line-height: 1.35; }
.screen::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 82px; height: 22px; border-radius: 14px; background: #000; }
.s-top { display: flex; align-items: center; justify-content: space-between; }
.s-logo { display: flex; align-items: center; gap: 5px; font-weight: 900; font-size: 13px; }
.s-logo img { width: 16px; height: 16px; border-radius: 4px; }
.s-logo b { color: var(--cyan); }
.chips { display: flex; gap: 4px; }
.chip { display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); font-weight: 800; font-size: 10px; }
.chip.lit { color: var(--pink); border-color: var(--pink); background: rgba(255, 0, 127, 0.12); }
.s-hello { font-size: 17px; font-weight: 900; letter-spacing: -0.3px; }
.s-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 10px; }
.s-k { color: var(--muted); font-size: 10px; font-weight: 700; }
.s-kick { color: var(--cyan); font-size: 9px; font-weight: 900; letter-spacing: 0.8px; }
.s-big { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.s-big.c { color: var(--cyan); }
.s-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.s-pred { display: flex; align-items: center; justify-content: space-around; margin-top: 4px; }
.s-pred .arrow { color: var(--cyan); font-weight: 900; }
.ring { width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--cyan) calc(var(--p) * 1%), var(--bg) 0); display: grid; place-items: center; flex: none; }
.ring b { width: 52px; height: 52px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 17px; }
.bars { flex: 1; display: grid; gap: 6px; }
.bars div { display: grid; gap: 2px; }
.bars span { display: flex; justify-content: space-between; font-size: 10px; font-weight: 800; }
.bar { height: 6px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--cyan); border-radius: 99px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.days span { text-align: center; padding: 5px 0; border-radius: 9px; background: var(--surface); font-size: 9px; color: var(--muted); font-weight: 700; }
.days span b { display: block; color: var(--text); font-size: 12px; }
.days span.on { background: var(--cyan); color: var(--bg); }
.days span.on b { color: var(--bg); }
.days span.ok::after { content: "✓"; display: block; color: var(--cyan); font-weight: 900; }
.seg { display: flex; background: var(--surface); border-radius: 99px; padding: 3px; }
.seg span { flex: 1; text-align: center; padding: 5px 0; border-radius: 99px; font-weight: 800; font-size: 10px; color: var(--muted); }
.seg span.on { background: var(--cyan); color: var(--bg); }
.ex { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; }
.ex i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.ex em { margin-left: auto; color: var(--muted); font-style: normal; }
.s-btn { margin-top: 4px; text-align: center; padding: 9px; border-radius: 99px; background: var(--cyan); color: var(--bg); font-weight: 900; font-size: 12px; }
.meal-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.s-pills { display: flex; gap: 5px; flex-wrap: wrap; }
.s-pills span { padding: 4px 8px; border-radius: 99px; border: 1px solid var(--border); background: var(--bg); font-size: 10px; font-weight: 700; }
.s-pills span.on { background: var(--cyan); color: var(--bg); border-color: var(--cyan); }
.demo { flex: none; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.demo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.timer { display: grid; place-items: center; }
.timer .ring { width: 74px; height: 74px; }
.timer .ring b { width: 62px; height: 62px; font-size: 18px; }
.me { align-self: flex-end; max-width: 82%; background: var(--cyan); color: var(--bg); padding: 8px 10px; border-radius: 13px 13px 3px 13px; font-weight: 600; }
.coach { font-size: 11.5px; color: #e6ebf3; }
.input { margin-top: auto; padding: 9px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 8px 6px 16px; border-top: 1px solid var(--border); background: var(--bg); font-size: 9px; font-weight: 800; color: var(--muted); }
.tabbar span.on { color: var(--cyan); }
.tabbar span::before { content: ""; display: block; width: 16px; height: 16px; margin: 0 auto 2px; border-radius: 5px; border: 1.5px solid currentColor; }

/* ——— Fact strip ——— */
.facts { border-block: 1px solid var(--border); background: rgba(28, 37, 65, 0.35); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 26px; }
.fact b { display: block; font-size: 30px; font-weight: 900; letter-spacing: -0.8px; color: var(--cyan); font-variant-numeric: tabular-nums; }
.fact span { color: var(--muted); font-size: 14px; font-weight: 600; }

/* ——— Sections ——— */
section { padding-block: 84px; }
.kicker { color: var(--cyan); font-size: 13px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; }
h2 { font-size: clamp(32px, 4.4vw, 46px); letter-spacing: -1.2px; line-height: 1.08; margin: 10px 0 14px; text-wrap: balance; }
.sub { color: var(--muted); font-size: 18px; max-width: 38em; margin: 0 0 40px; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: linear-gradient(180deg, rgba(28, 37, 65, 0.95), rgba(28, 37, 65, 0.6)); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.feature .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--cyan-soft); display: grid; place-items: center; }
.feature .ico svg { width: 24px; height: 24px; stroke: var(--cyan); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 16px 0 6px; font-size: 20px; letter-spacing: -0.3px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.show { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.show + .show { margin-top: 96px; }
.show.flip .show-text { order: 2; }
.show .device { margin-inline: auto; }
.show h3 { font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -1px; line-height: 1.1; margin: 10px 0 12px; }
.show p { color: var(--muted); margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; width: 20px; height: 20px; flex: none; margin-top: 2px; border-radius: 50%; background: var(--cyan-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e5ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }

.science { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.study { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; }
.study .num { font-size: 34px; font-weight: 900; color: var(--cyan); letter-spacing: -1px; line-height: 1; }
.study p { margin: 0; color: #d7deea; }
.study a { font-size: 14px; font-weight: 700; }
.note { color: var(--muted); font-size: 15px; margin-top: 22px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(28, 37, 65, 0.5); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--cyan); color: var(--bg); font-weight: 900; }
.step h3 { margin: 14px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

.final { position: relative; overflow: hidden; border-radius: 32px; padding: 64px 28px; text-align: center; background: radial-gradient(500px 260px at 50% 0%, rgba(0, 229, 255, 0.25), transparent 70%), var(--surface); border: 1px solid var(--border); }
.final h2 { margin-top: 0; }
.final .cta { justify-content: center; }

/* ——— Legal pages ——— */
.legal { padding-block: 48px 64px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -1px; }
.legal .updated { color: var(--muted); font-size: 15px; margin-top: -6px; }
.legal h2 { font-size: 24px; letter-spacing: -0.4px; margin: 38px 0 10px; }
.legal h3 { font-size: 18px; margin: 22px 0 6px; }
.legal p, .legal li { color: #d7deea; }
.legal ul, .legal ol { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.box { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; margin: 18px 0; }
.box p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 14px 0; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.6px; }
.toc { columns: 2; gap: 24px; font-size: 15px; padding-left: 1.2em; }

/* ——— Footer ——— */
footer.site { border-top: 1px solid var(--border); padding-block: 36px 44px; color: var(--muted); font-size: 14px; background: var(--bg-deep); }
footer.site .wrap { display: flex; gap: 16px 28px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
footer.site .disc { flex-basis: 100%; font-size: 13px; opacity: 0.8; }

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .hero .wrap, .show { grid-template-columns: 1fr; }
  .show.flip .show-text { order: 0; }
  .phones { height: 560px; max-width: 480px; margin-inline: auto; width: 100%; }
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  nav.top .hide-sm { display: none; }
  .hero { padding-block: 40px 32px; }
  .phones { height: auto; }
  .phones .device { position: relative; }
  .phones .device.back, .float { display: none; }
  .phones .device.front { right: auto; top: auto; transform: none; margin-inline: auto; }
  .features, .steps, .science { grid-template-columns: 1fr; }
  section { padding-block: 60px; }
  .toc { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Tab bar icons (line icons like the app; active tab in cyan) */
.tabbar span::before { border: 0; border-radius: 0; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.tabbar .t-home { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 10.5 12 3.5l8.5 7V19a1.5 1.5 0 0 1-1.5 1.5h-4.5V15h-5v5.5H5A1.5 1.5 0 0 1 3.5 19z'/%3E%3C/svg%3E"); }
.tabbar .t-daily { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='3'/%3E%3Cpath d='M8 3v4M16 3v4M3.5 10h17'/%3E%3C/svg%3E"); }
.tabbar .t-apex { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l1.9 4.9 4.9 1.9-4.9 1.9L12 17.1l-1.9-4.9-4.9-1.9 4.9-1.9z'/%3E%3Cpath d='M18.5 15l.8 2 2 .8-2 .8-.8 2-.8-2-2-.8 2-.8z'/%3E%3C/svg%3E"); }
.tabbar .t-forum { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8.5' r='3.2'/%3E%3Cpath d='M3 19.5c.6-3.2 3-5 6-5s5.4 1.8 6 5'/%3E%3Ccircle cx='17' cy='9.5' r='2.4'/%3E%3Cpath d='M16.5 14.6c2.3.2 4 1.7 4.5 4.4'/%3E%3C/svg%3E"); }
