/* =====================================================================
   SX Connect — public marketing site
   Brand: ink #14181f · paper #f6f7f4 · emerald #0f7a5a · gold #e7b53c
   Fonts: Bricolage Grotesque (display) · DM Sans (body) · DM Mono
   ===================================================================== */

:root {
  --ink: #14181f;
  --ink-2: #2a3038;
  --paper: #f6f7f4;
  --surface: #ffffff;
  --line: #e2e5df;
  --line-2: #d3d8d1;
  --muted: #5f6862;
  --brand: #0f7a5a;
  --brand-dark: #0b5a43;
  --brand-soft: #e3f2ec;
  --gold: #e7b53c;
  --gold-soft: #fbf1d8;
  --danger: #c2412d;
  --warning: #b7791f;
  --success: #0f7a5a;

  --f-display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(20, 24, 31, .04), 0 8px 24px -12px rgba(20, 24, 31, .18);
  --shadow-lg: 0 30px 60px -30px rgba(20, 24, 31, .35);
  --gutter: 16px;
  --wrap: 1180px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
code { font-family: var(--f-mono); font-size: .9em; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.i { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)); }
.wrap-read { max-width: calc(68ch + 2 * var(--gutter)); }
.wrap-mid { max-width: 920px; }
.wrap-wide { max-width: 1080px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border-radius: var(--r-sm); border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 13px 22px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #f0c45a; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--surface); }
.btn-onbrand-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-onbrand-ghost:hover { border-color: #fff; color: #fff; }

.chip {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 99px;
  background: var(--brand-soft); color: var(--brand-dark);
  font-size: 12.5px; font-weight: 700; text-decoration: none; letter-spacing: .01em;
}
a.chip:hover { background: #d2eadf; color: var(--brand-dark); }
.chip-gold { background: var(--gold-soft); color: #7a5a10; }
.tag { display: inline-flex; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); text-decoration: none; background: var(--surface); }
a.tag:hover { border-color: var(--brand); color: var(--brand-dark); }
.tag-gold { border-color: transparent; background: var(--gold-soft); color: #7a5a10; font-weight: 700; }
.eyebrow { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.flash { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--r-sm); background: var(--brand-soft); color: var(--brand-dark); font-weight: 500; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo-mark { width: 32px; height: 32px; flex: none; }
.logo-word { font-family: var(--f-display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo-invert { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.header-logo { text-decoration: none; display: inline-flex; }
.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); cursor: pointer; }
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: inline; }
.site-nav {
  position: fixed; inset: 68px 0 auto 0;
  max-height: calc(100vh - 68px); overflow: auto;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 20px;
  display: none;
  box-shadow: 0 20px 30px -20px rgba(20, 24, 31, .25);
}
.nav-open .site-nav { display: block; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 17px; }
.nav-list a.is-active { color: var(--brand); }
.nav-actions { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex !important; align-items: center; gap: 28px; padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible; }
  .nav-list { display: flex; gap: 4px; }
  .nav-list a { border: 0; padding: 8px 12px; font-size: 15px; border-radius: 8px; }
  .nav-list a:hover { background: rgba(20, 24, 31, .05); color: var(--ink); }
  .nav-list a.is-active { color: var(--brand-dark); background: var(--brand-soft); }
  .nav-actions { display: flex; margin: 0; gap: 8px; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 32px 0 56px; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }
.section-head-row > div { max-width: 680px; }
.section-title { font-size: clamp(28px, 4.2vw, 42px); font-weight: 800; }
.section-title-sm { font-size: clamp(22px, 3vw, 28px); margin-bottom: 20px; }
.section-lede { margin-top: 14px; font-size: 17.5px; color: var(--muted); max-width: 62ch; }
.section-cta { padding-block: 0 72px; }
@media (min-width: 900px) { .section { padding: 96px 0; } }

/* ---------- Hero ---------- */
.hero { padding: 36px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-title { font-size: clamp(38px, 7.4vw, 70px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .32em; background: var(--gold); border-radius: 3px; z-index: -1; transform: skewX(-8deg); }
.hero-lede { margin-top: 22px; font-size: clamp(17px, 2vw, 19px); color: var(--ink-2); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-size: 15px; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .i { color: var(--brand); width: 18px; height: 18px; }
.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 380px; padding: 24px 0 40px; }
.hero-visual::before {
  content: ""; position: absolute; inset: 0 -30% 10% -30%; z-index: -1;
  background:
    radial-gradient(closest-side, rgba(15, 122, 90, .22), transparent 70%) 30% 30% / 70% 70% no-repeat,
    radial-gradient(closest-side, rgba(231, 181, 60, .3), transparent 70%) 80% 80% / 60% 60% no-repeat;
}
.hero-card {
  height: 600px; overflow: hidden; border-radius: 30px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(20, 24, 31, .06);
  transform: rotate(-1.5deg);
  background: var(--surface);
  -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent);
          mask-image: linear-gradient(180deg, #000 85%, transparent);
}
.hero-card .sx-card { max-width: none; pointer-events: none; }
.hero-float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px;
  background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line);
  font-size: 13px; line-height: 1.3;
}
.hero-float b { display: block; }
.hero-float small { color: var(--muted); }
.hero-float .i { width: 32px; height: 32px; padding: 7px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-dark); }
.hero-float-1 { left: -14px; top: 120px; }
.hero-float-2 { right: -14px; top: 330px; }
.hero-float-2 .i { background: var(--gold-soft); color: #7a5a10; }
.hero-url {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  padding: 8px 14px; border-radius: 99px; background: var(--ink); color: #fff;
  font-family: var(--f-mono); font-size: 13px; white-space: nowrap;
}
.hero-url span { color: rgba(255, 255, 255, .6); }
@media (max-width: 480px) { .hero-float { display: none; } }
@media (min-width: 960px) {
  .hero { padding: 56px 0 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; }
  .hero-float-1 { left: -64px; }
  .hero-float-2 { right: -48px; }
}

/* ---------- Strip ---------- */
.strip { background: var(--ink); color: #fff; }
.strip-inner { display: flex; gap: 10px 28px; flex-wrap: wrap; justify-content: center; padding-block: 18px; font-size: 14.5px; font-weight: 500; }
.strip-inner span { display: inline-flex; align-items: center; gap: 8px; }
.strip-inner .i { color: var(--gold); width: 18px; height: 18px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.step { position: relative; padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.step h3 { font-size: 21px; margin: 18px 0 8px; }
.step p { color: var(--muted); }
.step code { background: var(--paper); padding: 1px 6px; border-radius: 5px; color: var(--ink); font-size: 13px; white-space: nowrap; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--gold); font-family: var(--f-display); font-weight: 800; font-size: 19px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- Features ---------- */
.features { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feature { background: var(--surface); padding: 24px 22px; }
.feature h3 { font-size: 18px; margin: 14px 0 6px; }
.feature p { color: var(--muted); font-size: 15px; }
.feature-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); }
.feature:nth-child(4n+2) .feature-icon { background: var(--gold-soft); color: #7a5a10; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Template rail / gallery ---------- */
.tpl-rail {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 24px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scrollbar-width: thin;
}
.tpl-item { margin: 0; flex: 0 0 290px; scroll-snap-align: start; }
.tpl-frame {
  position: relative; height: 560px; overflow: hidden;
  border-radius: 26px; background: var(--surface);
  box-shadow: var(--shadow), 0 0 0 1px rgba(20, 24, 31, .06);
}
.tpl-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, rgba(246, 247, 244, .95)); pointer-events: none; }
.tpl-frame .sx-card { max-width: none; font-size: 13.5px; }
.tpl-item figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 4px 0; }
.tpl-name { font-family: var(--f-display); font-weight: 700; font-size: 17px; }
.tpl-use { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; text-decoration: none; }
.tpl-use .i { width: 16px; height: 16px; }

.tpl-filter { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-filter a { display: inline-block; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 14px; text-decoration: none; }
.tpl-filter a:hover { border-color: var(--brand); color: var(--brand-dark); }
.tpl-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.tpl-card { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 90px; }
.tpl-frame-tall { height: 640px; }
.tpl-frame-tall:hover { overflow-y: auto; }
.tpl-frame-tall:hover::after { opacity: 0; }
.tpl-info { display: flex; flex-direction: column; gap: 8px; }
.tpl-info-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tpl-title { font-size: 21px; display: flex; align-items: baseline; gap: 10px; }
.tpl-num { font-family: var(--f-mono); font-size: 13px; color: var(--brand); font-weight: 500; letter-spacing: 0; }
.tpl-desc { color: var(--muted); font-size: 15px; }
.tpl-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.tpl-meta code { color: var(--brand-dark); font-size: 12.5px; }

/* ---------- Individual vs company ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.split-card { display: flex; flex-direction: column; gap: 14px; padding: 30px 26px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.split-card h3 { font-size: 28px; }
.split-card > p { color: var(--muted); }
.split-card .btn { align-self: flex-start; margin-top: auto; }
.split-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-dark); }
.split-card-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.split-card-dark > p { color: rgba(255, 255, 255, .72); }
.split-card-dark .split-icon { background: rgba(231, 181, 60, .16); color: var(--gold); }
.split-card-dark .ticks .i { color: var(--gold); }
.url-demo { font-family: var(--f-mono); font-size: clamp(14px, 3.6vw, 17px); padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px dashed var(--line-2); word-break: break-all; }
.split-card-dark .url-demo { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); }
.url-host { color: var(--muted); }
.split-card-dark .url-host { color: rgba(255, 255, 255, .55); }
.url-slug { color: var(--brand); font-weight: 500; }
.split-card-dark .url-slug { color: #6fd4ae; }
.url-co { color: var(--gold); font-weight: 500; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 24px; } .split-card { padding: 40px 36px; } }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { color: var(--brand); width: 20px; height: 20px; margin-top: 2px; }
.ticks-neutral .i { color: var(--gold); }

/* ---------- Pricing ---------- */
.pricing-teaser { display: grid; gap: 32px; align-items: center; padding: 32px 24px; border-radius: var(--r-lg); background: var(--brand-soft); border: 1px solid #cfe6db; }
.pricing-teaser .btn { margin-top: 22px; }
.pricing-teaser-plans { display: grid; gap: 12px; }
.mini-plan { display: grid; gap: 2px; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.mini-plan:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-2px); }
.mini-plan-aud { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
.mini-plan-name { font-weight: 700; }
.mini-plan-price { font-family: var(--f-display); font-weight: 800; font-size: 30px; letter-spacing: -.02em; }
.mini-plan-price small { font-family: var(--f-body); font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
@media (min-width: 900px) { .pricing-teaser { grid-template-columns: 1.2fr 1fr; padding: 48px; gap: 48px; } .pricing-teaser-plans { grid-template-columns: 1fr 1fr; } }

.page-hero { padding: 28px 0 40px; }
.page-hero-center { text-align: left; }
.page-title { font-size: clamp(32px, 5.6vw, 54px); font-weight: 800; letter-spacing: -.03em; }
.page-lede { margin-top: 16px; font-size: clamp(17px, 2vw, 19px); color: var(--ink-2); max-width: 62ch; }

.cycle-toggle { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 28px; padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.cycle-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 700; font-size: 14.5px; cursor: pointer; }
.cycle-btn[aria-checked="true"] { background: var(--ink); color: #fff; }
.cycle-save { padding: 1px 6px; border-radius: 6px; background: var(--gold); color: var(--ink); font-size: 12px; }

.plan-group + .plan-group { margin-top: 56px; }
.plan-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.plan-group-head h2 { font-size: 26px; }
.plan-group-head p { color: var(--muted); }
.plans { display: grid; gap: 20px; }
@media (min-width: 720px) { .plans-2, .plans-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .plans-3 { grid-template-columns: repeat(3, 1fr); } .plans-1 { max-width: 520px; } }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 28px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.plan-featured { border: 2px solid var(--brand); box-shadow: 0 20px 40px -24px rgba(15, 122, 90, .45); }
.plan-titles { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-name { font-size: 22px; }
.plan-badge { padding: 3px 10px; border-radius: 99px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700; }
.plan-desc { margin-top: 6px; color: var(--muted); font-size: 15px; }
.plan-amount { display: flex; align-items: baseline; gap: 6px; }
.plan-amount-num { font-family: var(--f-display); font-weight: 800; font-size: 48px; letter-spacing: -.03em; line-height: 1; }
.plan-amount-unit { color: var(--muted); font-weight: 500; }
.plan-billed { margin-top: 8px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.plan-save { padding: 2px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; font-size: 12.5px; }
.plan-trial { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--gold-soft); color: #6b4f0e; font-size: 14px; font-weight: 600; }
.plan-trial .i { width: 18px; height: 18px; }
.plan-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; }
.plan-features li > span { display: flex; flex-direction: column; }
.plan-features small { color: var(--muted); font-size: 13px; }
.plan-features .is-in .i { color: var(--brand); margin-top: 2px; }
.plan-features .is-out { color: var(--muted); }
.plan-features .is-out .i { color: #a8b0aa; margin-top: 2px; }
.plan-seats { font-size: 14px; color: var(--muted); }
.plan .btn { margin-top: auto; }
.pricing-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 28px; font-size: 14.5px; color: var(--muted); }
.included-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.included-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: var(--paper); }
.included-list li > .i { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-dark); }
.included-list b { display: block; }
.included-list span { color: var(--muted); font-size: 15px; }
.included-list b { color: var(--ink); }
@media (min-width: 720px) { .included-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .included-list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 2px; cursor: pointer; list-style: none; font-family: var(--f-display); font-weight: 700; font-size: 18.5px; letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .2s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--ink); border-color: var(--ink); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer { padding: 0 2px 22px; color: var(--ink-2); max-width: 70ch; }
.faq-answer p + p { margin-top: 10px; }

/* ---------- CTA ---------- */
.cta { display: grid; gap: 22px; padding: 32px 26px; border-radius: var(--r-lg); background: var(--brand-dark); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(231, 181, 60, .16); }
.cta-copy, .cta-actions { position: relative; }
.cta-title { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; color: #fff; }
.cta p { margin-top: 10px; color: rgba(255, 255, 255, .78); max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-box { margin-top: 48px; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 44px 48px; } }

/* ---------- Alternatives ---------- */
.alt-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .alt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .alt-grid { grid-template-columns: repeat(3, 1fr); } }
.alt-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.section-alt .alt-card { background: var(--paper); }
.alt-card:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.alt-vs { font-family: var(--f-display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.alt-vs b { color: var(--brand-dark); }
.alt-sub { color: var(--muted); font-size: 15px; }
.alt-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; }
.alt-date { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.alt-more { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-dark); font-weight: 700; font-size: 14px; margin-top: auto; }
.alt-more .i { width: 16px; height: 16px; }
.alt-logos, .cmp-logos { display: flex; align-items: center; gap: 10px; }
.alt-logo { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.alt-logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.alt-logo-sx { border: 0; background: none; }
.alt-logo-sx .logo-mark { width: 44px; height: 44px; }
.alt-logo-ph { font-family: var(--f-display); font-weight: 800; color: var(--muted); }
.alt-vs-sep { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.method { max-width: 780px; }

/* Comparison page */
.cmp-hero .wrap { max-width: 920px; }
.cmp-hero .cmp-logos { margin-bottom: 18px; }
.cmp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.cmp-meta .i { color: var(--brand); width: 18px; height: 18px; }
.cmp-meta > span:first-of-type { margin-left: -8px; }
.cmp-body { max-width: 920px; padding-bottom: 80px; }
.cmp-section { margin-top: 56px; }
.cmp-h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; margin-bottom: 20px; }
.cmp-h3 { font-size: 21px; margin-bottom: 16px; }
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); font-size: 15.5px; }
.callout-info { background: var(--gold-soft); border: 1px solid #f1dca5; color: #5c430b; }
.callout .i { margin-top: 2px; }
.verdict { margin-top: 24px; padding: 24px 24px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--brand); }
.verdict-title { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; font-weight: 500; }
.cmp-intro { margin-top: 32px; }
.price-vs { display: grid; gap: 12px; }
@media (min-width: 640px) { .price-vs { grid-template-columns: 1fr 1fr; } }
.price-col { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.price-col-sx { border: 2px solid var(--brand); }
.price-brand { font-weight: 700; }
.price-label { font-size: 14px; color: var(--muted); }
.price-value { font-family: var(--f-display); font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.price-note { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.table-scroll { position: relative; overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.cmp-table th, .cmp-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp-table thead th { position: sticky; top: 0; background: var(--paper); font-size: 13px; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 500; }
.cmp-table thead .col-sx { color: var(--brand-dark); }
.cmp-table tbody th { font-weight: 600; width: 34%; }
.cmp-table tbody tr:last-child > * { border-bottom: 0; }
.cmp-table td.col-sx { background: rgba(227, 242, 236, .35); }
.cmp-table td.is-win { background: var(--brand-soft); }
.mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; }
.mark .i { width: 16px; height: 16px; }
.mark-yes { background: var(--brand); color: #fff; }
.mark-no { background: #f1e3df; color: var(--danger); }
.win-tag { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 6px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; vertical-align: middle; }
.table-legend { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.table-legend .win-tag { margin: 0 4px 0 0; }
.pros { display: grid; gap: 16px; }
@media (min-width: 760px) { .pros { grid-template-columns: 1fr 1fr; } }
.pros-col { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.pros-col-sx { background: var(--brand-soft); border-color: #cfe6db; }
.switch-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.switch-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.switch-steps .step-num { flex: none; width: 34px; height: 34px; font-size: 16px; border-radius: 10px; }
.switch-steps p { padding-top: 4px; }
.sources ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; font-size: 15px; }
.sources a { word-break: break-word; }
.sources-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* ---------- Blog archive ---------- */
.blog-hero { padding: 28px 0 8px; }
.blog-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: end; }
@media (min-width: 900px) { .blog-hero-grid { grid-template-columns: minmax(0, 1fr) 380px; } }
.blog-title { font-size: clamp(34px, 6vw, 60px); font-weight: 800; letter-spacing: -.035em; }
.blog-title-page { font-size: .45em; color: var(--muted); font-weight: 600; letter-spacing: -.01em; margin-left: 6px; }
.blog-lede { margin-top: 14px; max-width: 58ch; font-size: 18px; color: var(--ink-2); }
.blog-search { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); }
.blog-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.blog-search .i { color: var(--muted); }
.blog-search input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; padding: 8px 0; color: var(--ink); }
.cat-bar { display: flex; gap: 8px; margin-top: 28px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.cat-bar::-webkit-scrollbar { display: none; }
.cat-pill { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); font-weight: 500; font-size: 14.5px; text-decoration: none; }
.cat-pill span { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.cat-pill:hover { border-color: var(--ink); color: var(--ink); }
.cat-pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-pill.is-active span { color: rgba(255, 255, 255, .6); }
.blog-list { padding-top: 24px; }
.blog-list-title { font-size: 22px; margin: 48px 0 20px; }
.post-feature { display: grid; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.post-feature-media { display: block; aspect-ratio: 16 / 9; background: var(--brand-soft); overflow: hidden; }
.post-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-feature:hover .post-feature-media img { transform: scale(1.02); }
.post-feature-body { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 28px; }
.post-feature-title { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -.03em; }
.post-feature-title a, .post-card-title a { color: var(--ink); text-decoration: none; }
.post-feature-title a:hover, .post-card-title a:hover { color: var(--brand-dark); }
.post-feature-excerpt { color: var(--ink-2); font-size: 17px; }
@media (min-width: 900px) {
  .post-feature { grid-template-columns: 1.25fr 1fr; }
  .post-feature-media { aspect-ratio: auto; min-height: 380px; }
  .post-feature-body { padding: 40px; justify-content: center; }
}
.post-grid { display: grid; gap: 28px 24px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; gap: 14px; }
.post-card-media { display: block; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--brand-soft); border: 1px solid var(--line); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-media img { transform: scale(1.03); }
.post-card-ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--brand-soft), var(--gold-soft)); }
.post-card-ph span { font-family: var(--f-display); font-weight: 800; font-size: 64px; color: rgba(15, 122, 90, .35); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13.5px; color: var(--muted); }
.post-card-title { font-size: 21px; font-weight: 700; letter-spacing: -.015em; line-height: 1.22; }
.post-card-excerpt { color: var(--muted); font-size: 15.5px; }
.post-card-sm .post-card-title { font-size: 18px; }
.empty { padding: 48px 24px; text-align: center; border-radius: var(--r-lg); background: var(--surface); border: 1px dashed var(--line-2); }
.empty h2 { font-size: 24px; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 18px; }
.empty-inline { padding: 24px 0; color: var(--muted); }
.term-desc { margin-top: 32px; color: var(--muted); max-width: 70ch; }

.byline { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.byline > span { display: flex; flex-direction: column; line-height: 1.35; }
.byline-sub { color: var(--muted); font-size: 13.5px; }
.byline-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.byline-lg .byline-av { width: 44px; height: 44px; }
.byline-av-ph { display: inline-grid; place-items: center; background: var(--ink); color: var(--gold); font-family: var(--f-display); font-weight: 800; }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager-nums { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; order: 0; }
.pager-num, .pager-gap { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; color: var(--ink); }
.pager-num { border: 1px solid var(--line-2); background: var(--surface); }
.pager-num:hover { border-color: var(--ink); color: var(--ink); }
.pager-num.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager-gap { color: var(--muted); }
.pager-step { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--ink); padding: 8px 4px; }
.pager-step.is-disabled { color: #b5bcb6; }
.pager-step .i { width: 18px; height: 18px; }
@media (max-width: 560px) { .pager-step span { display: none; } }

/* ---------- Single post (editorial) ---------- */
.post-header { padding: 28px 0 32px; }
.post-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.post-title { font-size: clamp(34px, 6vw, 56px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.post-dek { margin-top: 18px; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; color: var(--ink-2); }
.post-header .byline { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.post-figure { margin: 0 auto 8px; }
.post-figure img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 16 / 9; object-fit: cover; background: var(--brand-soft); }
.post-figure figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }
.post-layout { display: grid; gap: 32px; padding-top: 32px; padding-bottom: 72px; }
.post-main { min-width: 0; width: 100%; max-width: 68ch; margin-inline: auto; }
@media (min-width: 1100px) {
  .post-layout.has-toc { grid-template-columns: 240px minmax(0, 68ch); justify-content: center; gap: 64px; }
  .post-layout.has-toc .post-main { margin: 0; }
  .post-aside { position: relative; }
  .post-aside .toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; }
  /* Align the header's left edge with the article column when the TOC sits beside it. */
  .post.has-toc .post-header .wrap-read { max-width: calc(68ch + 304px + 2 * var(--gutter)); padding-left: calc(304px + var(--gutter)); }
}
.toc { font-size: 14.5px; }
.toc-details { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 14px 16px; }
.toc summary { cursor: pointer; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid var(--line); color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc a:hover, .toc a.is-active { color: var(--brand-dark); border-left-color: var(--brand); }
.toc .toc-l3 a { padding-left: 24px; font-size: 13.5px; color: var(--muted); }
@media (min-width: 1100px) { .toc-details { border: 0; background: none; padding: 0; } .toc summary { pointer-events: none; list-style: none; } .toc summary::-webkit-details-marker { display: none; } }

/* Prose */
.prose { font-size: 18.5px; line-height: 1.75; color: #1d2229; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.6em; font-weight: 800; letter-spacing: -.025em; margin-top: 2em; line-height: 1.2; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.28em; font-weight: 700; margin-top: 1.7em; line-height: 1.3; scroll-margin-top: 90px; }
.prose h4 { font-size: 1.05em; font-weight: 700; margin-top: 1.5em; font-family: var(--f-body); letter-spacing: 0; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose a { color: var(--brand-dark); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(15, 122, 90, .45); }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--brand); }
.prose ol > li::marker { font-family: var(--f-mono); font-size: .9em; }
.prose blockquote { margin-inline: 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--gold); font-family: var(--f-display); font-size: 1.15em; line-height: 1.5; color: var(--ink); letter-spacing: -.01em; }
.prose blockquote p + p { margin-top: .6em; }
.prose code { padding: .12em .4em; border-radius: 5px; background: #eceee9; font-size: .86em; }
.prose pre { padding: 18px 20px; border-radius: var(--r); background: var(--ink); color: #e8ece9; overflow-x: auto; font-size: .82em; line-height: 1.6; }
.prose pre code { padding: 0; background: none; color: inherit; font-size: 1em; }
.prose img { border-radius: 12px; margin-inline: auto; }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: .6em; font-size: .78em; color: var(--muted); text-align: center; }
.prose hr { border: 0; border-top: 1px solid var(--line-2); margin: 2.4em 0; }
.prose-table { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .86em; line-height: 1.5; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--paper); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.prose iframe, .prose video { max-width: 100%; border-radius: 12px; }
.prose-sm { font-size: 17px; }
.prose-wide, .prose-full { max-width: none; }

.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 44px; }
.post-tags-label { font-family: var(--f-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 4px; }
.share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding: 18px 0; border-block: 1px solid var(--line); }
.share-label { font-weight: 700; }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; }
.share-btn:hover { border-color: var(--ink); color: var(--ink); }
.share-btn .i { width: 18px; height: 18px; }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 36px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.author-av { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.author-av-ph { display: grid; place-items: center; background: var(--ink); color: var(--gold); font-family: var(--f-display); font-weight: 800; font-size: 28px; }
.author-kicker { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.author-name { font-size: 21px; margin: 2px 0 6px; }
.author-bio { color: var(--ink-2); font-size: 15.5px; }
.post-cta { display: grid; gap: 18px; margin-top: 36px; padding: 28px 26px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.post-cta h2 { font-size: 24px; color: #fff; }
.post-cta p { margin-top: 8px; color: rgba(255, 255, 255, .75); }
.post-cta .btn { justify-self: start; }
.related { padding: 64px 0; }
.cms-header { padding: 28px 0 24px; }
.cms-updated { margin-top: 14px; font-size: 14px; color: var(--muted); }
.cms .wrap-read { padding-bottom: 80px; }
.cms-full .prose { padding-bottom: 80px; }

/* Landing page template */
.landing-hero { padding: 28px 0 56px; }
.landing-hero-grid { display: grid; gap: 36px; align-items: center; }
.landing-hero-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
@media (min-width: 960px) { .landing-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }

/* Contact template */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 400px 1fr; gap: 64px; align-items: start; } }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.contact-card:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-1px); }
.contact-card > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.contact-card > span:nth-child(2) span { color: var(--muted); font-size: 14.5px; overflow-wrap: anywhere; }
.contact-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); flex: none; }
.contact-card-wa { background: var(--brand); border-color: var(--brand); color: #fff; }
.contact-card-wa:hover { background: var(--brand-dark); color: #fff; }
.contact-card-wa > span:nth-child(2) span { color: rgba(255, 255, 255, .8); }
.contact-card-wa .contact-icon { background: rgba(255, 255, 255, .16); color: #fff; }

/* Company directory */
.company-hero { padding: 28px 0 32px; background: linear-gradient(180deg, color-mix(in srgb, var(--co, var(--brand)) 10%, var(--paper)), var(--paper)); }
.company-head { display: flex; align-items: center; gap: 20px; margin-top: 8px; }
.company-logo { display: grid; place-items: center; width: 80px; height: 80px; flex: none; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; font-family: var(--f-display); font-weight: 800; font-size: 32px; color: var(--co, var(--brand)); }
.company-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.company-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; color: var(--muted); font-size: 15px; }
.company-meta a { display: inline-flex; align-items: center; gap: 6px; }
.company-meta .i { width: 16px; height: 16px; }
.dir-search { display: flex; align-items: center; gap: 10px; max-width: 520px; margin-bottom: 24px; padding: 4px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); }
.dir-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.dir-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 10px 0; font: inherit; font-size: 16px; background: transparent; }
.dir-count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.dir-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .dir-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .dir-grid { grid-template-columns: repeat(3, 1fr); } }
.dir-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.dir-card:hover { border-color: var(--co, var(--brand)); color: var(--ink); }
.dir-av { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 50%; overflow: hidden; background: color-mix(in srgb, var(--co, var(--brand)) 14%, #fff); color: var(--co, var(--brand)); font-family: var(--f-display); font-weight: 800; }
.dir-av img { width: 100%; height: 100%; object-fit: cover; }
.dir-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.dir-text span { color: var(--muted); font-size: 14.5px; }
.dir-text small { color: var(--muted); font-size: 12.5px; font-family: var(--f-mono); }
.dir-arrow { color: var(--line-2); }
.dir-card:hover .dir-arrow { color: var(--co, var(--brand)); }

/* ---------- Breadcrumbs ---------- */
.crumbs { margin-bottom: 18px; font-size: 14px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { display: inline-flex; align-items: center; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-dark); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Forms / auth ---------- */
.auth { display: grid; place-items: start center; padding: 40px var(--gutter) 80px; }
.auth-card { width: 100%; max-width: 440px; padding: 32px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.auth-title { font-size: clamp(28px, 4vw, 36px); font-weight: 800; }
.auth-sub { margin-top: 8px; color: var(--muted); }
.auth-alt { margin-top: 22px; text-align: center; color: var(--muted); font-size: 15px; }
.form { display: grid; gap: 18px; margin-top: 26px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 14.5px; padding: 0; }
.field legend { margin-bottom: 8px; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; }
.field-link { font-size: 14px; }
.field-grid { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-grid { grid-template-columns: 1fr 1fr; } }
.optional { font-weight: 400; color: var(--muted); font-size: 13px; }
.form input[type="text"], .form input[type="email"], .form input[type="password"], .form input[type="tel"], .form input[type="search"] {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--surface);
  font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.form input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.form input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 14px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 70px !important; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); padding: 6px 10px; border: 0; border-radius: 8px; background: var(--paper); color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer; }
.form-alert { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 12px 14px; border-radius: var(--r-sm); background: #fbeae6; color: #8a2a1b; font-size: 14.5px; }
.form-alert .i { margin-top: 1px; }
.form-alert p + p { margin-top: 4px; }
.form-alert-ok { background: var(--brand-soft); color: var(--brand-dark); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex: none; }

.signup { padding: 36px 0 80px; }
.signup-grid { display: grid; gap: 32px; }
@media (min-width: 980px) { .signup-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; } .signup-aside { position: sticky; top: 96px; } }
.signup-form-col { max-width: 620px; }
.type-pick { display: grid; gap: 12px; }
@media (min-width: 560px) { .type-pick { grid-template-columns: 1fr 1fr; } }
.type-opt { position: relative; display: block; cursor: pointer; }
.type-opt input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.type-box { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 16px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.type-head { display: flex; align-items: center; gap: 8px; font-size: 16.5px; }
.type-head .i { color: var(--brand); }
.type-text { color: var(--muted); font-size: 14px; line-height: 1.5; font-weight: 400; }
.type-url { font-size: 12.5px; color: var(--brand-dark); word-break: break-all; }
.type-opt input:checked + .type-box { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.type-opt input:focus-visible + .type-box { outline: 2px solid var(--brand); outline-offset: 2px; }
.company-fields { display: grid; gap: 18px; padding: 18px; border-radius: var(--r); background: var(--gold-soft); border: 1px solid #f1dca5; }
.company-fields[hidden] { display: none; }
.slug-input { display: flex; align-items: stretch; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--surface); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.slug-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.slug-prefix { display: flex; align-items: center; padding: 0 2px 0 12px; font-family: var(--f-mono); font-size: 13.5px; color: var(--muted); white-space: nowrap; background: var(--paper); border-right: 1px solid var(--line); padding-right: 10px; flex: 0 0 auto; max-width: 62%; overflow: hidden; text-overflow: ellipsis; }
.form .slug-input input { border: 0 !important; box-shadow: none !important; border-radius: 0; font-family: var(--f-mono); font-size: 15px; min-width: 0; }
.slug-status { min-height: 1.3em; font-size: 13.5px; color: var(--muted); }
.slug-status.is-ok { color: var(--success); }
.slug-status.is-bad { color: var(--danger); }
.slug-status button { padding: 0; border: 0; background: none; color: var(--brand-dark); text-decoration: underline; cursor: pointer; font: inherit; }
.preview-box { padding: 24px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.preview-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.preview-url { margin-top: 10px; font-family: var(--f-mono); font-size: clamp(16px, 2.4vw, 19px); word-break: break-all; color: rgba(255, 255, 255, .6); }
.preview-url .pv-user { color: #6fd4ae; }
.preview-url .pv-co { color: var(--gold); }
.preview-help { margin-top: 12px; color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.preview-tpl { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; }
.preview-tpl span { display: inline-flex; align-items: center; gap: 8px; }
.preview-tpl .i { color: var(--brand); }
.signup-ticks { margin-top: 22px; font-size: 15px; }

/* ---------- Errors ---------- */
.error-page { padding: 56px 0 96px; }
.error-inner { max-width: 720px; }
.error-code { font-family: var(--f-mono); font-size: 14px; letter-spacing: .12em; color: var(--brand); margin-bottom: 12px; }
.error-search { max-width: 480px; margin-top: 28px; }
.error-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 56px 0 28px; font-size: 15px; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 36px 24px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-logo { display: inline-flex; }
.footer-tagline { margin-top: 12px; max-width: 34ch; }
.footer-contact { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact .i { width: 17px; height: 17px; color: var(--gold); }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); }
.footer-social a:hover { border-color: #fff; text-decoration: none; }
.footer-social .i { width: 18px; height: 18px; }
.footer-title { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); font-weight: 500; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: rgba(255, 255, 255, .55); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } .footer-brand { grid-column: auto; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .share, .post-cta, .cta, .toc { display: none !important; }
  body { background: #fff; }
}
