/* Cartsella Studio marketing site. Spacing scale: 4 8 12 16 24 32 48 64 96. */
:root {
  --ink: #0d2a2f;
  --ink-2: #34494d;
  --muted: #62757a;
  --bg: #ffffff;
  --bg-2: #f4f8f8;
  --line: #e1e9ea;
  --teal: #015a65;
  --teal-ink: #015a65;
  --teal-deep: #01454e;
  --teal-soft: #e2eff0;
  --orange: #f76b00;
  --orange-ink: #b04c00;
  --orange-soft: #fff1e4;
  --radius: 16px;
  --max: 1200px;
  --gutter: 24px;
  --section: clamp(72px, 9vw, 120px);
  --shadow-sm: 0 1px 2px rgba(13, 42, 47, .06);
  --shadow: 0 1px 2px rgba(13, 42, 47, .05), 0 24px 48px -24px rgba(13, 42, 47, .22);
  --shadow-lg: 0 2px 4px rgba(13, 42, 47, .04), 0 40px 80px -32px rgba(13, 42, 47, .32);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--bg-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 16px; } body { font-size: 16px; } }

h1, h2, h3 { color: var(--ink); letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.1; font-weight: 800; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; color: var(--ink-2); text-wrap: pretty; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 16px; }
.eyebrow.o { color: var(--orange-ink); }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--ink-2); }
.accent { color: var(--orange); }
.accent-t { color: var(--teal); }
.center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(247, 107, 0, .7); }
.btn-primary:hover { background: #e56200; }
.btn-ghost { border-color: #d5dce4; background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-dark { background: var(--ink); color: #fff; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--orange-ink); }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }

/* Header */
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
header.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(228, 233, 239, .8); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
header.top .logo { display: block; flex: none; }
header.top .logo img { height: 40px; width: auto; }
header.top nav { display: flex; gap: 32px; align-items: center; }
header.top nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); padding: 6px 0; white-space: nowrap; }
@media (max-width: 1240px) { header.top nav { gap: 20px; } }
header.top nav a:not(.btn):hover { color: var(--ink); }
header.top nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--orange); }
header.top nav .btn { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.menu { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; padding: 0; }
.menu span, .menu span::before, .menu span::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; content: ""; border-radius: 2px; }
.menu span::before { position: absolute; top: -6px; }
.menu span::after { position: absolute; top: 6px; }
@media (max-width: 1060px) {
  .menu { display: block; }
  header.top nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; gap: 0; box-shadow: var(--shadow); }
  header.top nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  header.top nav a[aria-current="page"] { box-shadow: none; color: var(--orange-ink); }
  header.top nav .btn { margin-top: 16px; min-height: 50px; }
  header.top.open nav { display: flex; }
}

/* Sections */
section { padding: var(--section) 0; }
section.alt { background: var(--bg-2); }
section.dark { background: var(--teal-deep); }
section.dark h2, section.dark h3 { color: #fff; }
section.dark p, section.dark .benefits li { color: #bcd2d5; }
section.dark .benefits li b { color: #fff; }
section.dark .eyebrow { color: #ffb066; }
.head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.head p { margin-top: 16px; font-size: 1.1rem; }
.more { text-align: center; margin-top: 40px; }

/* Hero */
.hero { padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); background: radial-gradient(900px 480px at 88% 0%, var(--teal-soft), transparent 70%), radial-gradient(760px 420px at 0% 100%, var(--orange-soft), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .line { display: block; }
.hero .lead { max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 24px 0 0; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5l2.2 2.2L11.5 6' stroke='white' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; flex: none; }
.hero-simple .wrap { display: block; text-align: center; }
.hero-simple .lead { margin: 0 auto; max-width: 640px; }
.hero-simple .cta { justify-content: center; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero .lead { max-width: none; }
}

/* Product screenshots: rendered by shots/render.mjs with transparent corners; the shadow lives here. */
.shot { width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow-lg); background: #f1f1f1; }
.shot.free { border-radius: 0; box-shadow: none; background: none; }
.figure-wide { max-width: 1000px; margin: 0 auto; }
figure { margin: 0; }
figcaption { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 24px; }

/* {{yt}} embeds: a poster image + play button until clicked (main.js swaps in the iframe). */
.yt-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ink); cursor: pointer; }
.yt-embed.wide { max-width: 1000px; margin: 0 auto; }
.yt-embed img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.yt-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt-embed .yt-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: rgba(13, 42, 47, .78); display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.yt-embed .yt-play::after { content: ""; width: 0; height: 0; margin-left: 4px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.yt-embed:hover .yt-play, .yt-embed:focus-visible .yt-play { background: var(--orange); transform: scale(1.08); }
.yt-embed:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.prose .yt-embed { margin: 32px 0; }

/* Feature rows */
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.row + .row { margin-top: clamp(72px, 9vw, 120px); }
.row.flip > :first-child { order: 2; }
.row h2 { margin-bottom: 16px; }
.row > div > p { font-size: 1.05rem; }
.row .btn { margin-top: 32px; }
@media (max-width: 960px) { .row { grid-template-columns: minmax(0, 1fr); } .row.flip > :first-child { order: 0; } }

.benefits { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.benefits li { padding-left: 36px; position: relative; color: var(--ink-2); line-height: 1.55; }
.benefits li b { color: var(--ink); font-weight: 650; }
.benefits li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 8px; background: var(--teal-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.5l2.2 2.2L11.5 6' stroke='%230b7571' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.benefits.o li::before { background-color: var(--orange-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5l2.2 2.2L11.5 6' stroke='%23c2410c' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
section.dark .benefits li::before { background-color: rgba(255, 255, 255, .12); }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .g4, .g2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .96rem; line-height: 1.6; }
section.alt .card { border-color: #e1e7ee; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; background: var(--teal-soft); color: var(--teal-ink); font-weight: 800; font-size: 1.1rem; }
.icon.o { background: var(--orange-soft); color: var(--orange-ink); }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--orange-soft); color: var(--orange-ink); font-weight: 800; font-size: .9rem; margin-bottom: 20px; }

/* Checklists (what gets copied) */
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }
.two .card h3 { margin-bottom: 16px; }
ul.check { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
ul.check li { padding: 6px 0 6px 28px; position: relative; break-inside: avoid; font-size: .96rem; color: var(--ink-2); }
ul.check li::before { content: ""; position: absolute; left: 0; top: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5l2.2 2.2L11.5 6' stroke='white' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/13px no-repeat; }
ul.check.no li::before { background: #c9d1db url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 5.5l5 5M10.5 5.5l-5 5' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }
ul.check.one { columns: 1; }
.card .fine { margin-top: 16px; font-size: .92rem; color: var(--muted); }
@media (max-width: 480px) { ul.check { columns: 1; } }

/* Before / after */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.vs ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.vs li { position: relative; padding-left: 28px; color: var(--ink-2); }
.vs li::before { position: absolute; left: 0; font-weight: 800; }
.vs .before { background: transparent; box-shadow: none; }
.vs .before li { color: var(--muted); }
.vs .before li::before { content: "✕"; color: #b4bdc8; }
.vs .after { border: 2px solid var(--orange); box-shadow: var(--shadow); }
.vs .after li::before { content: "✓"; color: var(--orange); }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } }

/* Loading screen demo (campaign links) */
.loader-demo { text-align: center; padding: 56px 32px; box-shadow: var(--shadow-lg); background: #fffaf5; }
.loader-demo .spin { width: 56px; height: 56px; border-radius: 50%; border: 5px solid #ffe1c7; border-top-color: var(--orange); margin: 0 auto 24px; animation: spin 1s linear infinite; }
.loader-demo h3 { font-size: 1.45rem; margin-bottom: 8px; }
.loader-demo .pb { height: 6px; border-radius: 9px; background: #ffe1c7; max-width: 240px; margin: 24px auto 0; overflow: hidden; }
.loader-demo .pb i { display: block; width: 70%; height: 100%; background: var(--orange); }
.loader-demo .url { display: inline-block; margin-top: 28px; font-size: .85rem; color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Stat band */
.band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; margin: 24px 0; }
.band div { background: var(--bg-2); border-radius: 12px; padding: 16px 8px; }
.band b { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }
.band span { color: var(--muted); font-size: .88rem; }

/* Pricing */
.toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-top: 28px; box-shadow: var(--shadow-sm); }
.toggle button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.toggle em { font-style: normal; color: var(--orange-ink); font-size: .8rem; margin-left: 6px; font-weight: 700; }
.toggle button[aria-pressed="true"] em { color: #ffb066; }
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; padding: 32px 28px; }
.plan h3 { font-size: 1.25rem; }
.plan.pop { border: 2px solid var(--orange); box-shadow: var(--shadow-lg); }
@media (min-width: 1001px) { .plan.pop { transform: translateY(-12px); } }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--orange); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; white-space: nowrap; }
.plan .for { font-size: .92rem; color: var(--muted); margin: 6px 0 20px; }
.plans { text-align: left; }
.plan .price { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); line-height: 1; }
.plan .price small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.per { font-size: .82rem; color: var(--muted); min-height: 1.3em; margin: 8px 0 20px; }
.plan ul { list-style: none; padding: 20px 0 0; margin: 0 0 28px; font-size: .95rem; flex: 1; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.plan li { color: var(--ink-2); padding-left: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.plan li b { color: var(--ink); }
.plan li.hi { color: var(--orange-ink); font-weight: 650; }
.plan li.hi::before { color: var(--orange); }
.plan .btn { width: 100%; }
.note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 40px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
table.compare { width: 100%; border-collapse: collapse; min-width: 680px; font-size: .95rem; }
.compare th, .compare td { padding: 14px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink-2); }
.compare thead th { background: var(--bg-2); font-size: .9rem; color: var(--ink); }
.compare .pop { background: #fff8f1; }
.compare thead th.pop { background: var(--orange-soft); color: var(--orange-ink); }
.compare tr.group td { background: var(--bg-2); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 18px; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--teal); font-weight: 800; }
.no { color: #c3cbd5; }

/* Mini plans (home) */
.mini-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mini-plans a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s; position: relative; }
.mini-plans a:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.mini-plans b { font-size: 1.05rem; }
.mini-plans .p { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; margin: 4px 0; }
.mini-plans .p small { font-size: .85rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.mini-plans span { color: var(--muted); font-size: .9rem; }
.mini-plans .pop { border: 2px solid var(--orange); }
.mini-plans .pop::after { content: "Most popular"; position: absolute; top: -12px; left: 24px; background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 12px; border-radius: 99px; }
@media (max-width: 900px) { .mini-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .mini-plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-more { max-width: 800px; margin: 24px auto 0; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%23c2410c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 52px 24px 0; }

/* Final CTA */
.final { position: relative; overflow: hidden; background: var(--teal-deep); border-radius: 28px; padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px); text-align: center; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at 15% 0%, rgba(46, 160, 172, .35), transparent 70%), radial-gradient(500px 260px at 90% 100%, rgba(247, 107, 0, .3), transparent 70%); pointer-events: none; }
.final > * { position: relative; }
.final h2 { color: #fff; max-width: 760px; margin: 0 auto; }
.final p { color: #c3ccd8; max-width: 560px; margin: 16px auto 32px; font-size: 1.1rem; }
.final small { display: block; margin-top: 16px; color: #9db8bc; font-size: .88rem; }

/* Footer */
footer { padding: 64px 0 40px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer img { height: 36px; width: auto; margin-bottom: 16px; }
footer p { color: var(--muted); max-width: 300px; }
footer h2 { color: var(--ink); font-size: .85rem; margin: 0 0 12px; letter-spacing: 0; font-weight: 700; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
.newsletter-box { margin-top: 24px; max-width: 340px; }
.newsletter-box h2 { margin-bottom: 6px; }
.newsletter-box p { margin: 0 0 10px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input[type=email] { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.newsletter-box.done .newsletter-form { display: none; }
footer .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer .social { display: flex; gap: 16px; }
footer .social a { color: var(--muted); display: inline-flex; }
footer .social a:hover { color: var(--ink); }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .cols > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .mini-plans a:hover { transform: none; }
  .loader-demo .spin { animation: none; }
}
@media (max-width: 640px) {
  .card { padding: 22px; }
  .plan { padding: 28px 22px; }
  .head { margin-bottom: 40px; }
  .final { border-radius: 20px; }
}


/* Guides (articles) */
.article-hero { padding: clamp(48px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); background: radial-gradient(800px 360px at 90% 0%, var(--teal-soft), transparent 70%); }
.article-hero .wrap, .prose { max-width: 800px; }
.article-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); line-height: 1.1; margin: 8px 0 20px; }
.article-hero .meta { color: var(--muted); font-size: .92rem; margin-top: 20px; }
.crumbs { font-size: .9rem; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--orange-ink); }
.prose { margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 7vw, 96px); }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 56px 0 16px; }
.prose h3 { margin: 32px 0 10px; font-size: 1.2rem; }
.prose p, .prose li { font-size: 1.06rem; line-height: 1.75; color: var(--ink-2); }
.prose p + p { margin-top: 16px; }
.prose ul, .prose ol { padding-left: 24px; margin: 16px 0; display: grid; gap: 8px; }
.prose a { color: var(--orange-ink); font-weight: 600; }
.prose .vs { margin: 24px 0; }
.prose .vs ul { padding-left: 0; margin: 16px 0 0; }
.prose .shot { margin: 32px 0; }
.prose .table-wrap { margin: 24px 0; }
.prose pre { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; overflow-x: auto; margin: 16px 0; }
.prose pre code { background: none; border: 0; padding: 0; font-size: .9rem; white-space: pre; }
.prose table.compare { min-width: 520px; }
.tldr { background: var(--teal-soft); border-radius: var(--radius); padding: 24px 28px; margin: 8px 0 8px; }
.tldr > b { display: block; color: var(--teal-ink); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.tldr p { color: var(--ink); margin: 0; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 34px; height: 34px; border-radius: 10px; background: var(--orange-soft); color: var(--orange-ink); font-weight: 800; display: grid; place-items: center; font-size: .95rem; }
.inline-cta { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--teal-deep); border-radius: var(--radius); padding: 24px 28px; margin: 48px 0; }
.inline-cta p { color: #fff !important; font-weight: 650; margin: 0; }
.guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide-cards a { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.guide-cards a:hover { border-color: var(--ink-2); }
.guide-cards .link-arrow { margin-top: auto; padding-top: 8px; }
@media (max-width: 900px) { .guide-cards { grid-template-columns: 1fr; } }
/* Blog: a responsive grid (newest first) so hundreds of posts stay scannable. */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; text-align: left; }
.post-list a { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.post-list a:hover { border-color: var(--ink-2); }
.post-list .eyebrow { margin-bottom: 0; }
.post-list h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.25; }
.post-date { color: var(--muted); font-size: .9rem; }
.blog-empty { grid-column: 1 / -1; color: var(--muted); padding: 24px 0; }

/* Blog: category chips + search box, shown above the post grid on every listing page. */
.blog-filters { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.blog-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: .88rem; font-weight: 600; text-decoration: none; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.blog-search { min-width: 220px; }
.blog-search input[type="search"] { width: 100%; min-height: 44px; padding: 0 16px; border: 1.5px solid #d5dce4; border-radius: 999px; font: inherit; font-size: .95rem; color: var(--ink); background: #fff; }
.blog-search input[type="search"]:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px var(--teal-soft); }
.blog-search-status { margin: 8px 0 0; font-size: .85rem; color: var(--muted); }

/* Blog: pagination. */
.pager { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 48px; flex-wrap: wrap; }
.pager-nums { display: flex; align-items: center; gap: 6px; }
.pager-num { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; border-radius: 999px; font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--ink-2); }
a.pager-num:hover { background: var(--bg-2); }
.pager-num[aria-current="page"] { background: var(--ink); color: #fff; }
.pager-gap { color: var(--muted); padding: 0 2px; }
.pager-prev, .pager-next { font-weight: 700; text-decoration: none; color: var(--orange-ink); font-size: .92rem; }
span.pager-prev, span.pager-next { color: var(--muted); font-weight: 600; }

/* Blog post: "More in <category>" at the end of the article. */
.related { background: var(--bg-2); padding: clamp(48px, 6vw, 72px) 0; margin-top: 16px; }
.related .wrap { max-width: 1000px; }
.related h2 { margin-bottom: 24px; }

/* Waitlist sign-up ({{WAITLIST}} in build.mjs) */
.waitlist { padding-top: 0; }
.waitlist-box { max-width: 760px; margin: 0 auto; text-align: center; background: var(--orange-soft); border: 1px solid #ffd8b5; border-radius: 28px; padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 48px); }
.waitlist-box p { max-width: 560px; margin: 16px auto 28px; font-size: 1.05rem; }
.waitlist-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; margin: 0 auto; }
.waitlist-opt { flex-basis: 100%; display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: .92rem; color: var(--ink-2); cursor: pointer; padding: 4px 8px 0; }
.waitlist-opt input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.waitlist-form input[type="email"] { flex: 1; min-width: 0; min-height: 50px; padding: 0 20px; border: 1.5px solid #d5dce4; border-radius: 999px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; }
.waitlist-form input[type="email"]:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px var(--teal-soft); }
.waitlist-form button[disabled] { opacity: .7; cursor: progress; }
.waitlist-box .waitlist-msg { margin: 14px auto 0; min-height: 1.5em; font-weight: 600; font-size: .98rem; }
.waitlist-msg.ok { color: var(--teal-ink); }
.waitlist-msg.err { color: var(--orange-ink); }
.waitlist-box small { display: block; margin-top: 8px; color: var(--muted); font-size: .85rem; }
.waitlist-box.done .waitlist-form { display: none; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 560px) { .waitlist-form { flex-direction: column; } .waitlist-form .btn { width: 100%; } .waitlist-box { border-radius: 20px; } }
.waitlist-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.waitlist-hero + .waitlist { padding-top: 0; }

/* Cookie consent (consent.js): a card in the corner, never blocking the page. Both choices on the
   first layer, one click each. */
.consent { position: fixed; z-index: 50; right: 24px; bottom: 24px; width: min(420px, calc(100vw - 32px)); padding: 22px 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); color: var(--ink); font-size: .95rem; line-height: 1.5; animation: consent-in .25s ease-out; }
.consent h2 { margin: 0 0 6px; font-size: 1.05rem; line-height: 1.3; }
.consent p { margin: 0 0 16px; color: var(--muted); }
.consent em { font-style: normal; color: var(--ink); }
.consent a { color: var(--teal-ink); }
/* Accept leads (brand colour, wider); Reject stays on the same layer, one click, plainly labelled. */
.consent-actions { display: grid; grid-template-columns: minmax(max-content, 1fr) 1.6fr; gap: 10px; }
.consent .btn { min-height: 44px; padding: 0 16px; font-size: .95rem; }
@keyframes consent-in { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 640px) { .consent { right: 16px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }
