/* ============================================================
   CoachWave public chrome (lp-*). The marketing site is currently a
   placeholder — this sheet dresses the stripped-back home page and the
   public legal pages only. Newsreader display over Inter body, near-black
   CTAs on the blue-grey canvas (see DESIGN_SYSTEM.md + /design/charter).
   Scoped under body.lp; standalone sheet — fonts are the same self-hosted
   files the design system uses.
   ============================================================ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/inter-latin-variable-1f021a24.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/newsreader-latin-variable-dd08b472.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/newsreader-latin-variable-dd08b472.woff2") format("woff2");
}

.lp {
  --sans: 'Inter', system-ui, sans-serif;
  --serif: 'Newsreader', Georgia, serif;

  --canvas: #E2EBF8;
  --panel: #FFFFFF;
  --ink: #243B53;
  --muted: #5B7183;
  --faint: #8CA0B3;
  --line: #DCE4ED;
  --line-soft: #EAF0F6;
  --field: #F4F8FB;
  --active: #E3F2FB;
  --blue: #1173C2;
  --cta: #17181C;
  --cta-press: #000;

  --sh-sm: 0 2px 10px -2px rgba(16,42,67,.10);
  --sh-md: 0 10px 30px -8px rgba(16,42,67,.16);
  --sh-lg: 0 24px 60px -16px rgba(16,42,67,.22);

  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.lp, .lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp :where(button) { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.lp ::selection { background: #BFE0F7; }
.lp .hidden { display: none !important; }
.lp img { max-width: 100%; }

/* ---- Buttons: one size, dark or ghost (charter: black means act) ---- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 28px; border-radius: 12px; font-size: 15px; font-weight: 600;
  white-space: nowrap;
  text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.lp-btn svg { width: 17px; height: 17px; }
.lp-btn-dark { background: var(--cta); color: #fff; box-shadow: 0 10px 24px -10px rgba(23,24,28,.5); }
.lp-btn-dark:hover { background: var(--cta-press); transform: translateY(-2px); }
.lp-btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.lp-btn-ghost:hover { background: var(--field); transform: translateY(-2px); }
.lp-btn-sm { height: 38px; padding: 0 18px; font-size: 14px; border-radius: 10px; box-shadow: none; }

/* ============ Header (public legal pages) ============ */
.lp-head { position: sticky; top: 0; z-index: 60; background: rgba(242,246,252,.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(220,228,237,.7); }
.lp-head-in { max-width: 1400px; margin: 0 auto; padding: 0 40px; height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lp-head-actions { display: flex; align-items: center; gap: 10px; }

/* Wordmark stands in for the logo while the site is a placeholder. */
.lp-wordmark { font-family: var(--serif); font-size: 24px; font-weight: 700;
  letter-spacing: -.015em; color: var(--ink); text-decoration: none; }
.lp-wordmark:hover { color: var(--blue); }

/* Compact mobile header: everything stays visible — Login included. The CTA
   swaps to its short label; below 400px it yields entirely (the hero's email
   capture is the first thing on screen anyway). */
.lp-label-short { display: none; }
@media (max-width: 640px) {
  .lp-head-in { padding: 0 14px; height: 64px; gap: 8px; }
  .lp-head-actions { gap: 6px; }
  .lp-wordmark { font-size: 19px; }
  .lp-btn-sm { height: 36px; padding: 0 13px; font-size: 13px; }
  .lp-label-full { display: none; }
  .lp-label-short { display: inline; }
  .lp .lp-lang button { padding-left: 4px; padding-right: 4px; }
  .lp .lp-lang button > span:last-child { display: none; }
}
@media (max-width: 400px) {
  .lp-head-in { padding: 0 12px; }
  .lp-wordmark { font-size: 17px; }
  .lp-btn-sm { padding: 0 10px; font-size: 12.5px; }
}
@media (max-width: 340px) {
  .lp-head-actions .lp-btn-dark { display: none; }
}

/* ============ Placeholder home page ============ */
.lp-maint { min-height: 100dvh; display: flex; flex-direction: column; }
.lp-maint-lang { display: flex; justify-content: flex-end; padding: 18px 20px 0; }
.lp-maint-main { flex: 1; display: grid; place-items: center; padding: 24px 20px 15vh; }
.lp-maint-card { text-align: center; max-width: 420px; }

.lp-maint-mark { font-family: var(--serif); font-weight: 700;
  font-size: clamp(40px, 9vw, 60px); line-height: 1.05; letter-spacing: -.02em;
  color: var(--ink); margin: 0; }
.lp-maint-tag { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 12px 0 0; }

.lp-maint-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.lp-maint-actions .lp-btn { width: 100%; }

@media (min-width: 480px) {
  .lp-maint-actions { flex-direction: row; justify-content: center; }
  .lp-maint-actions .lp-btn { width: auto; min-width: 170px; }
}

/* ============================================================
   Beta landing page — gradient hero, floating cards, phone mockup,
   feature grid, dark security panel, CTA, footer. All lp-* classes,
   rendered by home/index.html.erb on the "landing" layout.
   ============================================================ */

html:has(body.lp) { scroll-behavior: smooth; }
#features, #how, #security { scroll-margin-top: 96px; }

.lp-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Center nav in the shared public header */
.lp-head-in { position: relative; }
.lp-nav { position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 2px; }
.lp-nav a { padding: 8px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 550;
  color: var(--muted); text-decoration: none; transition: color .15s ease, background .15s ease; }
.lp-nav a:hover { color: var(--ink); background: rgba(255,255,255,.75); }
@media (max-width: 940px) { .lp-nav { display: none; } }

/* ---------------- Hero ---------------- */
/* The public header floats inside the hero — one integrated surface,
   not a band above a card. Non-sticky by design on the landing page. */
.lp-head-over { position: absolute; top: 0; left: 0; right: 0; z-index: 60;
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: none; }

/* Full-bleed hero: one single layer edge to edge — no inset frame around it.
   The gradient's last stop eases back toward the canvas so the section below
   joins without a seam. */
.lp-hero-wrap { padding: 0; }
.lp-hero { position: relative; overflow: hidden;
  background:
    radial-gradient(46% 34% at 50% 74%, rgba(255,255,255,.92) 0%, rgba(255,255,255,0) 100%),
    radial-gradient(52% 44% at 8% 96%, rgba(122,176,229,.5) 0%, rgba(122,176,229,0) 100%),
    radial-gradient(52% 44% at 92% 96%, rgba(122,176,229,.5) 0%, rgba(122,176,229,0) 100%),
    linear-gradient(180deg, #FDFEFF 0%, #EEF5FC 28%, #CDE4F7 62%, #ABD1F0 84%, #DCE8F6 100%); }
/* Faint concentric rings behind the phone */
.lp-hero::before, .lp-hero::after { content: ""; position: absolute; left: 50%;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); pointer-events: none; }
.lp-hero::before { width: 1040px; height: 1040px; margin-left: -520px; bottom: -580px; }
.lp-hero::after { width: 1520px; height: 1520px; margin-left: -760px; bottom: -840px; }

.lp-hero-in { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto;
  padding: 150px 24px 0; text-align: center; }

.lp-badge { display: inline-flex; align-items: center; gap: 9px; margin: 0;
  padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.95); backdrop-filter: blur(6px);
  box-shadow: var(--sh-sm); font-size: 13px; font-weight: 600; color: var(--muted); }
.lp-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 0 3px rgba(17,115,194,.18); }

.lp-h1 { margin: 30px 0 0; font-family: var(--serif); font-weight: 650;
  font-size: clamp(46px, 7.2vw, 94px); line-height: 1.01; letter-spacing: -.025em;
  color: #1A2A3B; }
.lp-h1 span { display: block; }

.lp-hero-sub { margin: 24px auto 0; max-width: 620px; font-size: 18px;
  line-height: 1.6; color: var(--muted); }

.lp-mailform { margin: 32px auto 0; display: flex; align-items: center;
  width: min(560px, 100%); padding: 6px; border-radius: 999px; background: #fff;
  box-shadow: 0 18px 44px -18px rgba(16,42,67,.35), 0 0 0 1px rgba(220,228,237,.6); }
.lp-mailform input { flex: 1; min-width: 0; height: 52px; border: none; outline: none;
  background: transparent; padding: 0 12px 0 24px; font-size: 16px; font-family: inherit;
  color: var(--ink); }
.lp-mailform input::placeholder { color: var(--faint); }
.lp-mail-btn { height: 52px; padding: 0 30px; border-radius: 999px; flex: none;
  background: var(--cta); color: #fff; font-size: 15px; font-weight: 600;
  transition: background .15s ease, transform .15s ease; }
.lp-mail-btn:hover { background: var(--cta-press); transform: translateY(-1px); }

.lp-trust { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 26px; font-size: 13.5px; font-weight: 550; color: var(--muted); }
.lp-trust span { display: inline-flex; align-items: center; gap: 8px; }
.lp-trust svg { color: var(--blue); }

/* ---------------- Hero stage: phone + floats + blue card ---------------- */
.lp-stage { position: relative; z-index: 1; height: 620px; margin-top: 48px; }

/* Browser-window mockup of the web app */
.lp-app { position: absolute; left: 0; right: 0; top: 0; margin-inline: auto;
  width: min(880px, 66vw); border-radius: 18px; overflow: hidden; background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: 0 42px 90px -32px rgba(16,42,67,.45); }
.lp-app-chrome { display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 13px 18px; background: #fff; border-bottom: 1px solid var(--line-soft); }
.lp-app-dots { display: flex; gap: 7px; }
.lp-app-dots i { width: 11px; height: 11px; border-radius: 50%; }
.lp-app-dots i:nth-child(1) { background: #E9968C; }
.lp-app-dots i:nth-child(2) { background: #F2CE93; }
.lp-app-dots i:nth-child(3) { background: #9FD6A5; }
.lp-app-dots-ghost { visibility: hidden; }
.lp-app-url { display: inline-flex; align-items: center; gap: 7px; padding: 7px 18px;
  border-radius: 999px; background: var(--field); font-size: 12.5px; font-weight: 550;
  color: var(--muted); }
.lp-app-screen { display: flex; height: 480px;
  background: linear-gradient(180deg, #F7FAFD 0%, #E8F2FB 100%); }
.lp-app-rail { width: 60px; flex: none; display: flex; flex-direction: column;
  align-items: center; gap: 8px; padding: 16px 0; background: #fff;
  border-right: 1px solid var(--line-soft); }
.lp-app-logo { width: 30px; height: 30px; border-radius: 9px; display: grid;
  place-items: center; background: linear-gradient(140deg, #4E9ADF, #1173C2);
  margin-bottom: 10px; }
.lp-app-navic { width: 36px; height: 36px; border-radius: 10px; display: grid;
  place-items: center; color: var(--faint); }
.lp-navic-on { background: var(--active); color: var(--blue); }
.lp-app-main { flex: 1; min-width: 0; padding: 22px 28px; }

.lp-app-top { display: flex; align-items: center; gap: 12px; }
.lp-ph-avatar { width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 16px;
  background: linear-gradient(140deg, #4E9ADF, #1173C2); }
.lp-ph-who { display: flex; flex-direction: column; gap: 1px; min-width: 0; margin-right: auto; }
.lp-ph-who small { font-size: 11.5px; color: var(--faint); font-weight: 550; }
.lp-ph-who strong { font-size: 13.5px; color: var(--ink); font-weight: 650; }
.lp-ph-orb { width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: #fff; color: var(--ink);
  box-shadow: var(--sh-sm); }

.lp-ph-hello { margin: 30px 0 0; font-family: var(--serif); font-weight: 600;
  font-size: 40px; line-height: 1.08; letter-spacing: -.02em; color: var(--ink);
  text-align: left; }
.lp-ph-hello em { font-style: italic; font-weight: 460; color: #9AACBD; }

.lp-app-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 14px;
  margin-top: 26px; }
.lp-app-grid .lp-ph-today { margin-top: 0; }

.lp-ph-today { margin-top: 24px; background: #fff; border-radius: 18px;
  padding: 15px 18px; box-shadow: var(--sh-sm); display: flex; flex-direction: column; gap: 2px; }
.lp-ph-today small { font-size: 11.5px; font-weight: 600; color: var(--faint);
  text-transform: uppercase; letter-spacing: .05em; }
.lp-ph-today strong { font-size: 15.5px; font-weight: 650; color: var(--ink); }

.lp-fold { position: absolute; left: 0; right: 0; margin-inline: auto; bottom: 30px;
  width: min(640px, calc(100% - 28px)); z-index: 3; border-radius: 26px; padding: 8px;
  background: linear-gradient(140deg, #4E9ADF 0%, #1173C2 92%);
  box-shadow: 0 30px 64px -24px rgba(17,115,194,.6); }
.lp-fold-row { display: flex; align-items: center; gap: 15px; padding: 12px 12px; }
.lp-fold-ic { width: 50px; height: 50px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: #fff; color: var(--blue); }
.lp-fold-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; margin-right: auto;
  text-align: left; }
.lp-fold-tx b { font-size: 17px; font-weight: 650; color: #fff; }
.lp-fold-tx { font-size: 13.5px; color: rgba(255,255,255,.82); }
.lp-fold-chev { width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: rgba(255,255,255,.22); color: #fff; }

.lp-float { position: absolute; z-index: 2; width: 258px; padding: 17px 18px;
  display: flex; gap: 13px; align-items: flex-start; background: #fff;
  border-radius: 20px; box-shadow: var(--sh-lg); }
.lp-float-ic { width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center; }
.lp-ic-amber { background: #FDEED8; color: #C77414; }
.lp-ic-green { background: #DFF2E2; color: #2F9E44; }
.lp-ic-blue  { background: #E3F2FB; color: var(--blue); }
.lp-float-tx { font-size: 13px; line-height: 1.4; color: var(--muted); min-width: 0; }
.lp-float-tx b { display: block; font-size: 15px; font-weight: 650; color: var(--ink);
  margin-bottom: 2px; }

/* Anchored to the page center (not the viewport edges) so the cards keep
   hugging the app window at any screen width; the max() floor keeps them
   on-screen just above the hide breakpoint. */
.lp-float-1 { left: max(16px, calc(50% - 688px)); top: 44px; transform: rotate(-9deg); }
.lp-float-2 { left: max(16px, calc(50% - 700px)); top: 330px; transform: rotate(-6deg); width: 252px; }
.lp-float-3 { right: max(16px, calc(50% - 688px)); top: 26px; transform: rotate(8deg); }
.lp-float-4 { right: max(16px, calc(50% - 700px)); top: 340px; transform: rotate(-7deg); }

/* Load stagger + idle bob (opacity/translate only — rotate lives on transform) */
@keyframes lp-rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@keyframes lp-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.lp-hero-in > * { animation: lp-rise .65s cubic-bezier(.2,.7,.2,1) both; }
.lp-hero-in > *:nth-child(2) { animation-delay: .07s; }
.lp-hero-in > *:nth-child(3) { animation-delay: .14s; }
.lp-hero-in > *:nth-child(4) { animation-delay: .21s; }
.lp-hero-in > *:nth-child(5) { animation-delay: .28s; }
.lp-app { animation: lp-rise .8s .25s cubic-bezier(.2,.7,.2,1) both; }
.lp-fold { animation: lp-rise .8s .45s cubic-bezier(.2,.7,.2,1) both; }
.lp-float { animation: lp-rise .7s .6s cubic-bezier(.2,.7,.2,1) both,
                       lp-bob 7s 1.4s ease-in-out infinite; }
.lp-float-2 { animation-duration: .7s, 8.5s; animation-delay: .72s, 1.8s; }
.lp-float-3 { animation-duration: .7s, 7.8s; animation-delay: .66s, 2.2s; }
.lp-float-4 { animation-duration: .7s, 9.2s; animation-delay: .78s, 1.6s; }

/* ---------------- Capability strip ---------------- */
.lp-strip { max-width: 1100px; margin: 0 auto; padding: 64px 24px 0; text-align: center; }
.lp-strip > p { margin: 0; font-size: 14.5px; color: var(--faint); }
.lp-caps { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 36px; }
.lp-caps span { display: inline-flex; align-items: center; gap: 9px;
  font-size: 16px; font-weight: 650; color: var(--faint); }

/* ---------------- Shared section scaffolding ---------------- */
.lp-sec { max-width: 1200px; margin: 0 auto; padding: 96px 24px; }
.lp-sec-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.lp-kicker { display: inline-flex; margin: 0; padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--blue); }
.lp-sec-head h2, .lp-dark h2, .lp-cta h2 { margin: 20px 0 0; font-family: var(--serif);
  font-weight: 650; font-size: clamp(32px, 4.2vw, 50px); line-height: 1.06;
  letter-spacing: -.02em; color: var(--ink); }
.lp-sec-sub { margin: 16px auto 0; max-width: 640px; font-size: 17px; line-height: 1.6;
  color: var(--muted); }

/* ---------------- Feature cards ---------------- */
.lp-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-feat { display: flex; flex-direction: column; background: #fff; border-radius: 24px;
  padding: 24px; box-shadow: var(--sh-sm); transition: transform .2s ease, box-shadow .2s ease; }
.lp-feat:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.lp-feat h3 { margin: 22px 0 0; font-size: 20px; font-weight: 700; color: var(--ink); }
.lp-feat > p { margin: 9px 0 18px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.lp-feat ul { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 10px; }
.lp-feat li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px;
  font-weight: 550; color: var(--ink); }
.lp-feat li svg { color: var(--blue); flex: none; margin-top: 2px; }

.lp-feat-mock { background: var(--field); border-radius: 16px; padding: 16px;
  display: flex; flex-direction: column; gap: 10px; min-height: 178px; justify-content: center; }
.lp-mock-row { display: flex; align-items: center; gap: 12px; background: #fff;
  border-radius: 13px; padding: 11px 13px; box-shadow: var(--sh-sm); }
.lp-mock-avatar { width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 12.5px; font-weight: 700; }
.lp-av-blue { background: #E3F2FB; color: var(--blue); }
.lp-av-peach { background: #FBE5D6; color: #C05621; }
.lp-mock-tx { min-width: 0; margin-right: auto; font-size: 12px; color: var(--faint);
  line-height: 1.35; }
.lp-mock-tx b { display: block; font-size: 13.5px; font-weight: 650; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-mock-time { flex: none; font-size: 13px; font-weight: 700; color: var(--blue);
  font-variant-numeric: tabular-nums; }
.lp-mock-total { display: flex; align-items: baseline; gap: 10px; padding: 2px 4px 6px; }
.lp-mock-total .lp-chip { margin-left: auto; align-self: center; }
.lp-mock-total b { font-family: var(--serif); font-size: 38px; font-weight: 650;
  letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.lp-mock-total span { font-size: 13px; color: var(--faint); min-width: 0; }
.lp-chip { flex: none; display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.lp-chip-green { background: #DFF2E2; color: #2B7A3B; }
.lp-chip-blue { background: #E3F2FB; color: var(--blue); }
.lp-chip-amber { background: #FDEED8; color: #A8650F; }

/* ---------------- How it works ---------------- */
.lp-sec-how { padding-top: 0; }
.lp-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-step { background: #fff; border-radius: 24px; padding: 30px; box-shadow: var(--sh-sm); }
.lp-step-num { width: 44px; height: 44px; border-radius: 50%; display: grid;
  place-items: center; background: var(--cta); color: #fff; font-size: 17px;
  font-weight: 700; margin-bottom: 20px; }
.lp-step h3 { margin: 0; font-size: 19px; font-weight: 700; color: var(--ink); }
.lp-step p { margin: 9px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---------------- Security & GDPR (dark panel) ---------------- */
.lp-dark-wrap { padding: 0 14px; }
.lp-dark { max-width: 1800px; margin: 0 auto; border-radius: 32px; padding: 96px 24px;
  background:
    radial-gradient(60% 48% at 50% 0%, rgba(17,115,194,.28) 0%, rgba(17,115,194,0) 100%),
    #14161B; }
.lp-dark .lp-sec-head { margin-bottom: 0; }
.lp-dark h2 { color: #fff; }
.lp-dark .lp-sec-sub { color: #A9B6C3; }
.lp-kicker-dark { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14);
  color: #8FC4EE; }
.lp-dark-grid { max-width: 1200px; margin: 56px auto 0; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lp-dark-tile { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px; padding: 26px; }
.lp-dark-ic { width: 46px; height: 46px; border-radius: 14px; display: grid;
  place-items: center; background: rgba(143,196,238,.12); color: #8FC4EE; }
.lp-dark-tile h3 { margin: 18px 0 0; font-size: 17px; font-weight: 650; color: #fff; }
.lp-dark-tile p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: #A9B6C3; }
.lp-dark-note { margin: 44px auto 0; text-align: center; font-size: 14.5px; color: #8494A5; }
.lp-dark-note a { color: #8FC4EE; text-decoration: underline; text-underline-offset: 3px; }
.lp-dark-note a:hover { color: #fff; }

/* ---------------- Final CTA ---------------- */
.lp-cta { max-width: 760px; margin: 0 auto; padding: 110px 24px; text-align: center; }
.lp-cta .lp-btn { margin-top: 34px; }
.lp-btn-xl { height: 56px; padding: 0 36px; border-radius: 999px; font-size: 16px; }
.lp-cta-note { margin: 18px 0 0; font-size: 13px; color: var(--faint); }

/* ---------------- Footer ---------------- */
.lp-foot { background: #fff; border-top: 1px solid var(--line-soft); }
.lp-foot-in { max-width: 1200px; margin: 0 auto; padding: 64px 24px 44px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.lp-foot-brand p:last-child { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55;
  color: var(--muted); max-width: 280px; }
.lp-foot-brand .lp-wordmark { margin: 0; }
.lp-foot-in h4 { margin: 0 0 14px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.lp-foot-in nav a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--muted);
  text-decoration: none; }
.lp-foot-in nav a:hover { color: var(--ink); }
.lp-foot-bottom { border-top: 1px solid var(--line-soft); }
.lp-foot-bottom { max-width: 1200px; margin: 0 auto; padding: 20px 24px 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  font-size: 13px; color: var(--faint); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .lp-float { display: none; }
  .lp-dark-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .lp-feat-grid, .lp-how-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .lp-foot-in { grid-template-columns: 1fr 1fr; }
  .lp-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .lp-hero-in { padding-top: 118px; }
  .lp-hero-in { padding-inline: 16px; }
  .lp-h1 { font-size: clamp(33px, 9.5vw, 56px); letter-spacing: -.035em; }
  .lp-hero-sub { font-size: 16px; }
  .lp-stage { height: 540px; margin-top: 38px; }
  .lp-app { width: auto; left: 10px; right: 10px; }
  .lp-app-screen { height: 380px; }
  .lp-app-rail { width: 48px; }
  .lp-app-main { padding: 16px 18px; }
  .lp-app-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .lp-app-stat { display: none; }
  .lp-ph-hello { font-size: 32px; }
  .lp-fold { bottom: 18px; }
  .lp-fold-tx b { font-size: 15.5px; }
  .lp-fold-tx { font-size: 12.5px; }
  .lp-fold-ic { width: 44px; height: 44px; }
  .lp-sec { padding: 72px 20px; }
  .lp-sec-how { padding-top: 0; }
  .lp-dark-wrap { padding: 0 10px; }
  .lp-dark { border-radius: 24px; padding: 72px 20px; }
  .lp-dark-grid { grid-template-columns: 1fr; }
  .lp-cta { padding: 88px 20px; }
}
@media (max-width: 480px) {
  .lp-mock-total b { font-size: 30px; }
  .lp-mailform input { padding-left: 18px; }
  .lp-mail-btn { padding: 0 18px; font-size: 14px; }
  .lp-caps { gap: 12px 22px; }
  .lp-caps span { font-size: 14px; }
  .lp-foot-in { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.lp) { scroll-behavior: auto; }
  .lp-hero-in > *, .lp-app, .lp-fold, .lp-float { animation: none; }
}
