/* Lets3dPrint website. One stylesheet for every page. */

:root {
  --bg: #fbfcfe;
  --bg-soft: #f2f5fa;
  --surface: #ffffff;
  --text: #0b1020;
  --muted: #5a6478;
  --faint: #8a93a6;
  --line: rgba(15, 23, 42, 0.09);
  --line-strong: rgba(15, 23, 42, 0.16);
  --accent: #2563ff;
  --accent-2: #7c4dff;
  --accent-ink: #ffffff;
  --accent-soft: rgba(37, 99, 255, 0.09);
  --grid: rgba(37, 99, 255, 0.07);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 14px rgba(15, 23, 42, 0.05);
  --shadow: 0 2px 6px rgba(15, 23, 42, 0.05), 0 30px 70px -20px rgba(20, 40, 90, 0.28);
  --radius: 20px;
  --max: 1160px;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07090f;
    --bg-soft: #0c1018;
    --surface: #10151f;
    --text: #eef1f7;
    --muted: #9ba5b8;
    --faint: #6d778b;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);
    --accent: #5b8cff;
    --accent-2: #a07bff;
    --accent-soft: rgba(91, 140, 255, 0.14);
    --grid: rgba(120, 160, 255, 0.07);
    --glass: rgba(12, 16, 24, 0.7);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 14px rgba(0, 0, 0, 0.3);
    --shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  }
  .ver.now { color: #4ade80; background: rgba(74, 222, 128, 0.12); }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
code { font-family: var(--mono); font-size: 0.9em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { text-wrap: balance; }
p, li { text-wrap: pretty; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }

/* The menu has two levels (the markup comes from _nav.py).
   Level 1 picks the group: 1.6, 1.7 or Help. It sits at the top and scrolls away.
   Level 2 holds the group's pages and sections, in a glass bar that stays at the top. */
:root { --global-h: 64px; --local-h: 62px; }
.global { position: relative; z-index: 21; }
.global .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--global-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand:hover { text-decoration: none; }
.l1 {
  display: flex; gap: 2px; padding: 4px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg-soft) 85%, transparent); border: 1px solid var(--line);
}
.l1 a {
  display: inline-flex; align-items: baseline; gap: 7px; padding: 6px 14px; border-radius: 999px;
  color: var(--muted); font-size: 14px; white-space: nowrap; transition: color .15s, background .15s, box-shadow .15s;
}
.l1 a b { font-weight: 700; }
.l1 a span { font-size: 12.5px; color: var(--faint); }
.l1 a:hover { color: var(--text); text-decoration: none; }
.l1 a[aria-current] { color: var(--text); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.l1 a[aria-current] span { color: var(--muted); }

.local { position: sticky; top: 0; z-index: 20; padding: 10px 12px 0; pointer-events: none; }
.local .wrap {
  pointer-events: auto;
  display: flex; align-items: center; gap: 12px;
  height: calc(var(--local-h) - 10px); max-width: calc(var(--max) - 24px); padding: 0 6px 0 18px;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.local-title { display: flex; align-items: center; gap: 10px; margin-right: auto; font-weight: 700; letter-spacing: -0.01em; color: var(--text); white-space: nowrap; }
.local-title:hover { text-decoration: none; }
.ver {
  position: relative; font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: 0;
  padding: 3px 9px 3px 20px; border-radius: 999px; white-space: nowrap;
}
.ver::before { content: ""; position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: currentColor; }
.ver.now { color: #15803d; background: rgba(22, 163, 74, 0.12); }
.ver.next { color: var(--accent-2); background: color-mix(in srgb, var(--accent-2) 13%, transparent); }
.l2 { display: flex; align-items: center; gap: 2px; min-width: 0; font-size: 14.5px; overflow-x: auto; scrollbar-width: none; }
.l2::-webkit-scrollbar { display: none; }
.l2 a { flex: none; color: var(--muted); padding: 7px 12px; border-radius: 999px; white-space: nowrap; transition: color .15s, background .15s; }
.l2 a:hover { color: var(--text); background: var(--accent-soft); text-decoration: none; }
.l2:not(.spy) a[aria-current="page"], .l2 a.on { color: var(--accent); background: var(--accent-soft); }
.l2 .sep { flex: none; width: 1px; height: 18px; margin: 0 6px; background: var(--line-strong); }
.local .button { flex: none; padding: 9px 18px; font-size: 14.5px; }
.short { display: none; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 16px; line-height: 1.2;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 22px -8px color-mix(in srgb, var(--accent) 70%, transparent);
  transition: transform .15s, filter .15s, box-shadow .15s;
}
.button:hover { text-decoration: none; filter: brightness(1.07); transform: translateY(-1px); }
.button.ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-sm); }
.button svg { width: 18px; height: 18px; flex: none; }

/* Hero */
/* The band starts under both menu rows, so the grid shows through the glass. */
.hero-band { position: relative; isolation: isolate; margin-top: calc(-1 * (var(--global-h) + var(--local-h))); padding-top: calc(var(--global-h) + var(--local-h)); overflow-x: clip; }
.hero-band::before {
  /* A CAD grid, fading out from the middle. */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-band::after {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 120px; width: min(1100px, 120vw); height: 640px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side at 35% 55%, color-mix(in srgb, var(--accent) 22%, transparent), transparent),
    radial-gradient(closest-side at 68% 45%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent);
  filter: blur(30px);
  pointer-events: none;
}
.hero { text-align: center; padding: 72px 0 24px; }
.hero.sub { padding-top: 56px; padding-bottom: 8px; }
.hero.sub h1 { font-size: clamp(38px, 6vw, 68px); }
.hero .icon { width: 96px; height: 96px; margin: 0 auto 26px; border-radius: 22px; box-shadow: 0 18px 40px -12px color-mix(in srgb, var(--accent) 60%, transparent); }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; margin-bottom: 22px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 14px; color: var(--muted);
}
.pill b { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 999px; font-weight: 700; }
.pill:hover { text-decoration: none; color: var(--text); }
.hero h1 { font-size: clamp(42px, 7vw, 80px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 22px; font-weight: 800; }
.grad {
  background: linear-gradient(120deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 700px; margin: 0 auto 32px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { font-size: 14px; color: var(--faint); margin: 16px 0 0; }
.hero .window { margin: 60px auto 0; max-width: 1080px; }

/* Screenshots */
.window {
  border-radius: 16px; overflow: hidden; background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

/* Facts under the hero */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 72px auto 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 26px 20px; text-align: center; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact strong { display: block; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.fact span { color: var(--muted); font-size: 15px; }

/* Sections */
section { padding: 112px 0; }
section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: 52px; }
.head.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12.5px; font-weight: 700;
  color: var(--accent); margin: 0 0 14px;
}
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 18px; font-weight: 800; }
.section-lead { color: var(--muted); font-size: 19px; margin: 0; }

/* Spotlights: the main tools, big */
.spot {
  display: grid; grid-template-columns: 0.9fr 1.25fr; align-items: center; gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 28px;
}
.spot .copy { padding: 48px 44px; }
.spot.flip { grid-template-columns: 1.25fr 0.9fr; }
.spot.flip .copy { order: 2; }
.spot .media { align-self: stretch; position: relative; background: var(--bg-soft); min-height: 380px; }
.spot .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Screenshots with the dialog beside the model: shown whole, on the viewport's own grey. */
.spot .media.fit { background: #edeef1; }
.spot .media.fit img { object-fit: contain; }
.spot h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 14px; }
.spot p { color: var(--muted); margin: 0 0 18px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
  color: var(--accent); background: var(--accent-soft); padding: 4px 11px; border-radius: 999px; margin-bottom: 16px;
}
.tag.pro { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.checks { list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 16px; }
.checks li { position: relative; padding: 5px 0 5px 28px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%232563ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.copy code, .card code { background: var(--accent-soft); color: var(--text); border-radius: 6px; padding: 1px 6px; font-size: 0.86em; }

/* Bento: every other tool */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  grid-column: span 2; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card.wide { grid-column: span 3; }
.card .media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .media img { transform: scale(1.03); }
.card .body { padding: 22px 24px 26px; }
.card h3 { font-size: 20px; letter-spacing: -0.015em; line-height: 1.25; margin: 0 0 8px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card .checks { font-size: 14.5px; margin-top: 12px; }
.card .checks li { padding: 3px 0 3px 26px; }
.card .checks li::before { top: 6px; }
.bento.duo { margin-top: 18px; }
.card.more { grid-column: span 4; justify-content: center; background: linear-gradient(140deg, var(--accent-soft), transparent 70%), var(--surface); }
.card.more .body { padding: 32px 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); }

/* Points with icons */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.point {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; align-items: start; align-content: start;
}
.point .ico {
  grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.point .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.point h4 { margin: 0; font-size: 17px; line-height: 1.35; letter-spacing: -0.01em; }
.point p { margin: 0; color: var(--muted); font-size: 15px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px 24px;
}
.plan.best {
  /* A ring, not a thicker border, so its contents line up with the other plans. */
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--accent), var(--shadow);
  background: linear-gradient(180deg, var(--accent-soft), transparent 45%), var(--surface);
}
.plan .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { margin: 0; font-size: 17px; font-weight: 600; color: var(--muted); }
.plan .price { font-size: 46px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 16px 0 6px; }
.plan .per { color: var(--muted); font-size: 14.5px; min-height: 22px; margin-bottom: 22px; }
.plan .checks { font-size: 15px; flex: 1; margin-bottom: 24px; }
.plan .button { width: 100%; padding: 12px 18px; font-size: 15px; }
.plan .button.ghost { box-shadow: inset 0 0 0 1px var(--line-strong); }
.fine { color: var(--faint); font-size: 13.5px; margin: 28px 0 0; max-width: 860px; }

/* Comparison: Lets3dPrint against each kind of CAD app */
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.legend li { display: flex; align-items: center; gap: 8px; }
/* Marks: a coloured disc with a white sign — tick, half, dash. */
.m { flex: none; display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: center / 14px no-repeat; }
.m.yes { background-color: #16a34a; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.m.part { background-color: #f59e0b; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3a5 5 0 0 1 0 10z' fill='%23fff'/%3E%3Ccircle cx='8' cy='8' r='4.2' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E"); }
.m.no { background-color: var(--faint); opacity: .55; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8h6' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.compare-wrap {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare td { color: var(--muted); width: 20.5%; }
/* The mark floats left of the answer; the answer wraps beside it, not under it. */
.compare td .m { float: left; margin: 0 10px 0 0; }
.compare td > span { display: block; overflow: hidden; }
/* Column heads: an icon tile, the kind of app, examples under it. */
.compare thead th { vertical-align: bottom; padding-top: 26px; padding-bottom: 18px; }
.compare thead th > span:not(.sr):not(.ico) { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.compare thead small { display: block; color: var(--faint); font-size: 12.5px; font-weight: 500; margin-top: 2px; }
.compare thead img { width: 44px; height: 44px; border-radius: 11px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.compare thead .ico { margin-bottom: 12px; }
.compare .ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line);
}
.compare .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Row heads: a small accent icon and the question. */
.compare tbody th { width: 18%; font-weight: 600; font-size: 15px; color: var(--text); }
.compare tbody th .ico { width: 32px; height: 32px; border-radius: 9px; margin-bottom: 8px; background: var(--accent-soft); color: var(--accent); border: 0; }
.compare tbody th .ico svg { width: 18px; height: 18px; }
/* The Lets3dPrint column stands out: tinted, with a ring round it. */
.compare .us { background: linear-gradient(180deg, var(--accent-soft), var(--accent-soft)); color: var(--text); box-shadow: inset 2px 0 0 var(--accent), inset -2px 0 0 var(--accent); }
.compare thead .us { box-shadow: inset 2px 0 0 var(--accent), inset -2px 0 0 var(--accent), inset 0 2px 0 var(--accent); border-radius: 0; }
.compare thead .us > span:not(.sr) { color: var(--accent); }
.compare tbody tr:last-child .us { box-shadow: inset 2px 0 0 var(--accent), inset -2px 0 0 var(--accent), inset 0 -2px 0 var(--accent); }
.compare td.us { font-weight: 500; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.honest {
  margin-top: 20px; padding: 24px 28px; border-radius: 18px;
  border: 1px dashed var(--line-strong); max-width: 860px;
}
.honest h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.honest p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 64px; align-items: start; }
.faq-grid .head { position: sticky; top: 110px; margin: 0; }
.faq-grid .head p:not(.kicker) { color: var(--muted); }
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4v8M4 8h8' stroke='%232563ff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* Closing call to action */
.cta {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  border-radius: 32px; padding: 72px 32px;
  background: radial-gradient(120% 140% at 0% 0%, #3b7bff 0%, #2546e8 45%, #5b2fd6 100%);
  box-shadow: var(--shadow);
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%);
}
.cta > * { position: relative; }
.cta img { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 18px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: rgba(255, 255, 255, 0.82); font-size: 19px; margin: 0 auto 28px; max-width: 560px; }
.cta .button { background: #fff; color: #1b3bd6; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.cta .note { font-size: 14px; margin: 16px auto 0; color: rgba(255, 255, 255, 0.7); }
section.end { padding-top: 0; }

/* Footer: the whole menu again, as a site map */
footer.site { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 60px 0 32px; color: var(--muted); font-size: 14.5px; }
.foot { display: grid; grid-template-columns: minmax(220px, 1fr) 2.6fr; gap: 48px; }
.foot-brand p { margin: 14px 0 20px; max-width: 260px; }
.foot-brand .button { padding: 10px 18px; font-size: 14.5px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.foot-cols h4 { margin: 0 0 12px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); }
.foot-cols a { display: block; padding: 4px 0; color: var(--muted); }
.foot-cols a:hover { color: var(--text); }
.foot-base { display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; }

/* Tour: one app window per story, pinned while its steps scroll past */
section.tour { padding: 112px 0 40px; }
.chapter-head { margin-top: 40px; margin-bottom: 0; }
.chapter-head + .story { margin-top: -4vh; }
.chapter-head .section-lead code { background: var(--accent-soft); color: var(--text); border-radius: 6px; padding: 1px 6px; font-size: 0.86em; }
.story {
  position: relative; max-width: 1440px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); column-gap: 64px;
}
.stage {
  grid-column: 2; grid-row: 1; align-self: start;
  position: sticky; top: var(--local-h); height: calc(100vh - var(--local-h));
  display: flex; align-items: center; justify-content: center;
}
.stage-back {
  /* A CAD grid and a glow behind the window, drifting against it. */
  position: absolute; inset: 8% -6%; z-index: -1; pointer-events: none; will-change: transform;
  background:
    radial-gradient(closest-side at 40% 50%, color-mix(in srgb, var(--accent) 16%, transparent), transparent),
    radial-gradient(closest-side at 70% 40%, color-mix(in srgb, var(--accent-2) 13%, transparent), transparent),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 35%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 35%, transparent 75%);
}
.stage-win {
  /* As wide as the column allows, and short enough to leave room for the step names. */
  width: min(100%, calc((100vh - 240px) * 1.6)); will-change: transform; transform-origin: 50% 60%;
}
.appwin {
  position: relative; aspect-ratio: 1800 / 1125; overflow: hidden;
  border-radius: 1.7% / 2.72%; background: #f3f2f5;
  box-shadow: 0 0 0 1px var(--line-strong), 0 2px 6px rgba(15, 23, 42, 0.06), 0 50px 100px -30px rgba(20, 40, 90, 0.42);
}
.frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transform: scale(1.012);
  transition: opacity .6s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1);
}
.frame.on { opacity: 1; transform: none; }
.dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 22px; }
.dots button {
  font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  transition: color .25s, background .25s, border-color .25s, box-shadow .25s;
}
.dots button:hover { color: var(--text); border-color: var(--line-strong); }
.dots button.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.chip {
  position: absolute; left: var(--cx); top: var(--cy); z-index: 2; pointer-events: none; will-change: transform;
  padding: 9px 15px; border-radius: 12px; font-size: 14px; font-weight: 600; white-space: nowrap;
  background: var(--glass); color: var(--text);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm), 0 20px 40px -18px rgba(20, 40, 90, 0.35);
}
.chip.mono { font-family: var(--mono); font-weight: 500; color: var(--accent); }
.steps { grid-column: 1; grid-row: 1; padding: 6vh 0 24vh; }
.step {
  min-height: 82vh; display: flex; flex-direction: column; justify-content: center;
  opacity: .28; transition: opacity .45s ease;
}
.step.on { opacity: 1; }
html:not(.js) .step { opacity: 1; }
.step h3 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 14px; }
.step p { color: var(--muted); margin: 0 0 16px; }
.step .tag { align-self: flex-start; }
.step code { background: var(--accent-soft); color: var(--text); border-radius: 6px; padding: 1px 6px; font-size: 0.86em; }
.hero-window { transform-origin: 50% 0; will-change: transform; }

/* Appearing on scroll (only with JavaScript, and not with reduced motion) */
/* On `translate`, so a card's own hover lift (on `transform`) still works. */
.js .reveal { opacity: 0; translate: 0 18px; transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1), transform .2s, box-shadow .2s, border-color .2s; }
.js .reveal.in { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; translate: none; transition: none; }
  .card, .card .media img, .button { transition: none; }
  .frame, .step { transition: none; }
}

/* Text pages */
.doc { max-width: 780px; padding: 72px 24px 104px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 12px; font-weight: 800; }
.doc .updated { color: var(--muted); margin: 0 0 40px; }
.doc h2 { font-size: 24px; letter-spacing: -0.015em; margin: 44px 0 12px; font-weight: 700; }
.doc p, .doc li { color: var(--text); }
.doc li { margin: 4px 0; }
.doc .muted { color: var(--muted); }
.doc pre { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; overflow-x: auto; font-size: 14px; line-height: 1.55; }
.doc code { font-family: var(--mono); font-size: 0.9em; }
.doc p code, .doc li code, .doc td code { background: var(--accent-soft); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
.doc table.ref { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: 15px; }
.doc table.ref th, .doc table.ref td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.doc table.ref th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.doc table.ref td:first-child { white-space: nowrap; font-weight: 600; }
.doc iframe.form { display: block; width: 100%; height: 1200px; margin: 24px 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

/* Narrower screens */
@media (max-width: 1000px) {
  .spot, .spot.flip { grid-template-columns: 1fr; }
  .spot.flip .copy { order: 0; }
  .spot .media { min-height: 0; aspect-ratio: 16 / 10; order: -1; }
  .spot .copy { padding: 32px 28px 36px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card, .card.wide { grid-column: span 1; }
  .card.more { grid-column: span 2; }
  .bento > .card:last-child:nth-child(odd) { grid-column: span 2; }
  .points { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; row-gap: 26px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-grid .head { position: static; }
  /* Tour: the window pinned under the header, the steps scrolling up beneath it. */
  .story { grid-template-columns: minmax(0, 1fr); padding: 0 24px; }
  .chapter-head + .story { margin-top: 24px; }
  .stage {
    grid-column: 1; grid-row: 1; top: calc(var(--local-h) + 2px); height: auto; z-index: 3; display: block;
    padding: 12px 24px 16px; margin: 0 -24px;
    background: var(--bg);
  }
  .stage::after {
    content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 32px; pointer-events: none;
    background: linear-gradient(var(--bg), transparent);
  }
  .stage-back, .chip { display: none; }
  .stage-win { width: 100%; max-width: 720px; margin: 0 auto; }
  .dots { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-top: 14px; padding-bottom: 2px; }
  .dots::-webkit-scrollbar { display: none; }
  .dots button { flex: none; font-size: 12.5px; padding: 5px 11px; }
  .steps { grid-row: 2; padding: 0 0 26vh; max-width: 640px; margin: 0 auto; width: 100%; }
  .step { min-height: 54vh; }
}
@media (max-width: 1100px) {
  .local-title .ver { display: none; }
  .local .long { display: none; }
  .local .short { display: inline; }
}
@media (max-width: 860px) {
  /* Level 1 keeps only the names; level 2 fills the bar and scrolls sideways. */
  .l1 a span { display: none; }
  .local-title { display: none; }
  .local .wrap { padding: 0 5px 0 6px; gap: 6px; }
  .l2 {
    flex: 1;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 18px), transparent);
            mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 18px), transparent);
  }
  .l2 a { padding: 7px 11px; }
  .foot { grid-template-columns: 1fr; gap: 36px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  /* Comparison: one card per question, each answer with its mark and kind of app. */
  .compare-wrap { background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { display: none; }
  .compare tbody tr {
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
    overflow: hidden; margin-bottom: 12px; padding-bottom: 8px;
  }
  .compare tbody th { width: auto; display: flex; align-items: center; gap: 12px; padding: 14px 16px 10px; border: 0; font-size: 16px; }
  .compare tbody th .ico { margin: 0; }
  .compare td { width: auto; padding: 7px 16px; border: 0; }
  .compare td::before { content: attr(data-col); display: block; margin-left: 32px; font-size: 12px; font-weight: 600; color: var(--faint); }
  .compare td .m { margin-top: -1px; }
  .compare .us, .compare tbody tr:last-child .us { margin: 0 8px 4px; border-radius: 12px; padding: 10px 8px; box-shadow: inset 0 0 0 1.5px var(--accent); }
  .compare td.us::before { color: var(--accent); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  :root { --global-h: 58px; --local-h: 56px; }
  .local { padding: 8px 8px 0; }
  .l1 a { padding: 6px 11px; font-size: 13.5px; }
  section { padding: 80px 0; }
  .hero { padding-top: 48px; }
  .hero.sub { padding-top: 40px; }
  .hero .window { margin-top: 44px; border-radius: 10px; }
  .facts { margin-top: 48px; }
  .fact { padding: 20px 10px; }
  .fact strong { font-size: 19px; }
  .fact span { font-size: 13.5px; }
  .bento, .points, .plans { grid-template-columns: 1fr; }
  .card.more, .bento > .card:last-child:nth-child(odd) { grid-column: span 1; }
  .card.more .body { padding: 26px 24px; }
  .spot { border-radius: 22px; }
  .spot .copy { padding: 26px 22px 30px; }
  .cta { border-radius: 24px; padding: 56px 22px; }
  section.tour { padding-top: 80px; }
  .story { padding: 0 16px; }
  .stage { margin: 0 -16px; padding: 8px 16px 12px; }
  .step { min-height: 50vh; }
  .doc { padding: 48px 16px 80px; }
  .doc table.ref, .doc table.ref tbody, .doc table.ref tr, .doc table.ref td { display: block; width: auto; }
  .doc table.ref tr:first-child { display: none; }
  .doc table.ref td { border-bottom: none; padding: 4px 0; }
  .doc table.ref tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .doc table.ref { font-size: 14px; }
}

/* Ten things nobody else has: our answer wide, the others as narrow marks. */
.compare.nobody td.us { width: 34%; }
.compare.nobody td.r { width: 7.5%; text-align: center; vertical-align: middle; }
.compare.nobody td.r .m { float: none; margin: 0; }
.compare.nobody thead th:not(.us) > span:not(.sr) { font-size: 13px; }
.compare.nobody thead th:not(.us) small { font-size: 11.5px; }
@media (max-width: 860px) {
  .compare.nobody tbody tr { display: flex; flex-wrap: wrap; padding-bottom: 12px; }
  .compare.nobody tbody th, .compare.nobody td.us { flex: 0 0 calc(100% - 16px); }
  .compare.nobody tbody th { flex-basis: 100%; }
  .compare.nobody td.r { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; width: auto; padding: 4px 8px 0 16px; }
  .compare.nobody td.r::before { order: 2; margin: 0; font-size: 12.5px; font-weight: 500; color: var(--muted); }
  .compare.nobody td.r .m { width: 16px; height: 16px; background-size: 10px; }
}

/* Drawings in cards, for tools that have no screenshot yet (What's next) */
.card .media.diagram, .spot .media.diagram {
  display: grid; place-items: center; color: var(--text);
  background: radial-gradient(closest-side at 50% 45%, var(--accent-soft), transparent 80%), var(--bg-soft);
}
.card .media.diagram svg { width: 86%; height: 86%; overflow: visible; }
.card.wide .media.diagram svg { width: 74%; height: 80%; }
.spot .media.diagram svg { width: 82%; height: auto; max-height: 86%; overflow: visible; }
.dg-solid { fill: var(--surface); stroke: var(--text); stroke-width: 2; stroke-linejoin: round; }
.dg-line { fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dg-faint { fill: none; stroke: var(--faint); stroke-width: 1.5; stroke-linecap: round; }
.dg-acc { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.dg-fill { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.dg-fill2 { fill: color-mix(in srgb, var(--accent-2) 30%, transparent); stroke: var(--accent-2); stroke-width: 2; stroke-linejoin: round; }
.dg-solidacc { fill: var(--accent); }
.dg-dash { stroke-dasharray: 5 5; }
.dg-t { fill: var(--muted); font: 600 13px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; }
.dg-ta { fill: var(--accent); }
.dg-big { font-size: 15px; }
.dg-mid { text-anchor: middle; }

/* The fit list, as a small table */
.ladder { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.ladder th, .ladder td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ladder th { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; }
.ladder td:nth-child(2) { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; color: var(--accent); }
.ladder td:first-child { white-space: nowrap; font-weight: 600; }
.ladder td:last-child { color: var(--muted); }
.spot .copy .ladder { margin-top: 6px; }

/* Numbered steps in a card */
.howto { counter-reset: n; list-style: none; padding: 0; margin: 14px 0 0; color: var(--muted); font-size: 15.5px; }
.howto li { counter-increment: n; position: relative; padding: 4px 0 4px 36px; }
.howto li::before {
  content: counter(n); position: absolute; left: 0; top: 4px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* A plain note under a section */
.aside { margin-top: 28px; color: var(--muted); font-size: 15.5px; max-width: 760px; }
@media (max-width: 640px) {
  .ladder { font-size: 14px; }
  .ladder th, .ladder td { padding: 8px 6px; }
}

/* In-page links under a page's hero */
.jumps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.jumps a {
  font-size: 14px; font-weight: 600; padding: 7px 15px; border-radius: 999px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: color .15s, border-color .15s;
}
.jumps a:hover { color: var(--accent); border-color: var(--line-strong); text-decoration: none; }

/* 1.7 things wear the second accent */
.next { --accent: var(--accent-2); --accent-soft: color-mix(in srgb, var(--accent-2) 12%, transparent); }
.hero.next .pill b { background: var(--accent-2); }

/* Doors from the home page to the other parts of the site */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.door {
  display: flex; flex-direction: column; padding: 28px 28px 26px; border-radius: 24px; color: var(--text);
  background: linear-gradient(160deg, var(--accent-soft), transparent 55%), var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.door:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.door-ico { width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.door-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.door-k { margin-bottom: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.door h3 { margin: 0 0 10px; font-size: 23px; line-height: 1.2; letter-spacing: -0.02em; }
.door p { flex: 1; margin: 0 0 22px; color: var(--muted); font-size: 15.5px; }
.door-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); }
.door-go::after { content: "→"; transition: transform .2s; }
.door:hover .door-go::after { transform: translateX(4px); }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .door, .door-go::after { transition: none; } }
