/* ShipNoDrama (shipnodrama.com): main.css
   The 7Labs look from the app (docs/brand in the app's repo): lime tiles with a lighter band along the
   diagonal, cream shapes, charcoal outlines, warm orange accents, slate text. Outfit for headings and the
   wordmark, Inter for body text. Layout is the 1Case landing theme's (customshipping-theme 1.2.1). */

@font-face { font-family: 'Inter'; src: url('../fonts/inter-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter Fallback'; src: local('Arial'); size-adjust: 107.06%; ascent-override: 90.49%; descent-override: 22.53%; line-gap-override: 0%; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit Fallback'; src: local('Arial'); size-adjust: 98%; ascent-override: 102%; descent-override: 26%; line-gap-override: 0%; }

:root {
  --ink: #111B21;
  --ink-2: #363E4A;
  --ink-3: #626A76;
  --body: #4E5663;
  --bg: #FBFBF4;
  --bg-2: #F1F5EA;
  --cream: #FFFDF3;
  --line: #DDE8D5;
  --line-2: #C8D4C0;
  --card: #FFFFFF;

  --g-50: #F1FBE3;
  --g-100: #E3F7C9;
  --g-200: #D2F1AE;
  --g-300: #BCF286;
  --g-400: #A6E86C;
  --g-500: #6CC24F;
  --g-600: #2FA84A;
  --g-700: #1F7335;
  --g-800: #185E2A;
  --g-900: #124A21;
  --check: #84C66F;

  --sun-50: #FEF7EA;
  --sun-100: #FDEBCB;
  --sun-200: #FBD89A;
  --sun-300: #F6B454;
  --sun-500: #E08F1C;
  --sun-ink: #8A5208;

  /* Big lime fields: the app icon's tile, its light band along the 7Labs diagonal */
  --field:
    linear-gradient(118deg, transparent 0 44%, rgba(246, 255, 222, .55) 44% 56%, rgba(246, 255, 222, .24) 56% 70%, transparent 70%),
    linear-gradient(180deg, #C6F59A 0%, #BAF086 60%, #B2EC7E 100%);
  --tile:
    linear-gradient(135deg, transparent 45.5%, rgba(244, 255, 214, .5) 45.5% 56.2%, rgba(244, 255, 214, .22) 56.2% 70.3%, transparent 70.3%),
    linear-gradient(#BFF588, #B4EE7F);
  --pop: 8px 8px 0 var(--ink);

  --f: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fd: 'Outfit', 'Outfit Fallback', var(--f);
  --wrap: 1160px;
  --gutter: max(16px, calc((100vw - var(--wrap)) / 2));
  --overlap: clamp(80px, 12vw, 180px);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
strong { font-weight: 600; }
::selection { background: var(--g-200); color: var(--g-900); }

:focus-visible { outline: 3px solid var(--g-700); outline-offset: 3px; border-radius: 6px; }
.field :focus-visible { outline-color: var(--ink); }
.footer :focus-visible { outline-color: var(--g-300); }

.skip-link {
  position: fixed; top: 10px; left: 50%; z-index: 100;
  transform: translate(-50%, -160%);
  background: var(--ink); color: #fff; font-weight: 600; font-size: 14px;
  padding: 8px 16px; border-radius: 999px; text-decoration: none;
  transition: transform .2s;
}
.skip-link:focus { transform: translate(-50%, 0); }

.wrap { max-width: var(--wrap); margin: 0 auto; }
.num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); text-align: right; }

/* ───────── Wordmark ───────── */
.wordmark { font-family: var(--fd); font-weight: 800; letter-spacing: -.045em; color: var(--ink); white-space: nowrap; }
.wordmark em { font-style: normal; color: var(--g-700); }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 15.5px; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s ease, background-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-ink { background: var(--ink); color: #fff; box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .08), 0 10px 24px rgba(17, 27, 33, .22); }
.btn-ink:hover { background: #1E2A31; box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .08), 0 14px 30px rgba(17, 27, 33, .3); }
.btn-paper { background: var(--cream); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-paper:hover { background: #fff; }
.btn-lime { background: var(--tile); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-lime:hover { box-shadow: inset 0 0 0 2px var(--ink), 0 8px 20px rgba(47, 168, 74, .3); }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--g-700); font-weight: 600; font-size: 15.5px; text-decoration: none;
}
.text-link .ico { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover .ico { transform: translateX(3px); }

.ico { width: 20px; height: 20px; flex-shrink: 0; }

/* ───────── Pills and badges ───────── */
.pill {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 12px; font-weight: 600; line-height: 1;
  padding: 5px 10px; border-radius: 999px;
  background: var(--bg-2); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
}
.pill.ok { background: var(--g-50); color: var(--g-800); box-shadow: inset 0 0 0 1px var(--g-200); }
.pill.ok::before, .pill.wait::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--g-600); }
.pill.wait { background: var(--sun-50); color: #9A5B06; box-shadow: inset 0 0 0 1px var(--sun-200); }
.pill.wait::before { background: var(--sun-300); }

.badge, .badge-sun {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--g-50); color: var(--g-800); box-shadow: inset 0 0 0 1px var(--g-200);
  font-size: 13.5px; font-weight: 600;
}
.badge-sun { background: var(--sun-50); color: #9A5B06; box-shadow: inset 0 0 0 1px var(--sun-200); }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g-600); flex-shrink: 0; box-shadow: 0 0 0 3px rgba(47, 168, 74, .2); }
.badge-sun .chip-dot { background: var(--sun-300); box-shadow: 0 0 0 3px rgba(246, 180, 84, .25); }

/* ───────── Lime fields ───────── */
.field { position: relative; color: var(--ink); background: var(--field); isolation: isolate; }
.edge {
  position: absolute; left: 0; right: 0; height: clamp(36px, 5vw, 80px); z-index: 1; pointer-events: none;
  background: var(--bg);
}
/* Both edges run along the same 7Labs diagonal, low on the left */
.edge-bottom { bottom: -1px; clip-path: polygon(0 100%, 100% 0, 100% 101%, 0 101%); }
.edge-top { top: -1px; clip-path: polygon(0 -1%, 100% -1%, 100% 0, 0 100%); }

.hl {
  background: linear-gradient(95deg, var(--g-700) 0%, var(--g-600) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.field .hl { background-image: linear-gradient(95deg, var(--g-900) 0%, var(--g-700) 100%); }

/* ───────── Nav ───────── */
.nav-wrap {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 16px; pointer-events: none;
}
.nav {
  position: relative; pointer-events: auto;
  display: flex; align-items: center; gap: 4px;
  padding: 6px 6px 6px 8px; border-radius: 999px;
  background: rgba(255, 253, 243, .9);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 0 0 1.5px var(--ink), 0 10px 28px rgba(17, 27, 33, .14);
  transition: box-shadow .3s, background-color .3s;
}
.nav.scrolled { background: rgba(255, 253, 243, .97); box-shadow: inset 0 0 0 1.5px var(--ink), 0 12px 34px rgba(17, 27, 33, .2); }
.nav-logo {
  display: flex; align-items: center; gap: 8px; padding: 0 10px 0 0;
  font-size: 19px; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav-mark { width: 36px; height: 35px; filter: drop-shadow(0 2px 3px rgba(17, 27, 33, .12)); }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--g-100); color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 18px; margin-left: 4px;
  border-radius: 999px; background: var(--tile); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink);
  font-weight: 700; font-size: 14.5px; text-decoration: none; white-space: nowrap; transition: transform .2s;
}
.nav-cta:hover { transform: translateY(-1px); }
.nav-toggle {
  display: none; width: 40px; height: 40px; border: 0; border-radius: 999px;
  background: var(--bg-2); cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .25s, top .25s;
}
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

.brand-by {
  margin-left: 2px; padding-left: 9px; border-left: 1px solid var(--line-2);
  font-family: var(--f); font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--ink-3);
}

/* ───────── Hero ───────── */
.hero { padding: 150px 16px 0; text-align: center; overflow-x: clip; z-index: 2; }
.hero-inner { position: relative; z-index: 2; max-width: 920px; margin: 0 auto; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--ink);
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.chip-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }
.chip-extra { font-weight: 500; color: var(--ink-2); }
.hero h1 {
  margin: 24px auto 20px; max-width: 15ch;
  font-family: var(--fd); font-size: clamp(2.7rem, 7vw, 5.6rem); font-weight: 800; line-height: .98; letter-spacing: -.05em;
  text-wrap: balance;
}
.hero-sub {
  max-width: 700px; margin: 0 auto;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem); line-height: 1.6; color: var(--ink-2);
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--ink-2); text-wrap: balance; }
.hero-note a { color: var(--ink); font-weight: 600; }

.hero-shot {
  position: relative; z-index: 2;
  max-width: 1080px; margin: 56px auto calc(-1 * var(--overlap));
}
.shot-bar {
  display: flex; align-items: center; gap: 6px; padding: 12px 16px;
  background: var(--cream); border-bottom: 2px solid var(--ink);
}
.shot-bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.shot-bar > span:first-child { background: var(--sun-300); }
.shot-bar > span:nth-child(2) { background: var(--g-400); }
.shot-bar em { font-style: normal; font-size: 12.5px; color: var(--ink-3); margin-left: 8px; }

/* ───────── Sections ───────── */
.section { position: relative; padding: 120px 16px; }
.section.field { padding: 150px 16px; }
.section-after-hero { padding-top: calc(var(--overlap) + 110px); }
.section-flush { padding-left: 0; padding-right: 0; }
.section-flush .wrap { padding: 0 16px; }
#orders, #customers, #no-drama, #rates, #setup { padding-top: 60px; }

.sec-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 {
  font-family: var(--fd); font-size: clamp(2.2rem, 4.8vw, 3.7rem); font-weight: 800; line-height: 1.02; letter-spacing: -.045em;
  text-wrap: balance;
}
/* The short green rule under every title, as in the app */
.sec-head h2::after { content: ''; display: block; width: 52px; height: 5px; margin: 20px auto 0; border-radius: 999px; background: var(--g-500); }
.field .sec-head h2::after { background: var(--ink); }
.sec-head > p:not(.eyebrow) { margin-top: 18px; font-size: 1.12rem; color: var(--body); text-wrap: pretty; }
.field .sec-head > p:not(.eyebrow) { color: var(--ink-2); }
.eyebrow {
  margin-bottom: 14px;
  font-family: var(--fd); font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-2);
}

/* ───────── Bento and tiles ───────── */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  min-height: 320px; padding: 28px; border-radius: 26px; color: var(--ink);
  background: var(--tile);
}
.tile-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; min-height: 0; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trio .tile { min-height: 360px; }
.tile-cream { background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line); }
.tile-ink { background: linear-gradient(160deg, #1B2830, var(--ink)); color: #fff; }
.tile-art { flex: 1; display: flex; align-items: center; justify-content: center; }
.tile-cap h3 { font-family: var(--fd); font-size: 1.45rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; margin-bottom: 8px; }
.tile-cap p { font-size: 15.5px; color: var(--ink-2); max-width: 46ch; }
.tile-ink .tile-cap p { color: var(--line-2); }

.mini {
  width: min(100%, 360px); padding: 16px 18px;
  background: #fff; color: var(--ink); font-size: 13.5px;
  border-radius: 16px; box-shadow: inset 0 0 0 2px var(--ink), var(--pop);
}
.tile-ink .mini { box-shadow: inset 0 0 0 2px var(--ink), 8px 8px 0 var(--g-300); }
.mini-rows { display: grid; }
.mini-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-top: 1px solid var(--bg-2);
}
.mini-row:first-child { border-top: 0; }
.mini-label {
  display: block; margin-bottom: 10px;
  font-family: var(--fd); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
}
.mini-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-btn {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.mini-btn.is-main { color: var(--ink); background: var(--tile); box-shadow: inset 0 0 0 1.5px var(--ink); }
.mini-row .bar { flex: 1; height: 8px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.mini-row .bar i { display: block; width: var(--fill); height: 100%; border-radius: inherit; background: var(--g-500); }
.mini-row .bar + * { min-width: 52px; text-align: right; justify-content: center; }

/* The ship day line the app's storefront block shows: calendar, green on pale green */
.say-lines { display: grid; gap: 8px; }
.say-lines span {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px;
  background: var(--g-50); box-shadow: inset 0 0 0 1px var(--g-200); color: var(--g-800); font-weight: 600; font-size: 13px;
}
.say-lines span::before {
  content: ''; width: 16px; height: 16px; flex-shrink: 0; background: currentColor;
  -webkit-mask: var(--i-cal) center / contain no-repeat; mask: var(--i-cal) center / contain no-repeat;
}

/* ───────── App rail ───────── */
.rail {
  display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 28px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -3px; }
.slide {
  flex: 0 0 min(86vw, 740px); scroll-snap-align: start;
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line), 0 20px 50px rgba(17, 27, 33, .06);
}
.slide-copy { padding: 30px 32px 24px; }
.slide-copy .badge, .slide-copy .badge-sun { margin-bottom: 14px; }
.slide-copy h3 { font-family: var(--fd); font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; margin-bottom: 10px; }
.slide-copy p { color: var(--body); font-size: 15.5px; max-width: 56ch; }
.slide-art {
  position: relative; flex: 1;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 320px; padding: 32px 32px 0;
  background: var(--tile);
}
.slide-art img {
  width: 100%; max-height: 380px; object-fit: cover; object-position: top;
  border-radius: 14px 14px 0 0; box-shadow: 0 0 0 2px var(--ink), 0 -10px 30px rgba(17, 27, 33, .14);
}
.rail-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.rail-nav { display: flex; gap: 10px; }
.rail-btn {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; border: 0;
  display: grid; place-items: center;
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink);
  transition: background-color .2s, opacity .2s;
}
.rail-btn:hover:not(:disabled) { background: var(--g-100); }
.rail-btn:disabled { opacity: .35; cursor: default; }

/* ───────── Cards ───────── */
.ctl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ctl { padding: 26px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, transform .2s; }
.ctl:hover { box-shadow: inset 0 0 0 1.5px var(--ink), var(--pop); transform: translate(-2px, -2px); }
.ctl-ico {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px;
  border-radius: 13px; background: var(--tile); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink);
}
.ctl h3 { font-family: var(--fd); font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.ctl p { font-size: 15px; color: var(--body); }

.safe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.safe-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 22px; background: var(--g-50); box-shadow: inset 0 0 0 1px var(--g-200); }
.safe-item .ctl-ico { margin: 0; background: #fff; color: var(--g-700); box-shadow: inset 0 0 0 1.5px var(--g-200); flex-shrink: 0; }
.safe-item h3 { font-family: var(--fd); font-size: 1.12rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 6px; color: var(--g-900); }
.safe-item p { font-size: 14.5px; color: var(--ink-2); }

/* ───────── Setup ───────── */
.tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.track { padding: 28px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.track-alt { background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--sun-200); }
.track-name { margin-bottom: 22px; }
.track-steps { display: grid; gap: 20px; }
.track-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font-family: var(--fd); font-size: 18px; font-weight: 700; color: var(--ink);
  background: var(--tile); box-shadow: inset 0 0 0 2px var(--ink);
}
.track-alt .step-num { background: var(--sun-200); }
.track-steps h3 { font-family: var(--fd); font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; margin: 6px 0 4px; }
.track-steps p { font-size: 15px; color: var(--body); }
.help {
  max-width: 760px; margin: 28px auto 0; padding: 18px 24px; border-radius: 18px;
  background: var(--g-50); box-shadow: inset 0 0 0 1px var(--g-200); color: var(--ink-2); text-align: center; font-size: 15.5px; text-wrap: pretty;
}
.help a { color: var(--g-700); font-weight: 600; }

/* ───────── Pricing ───────── */
.plans { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 28px 24px 24px; border-radius: 24px; background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink), 0 24px 50px rgba(17, 27, 33, .12);
}
.plan-best { background: var(--cream); box-shadow: inset 0 0 0 2px var(--ink), 10px 10px 0 var(--ink); }
.plan-flag {
  position: absolute; top: -13px; left: 24px; padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--ink); background: var(--sun-300); box-shadow: inset 0 0 0 2px var(--ink);
}
.plan-name { font-family: var(--fd); font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; }
.plan-for { font-size: 14px; color: var(--ink-3); min-height: 2.9em; line-height: 1.45; }
.plan-price { display: flex; align-items: flex-start; font-family: var(--fd); font-size: 54px; font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.plan-cur { font-size: 24px; margin: 6px 2px 0 0; letter-spacing: 0; }
.plan-dec { font-size: 26px; margin-top: 5px; letter-spacing: -.02em; }
.plan-per { align-self: flex-end; margin: 0 0 6px 6px; font-family: var(--f); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.plan-note { font-size: 13.5px; font-weight: 600; color: var(--g-700); }
.plan-list { display: grid; gap: 10px; margin: 8px 0 18px; padding-top: 16px; border-top: 1px solid var(--line); flex: 1; align-content: start; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.plan-list .ico { width: 18px; height: 18px; margin-top: 1px; color: var(--g-600); stroke-width: 3; }
.plans-foot { position: relative; z-index: 2; max-width: 720px; margin: 32px auto 0; text-align: center; font-size: 14.5px; color: var(--ink-2); text-wrap: balance; }

/* ───────── FAQ ───────── */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: inset 0 0 0 2px var(--ink); }
.faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 20px 60px 20px 24px; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 26px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: 18px; }
.faq-a { padding: 0 24px 22px; color: var(--body); font-size: 15.5px; }
.faq-a a { color: var(--g-700); }

/* ───────── Closing CTA and footer ───────── */
.cta { padding: 170px 16px 110px; text-align: center; }
.cta-inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.cta-logo { width: 104px; margin: 0 auto 28px; }
.cta-logo img { width: 100%; height: auto; filter: drop-shadow(0 12px 18px rgba(17, 27, 33, .18)); }
.cta h2 { font-family: var(--fd); font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 800; line-height: 1.02; letter-spacing: -.05em; text-wrap: balance; }
.cta-inner > p:not(.hero-note) { margin-top: 18px; font-size: 1.12rem; color: var(--ink-2); text-wrap: pretty; }

.footer {
  position: relative; overflow: hidden;
  padding: 72px 16px 0; color: var(--line-2);
  background: linear-gradient(180deg, var(--ink), #0A1115);
}
.footer-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-mark-img { width: 50px; height: 48px; }
.footer-lockup { display: grid; gap: 2px; }
.footer-lockup .wordmark { font-size: 24px; line-height: 1; color: #fff; }
.footer-lockup .wordmark em { color: var(--g-300); }
.tagline { font-family: var(--fd); font-size: 9px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--line-2); }
.footer-brand p { margin: 16px 0 22px; max-width: 36ch; font-size: 15px; }
.footer-col h2 { margin-bottom: 14px; font-family: var(--fd); font-size: 14px; font-weight: 600; letter-spacing: .02em; color: #fff; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--line-2); text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--g-300); }
.footer-copy { max-width: var(--wrap); margin: 0 auto; padding: 24px 0 0; display: grid; gap: 6px; font-size: 13.5px; color: #8A919B; }
.made-by { display: flex; align-items: center; gap: 10px; }
.made-by img { width: 22px; height: auto; }
.footer-mark {
  margin: 24px 0 -0.22em; text-align: center; white-space: nowrap; user-select: none;
  font-family: var(--fd); font-size: clamp(40px, 13vw, 190px); font-weight: 800; line-height: 1; letter-spacing: -.06em;
  color: rgba(188, 242, 134, .07);
}

/* ───────── 404 and plain pages ───────── */
.hero-short { padding-bottom: 150px; }
.hero-short h1 { max-width: 20ch; font-size: clamp(2.4rem, 6vw, 4.4rem); }
.hero-404 { min-height: 78vh; padding-bottom: 120px; }
.page-body { max-width: 760px; margin: 0 auto; padding: 40px 16px 110px; color: var(--body); }
.page-body > * + * { margin-top: 1.1em; }
.page-body h2, .page-body h3 { color: var(--ink); font-family: var(--fd); letter-spacing: -.03em; line-height: 1.15; margin-top: 1.8em; }
.page-body h2 { font-size: 1.9rem; font-weight: 800; }
.page-body h3 { font-size: 1.3rem; font-weight: 700; }
.page-body a { color: var(--g-700); }
.page-body strong { color: var(--ink); }
.page-body ul { list-style: disc; padding-left: 1.3em; }
.page-body ol { list-style: decimal; padding-left: 1.3em; }
.page-body li + li { margin-top: .5em; }
.page-body li > ul { margin-top: .5em; }
.page-body code { font-size: .88em; padding: 1px 6px; border-radius: 5px; background: var(--bg-2); color: var(--ink-2); }

/* ───────── Docs ───────── */
.docs { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.docs-toc { position: sticky; top: 100px; padding: 48px 0 0; }
.docs-toc ol { display: grid; gap: 2px; counter-reset: toc; }
.docs-toc a { display: block; padding: 6px 10px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); text-decoration: none; }
.docs-toc a:hover { background: var(--g-100); color: var(--ink); }
.docs-body { max-width: 760px; margin: 0; padding-left: 0; padding-right: 0; }
.docs-body .lead { font-size: 1.12rem; color: var(--ink-2); }
.docs-body h2 { padding-top: .2em; }
.docs-body h2::after { content: ''; display: block; width: 40px; height: 4px; margin-top: 12px; border-radius: 999px; background: var(--g-500); }
.table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; }
.page-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.page-body th, .page-body td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.page-body thead th { border-top: 0; background: var(--bg-2); font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.page-body tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.docs-help { margin-top: 2.4em; padding: 18px 22px; border-radius: 16px; background: var(--g-50); box-shadow: inset 0 0 0 1px var(--g-200); color: var(--ink-2); }

/* ───────── Hero demo ───────── */
:root {
  --i-cal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16v15H4zM4 10h16M8 3v4M16 3v4'/%3E%3C/svg%3E");
  --i-hold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18zM10 9v6M14 9v6'/%3E%3C/svg%3E");
  --i-flow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7l1-8z'/%3E%3C/svg%3E");
}
.demo-card {
  border-radius: 24px; overflow: hidden; background: #fff; color: var(--ink); text-align: left;
  box-shadow: inset 0 0 0 3px var(--ink), 14px 14px 0 var(--ink);
}
.demo-card > * { position: relative; }
.demo-card .shot-bar { margin: 3px 3px 0; border-radius: 21px 21px 0 0; }
.demo-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 3px 3px; }
.demo-col { display: flex; flex-direction: column; gap: 14px; padding: 22px 24px 24px; min-width: 0; }
.demo-col + .demo-col { border-left: 2px solid var(--bg-2); }
.demo-why { background: var(--cream); border-radius: 0 0 21px 0; }
.demo-label { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }

.says { display: grid; gap: 10px; }
.says li {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line);
}
.say-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--g-50); color: var(--g-700); box-shadow: inset 0 0 0 1px var(--g-200); }
.say-ico::before { content: ''; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--i-cal) center / contain no-repeat; mask: var(--i-cal) center / contain no-repeat; }
.says .is-order .say-ico { background: var(--sun-50); color: #9A5B06; box-shadow: inset 0 0 0 1px var(--sun-200); }
.says .is-order .say-ico::before { -webkit-mask-image: var(--i-hold); mask-image: var(--i-hold); }
.says .is-flow .say-ico { background: var(--ink); color: var(--g-300); box-shadow: none; }
.says .is-flow .say-ico::before { -webkit-mask-image: var(--i-flow); mask-image: var(--i-flow); }
.say-body { display: grid; gap: 2px; min-width: 0; }
.say-where { font-family: var(--fd); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.say-text { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.say-text strong { color: var(--g-800); }
.says li.on { background: var(--g-50); box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--ink); }

.why-steps { display: grid; gap: 10px; counter-reset: why; font-size: 14.5px; color: var(--ink-2); }
.why-steps li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; counter-increment: why; }
.why-steps li > span { padding-top: 1px; }
.why-steps strong { color: var(--ink); }
.why-steps li::before {
  content: counter(why); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--fd); font-size: 12px; font-weight: 700; color: var(--ink); background: var(--g-300); box-shadow: inset 0 0 0 1.5px var(--ink);
}

.js .demo { animation: demo-rise .72s cubic-bezier(.2, .7, .2, 1) .08s both; }
@keyframes demo-rise { from { opacity: 0; transform: translateY(40px) scale(.97); } }

.demo .shot-bar { flex-wrap: wrap; row-gap: 8px; }
.demo-title { min-width: 0; flex: 1 1 260px; transition: opacity .2s ease; }
.demo-title b { font-weight: 600; color: var(--ink-2); }
.demo.leaving .demo-title { opacity: 0; }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-tabs[hidden] { display: none; }
.demo-tab {
  position: relative; overflow: hidden; padding: 7px 12px; border-radius: 999px; border: 0;
  background: #fff; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2);
  font: 600 12px/1 var(--f); cursor: pointer; transition: color .16s, box-shadow .16s, background-color .16s;
}
.demo-tab:hover { color: var(--ink); }
.demo-tab[aria-pressed="true"] { color: var(--ink); background: var(--g-100); box-shadow: inset 0 0 0 1.5px var(--ink); }
.demo-tab i { position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--g-600); transform: scaleX(0); transform-origin: left; }
.demo-tab:not([aria-pressed="true"]) i { transform: scaleX(0) !important; }
.demo-paused {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 6px 10px; border-radius: 999px;
  background: var(--sun-100); color: var(--sun-ink); font-size: 12px; font-weight: 600; line-height: 1;
  opacity: 0; transform: scale(.9); transition: opacity .16s ease, transform .16s ease; pointer-events: none;
}
.demo-paused::before { content: ''; width: 7px; height: 9px; border-left: 2.5px solid currentColor; border-right: 2.5px solid currentColor; box-sizing: border-box; }
.demo.held .demo-paused { opacity: 1; transform: none; }
html:not(.js) .demo-paused { display: none; }

.pill.live { gap: 7px; }
.pill.live::before { animation: live-dot 1.6s ease-out infinite; }
@keyframes live-dot { from { box-shadow: 0 0 0 0 rgba(47, 168, 74, .45); } to { box-shadow: 0 0 0 7px rgba(47, 168, 74, 0); } }

.js .demo .says li > * { transition: opacity .28s ease; }
.js .demo .says li:not(.ready) {
  background: linear-gradient(90deg, #fff 0%, var(--g-50) 40%, #fff 80%) 0 0 / 200% 100%;
  animation: shimmer .88s linear infinite;
}
.js .demo .says li:not(.ready) > * { opacity: 0; }
.js .demo .says li.ready { animation: row-in .36s cubic-bezier(.2, .7, .2, 1) both; }
.js .demo .says li.ready.on { animation: picked .88s ease-out both; }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes row-in { from { transform: translateY(8px); } }
@keyframes picked {
  0% { transform: translate(0, 0); box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 var(--ink); }
  100% { transform: translate(0, 0); box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--ink); }
}
.js .demo .says li.ready .say-text strong {
  background: linear-gradient(var(--g-200), var(--g-200)) no-repeat 0 88% / 0 45%;
  animation: mark-in .48s ease .2s forwards;
}
@keyframes mark-in { to { background-size: 100% 45%; } }

.js .demo .why-steps li {
  margin: -5px -8px; padding: 5px 8px; border-radius: 10px;
  transition: opacity .32s ease, transform .36s cubic-bezier(.2, .7, .2, 1), background-color .28s ease;
}
.js .demo .why-steps li.now { background: rgba(188, 242, 134, .45); }

.demo-done {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
  font-size: 12.5px; font-weight: 700; color: var(--g-700);
  opacity: 0; transform: translateY(4px) scale(.9); transition: opacity .24s ease, transform .32s cubic-bezier(.3, 1.6, .5, 1);
}
.demo-done::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--g-600) no-repeat center / 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}
.demo.done .demo-done, html:not(.js) .demo-done { opacity: 1; transform: none; }
.js .demo .why-steps li:not(.in) { opacity: 0; transform: translateX(-12px); }
.js .demo .why-steps li.in::before { animation: badge-pop .44s cubic-bezier(.3, 1.6, .5, 1) both; }
.js .demo .why-steps strong {
  background: linear-gradient(var(--g-200), var(--g-200)) no-repeat 0 88% / 0 45%;
  transition: background-size .48s ease .2s;
}
.js .demo .why-steps li.in strong { background-size: 100% 45%; }
@keyframes badge-pop {
  0% { transform: scale(.4); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 0 rgba(47, 168, 74, .5); }
  60% { transform: scale(1.12); }
  100% { transform: none; box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 9px rgba(47, 168, 74, 0); }
}
.js .demo.leaving .why-steps li,
.js .demo.leaving .says li > * { opacity: 0; transition-duration: .16s; }

.demo .demo-why { position: relative; overflow: hidden; }
.demo .demo-why::after {
  content: ''; position: absolute; left: 0; top: -100px; width: 3px; height: 100px; opacity: 0; pointer-events: none;
  background: linear-gradient(transparent, var(--g-500), transparent);
}
.demo.play .demo-why::after { animation: beam 1.84s ease-in-out; }
@keyframes beam {
  0% { top: -100px; opacity: 0; }
  15%, 80% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ───────── Reveal ───────── */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.visible { opacity: 1; transform: none; }
.js .ctl.reveal.visible:hover { transform: translate(-2px, -2px); }

/* ───────── Responsive ───────── */
@media (max-width: 1060px) {
  .nav { width: min(100%, 560px); justify-content: space-between; }
  .nav-toggle { display: block; }
  .nav-cta { margin-left: auto; }
  .nav-links {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 8px;
    border-radius: 22px; background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--ink), 0 16px 40px rgba(17, 27, 33, .18);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 16px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}

@media (max-width: 980px) {
  .ctl-grid { grid-template-columns: repeat(2, 1fr); }
  .safe { grid-template-columns: minmax(0, 1fr); }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .trio .tile { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .docs { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .docs-toc { position: static; padding: 32px 0 0; }
  .docs-toc ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .docs-toc a { padding: 6px 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; font-size: 13.5px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding-top: 120px; }
  .hero-shot { margin-top: 40px; }
  .demo-card { border-radius: 18px; box-shadow: inset 0 0 0 3px var(--ink), 8px 8px 0 var(--ink); }
  .demo-card .shot-bar { border-radius: 15px 15px 0 0; }
  .demo-cols { grid-template-columns: minmax(0, 1fr); }
  .demo-col + .demo-col { border-left: 0; border-top: 2px solid var(--bg-2); }
  .demo-why { border-radius: 0 0 15px 15px; }
  .demo-col { padding: 18px; }
  .demo .demo-why::after { display: none; }

  .section { padding: 88px 16px; }
  .section.field { padding: 120px 16px; }
  .section-after-hero { padding-top: calc(var(--overlap) + 80px); }
  .section-flush { padding-left: 0; padding-right: 0; }
  #orders, #customers, #no-drama, #rates, #setup { padding-top: 40px; }
  .sec-head { margin-bottom: 40px; }

  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-wide { grid-template-columns: minmax(0, 1fr); }
  .tile { padding: 22px; min-height: 0; }
  .ctl-grid, .tracks { grid-template-columns: minmax(0, 1fr); }
  .slide-copy { padding: 24px 22px 20px; }
  .slide-art { min-height: 220px; padding: 22px 22px 0; }
  .track { padding: 22px; }
  .cta { padding: 140px 16px 90px; }
}

@media (max-width: 620px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan-for { min-height: 0; }
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .hero-chip { font-size: 13px; }
  .chip-sep, .chip-extra { display: none; }
  .nav-logo { font-size: 17px; }
  .nav-logo .brand-by { display: none; }
  .footer-grid { gap: 32px 20px; }
  .rail-foot { flex-direction: column-reverse; align-items: flex-start; }
  .says li { grid-template-columns: 30px minmax(0, 1fr); padding: 10px 12px; gap: 10px; }
  .say-ico { width: 30px; height: 30px; }
  .mini-row { flex-wrap: wrap; }
}

@media (max-width: 380px) {
  .nav-logo .wordmark { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .demo, .demo *, .demo *::before, .demo *::after, .pill.live::before { animation: none !important; }
}

/* Editorial section: the same cream, lime and outlined cards as the app. */
.blog-intro { padding-top: 164px; padding-bottom: 60px; }
.blog-intro h1 { font: 650 clamp(44px, 6vw, 76px)/1.06 var(--fd); letter-spacing: -.045em; margin: 18px 0 24px; }
.blog-lead { max-width: 760px; font-size: clamp(18px, 2vw, 22px); line-height: 1.6; color: var(--body); margin-bottom: 24px; }
.blog-intro > a, .blog-read, .blog-section-head > a { color: var(--g-800); font-weight: 600; text-underline-offset: 4px; }
.blog-section { padding-bottom: 88px; }
.blog-section-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: end; justify-content: space-between; margin-bottom: 30px; }
.blog-section-head h2 { font: 600 clamp(28px, 4vw, 40px)/1.15 var(--fd); letter-spacing: -.025em; }
.blog-section-head p { color: var(--body); font-size: 15px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.blog-card { border: 1.5px solid var(--ink); border-radius: 20px; overflow: hidden; background: white; box-shadow: 4px 4px 0 var(--line-2); }
.blog-card-image { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--field); border-bottom: 1.5px solid var(--ink); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-copy { padding: 24px; }
.blog-card .eyebrow { font-size: 11px; letter-spacing: .08em; }
.blog-card h3 { font: 600 25px/1.2 var(--fd); letter-spacing: -.025em; margin: 12px 0; }
.blog-card h3 a { text-decoration: none; color: inherit; }
.blog-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.blog-card-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.7; color: var(--body); margin-bottom: 20px; }
.blog-read { font-size: 14px; }
.blog-pagination { margin-top: 36px; display: flex; gap: 16px; }
.blog-pagination a, .blog-pagination span { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 8px; }
.article-head { padding-top: 140px; padding-bottom: 32px; max-width: 960px; }
.blog-crumbs { display: flex; gap: 12px; margin-bottom: 28px; font-size: 14px; color: var(--body); }
.article-head h1 { font: 600 clamp(36px, 5vw, 62px)/1.08 var(--fd); letter-spacing: -.04em; margin: 16px 0 22px; text-wrap: balance; }
.article-byline { font-size: 13px; line-height: 1.8; color: var(--body); }
.article-byline span { margin: 0 6px; }
.article-cover { max-width: 960px; margin-bottom: 48px; }
.article-cover img { width: 100%; border: 1.5px solid var(--ink); border-radius: 22px; }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 740px); justify-content: space-between; gap: 50px; padding-bottom: 72px; }
.article-layout:not(:has(.article-toc)) { display: block; max-width: 790px; }
.article-toc { position: sticky; top: 110px; align-self: start; font-size: 14px; }
.article-toc ol { display: grid; gap: 12px; margin-top: 16px; }
.article-toc a { color: var(--body); text-decoration: none; }
.article-toc a:hover { color: var(--g-800); text-decoration: underline; }
.article-copy { min-width: 0; }
.article-answer { background: var(--g-50); border: 1px solid var(--g-200); border-left: 4px solid var(--g-700); padding: 26px; border-radius: 0 16px 16px 0; margin-bottom: 40px; }
.article-answer h2 { font: 600 20px var(--fd); margin-bottom: 12px; }
.article-answer p { font-size: 18px; line-height: 1.7; }
.article-prose { font-size: 18px; line-height: 1.85; color: var(--ink-2); }
.article-prose h2 { font: 600 32px/1.2 var(--fd); letter-spacing: -.025em; margin: 48px 0 20px; color: var(--ink); }
.article-prose h3 { font: 600 24px/1.3 var(--fd); margin: 30px 0 16px; }
.article-prose p, .article-prose ul, .article-prose ol { margin: 0 0 24px; }
.article-prose ul, .article-prose ol { padding-left: 24px; list-style: disc; }
.article-prose ol { list-style: decimal; }
.article-prose li { padding-left: 5px; margin: 10px 0; }
.article-prose a, .article-sources a { color: var(--g-800); text-underline-offset: 4px; }
.article-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.article-prose td, .article-prose th { padding: 12px; border: 1px solid var(--line-2); text-align: left; }
.article-prose img { height: auto; max-width: 100%; border-radius: 12px; }
.article-sources { border-top: 1px solid var(--line-2); padding-top: 28px; margin-top: 40px; font-size: 14px; }
.article-sources h2 { font: 600 22px var(--fd); margin-bottom: 16px; }
.article-sources li { margin: 10px 0; }
.article-cta { background: var(--field); padding: 32px; border: 1.5px solid var(--ink); border-radius: 20px; margin-top: 44px; }
.article-cta h2 { font: 600 32px/1.15 var(--fd); margin: 12px 0; }
.article-cta .hero-actions { justify-content: flex-start; margin-top: 22px; }
@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .article-layout { gap: 30px; grid-template-columns: 180px minmax(0, 1fr); } }
@media (max-width: 720px) { .blog-grid { grid-template-columns: 1fr; } .blog-intro { padding-top: 120px; } .article-head { padding-top: 110px; } .article-layout { display: block; } .article-toc { position: static; padding: 22px; border: 1px solid var(--line-2); border-radius: 16px; margin-bottom: 30px; } .article-cover { margin-bottom: 28px; } .article-prose { font-size: 17px; } .article-prose h2 { font-size: 28px; } .article-answer { padding: 20px; } }
.blog-intro, .blog-section, .article-head, .article-cover, .article-layout, .blog-home { width: calc(100% - 48px); }
.blog-home { padding-left: 0; padding-right: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ───────── Cookie choice (inc/consent.php) ───────── */
/* Small and neutral on purpose: no brand outline or offset shadow, and both choices look the same. */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 100; width: min(540px, calc(100vw - 32px)); padding: 12px 12px 12px 18px; display: flex; align-items: center; gap: 16px; background: #fff; color: var(--ink-2); border-radius: 14px; box-shadow: 0 0 0 1px rgba(17, 27, 33, .08), 0 10px 30px rgba(17, 27, 33, .14); font-size: 13.5px; line-height: 1.45; animation: consent-in .3s ease both; }
.consent[hidden] { display: none; }
.consent p { flex: 1; margin: 0; }
.consent a { color: var(--ink); text-underline-offset: 2px; }
.consent-actions { display: flex; flex: none; gap: 8px; }
.consent-btn { min-height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--bg-2); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; transition: background-color .2s; }
.consent-btn:hover { background: var(--line); }
.consent-btn:focus-visible { outline: 2px solid var(--g-600); outline-offset: 2px; }
@keyframes consent-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 560px) {
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; flex-wrap: wrap; gap: 10px; padding: 14px; }
  .consent-actions { width: 100%; }
  .consent-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }
.footer-btn { padding: 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--line-2); cursor: pointer; }
.footer-btn:hover { color: var(--g-300); }
