/* CarLifeOS product site - shared stylesheet
   Template: E2 "Showroom" (blessed 2026-07-21). No build step, no external assets. */

:root {
  --bg: #f7f6f3;
  --white: #ffffff;
  --ink: #17191d;
  --muted: #5c6470;
  --faint: #67707d;
  --line: #e6e4de;
  --accent: #2f5bff;
  --accent-dark: #2447d6;
  --accent-soft: #eef2ff;
  --green: #1fa971;
  --green-soft: #e8f7f0;
  --amber: #b7791f;
  --amber-soft: #fdf4e3;
  --dark: #14161a;
  --dark-line: #2a2d34;
  --dark-dim: #9aa1ab;
  --sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: Consolas, "Cascadia Mono", ui-monospace, monospace;
  --r: 18px;
  --shadow-card: 0 1px 2px rgba(23, 25, 29, 0.05), 0 12px 32px -12px rgba(23, 25, 29, 0.14);
  --shadow-float: 0 2px 4px rgba(23, 25, 29, 0.06), 0 24px 64px -24px rgba(23, 25, 29, 0.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
h1, h2, h3 { letter-spacing: -0.022em; line-height: 1.08; }
img { max-width: 100%; height: auto; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 12px 20px; z-index: 100; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

/* ---------- Nav ---------- */
nav.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 243, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
nav.site .wrap { display: flex; align-items: center; gap: 28px; height: 66px; }
.logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 17.5px; text-decoration: none; letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
nav.site .links { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
nav.site .links a { text-decoration: none; color: var(--muted); transition: color 150ms; white-space: nowrap; }
nav.site .links a:hover { color: var(--ink); }
nav.site .links a.on { color: var(--ink); font-weight: 600; }
nav.site .spacer { flex: 1; }
.login {
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted);
  padding: 8px 10px; transition: color 150ms; white-space: nowrap;
}
.login:hover { color: var(--ink); }
.navtoggle {
  display: none; background: transparent; border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 10px; cursor: pointer; line-height: 0;
}
@media (max-width: 940px) {
  nav.site .links {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 28px 18px;
    box-shadow: var(--shadow-card);
  }
  nav.site .links.open { display: flex; }
  nav.site .links a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .navtoggle { display: block; order: 3; }
  nav.site .wrap { gap: 12px; }
  .login { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 15px; padding: 12px 26px; border-radius: 999px;
  cursor: pointer; border: 1px solid var(--accent);
  transition: background 150ms;
  box-shadow: 0 8px 20px -8px rgba(47, 91, 255, 0.5);
}
.btn:hover { background: var(--accent-dark); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid #cfccc4; box-shadow: none; }
.btn.ghost:hover { border-color: var(--ink); background: var(--white); }
.btn.small { font-size: 13.5px; padding: 9px 20px; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 74px 0 0; position: relative; }
.hero::before {
  content: ""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px; max-width: 100vw;
  background: radial-gradient(closest-side, rgba(47, 91, 255, 0.07), transparent 70%);
  pointer-events: none;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--white);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
  font-size: 13px; color: var(--muted); box-shadow: var(--shadow-card); margin-bottom: 28px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 700; max-width: 820px; margin: 0 auto 22px; }
.hero h1 .serif { color: var(--accent); }
.hero .sub { font-size: 18.5px; color: var(--muted); max-width: 600px; margin: 0 auto 32px; }
.hero .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero .fine { font-size: 13px; color: var(--faint); }

/* Interior page hero */
.pagehero { padding: 62px 0 46px; text-align: center; position: relative; }
.pagehero .kick { margin-bottom: 14px; }
.pagehero h1 { font-size: clamp(34px, 4.8vw, 52px); font-weight: 700; max-width: 760px; margin: 0 auto 18px; }
.pagehero h1 .serif { color: var(--accent); }
.pagehero .sub { font-size: 17.5px; color: var(--muted); max-width: 620px; margin: 0 auto 28px; }
.pagehero .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Comparison stage (home) ---------- */
.stagewrap { padding: 44px 0 26px; }
.stagehint { text-align: center; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.stagehint b { color: var(--accent); }
.stage {
  position: relative; height: min(70vh, 620px); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-float); cursor: ew-resize; touch-action: pan-y;
  background: var(--white); border: 1px solid var(--line);
}
.side { position: absolute; inset: 0; }
.sidetag {
  position: absolute; top: 18px; z-index: 5; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 16px;
  border-radius: 999px; transition: opacity 300ms; backdrop-filter: blur(4px);
}
.tag-before { left: 18px; background: rgba(23, 25, 29, 0.82); color: #f2efe8; }
.tag-after {
  right: 18px; background: rgba(255, 255, 255, 0.9); color: var(--accent);
  border: 1px solid var(--accent-soft); box-shadow: var(--shadow-card);
}
.before { background: linear-gradient(160deg, #efe9df 0%, #e9e1d3 60%, #e2d7c4 100%); }
.before::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 140px rgba(74, 58, 30, 0.18); pointer-events: none;
}
.scrap { position: absolute; box-shadow: 0 1px 2px rgba(50, 40, 20, 0.1), 0 14px 28px -10px rgba(50, 40, 20, 0.3); }
.tape::before {
  content: ""; position: absolute; top: -9px; left: 50%;
  transform: translateX(-50%) rotate(-2deg); width: 56px; height: 18px;
  background: rgba(250, 248, 240, 0.65);
  border-left: 1px dashed rgba(120, 100, 60, 0.2); border-right: 1px dashed rgba(120, 100, 60, 0.2);
}
.sheet {
  top: 7%; left: 3.5%; width: 31%; min-width: 250px; background: #fdfcf8;
  border-radius: 4px; padding: 16px 18px 20px; transform: rotate(-2.2deg);
  background-image: repeating-linear-gradient(#fdfcf8 0 27px, #dfe6f2 27px 28px);
  background-position: 0 44px;
}
.sheet::before { content: ""; position: absolute; top: 0; bottom: 0; left: 34px; width: 1px; background: rgba(214, 69, 69, 0.35); }
.sheet .lbl { font-size: 12.5px; font-weight: 800; letter-spacing: 2px; color: #2c2e33; margin: 0 0 14px 14px; }
.hand { font-family: "Segoe Print", "Bradley Hand", cursive; }
.sheet .row { height: 28px; padding-left: 14px; font-size: 13px; color: #3d4f8a; display: flex; align-items: center; }
.sheet .row.pencil { color: #6f6a60; transform: rotate(-0.5deg); }
.sheet .row.scratch { text-decoration: line-through; text-decoration-color: rgba(214, 69, 69, 0.6); }
.sticky { width: 158px; padding: 14px 13px 22px; font-size: 13.5px; line-height: 1.35; border-radius: 2px; }
.sticky.y { background: linear-gradient(180deg, #ffec80, #fbdf5a); color: #4a4010; top: 10%; left: 41%; transform: rotate(2.6deg); }
.sticky.p { background: linear-gradient(180deg, #ffd3df, #f7bccc); color: #5c2a38; top: 47%; left: 35%; transform: rotate(-4.6deg); }
.sticky.b { background: linear-gradient(180deg, #cfe6ff, #b9d8f7); color: #23405c; top: 68%; left: 7%; transform: rotate(1.8deg); }
.sticky::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 0; height: 0;
  border-left: 16px solid transparent; border-bottom: 16px solid rgba(0, 0, 0, 0.08);
}
.slip { top: 31%; left: 60%; width: 250px; background: #fdeef3; border-radius: 3px; padding: 13px 15px; transform: rotate(2.4deg); }
.slip .lbl { font-size: 10.5px; font-weight: 800; letter-spacing: 1.6px; color: #b04a68; margin-bottom: 7px; }
.slip .l { font-size: 12.5px; border-bottom: 1px dotted #e0aabb; padding: 5px 0; color: #4a3a40; }
.slip .l b { color: #9c3d5c; }
.marker {
  top: 74%; left: 47%; font-size: clamp(20px, 2.4vw, 28px); color: #c73e3e;
  transform: rotate(-3.4deg); font-weight: 700; box-shadow: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
.marker u { text-decoration-thickness: 3px; text-decoration-color: rgba(199, 62, 62, 0.5); }
.ring { top: 8%; left: 78%; width: 92px; height: 92px; border-radius: 50%; box-shadow: none; border: 8px solid rgba(122, 84, 40, 0.22); }
.ring::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 3px solid rgba(122, 84, 40, 0.1); }
.keytag {
  top: 58%; left: 78%; background: #f6f1e6; border-radius: 6px; padding: 10px 14px;
  transform: rotate(3deg); font-size: 12.5px; color: #57503f; border: 1px solid #ddd2ba;
}
.keytag b { display: block; font-size: 13px; color: #2c2e33; }
.keytag::before {
  content: ""; position: absolute; top: -7px; left: 18px; width: 12px; height: 12px;
  border-radius: 50%; border: 3px solid #b6a98c; background: transparent;
}
.after { background: radial-gradient(120% 130% at 78% 18%, #eef3ff 0%, #f8fafd 45%, #f2f4f8 100%); }
.after .glow {
  position: absolute; top: -60px; right: -40px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 91, 255, 0.14), transparent 70%);
}
.calmpos { position: absolute; top: 50%; left: 74%; transform: translate(-50%, -50%); width: min(430px, 44%); min-width: 320px; }
.calm { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-float); border: 1px solid #e8ecf5; overflow: hidden; }
.calm .head { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid #eef0f5; }
.calm .head .cdot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.calm .head b { font-size: 13.5px; }
.calm .head time { margin-left: auto; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.calm .said {
  padding: 20px 22px 16px; font-family: var(--serif); font-style: italic;
  font-size: 19.5px; line-height: 1.4; color: var(--ink);
}
.calm .said::before { content: "\201C"; color: var(--accent); }
.calm .said::after { content: "\201D"; color: var(--accent); }
.calm .did { padding: 0 22px 6px; display: flex; flex-direction: column; gap: 9px; }
.calm .did div { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.calm .did .ck {
  flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft);
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.calm .foot { display: flex; align-items: center; gap: 12px; padding: 16px 22px 18px; flex-wrap: wrap; }
.calm .confirm {
  background: var(--accent); color: #fff; font-weight: 600; font-size: 14px;
  padding: 10px 22px; border-radius: 999px; border: none; cursor: pointer;
  box-shadow: 0 8px 18px -8px rgba(47, 91, 255, 0.55);
}
.calm .note { font-size: 12px; color: var(--faint); }
.calm .confirm { cursor: pointer; }
.calm-under { display: flex; justify-content: center; margin-top: 14px; }
.calm-under span {
  background: rgba(255, 255, 255, 0.85); border: 1px solid #e8ecf5; border-radius: 999px;
  font-size: 12px; color: var(--muted); padding: 5px 14px; box-shadow: var(--shadow-card);
  text-align: center;
}
.divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 0; z-index: 6; }
.divider .line {
  position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff;
  box-shadow: 0 0 0 1px rgba(23, 25, 29, 0.08), 0 0 24px rgba(23, 25, 29, 0.25);
}
.gripbtn {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--white);
  border: 1px solid #e2e0d8;
  box-shadow: 0 2px 6px rgba(23, 25, 29, 0.12), 0 16px 36px -12px rgba(23, 25, 29, 0.4);
  display: flex; align-items: center; justify-content: center; cursor: grab;
  transition: transform 150ms; padding: 0;
}
.gripbtn:hover { transform: translate(-50%, -50%) scale(1.07); }
.gripbtn:active { cursor: grabbing; transform: translate(-50%, -50%) scale(0.98); }
.gripbtn::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 2px solid var(--accent-soft); }
@media (max-width: 700px) {
  .stage { height: 520px; }
  .calmpos { left: 50%; width: 92%; min-width: 0; }
  .calm .said { font-size: 16px; padding: 16px 18px 12px; }
  .calm .did div { font-size: 12.5px; }
  .sheet { min-width: 0; width: 44%; }
  .slip { left: 46%; width: 52%; }
  .keytag { left: 62%; }
  .ring { left: 70%; width: 66px; height: 66px; }
}

/* ---------- Stat strip ---------- */
.statstrip { padding: 34px 0 8px; }
.statstrip .wrap { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; list-style: none; }
.stat { padding: 10px 34px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
@media (max-width: 620px) {
  .stat { border-right: none; border-bottom: 1px solid var(--line); padding: 10px 20px; }
  .stat:last-child { border-bottom: none; }
}
.stat b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.stat span { font-size: 12.5px; color: var(--muted); }

/* ---------- Section shells ---------- */
section.blk { padding: 92px 0; }
section.tight { padding: 62px 0; }
section.white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--dark); color: #fff; }
section.dark .lede { color: var(--dark-dim); }
section.dark .kick { color: #8fa8ff; }
.kick {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.blk h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; margin-bottom: 14px; }
.blk h2 .serif { color: var(--accent); }
section.dark .blk h2 .serif, section.dark h2 .serif { color: #8fa8ff; }
.blk .lede { color: var(--muted); font-size: 16.5px; max-width: 62ch; margin-bottom: 40px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Anatomy ---------- */
.sentence {
  font-family: var(--serif); font-style: italic; font-size: clamp(20px, 3.4vw, 38px);
  line-height: 1.45; max-width: 24ch; margin: 0 auto; text-align: center;
}
.sentence .an {
  font-style: normal; font-family: var(--sans); font-weight: 700; white-space: nowrap;
  border-bottom: 3px solid var(--accent); padding-bottom: 1px;
}
.sentence sup { font: 700 0.45em var(--sans); color: var(--accent); }
.anatomy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 860px) { .anatomy { grid-template-columns: 1fr; } }
.an-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; box-shadow: var(--shadow-card); text-align: left;
}
.an-card .n {
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.an-card b { display: block; font-size: 16px; margin-bottom: 5px; }
.an-card p { font-size: 14px; color: var(--muted); }
.an-note { margin-top: 30px; text-align: center; font-size: 15px; color: var(--muted); }
.an-note b { color: var(--ink); }

/* ---------- Swap cards ---------- */
.swapgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .swapgrid { grid-template-columns: 1fr; } }
.swapcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; text-decoration: none; display: block; box-shadow: var(--shadow-card);
  transition: transform 150ms, box-shadow 150ms;
}
a.swapcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.swapcard .old { font-size: 13.5px; color: var(--faint); text-decoration: line-through; text-decoration-color: #d64545; }
.swapcard b { display: block; font-size: 19px; margin: 8px 0 6px; letter-spacing: -0.015em; }
.swapcard p { font-size: 14px; color: var(--muted); }
.swapcard .more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent); }

/* ---------- Feature rows (interior pages) ---------- */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 46px 0; }
.frow + .frow { border-top: 1px solid var(--line); }
.frow.flip .fcopy { order: 2; }
@media (max-width: 900px) {
  .frow { grid-template-columns: 1fr; gap: 32px; padding: 36px 0; }
  .frow.flip .fcopy { order: 0; }
}
.frow h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; margin-bottom: 12px; }
.frow h3 .serif { color: var(--accent); }
.frow p { color: var(--muted); font-size: 15.5px; }
.frow p + p { margin-top: 12px; }
.ticks { list-style: none; margin-top: 16px; }
.ticks li { font-size: 15px; padding: 6px 0 6px 30px; position: relative; color: var(--muted); }
.ticks li b { color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-soft) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" fill="none"><path d="M2.5 7.5 6 11l5.5-8" stroke="%231fa971" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/10px no-repeat;
}
section.dark .ticks li { color: var(--dark-dim); }
section.dark .ticks li b { color: #fff; }

/* ---------- Product panels (fake UI) ---------- */
.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-float); overflow: hidden;
}
.panel .pbar {
  background: #f2f1ec; border-bottom: 1px solid var(--line); padding: 10px 14px;
  display: flex; gap: 7px; align-items: center;
}
.panel .pbar i { width: 9px; height: 9px; border-radius: 50%; background: #d8d5cc; flex-shrink: 0; }
.panel .pbar .ptitle { margin-left: 8px; font-size: 12px; color: var(--faint); }
.panel .pbody { padding: 20px; }
.oslayout { display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: start; }
@media (max-width: 780px) { .oslayout { grid-template-columns: 1fr; } }
.panel.darkpanel { background: var(--dark); border-color: var(--dark-line); color: #fff; }
.panel.darkpanel .pbar { background: #0d0f13; border-color: var(--dark-line); }
.panel.darkpanel .pbar i { background: #2a2d34; }

/* chat bits */
.ub {
  align-self: flex-end; background: var(--accent-soft); border: 1px solid #dbe4ff; color: var(--ink);
  font-size: 13.5px; padding: 9px 14px; border-radius: 14px 14px 4px 14px; max-width: 84%;
}
.chatcol { display: flex; flex-direction: column; gap: 10px; }
.agentcard {
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font-size: 13px; color: var(--muted); max-width: 92%;
}
.agentcard b { color: var(--ink); }
.worklog { display: flex; flex-direction: column; gap: 7px; }
.worklog div { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.worklog .ck {
  flex: 0 0 auto; width: 17px; height: 17px; border-radius: 50%; background: var(--green-soft);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}

/* board */
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bcol { background: var(--bg); border-radius: 12px; padding: 10px; }
.bcol .lbl {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 9px;
}
.bcard {
  background: var(--white); border: 1px solid var(--line); border-radius: 9px;
  padding: 9px 10px; margin-bottom: 7px; box-shadow: 0 1px 2px rgba(23, 25, 29, 0.05);
}
.bcard b { display: block; font-size: 12.5px; }
.bcard span { font-size: 11px; color: var(--faint); }
.bcard .flag { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-right: 5px; }
@media (max-width: 620px) { .board { grid-template-columns: repeat(2, 1fr); } }

/* kiosk pad */
.pad { max-width: 300px; margin: 0 auto; background: var(--dark); border-radius: 26px; padding: 14px; box-shadow: var(--shadow-float); }
.padscreen { background: var(--white); border-radius: 14px; padding: 20px 18px; text-align: center; }
.padscreen .lbl { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.padscreen p { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.padfield {
  border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-family: var(--mono);
  font-size: 15px; color: var(--ink); margin-bottom: 14px; background: var(--bg);
}
.padkeys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.padkeys span {
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 0; font-size: 15px; font-weight: 600;
}
.padwheel {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent-soft); border-radius: 999px; padding: 5px 13px;
  font-size: 12px; color: var(--accent); font-weight: 600;
}
.langgrid { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.langgrid span {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 15px; font-size: 13.5px; color: var(--muted); box-shadow: var(--shadow-card);
}
section.dark .langgrid span { background: #1c1f26; border-color: var(--dark-line); color: var(--dark-dim); }

/* browser mock */
.browser { background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-float); border: 1px solid var(--line); }
.browser .bar { background: #f2f1ec; border-bottom: 1px solid var(--line); padding: 10px 14px; display: flex; gap: 7px; align-items: center; }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8d5cc; flex-shrink: 0; }
.browser .url { flex: 1; background: var(--white); border: 1px solid var(--line); border-radius: 20px; font-size: 11.5px; color: var(--faint); padding: 3px 12px; }
.browser .page { padding: 22px; color: var(--ink); }
.browser .shopname { font-weight: 700; font-size: 19px; }
.browser .tag2 { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.browser .heroimg {
  background: linear-gradient(135deg, #232833, #10131a); border-radius: 10px; height: 84px;
  margin-bottom: 12px; display: flex; align-items: center; justify-content: center;
  color: #98a0ad; font-size: 12px; text-align: center; padding: 0 12px;
}
.browser .chipsrow { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.browser .chipsrow span { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; font-size: 11px; padding: 2px 10px; }
.browser .stars { color: #e8a413; font-size: 13px; letter-spacing: 2px; }
.browser .stars small { color: var(--muted); letter-spacing: 0; }

/* two-col band */
.webband .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .webband .wrap { grid-template-columns: 1fr; gap: 36px; } }
.mathline {
  margin-top: 26px; background: var(--accent-soft); border: 1px solid #dbe4ff;
  border-radius: 14px; padding: 16px 20px; font-size: 15.5px; color: var(--ink);
}
.mathline b { color: var(--accent-dark); }
section.dark .mathline { background: #1c2130; border-color: #2c3550; color: #fff; }
section.dark .mathline b { color: #8fa8ff; }

/* callout */
.callout {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 12px; padding: 20px 24px; margin-top: 28px; box-shadow: var(--shadow-card);
}
.callout b { display: block; margin-bottom: 4px; font-size: 15.5px; }
.callout p { font-size: 14.5px; color: var(--muted); }
section.dark .callout { background: #1c1f26; border-color: var(--dark-line); border-left-color: #8fa8ff; }
section.dark .callout p { color: var(--dark-dim); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; box-shadow: var(--shadow-card);
}
.step .n {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step b { display: block; font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

/* ask examples */
.askgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .askgrid { grid-template-columns: 1fr; } }
.askcol {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; box-shadow: var(--shadow-card);
}
.askcol h3 { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.askcol ul { list-style: none; }
.askcol li {
  font-family: var(--serif); font-style: italic; font-size: 15.5px; color: var(--ink);
  padding: 9px 0; border-bottom: 1px solid var(--line);
}
.askcol li:last-child { border-bottom: none; }
.askcol li::before { content: "\201C"; color: var(--accent); }
.askcol li::after { content: "\201D"; color: var(--accent); }

/* ---------- Pricing ---------- */
.toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  margin-bottom: 34px; background: var(--white); box-shadow: var(--shadow-card);
}
.toggle button {
  border: 0; background: transparent; font: 600 14px var(--sans); padding: 10px 22px;
  cursor: pointer; color: var(--muted); transition: background 150ms, color 150ms; border-radius: 999px;
}
.toggle button.on { background: var(--ink); color: #fff; }
.toggle .save { color: var(--green); font-weight: 700; }
.toggle button.on .save { color: #7fe0b8; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; text-align: left; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px; position: relative; display: flex; flex-direction: column; box-shadow: var(--shadow-card);
}
.tier.popular { border: 2px solid var(--accent); box-shadow: 0 24px 60px -24px rgba(47, 91, 255, 0.35); }
.tier .badge2 {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent);
  color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.tier .tn { font-size: 15px; font-weight: 700; }
.tier .tp { font-size: 44px; font-weight: 750; letter-spacing: -0.035em; margin: 10px 0 0; }
.tier .tp span { font-size: 15px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.tier .ann { font-size: 12.5px; color: var(--faint); margin-bottom: 18px; }
.tier ul { list-style: none; margin-bottom: 24px; flex: 1; }
.tier li { font-size: 14px; padding: 5.5px 0 5.5px 28px; position: relative; color: var(--muted); }
.tier li b { color: var(--ink); }
.tier li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--green-soft) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" fill="none"><path d="M2.5 7.5 6 11l5.5-8" stroke="%231fa971" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/9px no-repeat;
}
.tier .btn, .tier .btn.ghost { text-align: center; }
.planseg {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden; margin: 12px 0 2px; background: var(--bg);
}
.planseg button {
  border: 0; background: transparent; font: 600 12.5px var(--sans); padding: 6px 18px;
  cursor: pointer; color: var(--muted); border-radius: 999px; transition: background 150ms, color 150ms;
}
.planseg button.on { background: var(--accent); color: #fff; }
.funnel { text-align: center; font-size: 14px; color: var(--muted); margin-top: 24px; }
.funnel b { color: var(--ink); }
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; text-align: left; }
@media (max-width: 900px) { .addons { grid-template-columns: 1fr; } }
@media (min-width: 901px) { .addons.two { grid-template-columns: 1fr 1fr; } }
.addon {
  background: var(--white); border: 1px dashed #cfccc4; border-radius: var(--r);
  padding: 20px 22px; display: flex; gap: 16px;
}
.addon.dev { background: #f1f0ec; }
.addon.dev .ap, .addon.dev b, .addon.dev p { color: #67665f; }
.addon .ap { font-size: 24px; font-weight: 750; letter-spacing: -0.03em; white-space: nowrap; }
.addon .ap span { display: block; font-size: 11px; color: var(--faint); font-weight: 400; letter-spacing: 0; }
.addon b { font-size: 14.5px; }
.addon p { font-size: 13px; color: var(--muted); margin-top: 3px; }
.minipill {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em;
  padding: 2px 9px; border-radius: 10px; vertical-align: 2px; margin-left: 6px;
}
.minipill.lim { background: var(--amber-soft); color: #875a12; }
.minipill.dev { background: #e4e3dd; color: #5f5f58; }
.addon .waitlist { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; }
.addon .waitlist:hover { text-decoration: underline; }
.everyplan {
  margin-top: 24px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 30px; box-shadow: var(--shadow-card); text-align: left;
}
.everyplan ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px 24px; margin-top: 14px; }
@media (max-width: 800px) { .everyplan ul { grid-template-columns: 1fr; } }
.everyplan li { font-size: 14px; color: var(--muted); padding-left: 24px; position: relative; }
.everyplan li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.mathband {
  margin-top: 26px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 30px; box-shadow: var(--shadow-card); text-align: left;
}
.mathband .kick { margin-bottom: 6px; }
.tablewrap { overflow-x: auto; }
.mathband table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 10px; }
.mathband td { padding: 9px 4px; border-bottom: 1px solid var(--line); color: var(--muted); }
.mathband td:last-child { text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mathband tr.us td { border-bottom: none; color: var(--ink); font-weight: 700; font-size: 15.5px; }
.mathband tr.us td:last-child { color: var(--accent-dark); }

/* ---------- FAQ ---------- */
details.faq { border-bottom: 1px solid var(--line); text-align: left; }
details.faq summary {
  cursor: pointer; font-weight: 600; font-size: 15.5px; padding: 17px 4px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 20px; color: var(--accent); font-weight: 400; flex-shrink: 0; }
details.faq[open] summary::after { content: "\2212"; }
details.faq p { padding: 0 4px 17px; font-size: 14px; color: var(--muted); max-width: 70ch; }

/* ---------- CTA + footer ---------- */
.ctaband { background: var(--dark); color: #fff; padding: 92px 0; text-align: center; }
.ctaband h2 { font-size: clamp(28px, 4.4vw, 48px); margin-bottom: 14px; }
.ctaband h2 .serif { color: #8fa8ff; }
.ctaband p { margin-bottom: 30px; font-size: 16.5px; color: var(--dark-dim); }
footer.site {
  background: var(--dark); border-top: 1px solid var(--dark-line); color: var(--dark-dim);
  padding: 42px 0; font-size: 14px;
}
footer.site .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
footer.site a { color: #c3c8d1; text-decoration: none; transition: color 150ms; }
footer.site a:hover { color: #fff; }
footer.site .cols { display: flex; gap: 48px; flex-wrap: wrap; }
footer.site .cols div { display: flex; flex-direction: column; gap: 8px; }
footer.site .cols b { color: #fff; }
footer.site .legal { width: 100%; border-top: 1px solid var(--dark-line); padding-top: 20px; font-size: 12.5px; color: #8b929c; }

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