/*
 * PesanHub landing site. Tokens from docs/design.md, sections 3 to 5; the
 * layout is docs/design/v2/Main.dc.html with its inline styles moved here,
 * because the content security policy allows no inline style or script.
 *
 * The landing page is the one place allowed motion longer than 200ms and
 * repeating motion (design.md, section 5). Reduced motion turns all of it off.
 */

@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/Inter-Regular.ttf") format("truetype"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/Inter-Medium.ttf") format("truetype"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/Inter-SemiBold.ttf") format("truetype"); }
/* The bundle stops at Bold, as the dashboard's does; 800 uses the same file
   rather than a faux bold drawn by the browser. */
@font-face { font-family: Inter; font-style: normal; font-weight: 700 800; font-display: swap; src: url("fonts/Inter-Bold.ttf") format("truetype"); }

:root {
  --primary: #0F766E;
  --primary-hover: #115E59;
  --primary-tint: #E6F4F1;
  --accent: #F59E0B;
  --background: #F5F5F7;
  --background-landing: #FBFBFD;
  --surface: #FFFFFF;
  --fill-track: #E8E8ED;
  --separator: #F0F0F2;
  --border-strong: #D2D2D7;
  --text-primary: #1D1D1F;
  --text-secondary: #424245;
  --text-tertiary: #6E6E73;
  --text-hero-second: #86868B;
  --dark-text: #F5F5F7;
  --dark-muted: #A1A1A6;
  --mint: #5EEAD4;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background-landing);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.tn { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; white-space: nowrap; }
.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--surface); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* Sign-up is "soon" until billing is live; one attribute on <html> flips it. */
html[data-signup="soon"] .when-open { display: none !important; }
html[data-signup="open"] .when-soon { display: none !important; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes notif { 0% { opacity: 0; transform: translateY(-18px) scale(.96); } 6%, 28% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes pill { 0%, 2% { opacity: 0; } 5%, 30% { opacity: 1; } 33%, 100% { opacity: 0; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(15,118,110,.35); } 70% { box-shadow: 0 0 0 10px rgba(15,118,110,0); } 100% { box-shadow: 0 0 0 0 rgba(15,118,110,0); } }

.rise { animation: rise .9s var(--ease-out) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .18s; } .d3 { animation-delay: .3s; } .d4 { animation-delay: .45s; }
.float { animation: float 7s ease-in-out infinite; }
.grow { transform-origin: left center; animation: grow 2.4s var(--ease-out) .6s both; }
.live { animation: pulse 2s ease-out infinite; }
.tile { transition: transform .25s var(--ease-out), box-shadow .25s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -12px rgba(0,0,0,.12); }
.btn { transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(.98); }
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-quiet {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; border-radius: 999px; min-height: 44px;
}
.btn-primary { color: #FFFFFF; background: var(--primary); }
.btn-primary:hover { color: #FFFFFF; background: var(--primary-hover); }
.btn-quiet { color: var(--primary); background: var(--surface); box-shadow: inset 0 0 0 1px rgba(15,118,110,.35); }
.btn-sm { font-size: 14px; padding: 9px 18px; white-space: nowrap; }
.btn-lg { font-size: 17px; padding: 15px 28px; }
.btn-block { font-size: 17px; padding: 14px; width: 100%; }
.soon-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; border-radius: 999px; color: var(--primary); background: var(--primary-tint);
}

/* ---------- Bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 10;
  background: var(--background-landing);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .bar { background: rgba(251,251,253,.78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
}
.bar-nav { max-width: 1200px; margin: 0 auto; height: 60px; padding: 0 24px; display: flex; align-items: center; gap: 32px; }
.bar-logo { display: flex; align-items: center; min-height: 44px; }
.bar-logo img { height: 30px; width: auto; }
.bar-links { display: flex; gap: 28px; font-size: 14px; flex-grow: 1; }
.bar-links a { color: var(--text-primary); }
.bar-links a:hover { color: var(--primary); }
.bar-actions { display: flex; gap: 12px; align-items: center; margin-left: auto; }
.bar-signin { font-size: 14px; color: var(--text-primary); padding: 12px; }

/* ---------- Hero ---------- */
.hero { max-width: 1200px; margin: 0 auto; padding: 96px 24px 0; text-align: center; }
.eyebrow {
  margin: 0 0 20px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--primary); background: var(--primary-tint);
  padding: 6px 14px; border-radius: 999px;
}
.eyebrow-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.h1 { margin: 0; font-size: 84px; line-height: 1.02; font-weight: 800; letter-spacing: -0.045em; }
.h1-second { color: var(--text-hero-second); }
.lede { margin: 24px auto 0; max-width: 620px; font-size: 21px; line-height: 1.45; color: var(--text-secondary); }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-actions .soon-pill { font-size: 17px; padding: 13px 26px; }
.soon-note { margin: 14px 0 0; font-size: 15px; color: var(--text-tertiary); }

/* The pictured dashboard and phone. Examples only, hidden from screen readers. */
.stage { position: relative; margin: 72px auto 0; max-width: 1040px; height: 600px; }
.window {
  position: absolute; left: 0; top: 0; width: 79%; height: 540px; border-radius: 22px;
  background: var(--surface); box-shadow: 0 40px 80px -20px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.06);
  overflow: hidden; text-align: left;
}
.window-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: var(--background); border-bottom: 1px solid var(--fill-track); }
.light { width: 11px; height: 11px; border-radius: 50%; }
.light-r { background: #FF5F57; } .light-y { background: #FEBC2E; } .light-g { background: #28C840; }
.window-url { margin: 0 auto; font-size: 12px; color: var(--text-tertiary); background: var(--surface); padding: 4px 40px; border-radius: 6px; }
.window-body { display: flex; height: 502px; }
.window-side { width: 170px; flex-shrink: 0; padding: 18px 12px; border-right: 1px solid var(--separator); display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.window-side img { height: 22px; width: auto; align-self: flex-start; margin: 0 0 16px 6px; }
.window-side span { padding: 8px 10px; color: var(--text-secondary); }
.window-side .on { border-radius: 9px; background: var(--primary-tint); color: var(--primary); font-weight: 600; }
.window-main { flex-grow: 1; min-width: 0; padding: 24px; background: var(--background); display: flex; flex-direction: column; gap: 16px; }
.window-hello { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.mini-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mini-stat { background: var(--surface); border-radius: 14px; padding: 14px; min-width: 0; }
.mini-stat-label { font-size: 12px; color: var(--text-tertiary); }
.mini-stat-value { font-size: 26px; font-weight: 700; margin-top: 6px; }
.mini-orders { background: var(--surface); border-radius: 14px; padding: 6px 16px; font-size: 13px; }
.mini-order { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--separator); }
.mini-order:last-child { border-bottom: 0; }
.mini-bar { width: 3px; height: 28px; border-radius: 3px; flex-shrink: 0; }
.bar-pending { background: #F59E0B; } .bar-confirmed { background: #0EA5E9; } .bar-ready { background: #14B8A6; }
.mini-name { font-weight: 600; width: 120px; flex-shrink: 0; }
.mini-items { color: var(--text-tertiary); flex-grow: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-total { font-weight: 600; }
.pill { padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: 12px; white-space: nowrap; }
.pill-pending { background: #FEF3C7; color: #92400E; }
.pill-confirmed { background: #E0F2FE; color: #075985; }
.pill-ready { background: #CCFBF1; color: #0F766E; }

.phone {
  position: absolute; right: 0; top: 40px; width: 290px; height: 560px; border-radius: 48px;
  background: var(--text-primary); padding: 11px; box-shadow: 0 50px 100px -30px rgba(0,0,0,.45); text-align: left;
}
.phone-screen { width: 100%; height: 100%; border-radius: 38px; background: var(--background); overflow: hidden; position: relative; }
.phone-island { position: absolute; top: 10px; left: 50%; margin-left: -46px; width: 92px; height: 26px; border-radius: 20px; background: var(--text-primary); z-index: 2; }
.notifs { position: relative; height: 96px; padding: 56px 16px 0; }
.notif {
  position: absolute; left: 12px; right: 12px; top: 56px; opacity: 0;
  background: rgba(255,255,255,.92); border-radius: 18px; padding: 12px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12); display: flex; gap: 10px; align-items: center;
  animation: notif 9s var(--ease-out) infinite;
}
.n2 { animation-delay: 3s; } .n3 { animation-delay: 6s; }
.notif img { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; }
.notif-text { font-size: 12px; line-height: 1.35; }
.notif-title { font-weight: 600; }
.notif-sub { color: var(--text-secondary); }
.phone-shop { padding: 70px 16px 0; }
.phone-shop-name { font-size: 12px; color: var(--text-tertiary); }
.phone-menu { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; }
.phone-chips { display: flex; gap: 6px; margin-top: 12px; }
.phone-chip { font-size: 12px; background: var(--surface); padding: 6px 12px; border-radius: 999px; }
.phone-chip.on { font-weight: 600; background: var(--primary); color: #FFFFFF; }
.phone-item { margin-top: 10px; background: var(--surface); border-radius: 18px; padding: 10px; display: flex; gap: 12px; align-items: center; }
.phone-item:first-of-type { margin-top: 14px; }
.phone-photo { width: 64px; height: 64px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; }
.photo-k { background: #F1E7DB; color: #7C5A3A; } .photo-r { background: #F6DCDC; color: #8A3B3B; } .photo-b { background: #E9E2F5; color: #5B3D8A; }
.phone-item-text { flex-grow: 1; min-width: 0; }
.phone-item-name { font-size: 13px; font-weight: 600; }
.phone-item-price { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.phone-step { display: flex; align-items: center; gap: 8px; background: var(--primary-tint); border-radius: 999px; padding: 4px; }
.phone-step span { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.phone-step .minus { background: var(--surface); color: var(--primary); }
.phone-step .plus { background: var(--primary); color: #FFFFFF; }
.phone-step .count { width: auto; height: auto; font-size: 13px; font-weight: 600; }
.phone-add { font-size: 12px; font-weight: 600; background: var(--primary); color: #FFFFFF; padding: 7px 14px; border-radius: 999px; }
.phone-basket { position: absolute; left: 12px; right: 12px; bottom: 14px; background: var(--text-primary); color: #FFFFFF; border-radius: 999px; padding: 12px 16px; display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }

/* ---------- Sections ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: 100px 24px; }
.section-how { padding: 120px 24px 40px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto; }
.kicker { margin: 0; font-size: 17px; font-weight: 600; color: var(--primary); }
.h2 { margin: 10px 0 0; font-size: 56px; line-height: 1.05; font-weight: 800; letter-spacing: -0.04em; }
.h2-second { color: var(--text-hero-second); }

.steps-wrap { position: relative; margin-top: 64px; }
.steps-line { position: absolute; left: 16%; right: 16%; top: 27px; height: 2px; background: var(--fill-track); }
.steps-line div { height: 2px; background: var(--primary); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; position: relative; list-style: none; margin: 0; padding: 0; }
.step { text-align: center; padding: 0 12px; }
.step-num { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--primary); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; box-shadow: 0 0 0 8px var(--background-landing); }
.step h3 { margin: 24px 0 8px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.step p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--text-secondary); }

.features-title { margin: 0 0 48px; max-width: 760px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ftile { background: var(--surface); border-radius: 28px; padding: 36px; min-height: 340px; box-shadow: 0 0 0 1px rgba(0,0,0,.04); }
.ftile-wide { grid-column: span 2; padding: 40px; display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.ftile-wide > div { flex: 1 1 280px; min-width: 0; }
.ftile-dark { background: var(--text-primary); color: var(--dark-text); box-shadow: none; }
.ftile-tint { background: var(--primary-tint); box-shadow: none; }
.ftile-kicker { margin: 0; font-size: 15px; font-weight: 600; color: var(--primary); }
.ftile-dark .ftile-kicker { color: var(--mint); }
.ftile h3 { margin: 8px 0 24px; font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; }
.ftile-wide h3 { margin: 8px 0 12px; font-size: 32px; line-height: 1.12; }
.ftile-body { margin: 0; font-size: 17px; line-height: 1.5; color: var(--text-secondary); }
.well { background: var(--background); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.link-row { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 14px; padding: 12px 14px; font-size: 15px; }
.link-row span:first-of-type { flex-grow: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-copy { font-weight: 600; color: var(--primary); }
.sum-row { display: flex; justify-content: space-between; font-size: 15px; padding: 4px; }
.sum-row span:first-child { color: var(--text-secondary); }
.sum-total { display: flex; justify-content: space-between; font-size: 17px; font-weight: 700; padding: 8px 4px 0; border-top: 1px solid var(--fill-track); }
.stack { display: flex; flex-direction: column; gap: 10px; }
.chip-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--background); border-radius: 14px; padding: 12px 14px; font-size: 15px; }
.ppill { padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pp-partial { background: #FEF3C7; color: #92400E; } .pp-paid { background: #DCFCE7; color: #166534; } .pp-unpaid { background: #FFE4E6; color: #BE123C; }
.cycle { position: relative; height: 40px; }
.cyc { position: absolute; left: 0; top: 0; opacity: 0; font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: 999px; animation: pill 9s ease infinite; }
.c1 { background: rgba(14,165,233,.18); color: #7DD3FC; }
.c2 { background: rgba(168,85,247,.2); color: #D8B4FE; animation-delay: 3s; }
.c3 { background: rgba(20,184,166,.2); color: var(--mint); animation-delay: 6s; }
.progress { display: flex; gap: 6px; margin-top: 24px; }
.progress span { flex: 1; height: 6px; border-radius: 6px; background: #3A3A3C; }
.progress .done { background: var(--mint); }
.dark-note { margin: 20px 0 0; font-size: 15px; line-height: 1.5; color: var(--dark-muted); }
.answer { background: var(--background); border-radius: 14px; padding: 12px 14px; }
.answer-q { font-size: 13px; color: var(--text-tertiary); }
.answer-a { font-size: 15px; margin-top: 2px; }
.areas { display: flex; flex-direction: column; background: var(--background); border-radius: 14px; padding: 4px 14px; font-size: 15px; }
.areas div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--fill-track); }
.areas div:last-child { border-bottom: 0; }
.seg { display: inline-flex; background: rgba(255,255,255,.7); border-radius: 12px; padding: 3px; }
.seg span { font-size: 15px; color: var(--text-secondary); padding: 8px 20px; }
.seg .on { font-weight: 600; color: var(--text-primary); background: var(--surface); border-radius: 9px; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.tint-note { margin: 20px 0 0; font-size: 17px; line-height: 1.5; color: #134E48; }

/* ---------- Pricing ---------- */
.pricing { background: var(--surface); border-top: 1px solid var(--separator); border-bottom: 1px solid var(--separator); }
.pricing-inner { max-width: 1200px; margin: 0 auto; padding: 110px 24px; }
.pricing-head { max-width: 640px; }
.pricing-head .h2 { margin-bottom: 12px; }
.pricing-sub { margin: 0; font-size: 19px; color: var(--text-secondary); }
.plans { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { border-radius: 28px; padding: 36px; background: var(--background); display: flex; flex-direction: column; }
.plan-dark { background: var(--text-primary); color: var(--dark-text); }
.plan h3 { margin: 0; font-size: 24px; font-weight: 700; }
.plan-for { margin: 6px 0 0; font-size: 15px; color: var(--text-secondary); }
.plan-dark .plan-for { color: var(--dark-muted); }
.plan-price { margin: 24px 0; display: flex; align-items: baseline; gap: 6px; }
.plan-amount { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; }
.plan-per { font-size: 15px; color: var(--text-tertiary); }
.plan-dark .plan-per { color: var(--dark-muted); }
.plan ul { margin: 0 0 32px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; flex-grow: 1; }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex-shrink: 0; stroke: var(--primary); }
.plan-dark li svg { stroke: var(--mint); }
.plan-note { margin: 0 0 32px; font-size: 13px; color: var(--text-tertiary); }
.plan-dark .plan-note { color: var(--dark-muted); }

/* ---------- Start ---------- */
.start { max-width: 1200px; margin: 0 auto; padding: 110px 24px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.start-copy { flex: 1 1 420px; min-width: 0; }
.start-copy .h2 { margin: 0; }
.start-lede { margin: 20px 0 0; font-size: 19px; line-height: 1.5; color: var(--text-secondary); max-width: 460px; }
.start-card {
  flex: 1 1 400px; max-width: 460px; background: var(--surface); border-radius: 28px; padding: 36px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.04);
  display: flex; flex-direction: column; gap: 16px;
}
.start-card h3 { margin: 0 0 4px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.start-card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-secondary); }
.start-card .btn-primary { height: 50px; font-size: 17px; margin-top: 4px; }
.start-foot { font-size: 14px; color: var(--text-tertiary); text-align: center; }
.start-card .start-foot { color: var(--text-tertiary); font-size: 14px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--fill-track); }
.foot-inner { max-width: 1200px; margin: 0 auto; padding: 32px 24px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; font-size: 13px; color: var(--text-tertiary); }
.foot-inner img { width: 24px; height: 24px; }
.foot-copy { flex-grow: 1; }
.foot-inner a { color: var(--text-secondary); padding: 12px 0; }
.foot-inner a:hover { color: var(--primary); }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.legal h1 { margin: 0; font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; }
.legal .updated { margin: 12px 0 0; font-size: 15px; color: var(--text-tertiary); }
.legal .draft { margin: 28px 0 0; padding: 16px 18px; border-radius: 14px; background: #FEF3C7; color: #78350F; font-size: 15px; line-height: 1.5; }
.legal h2 { margin: 48px 0 12px; font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
.legal h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 700; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--text-secondary); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text-primary); font-weight: 600; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--separator); line-height: 1.5; color: var(--text-secondary); }
.legal th { color: var(--text-primary); font-weight: 600; }
.legal .ph { background: var(--primary-tint); color: var(--primary-hover); padding: 0 4px; border-radius: 4px; font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* ---------- Not found ---------- */
.lost { max-width: 560px; margin: 0 auto; padding: 120px 24px; text-align: center; }
.lost h1 { margin: 0; font-size: 44px; font-weight: 800; letter-spacing: -0.035em; }
.lost p { margin: 16px 0 28px; font-size: 19px; color: var(--text-secondary); }

/* ---------- Widths ---------- */
@media (max-width: 1080px) {
  .mini-stat-value { font-size: 20px; }
  .mini-name { width: 96px; }
}
@media (max-width: 960px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
  .h1 { font-size: 48px; }
  .h2 { font-size: 34px; }
  .bar-nav { gap: 16px; padding: 0 16px; }
  .hero { padding: 64px 16px 0; }
  .lede { font-size: 18px; }
  .stage { height: 600px; margin-top: 56px; }
  .phone { left: 50%; right: auto; margin-left: -145px; top: 0; }
  .section, .pricing-inner, .start { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .section-how { padding-top: 88px; padding-bottom: 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .steps-wrap { margin-top: 48px; }
  .features-title { margin-bottom: 32px; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .ftile-wide { grid-column: auto; }
  .ftile, .ftile-wide { padding: 28px 24px; min-height: 0; }
  .ftile-wide h3 { font-size: 26px; }
  .pricing-inner { padding-top: 80px; padding-bottom: 80px; }
  .plans { margin-top: 40px; }
  .plan { padding: 28px 24px; }
  .start { padding-top: 80px; padding-bottom: 80px; gap: 32px; }
  .start-card { padding: 28px 24px; }
  .foot-inner { padding: 24px 16px; }
  .legal { padding: 48px 16px 72px; }
  .legal h1 { font-size: 34px; }
}
@media (max-width: 400px) {
  .bar-signin { padding: 12px 6px; }
  .btn-sm { padding: 9px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .notif, .cyc { opacity: 0; }
  .n1, .c1 { opacity: 1; }
}
