/* Fonts are hosted with the site (no Google Fonts). */
[hidden] { display: none !important; }
.ico { display: inline-flex; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

/* Notra website — shared styles. Values match the Notra app. */
:root {
  --bg0: #000000;
  --bg1: #0C0C0F;
  --bg2: #131316;
  --bg3: #1B1B1F;
  --bg4: #232328;
  --line: rgba(255, 255, 255, 0.04);
  --line-strong: rgba(255, 255, 255, 0.08);
  --t1: #EEEEF1;
  --t2: #9E9EAC;
  --t3: #5E5E6C;
  --t4: #3C3C48;
  --blue: #4A7AFF;
  --blue-hover: #6E95FF;
  --blue-press: #3A66E0;
  --green: #32D74B;
  --amber: #FFD60A;
  --red: #FF453A;
  --grey-state: #9E9EAC;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --navh: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: #000; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: #000;
  color: var(--t1);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.n-page {
  min-height: 100vh;
  background: #000;
  color: var(--t1);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
}

/* Focus ring: visible on every control, keyboard only */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--bg3); color: var(--t1); padding: 12px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 500;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }

/* Links */
.n-link {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  border-radius: 4px;
}
.n-link:hover { color: var(--blue-hover); }
.n-link:active { color: var(--blue-press); }

/* ---------- Nav ---------- */
.nav-sticky { position: sticky; top: 0; z-index: 50; }
.nav {
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  color: var(--t1);
}
.nav-row { height: var(--navh); display: flex; align-items: center; gap: 12px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 4px; margin-left: -4px; border-radius: 10px;
  color: var(--t1); text-decoration: none;
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
}
.logo:hover .logo-word { color: #fff; }
.logo-img { display: block; height: 26px; width: auto; }
.footer .logo-img { height: 28px; }
.logo:hover .logo-img { opacity: 0.85; }
.logo:active { opacity: 0.8; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, #3AD3F2 0%, #4A7AFF 52%, #9C5CFF 100%);
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-links { display: none; list-style: none; margin: 0 0 0 auto; padding: 0; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px;
  color: var(--t2); text-decoration: none; font-size: 15px; font-weight: 500;
}
.nav-link:hover { color: var(--t1); background: var(--bg3); }
.nav-link:active { background: var(--bg4); }
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.menu-btn {
  width: 44px; height: 44px; border-radius: 12px; border: 0; padding: 0;
  background: transparent; color: var(--t1); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.menu-btn:hover { background: var(--bg3); }
.menu-btn:active { background: var(--bg4); }
.mobile-menu { border-top: 1px solid var(--line); background: #000; padding: 8px 0 20px; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-link {
  display: flex; align-items: center; min-height: 52px; padding: 0 12px; margin: 0 -12px; border-radius: 12px;
  color: var(--t1); text-decoration: none; font-size: 18px; font-weight: 500;
}
.mobile-link:hover { background: var(--bg3); }
.mobile-link:active { background: var(--bg4); }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-right { margin-left: 16px; }
  .menu-btn, .mobile-menu { display: none; }
}

/* ---------- App Store badge (Apple's official black badge) ---------- */
.badge-root { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; }
.badge-root.align-start { align-items: flex-start; }
.badge { display: inline-block; line-height: 0; border-radius: 8px; text-decoration: none; }
.badge-img { display: block; width: auto; height: 40px; }
.badge-lg .badge-img { height: 54px; }
.badge-lg { border-radius: 11px; }
a.badge { cursor: pointer; }
a.badge:hover { opacity: 0.85; }
a.badge:active { opacity: 0.7; }
.badge.is-soon { opacity: 0.5; }
.soon { font-size: 11px; font-weight: 500; color: var(--t2); letter-spacing: 0.02em; line-height: 1; }
.badge-root.size-lg .soon { font-size: 13px; }

/* ---------- Sections ---------- */
.sec { padding: 80px 0; scroll-margin-top: calc(var(--navh) + 8px); }
@media (min-width: 960px) { .sec { padding: 128px 0; } }
.h1 { margin: 0; font-size: 42px; line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; }
@media (min-width: 768px) { .h1 { font-size: 60px; } }
@media (min-width: 1100px) { .h1 { font-size: 70px; } }
.h2 { margin: 0; font-size: 30px; line-height: 1.12; letter-spacing: -0.025em; font-weight: 600; }
@media (min-width: 768px) { .h2 { font-size: 44px; } }
.lead { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--t2); max-width: 34em; }
@media (min-width: 768px) { .lead { font-size: 18px; } }
.two-col { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 72px; }
@media (min-width: 960px) { .hero { padding: 88px 0 120px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; } }
.hero-sub { margin: 20px 0 32px; font-size: 18px; line-height: 1.55; color: var(--t2); max-width: 28em; }
@media (min-width: 768px) { .hero-sub { font-size: 20px; } }
.phone-col { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.glow {
  position: absolute; left: 50%; top: 46%; width: 520px; height: 520px; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none; filter: blur(70px); opacity: 0.45;
  background: radial-gradient(circle at 35% 35%, rgba(58, 211, 242, 0.45), rgba(74, 122, 255, 0.32) 42%, rgba(156, 92, 255, 0.26) 64%, rgba(0, 0, 0, 0) 74%);
}
.phone {
  position: relative; width: 300px; height: 620px; border-radius: 52px; padding: 10px;
  background: #0C0C0F; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09), 0 40px 90px rgba(0, 0, 0, 0.7);
}
.screen { position: relative; width: 100%; height: 100%; border-radius: 42px; background: #000; overflow: hidden; }
.still { position: absolute; inset: 0; padding: 44px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.still-date { font-size: 12px; color: var(--t2); }
.still-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: -4px; }
.still-note {
  background: var(--bg2); border-radius: 16px; padding: 12px 14px;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.75; color: var(--t1);
}
.caret { display: inline-block; width: 6px; height: 13px; background: var(--t1); vertical-align: -2px; margin-left: 1px; }
.still-label { font-size: 11px; color: var(--t2); display: flex; align-items: center; gap: 6px; padding: 4px 2px 0; }
.still-row {
  background: var(--bg2); border-radius: 16px; padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.still-name { font-size: 14px; font-weight: 600; }
.still-set { font-size: 12px; color: var(--t2); margin-top: 1px; }
.demo-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; z-index: 2; transition: opacity 0.3s ease;
}
.demo-video.is-ready { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .screen.is-playing .caret { animation: n-blink 1.1s steps(1) infinite; }
  .screen.is-playing .seq { animation: n-rise 9s ease infinite both; }
  .screen.is-playing .seq-1 { animation-delay: 0.4s; }
  .screen.is-playing .seq-2 { animation-delay: 0.9s; }
  .screen.is-playing .seq-3 { animation-delay: 1.4s; }
  .screen.is-playing .seq-4 { animation-delay: 1.9s; }
}
@keyframes n-blink { 50% { opacity: 0; } }
@keyframes n-rise {
  0% { opacity: 0; transform: translateY(6px); }
  8%, 86% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}
.pp {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 14px;
  border-radius: 22px; border: 1px solid var(--line-strong); background: var(--bg2); color: var(--t1);
  font-family: var(--sans); font-size: 14px; font-weight: 500; cursor: pointer; position: relative; z-index: 1;
}
.pp:hover { background: var(--bg3); }
.pp:active { background: var(--bg4); }

/* ---------- Status colours (meaning only, never decoration) ---------- */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-green { background: var(--green); }
.dot-amber { background: var(--amber); }
.dot-red { background: var(--red); }
.dot-grey { background: var(--grey-state); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.c-green { color: var(--green); }
.c-amber { color: var(--amber); }
.c-red { color: var(--red); }
.c-grey { color: var(--grey-state); }
.stroke-green { stroke: var(--green); } .fill-green { fill: var(--green); }
.stroke-amber { stroke: var(--amber); } .fill-amber { fill: var(--amber); }
.stroke-red { stroke: var(--red); } .fill-red { fill: var(--red); }
.stroke-grey { stroke: var(--grey-state); } .fill-grey { fill: var(--grey-state); }

/* ---------- The note ---------- */
.note-card { margin: 0; background: var(--bg1); border: 1px solid var(--line); border-radius: 24px; padding: 20px 22px 26px; }
.note-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--t2); margin-bottom: 14px; }
.note { font-family: var(--mono); font-size: 14px; line-height: 1.95; color: var(--t1); overflow-wrap: anywhere; }
@media (min-width: 768px) { .note { font-size: 16px; } .note-card { padding: 24px 30px 32px; } }
.note-first { font-weight: 500; }

/* ---------- Note → lifts ---------- */
.map { display: grid; gap: 12px; margin-top: 48px; }
@media (min-width: 960px) { .map { grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); gap: 20px; align-items: start; } }
.map-arrow { display: flex; justify-content: center; align-items: center; color: var(--t3); padding: 4px 0; }
.map-arrow .arrow-right { display: none; }
@media (min-width: 960px) {
  .map-arrow { padding-top: 180px; }
  .map-arrow .arrow-down { display: none; }
  .map-arrow .arrow-right { display: block; }
}
.panel { background: var(--bg1); border: 1px solid var(--line); border-radius: 24px; padding: 10px; }
.panel-head { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px 12px; font-size: 13px; color: var(--t2); }
.nline {
  display: block; width: 100%; min-height: 44px; padding: 9px 12px; border: 0; border-radius: 12px;
  background: transparent; color: var(--t1); text-align: left; cursor: pointer;
  font-family: var(--mono); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere;
}
@media (min-width: 768px) { .nline { font-size: 15px; } }
.nline:hover { background: var(--bg3); }
.nline:active { background: var(--bg4); }
.nline.is-active, .lift.is-active { background: rgba(74, 122, 255, 0.14); box-shadow: inset 0 0 0 1.5px var(--blue); }
.lift-list { display: flex; flex-direction: column; gap: 8px; }
.lift {
  display: block; width: 100%; padding: 14px 16px; border: 0; border-radius: 16px;
  background: var(--bg2); color: var(--t1); text-align: left; cursor: pointer; font-family: var(--sans);
}
.lift:hover { background: var(--bg3); }
.lift:active { background: var(--bg4); }
.lift-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.lift-name { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.lift-sub { font-size: 13px; color: var(--t2); }
.sets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.set {
  font-size: 13px; font-weight: 500; padding: 5px 10px; border-radius: 8px; background: var(--bg4);
  color: var(--t1); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.map-hint { margin: 16px 0 0; font-size: 14px; color: var(--t2); }

/* ---------- Is it working? ---------- */
.states { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 960px) { .states { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; } }
.state-list { display: flex; flex-direction: column; gap: 8px; }
.state-btn {
  display: flex; gap: 14px; align-items: flex-start; width: 100%; min-height: 44px; padding: 16px 18px;
  border: 0; border-radius: 18px; background: var(--bg1); color: var(--t1); text-align: left; cursor: pointer;
  font-family: var(--sans);
}
.state-btn:hover { background: var(--bg2); }
.state-btn:active { background: var(--bg3); }
.state-btn.is-active { background: var(--bg2); box-shadow: inset 0 0 0 1.5px var(--blue); }
.state-btn .dot { width: 10px; height: 10px; margin-top: 7px; }
.state-name { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.state-line { display: block; font-size: 15px; color: var(--t2); margin-top: 2px; line-height: 1.5; }
.ex-card { background: var(--bg2); border-radius: 24px; padding: 24px; }
.ex-label { font-size: 12px; color: var(--t2); margin: 0 0 14px; }
.ex-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ex-lift { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.ex-sum { margin: 8px 0 0; font-size: 15px; color: var(--t2); }
.spark { display: block; width: 100%; height: 80px; margin: 20px 0 8px; }
.sessions { list-style: none; margin: 8px 0 0; padding: 0; }
.sessions li {
  display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.sessions .when { color: var(--t2); }
.num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--t1); white-space: nowrap; }

/* ---------- Coach ---------- */
.chat { display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 90%; padding: 14px 18px; border-radius: 22px; font-size: 16px; line-height: 1.55; }
.msg-me { align-self: flex-end; background: var(--bg3); border-bottom-right-radius: 8px; }
.msg-coach { align-self: flex-start; background: var(--bg1); border: 1px solid var(--line); border-bottom-left-radius: 8px; }
.msg-who { font-size: 12px; font-weight: 600; color: var(--t2); margin-bottom: 6px; }
.based { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--t2); }

/* ---------- What Notra won't do ---------- */
.wont { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 768px) { .wont { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.wont-card { background: var(--bg1); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.wont-title { margin: 0 0 8px; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.wont-text { margin: 0; font-size: 16px; color: var(--t2); line-height: 1.6; }
.wont-ex {
  margin-top: 20px; background: var(--bg2); border-radius: 16px; padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}

/* ---------- Pricing ---------- */
.toggle { display: inline-flex; gap: 4px; padding: 4px; margin-top: 32px; border-radius: 14px; background: var(--bg2); }
.tog-btn {
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 10px; background: transparent;
  color: var(--t2); font-family: var(--sans); font-size: 15px; font-weight: 500; cursor: pointer;
}
.tog-btn:hover { color: var(--t1); background: var(--bg3); }
.tog-btn:active { background: var(--bg4); }
.tog-btn.is-active { color: var(--t1); background: var(--bg4); box-shadow: inset 0 0 0 1.5px var(--blue); }
.plans { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 768px) { .plans { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.plan { background: var(--bg1); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.plan-pro { background: var(--bg2); }
.plan-name { margin: 0; font-size: 16px; font-weight: 600; color: var(--t2); }
.price { margin-top: 10px; font-size: 44px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.per { font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--t2); }
.price-note { margin: 6px 0 0; font-size: 14px; color: var(--t2); min-height: 22px; }
.feat { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.05); display: flex; flex-direction: column; gap: 12px; }
.feat li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.feat svg { flex: none; margin-top: 3px; color: var(--t2); }
.confirm { color: var(--t2); font-family: var(--mono); font-size: 13px; }
.price-foot { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.small { font-size: 14px; color: var(--t2); margin: 0; max-width: 34em; }

/* ---------- FAQ ---------- */
.faq { margin-top: 40px; max-width: 780px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.faq-q { margin: 0; font-size: inherit; font-weight: inherit; }
.faq-btn {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 64px;
  padding: 18px 4px; border: 0; background: transparent; color: var(--t1); text-align: left; cursor: pointer;
  font-family: var(--sans); font-size: 17px; font-weight: 500; line-height: 1.4; border-radius: 10px;
}
@media (min-width: 768px) { .faq-btn { font-size: 19px; } }
.faq-btn:hover { color: #fff; background: var(--bg1); }
.faq-btn:active { background: var(--bg2); }
.chev { flex: none; color: var(--t2); transition: transform 0.2s ease; }
.faq-btn.is-open .chev { transform: rotate(180deg); }
.faq-a { padding: 0 4px 24px; margin: 0; font-size: 16px; line-height: 1.65; color: var(--t2); max-width: 40em; }

/* ---------- Final call ---------- */
.cta { text-align: center; padding: 96px 0 120px; }
@media (min-width: 960px) { .cta { padding: 140px 0 160px; } }
.cta .h2 { max-width: 16em; margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg1); border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--t2); font-family: var(--sans); font-size: 14px; }
.foot-top { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 768px) { .foot-top { flex-direction: row; justify-content: space-between; align-items: center; } }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 12px; }
.foot-links li { display: inline-flex; align-items: center; gap: 12px; }
.foot-links li + li::before { content: "·"; color: var(--t3); }
.foot-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--t2); text-decoration: none; border-radius: 6px; font-size: 15px; }
.foot-link:hover { color: var(--t1); text-decoration: underline; text-underline-offset: 3px; }
.foot-link:active { color: #fff; }
.legal { margin: 28px 0 0; font-size: 13px; line-height: 1.7; color: var(--t2); }

/* ---------- Simple pages ---------- */
.doc { padding: 56px 0 104px; }
@media (min-width: 960px) { .doc { padding: 88px 0 140px; } }
.doc-inner { max-width: 720px; }
.doc-h1 { margin: 0; font-size: 38px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; }
@media (min-width: 768px) { .doc-h1 { font-size: 52px; } }
.doc-h2 { margin: 44px 0 10px; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.doc-p { margin: 0 0 12px; font-size: 16px; line-height: 1.7; color: var(--t2); }
.draft-flag {
  display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 8px; padding: 16px 18px; border-radius: 16px;
  background: var(--bg2); border: 1px solid var(--line-strong); font-size: 15px; font-weight: 500; color: var(--t1);
}
.ph { color: var(--t2); font-family: var(--mono); font-size: 14px; }
.contact-card { margin-top: 40px; background: var(--bg1); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.qa { margin-top: 8px; }
.doc-updated { margin: 14px 0 0; font-size: 14px; color: var(--t2); }
.doc-p strong, .doc-ul strong { color: var(--t1); font-weight: 600; }
.doc-ul { margin: 0 0 12px; padding-left: 22px; color: var(--t2); font-size: 16px; line-height: 1.7; }
.doc-ul li { margin: 6px 0; }
.doc-h3 { margin: 24px 0 6px; font-size: 17px; font-weight: 600; color: var(--t1); }
.tbc {
  font-family: var(--mono); font-size: 0.86em; color: var(--t1); background: var(--bg3);
  border: 1px dashed rgba(255, 255, 255, 0.24); border-radius: 6px; padding: 1px 6px; white-space: normal;
}
.table-box { overflow-x: auto; margin: 12px 0 16px; border: 1px solid var(--line-strong); border-radius: 14px; }
.doc-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.doc-table th { text-align: left; font-weight: 600; color: var(--t1); background: var(--bg2); padding: 12px 14px; }
.doc-table td { padding: 12px 14px; color: var(--t2); border-top: 1px solid rgba(255, 255, 255, 0.06); vertical-align: top; }
.doc-table td:first-child { color: var(--t1); font-weight: 500; white-space: nowrap; }
.qa-q { margin: 32px 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Recreated app screens (from the real Notra app) ---------- */
.screen .app {
  position: absolute; top: 0; left: 0; width: 390px; height: 836px;
  transform: scale(0.718); transform-origin: 0 0;
  background: #000; color: var(--t1); font-family: var(--sans); overflow: hidden;
}
.app-badge {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 15px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
}
.ab-green { color: var(--green); background: rgba(50, 215, 75, 0.12); }
.ab-amber { color: var(--amber); background: rgba(255, 214, 10, 0.12); }
.ab-red { color: var(--red); background: rgba(255, 69, 58, 0.13); }
.ab-grey { color: var(--t2); background: rgba(158, 158, 172, 0.13); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 15px;
  background: #26262B; color: var(--t2); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.chip.is-on { background: rgba(74, 122, 255, 0.16); color: var(--blue-hover); }
.chip.range { text-transform: none; letter-spacing: 0.06em; }

/* Home screen */
.ah-head { display: flex; justify-content: space-between; align-items: center; padding: 50px 18px 0; }
.ah-greet { font-size: 27px; font-weight: 600; letter-spacing: -0.02em; }
.ah-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: #1B1B1F; border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.ah-mark { display: block; width: 28px; height: 16px; overflow: hidden; }
.ah-mark img { display: block; height: 16px; width: auto; max-width: none; }
.ah-sub { padding: 12px 18px 0; font-size: 15px; color: var(--t2); }
.ah-card { margin: 16px 14px 0; background: #161619; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 24px; padding: 18px 18px 16px; }
.ah-card .app-badge { height: 24px; padding: 0 12px; font-size: 11px; }
.ah-card .chip { height: 26px; padding: 0 12px; font-size: 11px; }
.ah-lift { font-size: 20px; font-weight: 600; margin: 10px 0 10px; }
.ah-card .lc { margin: 6px -4px 6px; }
.ah-best { font-size: 13px; color: var(--t2); margin-top: 8px; }
.ah-last { padding: 16px 18px; }
.ah-label { font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--blue-hover); }
.ah-sess { font-size: 16px; font-weight: 600; margin: 8px 0 4px; }
.ah-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 23.5px; }
.ah-row span:first-child { color: var(--t2); }
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 84px; padding-top: 9px;
  background: #0C0C0F; border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; color: #6E6E7A; }
.tab.is-on { color: var(--blue); }

/* Notes screen */
.an-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 56px 18px 6px; }
.an-icons { display: flex; align-items: center; gap: 22px; }
.an-title { font-size: 16px; font-weight: 600; }
.an-save { justify-self: end; color: var(--blue-hover); font-size: 15px; font-weight: 600; }
.an-body { padding: 8px 20px 0; font-family: var(--mono); font-size: 14.5px; line-height: 31px; color: var(--t1); }
.an-body > div { white-space: pre; }
.an-date { color: var(--blue-hover); }
.an-gap { height: 31px; }
.an-fab {
  position: absolute; right: 20px; bottom: 106px; width: 58px; height: 58px; border-radius: 18px;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(74, 122, 255, 0.35);
}

/* Note → lift (web-sized app panels) */
.note-panel { background: #000; border: 1px solid var(--line-strong); border-radius: 24px; padding: 14px 10px 16px; }
.note-date { font-family: var(--mono); font-size: 15px; color: var(--blue-hover); padding: 6px 12px 10px; }
.nline.gap { margin-top: 14px; }
.lift-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pick {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 22px; background: var(--bg2); color: var(--t2);
  font-family: var(--sans); font-size: 14px; font-weight: 500; cursor: pointer;
}
.pick:hover { color: var(--t1); background: var(--bg3); }
.pick:active { background: var(--bg4); }
.pick.is-active { color: var(--t1); background: var(--bg3); box-shadow: inset 0 0 0 1.5px var(--blue); }
.ex-screen { background: #000; border: 1px solid var(--line-strong); border-radius: 24px; padding: 22px 18px 18px; }
.app-title { margin: 12px 0 18px; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.chart-card { background: #161619; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 24px; padding: 18px 16px 16px; }
.chart-card .lc { margin: 10px 0 2px; }
.best-last { text-align: center; font-size: 14px; color: var(--t2); margin: 6px 0 14px; }
.app-label { margin: 26px 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t1); }
.sess-card { background: #161619; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 24px; overflow: hidden; }
.sess-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 18px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.sess-row:first-child { border-top: 0; }
.sess-date { font-size: 16px; font-weight: 500; }
.sess-name { font-size: 13px; color: var(--t2); margin-top: 3px; }
.sess-sets { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.new-best { color: var(--green); font-size: 13px; font-weight: 600; margin-right: 8px; }
.ask {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding: 16px 18px;
  border-radius: 20px; border: 1px solid rgba(74, 122, 255, 0.35); background: rgba(74, 122, 255, 0.07);
  color: var(--t1); text-decoration: none;
}
.ask:hover { background: rgba(74, 122, 255, 0.13); }
.ask:active { background: rgba(74, 122, 255, 0.18); }
.ask-title { display: block; color: var(--blue-hover); font-size: 17px; font-weight: 600; }
.ask-q { display: block; color: var(--t2); font-size: 14px; margin-top: 2px; }
.ask svg { flex: none; color: var(--blue-hover); }
.ex-sum2 { margin: -8px 0 16px; font-size: 15px; color: var(--t2); }

/* Lift chart */
.lc { display: block; }
.lc-svg { display: block; width: 100%; height: auto; overflow: visible; }
.lc-tick, .lc-x { font-family: var(--sans); font-size: 12px; fill: #8E8E9C; }
.lc-pr { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; }
.stop-green { stop-color: var(--green); }
.stop-amber { stop-color: var(--amber); }
.stop-red { stop-color: var(--red); }
.stop-grey { stop-color: var(--grey-state); }
@media (prefers-reduced-motion: no-preference) {
  .screen.is-playing .lc-line { animation: lc-draw 7s ease-in-out infinite both; }
  .screen.is-playing .lc-area, .screen.is-playing .lc-dots, .screen.is-playing .lc-big, .screen.is-playing .lc-pr { animation: lc-fade 7s ease-in-out infinite both; }
}
@keyframes lc-draw { 0% { stroke-dashoffset: 1; } 30%, 100% { stroke-dashoffset: 0; } }
@keyframes lc-fade { 0%, 18% { opacity: 0; } 32%, 100% { opacity: 1; } }

/* ---------- Phone width: centre the intros, keep long content readable ---------- */
@media (max-width: 767px) {
  /* Hero: headline, subline and badge centred above the phone */
  .hero-grid > div:first-child { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero .badge-root.align-start { align-items: center; }
  .phone-col { width: 100%; }

  /* Section intros (heading + lead) centred */
  .sec .h2, .sec .lead { text-align: center; }
  .sec .lead { margin-left: auto; margin-right: auto; }
  .two-col > div:first-child { text-align: center; }

  /* What Notra makes of it */
  .lift-pick { justify-content: center; }
  .map-hint { text-align: center; }
  .note-panel, .ex-screen { padding-left: 12px; padding-right: 12px; }
  .nline { font-size: 13.5px; padding: 9px 10px; }
  .app-title { font-size: 26px; }
  .chart-card { padding: 16px 12px 14px; }
  .chart-card .chip-row { justify-content: center; gap: 6px; }
  .chart-card .chip { height: 28px; padding: 0 10px; font-size: 11px; letter-spacing: 0.1em; }
  .sess-row { padding: 14px 14px; }
  .sess-row > div:first-child { min-width: 0; }
  .sess-sets { font-size: 15px; }

  /* Is it working? */
  .state-btn { padding: 14px 16px; }

  /* Pricing: switch and badge centred, plan cards stay left-aligned */
  #pricing .wrap { text-align: center; }
  #pricing .plans { text-align: left; }
  .plan { padding: 24px 22px; }

  /* Coach */
  .chat .small { text-align: center; }

  /* Footer */
  .foot-top { align-items: center; text-align: center; }
  .foot-links { justify-content: center; gap: 0 20px; }
  .foot-links li + li::before { content: none; }
  .legal { text-align: center; }
}

/* Respect reduce motion everywhere */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
