/* ==========================================================================
   BusinessCrafted — site styles
   Sibling of GolfCrafted (gold on black) and TradeCrafted (blue on ink):
   same serif/sans pairing and rule-mark wordmark, on white and cool gray
   with a soft blue accent.
   ========================================================================== */

:root {
  /* White and cool gray surfaces, slate ink, soft blue accent. */
  --paper: #FFFFFF;
  --paper-2: #F1F5FA;
  --card: #FFFFFF;
  --sky: #E8F0FC;
  --ink: #172033;
  --ink-2: #3A4558;
  --muted: #5E6878;
  --line: #E3E8EF;
  --line-2: #CFD7E3;

  --dark: #1C2433;
  --dark-2: #263042;
  --dark-line: rgba(255, 255, 255, 0.12);
  --on-dark: #F5F8FC;
  --on-dark-dim: #AEB8C7;

  --accent: #3567B8;
  --accent-hover: #2A5499;
  --accent-ink: #2F5DA8;
  --accent-soft: rgba(91, 141, 224, 0.13);
  --accent-light: #9DC0F4;

  --serif: 'Playfair Display', 'Playfair Fallback', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', 'Jakarta Fallback', Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(23, 32, 51, 0.06), 0 4px 14px -6px rgba(23, 32, 51, 0.12);
  --shadow: 0 1px 2px rgba(23, 32, 51, 0.06), 0 18px 40px -16px rgba(23, 32, 51, 0.26);
  --shadow-lg: 0 2px 4px rgba(23, 32, 51, 0.06), 0 40px 80px -30px rgba(23, 32, 51, 0.38);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Theme-aware helpers (dark values below) */
  --btn-bg: #3567B8;
  --btn-hover: #2A5499;
  --header-bg: rgba(255, 255, 255, 0.86);
  --header-bg-solid: rgba(255, 255, 255, 0.95);
  --hover: rgba(23, 32, 51, .05);
  --hover-strong: rgba(23, 32, 51, .07);
  --grid-line: rgba(23, 32, 51, .045);
  --glow: rgba(120, 165, 235, .32);
  --input-bg: #FFFFFF;
  --sky-soft: rgba(232, 240, 252, .45);
  --blue-line: rgba(53, 103, 184, .25);
  --gold: #A9852A;
  --gold-line: #C9A24A;
  --gold-soft: rgba(201, 162, 74, .16);
  --ok: #1B6B3A;
  --err: #B42318;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6878' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  color-scheme: light;
}

/* Dark mode: follows the device unless the visitor has chosen with the toggle. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E1320;
    --paper-2: #131A29;
    --card: #182131;
    --sky: #172640;
    --ink: #E9EEF6;
    --ink-2: #C4CDDB;
    --muted: #98A4B8;
    --line: #243049;
    --line-2: #33415C;

    --dark: #080C15;
    --dark-2: #121A29;
    --dark-line: rgba(255, 255, 255, 0.1);
    --on-dark: #F5F8FC;
    --on-dark-dim: #A9B4C6;

    --accent: #8DB3F2;
    --accent-hover: #A9C6F6;
    --accent-ink: #9DC0F4;
    --accent-soft: rgba(141, 179, 242, 0.14);
    --accent-light: #A9C8F6;

    --btn-bg: #3F72C6;
    --btn-hover: #4E80D3;
    --header-bg: rgba(14, 19, 32, 0.82);
    --header-bg-solid: rgba(14, 19, 32, 0.94);
    --hover: rgba(255, 255, 255, .06);
    --hover-strong: rgba(255, 255, 255, .09);
    --grid-line: rgba(255, 255, 255, .045);
    --glow: rgba(80, 125, 210, .28);
    --input-bg: #0F1625;
    --sky-soft: rgba(23, 38, 64, .55);
    --blue-line: rgba(141, 179, 242, .28);
    --gold: #DDB966;
    --gold-line: #D4AF5A;
    --gold-soft: rgba(221, 185, 102, .14);
    --gold: #DDB966;
  --gold-line: #D4AF5A;
  --gold-soft: rgba(221, 185, 102, .14);
  --ok: #7BD69B;
    --err: #FF9C94;
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398A4B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px -6px rgba(0, 0, 0, 0.45);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 40px -16px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 40px 80px -30px rgba(0, 0, 0, 0.75);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E1320;
  --paper-2: #131A29;
  --card: #182131;
  --sky: #172640;
  --ink: #E9EEF6;
  --ink-2: #C4CDDB;
  --muted: #98A4B8;
  --line: #243049;
  --line-2: #33415C;

  --dark: #080C15;
  --dark-2: #121A29;
  --dark-line: rgba(255, 255, 255, 0.1);
  --on-dark: #F5F8FC;
  --on-dark-dim: #A9B4C6;

  --accent: #8DB3F2;
  --accent-hover: #A9C6F6;
  --accent-ink: #9DC0F4;
  --accent-soft: rgba(141, 179, 242, 0.14);
  --accent-light: #A9C8F6;

  --btn-bg: #3F72C6;
  --btn-hover: #4E80D3;
  --header-bg: rgba(14, 19, 32, 0.82);
  --header-bg-solid: rgba(14, 19, 32, 0.94);
  --hover: rgba(255, 255, 255, .06);
  --hover-strong: rgba(255, 255, 255, .09);
  --grid-line: rgba(255, 255, 255, .045);
  --glow: rgba(80, 125, 210, .28);
  --input-bg: #0F1625;
  --sky-soft: rgba(23, 38, 64, .55);
  --blue-line: rgba(141, 179, 242, .28);
  --ok: #7BD69B;
  --err: #FF9C94;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398A4B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px -6px rgba(0, 0, 0, 0.45);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 40px -16px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 40px 80px -30px rgba(0, 0, 0, 0.75);
  color-scheme: dark;
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--btn-bg); color: #fff; }

.visually-hidden {
  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;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.icon { width: 22px; height: 22px; flex: none; }

a[href^="tel:"] { white-space: nowrap; }

/* --- Type ---------------------------------------------------------------- */
.h1, .h2, .h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.04; margin: 0; }
.h1--page { font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.08; }
.h2 { font-size: clamp(1.95rem, 3.4vw, 2.9rem); line-height: 1.1; }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.2; }
.h1 em, .h2 em, .h3 em { font-style: italic; color: var(--accent); }
.h2--light { color: var(--on-dark); }
.h2--light em { color: var(--accent-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow .rule { width: 28px; height: 1.5px; background: var(--gold-line); border-radius: 2px; }
.eyebrow--dark { color: var(--accent-light); }

.lede { font-size: clamp(1.08rem, 1.5vw, 1.24rem); line-height: 1.6; color: var(--ink-2); max-width: 36em; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  border: 1.5px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
  font-weight: 600; font-size: 0.98rem; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--accent { --b-bg: var(--btn-bg); --b-fg: #fff; --b-bd: var(--btn-bg); box-shadow: 0 8px 20px -10px rgba(53, 103, 184, .7); }
.btn--accent:hover { --b-bg: var(--btn-hover); --b-bd: var(--btn-hover); }
.btn--ghost:hover { --b-bd: var(--ink); --b-bg: var(--hover); }
.btn--ghost-light { --b-fg: var(--on-dark); --b-bd: rgba(255, 255, 255, .3); }
.btn--ghost-light:hover { --b-bd: var(--on-dark); --b-bg: rgba(255, 255, 255, .06); }
.btn--text { min-height: 44px; padding: 0; border: 0; border-radius: 0; color: var(--accent-ink); }
.btn--text .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn--text:hover { transform: none; }
.btn--text:hover .icon { transform: translateX(4px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-row--center { justify-content: center; }

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.site-header.is-compact { border-bottom-color: var(--line); background: var(--header-bg-solid); }
.site-header__bar {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h); display: flex; align-items: center; gap: 28px;
  transition: height .25s var(--ease);
}
.site-header.is-compact .site-header__bar { height: 60px; }

.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--ink); }
.brand__rule { width: 24px; height: 2px; background: var(--gold-line); border-radius: 2px; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.32rem; letter-spacing: -0.01em; }
.brand__name em { font-style: italic; color: var(--accent); }
.brand--light { color: var(--on-dark); }
.brand--light .brand__name em { color: var(--accent-light); }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-size: 0.95rem; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s;
}
.nav a:hover { background: var(--hover); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--hover-strong); }

.burger { display: none; flex: none; margin-left: auto; order: 2; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; }
.burger__box { position: relative; display: block; width: 18px; height: 12px; margin: 0 auto; }
.burger__box span { position: absolute; left: 0; width: 100%; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s, top .25s var(--ease); }
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { top: 5.2px; }
.burger__box span:nth-child(3) { top: 10.4px; }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { top: 5.2px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { top: 5.2px; transform: rotate(-45deg); }

.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-nav__inner { display: flex; flex-direction: column; padding: 16px var(--gutter) 40px; }
.mobile-nav__inner a:not(.btn) {
  padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none;
  font-family: var(--serif); font-size: 1.5rem;
}
.mobile-nav__inner a[aria-current="page"] { color: var(--accent); font-style: italic; }
.mobile-nav__inner .btn { margin-top: 28px; }
.mobile-nav__inner a.mobile-nav__call { border: 0; text-align: center; font-family: var(--sans); font-size: 1rem; color: var(--muted); }


/* --- Light / dark toggle -------------------------------------------------
   A circle with a moon; in dark mode the moon's shadow slides away and the
   rays come in, so it becomes a sun. */
.theme-toggle {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--card); color: var(--ink);
  cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.theme-toggle:hover { border-color: var(--gold-line); transform: rotate(-12deg); }
.theme-toggle:active { transform: scale(.92); }
.theme-toggle__icon { width: 20px; height: 20px; overflow: visible; }
.theme-toggle__core, .theme-toggle__cut, .theme-toggle__rays {
  transform-box: fill-box; transform-origin: center;
  transition: transform .6s cubic-bezier(.34, 1.4, .64, 1), opacity .4s var(--ease);
}
.theme-toggle__rays { opacity: 0; transform: scale(.4) rotate(-60deg); }
:root[data-theme="dark"] .theme-toggle__core { transform: scale(.62); }
:root[data-theme="dark"] .theme-toggle__cut { transform: translate(10px, -10px); }
:root[data-theme="dark"] .theme-toggle__rays { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-toggle { color: var(--gold); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__core { transform: scale(.62); }
  :root:not([data-theme="light"]) .theme-toggle__cut { transform: translate(10px, -10px); }
  :root:not([data-theme="light"]) .theme-toggle__rays { opacity: 1; transform: none; }
  :root:not([data-theme="light"]) .theme-toggle { color: var(--gold); }
}

@media (min-width: 901px) { .header-cta + .theme-toggle { margin-left: -14px; } }

/* The theme switch: the new colors spread out in a circle from the button
   (View Transitions API, driven from site.js). Browsers without it, or
   visitors who prefer reduced motion, get an instant switch. */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }
::view-transition-old(root) { z-index: 1; }

/* --- Sections ------------------------------------------------------------ */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head__lede { margin: 18px 0 0; font-size: 1.1rem; color: var(--muted); max-width: 40em; }
.section--dark .section-head__lede { color: var(--on-dark-dim); }

/* --- Home hero ----------------------------------------------------------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero__glow {
  position: absolute; right: -10%; top: -20%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 62%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .lede { margin-top: 26px; }
.hero .h1 em {
  background: linear-gradient(var(--gold-line), var(--gold-line)) no-repeat 0 94% / 100% .055em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: .02em;
}
.hero__built { margin: 30px 0 0; font-size: 0.95rem; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero__rot {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: var(--accent-ink);
  min-width: 10ch; text-align: center; transition: opacity .25s;
}
.hero__rot.is-swapping { opacity: 0; }

.hero__stage { position: relative; aspect-ratio: 1 / 0.92; min-height: 380px; }
.stage-card { position: absolute; width: 74%; box-shadow: var(--shadow-lg); }
.stage-card .tcard__mock { border-radius: 14px; }
.stage-card--1 { left: 0; top: 4%; transform: rotate(-4deg); z-index: 1; animation: float1 9s ease-in-out infinite; }
.stage-card--2 { right: 0; top: 18%; transform: rotate(3deg); z-index: 2; animation: float2 10s ease-in-out infinite; }
.stage-card--3 { left: 12%; bottom: 0; transform: rotate(-1deg); z-index: 3; animation: float3 11s ease-in-out infinite; }
@keyframes float1 { 50% { transform: rotate(-4deg) translateY(-8px); } }
@keyframes float2 { 50% { transform: rotate(3deg) translateY(7px); } }
@keyframes float3 { 50% { transform: rotate(-1deg) translateY(-6px); } }
.stage-badge {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); font-size: 0.86rem; font-weight: 600;
}
.stage-badge .icon { width: 18px; height: 18px; color: var(--gold-line); }
.stage-badge--a { left: -4%; top: 46%; }
.stage-badge--b { right: 2%; bottom: 6%; }

/* Hero entrance */
.js .bc-a { animation: bcUp .9s var(--ease) both; }
.bc-line-mask { display: block; overflow: hidden; padding-bottom: .08em; }
.bc-line { display: block; text-wrap: balance; }
.js .bc-line { animation: bcLine 1s var(--ease) both; }
@keyframes bcUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes bcLine { from { transform: translateY(105%); } to { transform: none; } }

/* --- Stats --------------------------------------------------------------- */
.stats { border-top: 2px solid var(--gold-line); border-bottom: 1px solid var(--line); background: var(--sky); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 24px 26px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--blue-line); }
.stat__k { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -0.01em; }
.stat__v { font-size: 0.9rem; color: var(--muted); margin-top: 2px; }

/* --- Template card ------------------------------------------------------- */
/* Defaults live on .tcard so each card's inline tokens override them. */
.tcard {
  margin: 0;
  --tc-bg: #fff; --tc-ink: #111; --tc-accent: #111; --tc-on-accent: #fff;
  --tc-soft: rgba(0, 0, 0, .05); --tc-shot: linear-gradient(135deg, rgba(0,0,0,.14), rgba(0,0,0,.03));
  --tc-font: var(--sans); --tc-weight: 700; --tc-case: none; --tc-track: -0.01em;
  --tc-chip-radius: 999px; --tc-dot-radius: 50%;
}
.tcard__mock {
  background: var(--tc-bg); color: var(--tc-ink);
  border-radius: 12px; overflow: hidden; border: 1px solid rgba(0, 0, 0, .06);
  aspect-ratio: 16 / 10.5; display: flex; flex-direction: column;
  container-type: inline-size;
}
.tcard__bar { display: flex; align-items: center; gap: 4cqw; padding: 3.4cqw 4.4cqw; border-bottom: 1px solid var(--tc-soft); }
.tcard__brand { display: flex; align-items: center; gap: 1.8cqw; min-width: 0; }
.tcard__dot { width: 2.4cqw; height: 2.4cqw; border-radius: var(--tc-dot-radius); background: var(--tc-accent); flex: none; }
.tcard__word { font-family: var(--tc-font); font-weight: 700; font-size: 3.1cqw; text-transform: var(--tc-case); letter-spacing: var(--tc-track); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard__nav { display: flex; gap: 2.4cqw; margin-left: auto; }
.tcard__nav i { width: 6cqw; height: 1cqw; border-radius: 1cqw; background: var(--tc-ink); opacity: .2; }
.tcard__chip { font-size: 2.4cqw; font-weight: 700; padding: 1.3cqw 2.8cqw; border-radius: var(--tc-chip-radius); background: var(--tc-accent); color: var(--tc-on-accent); white-space: nowrap; text-transform: var(--tc-case); letter-spacing: var(--tc-track); }
.tcard__body { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 4cqw; padding: 5cqw 4.4cqw 3cqw; align-items: center; }
.tcard__headline { font-family: var(--tc-font); font-weight: var(--tc-weight); font-size: 5cqw; line-height: 1.08; text-transform: var(--tc-case); letter-spacing: var(--tc-track); }
.tcard__sub { font-size: 2.4cqw; line-height: 1.45; opacity: .66; margin-top: 2.4cqw; }
.tcard__btn { display: inline-block; margin-top: 3.6cqw; font-size: 2.4cqw; font-weight: 700; padding: 1.8cqw 3.6cqw; border-radius: var(--tc-chip-radius); background: var(--tc-accent); color: var(--tc-on-accent); text-transform: var(--tc-case); letter-spacing: var(--tc-track); }
.tcard__shot { height: 100%; min-height: 24cqw; border-radius: 2cqw; background: var(--tc-shot); position: relative; overflow: hidden; }
.tcard__shot::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 0; height: 46%; border-radius: 50% 50% 0 0; background: var(--tc-soft); }
.tcard__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; padding: 0 4.4cqw 4cqw; }
.tcard__tiles span { height: 6.5cqw; border-radius: 1.6cqw; background: var(--tc-soft); }
.tcard__meta { display: flex; justify-content: space-between; gap: 12px; padding: 14px 4px 0; font-size: 0.92rem; }
.tcard__title { font-weight: 600; }
.tcard__kind { font-weight: 400; color: var(--muted); }
.tcard__label { color: var(--accent-ink); white-space: nowrap; }
.section--dark .tcard__kind { color: var(--on-dark-dim); }
.section--dark .tcard__label { color: var(--accent-light); }

/* --- Template marquee ---------------------------------------------------- */
.templates-strip { overflow: hidden; }
.templates-strip__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 48px); }
.templates-strip__head .section-head { margin-bottom: 0; }
.marquee { position: relative; outline-offset: -4px; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 8vw; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(to right, var(--dark), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--dark), transparent); }
.marquee__track { display: flex; gap: 28px; width: max-content; padding: 8px 0 8px 28px; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee:focus .marquee__track { animation-play-state: paused; }
.marquee .tcard { width: clamp(280px, 30vw, 380px); flex: none; padding: 12px; border-radius: 18px; background: var(--dark-2); border: 1px solid var(--dark-line); }
@keyframes marquee { to { transform: translateX(calc(-50% - 14px)); } }

/* --- Features ------------------------------------------------------------ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features--4 { grid-template-columns: repeat(4, 1fr); }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; }
.section--tint .feature { background: var(--card); }
.feature__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 20px; }
.feature h3 { font-family: var(--sans); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* --- Industry cards (home + related) ------------------------------------- */
.icards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.icard {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.icard:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.icard__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--sky); color: var(--accent-ink); }
.icard__body { display: flex; flex-direction: column; min-width: 0; }
.icard__name { font-weight: 600; line-height: 1.3; }
.icard__line { font-size: 0.86rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.icard__go { margin-left: auto; color: var(--muted); transition: color .2s, transform .2s var(--ease); }
.icard__go .icon { width: 18px; height: 18px; }
.icard:hover .icard__go { color: var(--accent); transform: translateX(3px); }

.sisters { margin-top: 36px; padding: 22px 26px; border-radius: var(--radius); border: 1px dashed var(--line-2); color: var(--ink-2); }
.sisters p { margin: 0; }
.sisters a { color: var(--accent-ink); font-weight: 600; }
.sisters span { color: var(--muted); }
.sisters--cards { border: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sister { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--radius-lg); background: var(--dark); color: var(--on-dark); text-decoration: none; transition: transform .2s var(--ease); }
.sister:hover { transform: translateY(-2px); }
.sister__name { font-family: var(--serif); font-size: 1.5rem; }
.sister__for { color: var(--on-dark-dim) !important; }
.sister__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--accent-light) !important; font-weight: 600; }
.sister__go .icon { width: 18px; height: 18px; }

/* --- Steps --------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-2); counter-reset: s; }
.step { padding: 28px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step__n { display: block; font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--gold); line-height: 1; margin-bottom: 18px; }
.step h3 { font-family: var(--sans); font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* --- Pricing ------------------------------------------------------------- */
.price-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.price-cards { display: grid; gap: 16px; }
.price-cards--big { grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.price-card--dark { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.price-card__k { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 10px; }
.price-card--dark .price-card__k { color: var(--accent-light); }
.price-card__v { font-family: var(--serif); font-size: clamp(2.3rem, 4vw, 3.2rem); font-weight: 600; line-height: 1; letter-spacing: -0.02em; margin: 0 0 12px; }
.price-card__v span { font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price-card--dark .price-card__v span { color: var(--on-dark-dim); }
.price-card__b { color: var(--muted); margin: 0; }
.price-card--dark .price-card__b { color: var(--on-dark-dim); }
.price-card .ticks { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.price-card--dark .ticks { border-top-color: var(--dark-line); }

.ticks { display: grid; gap: 10px; margin: 24px 0 0; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.ticks--dark li { color: var(--on-dark); }
.ticks--dark .icon { color: var(--accent-light); }

.note { display: flex; gap: 14px; align-items: flex-start; margin: 28px 0 0; padding: 18px 22px; border-radius: var(--radius); background: var(--accent-soft); color: var(--ink-2); }
.note .icon { color: var(--accent-ink); margin-top: 2px; }

/* --- Founder (home) ------------------------------------------------------ */
.founder { display: grid; grid-template-columns: 360px 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.founder__photo img, .story__photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.founder__text p:not(.eyebrow) { color: var(--ink-2); font-size: 1.08rem; margin-top: 22px; max-width: 34em; }
.founder__sig { font-family: var(--serif); font-style: italic; font-size: 1.15rem !important; color: var(--ink) !important; }

/* --- FAQ ----------------------------------------------------------------- */
.faq-split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-split > div:first-child p:not(.eyebrow) { color: var(--muted); }
.faq-split > div:first-child a:not(.btn) { color: var(--accent-ink); }
.faq { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__h { font: inherit; margin: 0; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 1.08rem; font-weight: 600; color: var(--ink);
}
.faq__q:hover { color: var(--accent-ink); }
.faq__sign { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: background .2s, border-color .2s, transform .3s var(--ease); }
.faq__sign::before, .faq__sign::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -0.8px 0 0 -5.5px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.faq__sign::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__sign { background: var(--btn-bg); border-color: var(--btn-bg); color: #fff; }
.faq__q[aria-expanded="true"] .faq__sign::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 48px 24px 0; color: var(--muted); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

.faq-page { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-rail { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 4px; }
.faq-rail a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--muted); font-weight: 500; }
.faq-rail a:hover { color: var(--accent-ink); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group .h3 { margin-bottom: 18px; }

/* --- Mock-up form -------------------------------------------------------- */
.mockup { position: relative; overflow: hidden; }
.mockup::before { content: ''; position: absolute; left: -20%; bottom: -40%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(53, 103, 184, .22), transparent 62%); pointer-events: none; }
.mockup__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.mockup__copy { color: var(--on-dark-dim); font-size: 1.1rem; margin-top: 20px; max-width: 32em; }
.mockup__alt { margin-top: 28px; color: var(--on-dark-dim); font-size: 0.95rem; }
.mockup__alt a { color: var(--accent-light); }

.form { background: var(--card); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 36px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.form__row { margin-bottom: 18px; }
.form__row--half { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--line-2); background: var(--input-bg); color: var(--ink); font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 96px; resize: vertical; }
.form select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: var(--select-arrow); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form input:user-invalid { border-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; margin: 14px 0 0; font-size: 0.95rem; }
.form-status.is-ok { color: var(--ok); font-weight: 600; }
.form-status.is-error { color: var(--err); }
.form__fine { margin: 6px 0 0; font-size: 0.82rem; color: var(--muted); }
.form__fine a { color: inherit; }

/* --- CTA band ------------------------------------------------------------ */
.cta-band { text-align: center; }
.cta-band__inner { max-width: 760px; }
.cta-band__copy { margin: 18px auto 0; color: var(--muted); font-size: 1.1rem; max-width: 36em; }

/* --- Interior page hero -------------------------------------------------- */
.page-hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; right: -15%; top: -30%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, var(--glow), transparent 62%); pointer-events: none;
}
.page-hero__grid { position: relative; display: grid; grid-template-columns: 1fr; }
.page-hero--split .page-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero__text { max-width: 820px; }
.page-hero .lede { margin-top: 22px; }
.page-hero__aside .tcard--hero { transform: rotate(2deg); }
.page-hero__aside .tcard__mock { box-shadow: var(--shadow-lg); border-radius: 14px; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.86rem; color: var(--muted); margin-bottom: 28px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* --- Industry page parts ------------------------------------------------- */
.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.job { position: relative; padding: 32px 32px 30px 92px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.job__n { position: absolute; left: 30px; top: 28px; font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--gold); line-height: 1; }
.job h3 { font-family: var(--sans); font-size: 1.15rem; margin-bottom: 8px; }
.job p { color: var(--muted); margin: 0; }

.pages-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pagelist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pagelist li { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-weight: 500; font-size: 0.96rem; }
.pagelist .icon { width: 18px; height: 18px; color: var(--accent); }
.icards--3 { grid-template-columns: repeat(3, 1fr); }

/* Industries hub */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ind {
  display: flex; flex-direction: column; gap: 10px; padding: 30px 28px;
  border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line);
  text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.ind:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-3px); }
.ind__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 8px; }
.ind__icon .icon { width: 26px; height: 26px; }
.ind__name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.ind__desc { color: var(--muted); font-size: 0.96rem; flex: 1; }
.ind__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; font-size: 0.94rem; color: var(--accent-ink); }
.ind__go .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.ind:hover .ind__go .icon { transform: translateX(4px); }
.else { max-width: 980px; }

/* Templates page */
.tgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px); }
.tgrid .tcard__mock { box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.tgrid__item:hover .tcard__mock { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tgrid__fit { margin: 8px 4px 0; font-size: 0.88rem; color: var(--muted); }

/* About */
.story { display: grid; grid-template-columns: 420px 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.story__photo { position: sticky; top: calc(var(--header-h) + 24px); }
.story__text p { font-size: 1.1rem; color: var(--ink-2); margin-top: 22px; }
.story__text a { color: var(--accent-ink); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.principle { padding: 30px 26px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.principle__n { display: block; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold); margin-bottom: 14px; }
.principle h3 { font-family: var(--sans); font-size: 1.08rem; margin-bottom: 8px; }
.principle p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.where { max-width: 820px; text-align: center; }
.where p { margin-top: 18px; color: var(--muted); font-size: 1.1rem; }
.where a { color: var(--accent-ink); }

/* Prose (privacy) */
.prose { max-width: 720px; }
.prose .h3 { margin: 36px 0 10px; }
.prose .h3:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }
.prose a { color: var(--accent-ink); }
.prose__fine { margin-top: 48px; font-size: 0.88rem; color: var(--muted) !important; }

/* --- Plans: build, full custom, monthly ---------------------------------- */
.price-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.price-head .section-head { margin-bottom: 0; }
.price-head .btn-row { margin-top: 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 28px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.plan--featured { background: var(--sky); border: 1.5px solid var(--gold-line); }
.plan--dark { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.plan__flag {
  position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 999px;
  background: var(--gold-line); color: #1C2433; font-size: 0.8rem; font-weight: 600; letter-spacing: .03em;
}
.plan__name { margin: 0 0 12px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.plan--dark .plan__name { color: var(--accent-light); }
.plan__price { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(2.1rem, 3.4vw, 2.75rem); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.plan__price span { display: block; margin-top: 8px; font-family: var(--sans); font-size: 0.9rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan--dark .plan__price span { color: var(--on-dark-dim); }
.plan__blurb { margin: 0; color: var(--muted); font-size: 0.98rem; }
.plan--dark .plan__blurb { color: var(--on-dark-dim); }
.plan .ticks { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan--featured .ticks { border-top-color: var(--blue-line); }
.plan--dark .ticks { border-top-color: var(--dark-line); }
.plan__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; font-weight: 600; font-size: 0.95rem; color: var(--accent-ink); text-decoration: none; }
.plan__link .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.plan__link:hover .icon { transform: translateX(4px); }
.price-card--accent { background: var(--sky); border-color: var(--blue-line); }

/* --- Build vs custom table ---------------------------------------------- */
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-sm); }
.compare table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.98rem; }
.compare th, .compare td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; background: var(--paper-2); }
.compare thead th:last-child { background: var(--sky); color: var(--accent-ink); }
.compare tbody th { width: 22%; font-weight: 600; color: var(--ink); }
.compare td { color: var(--ink-2); }
.compare td:last-child { background: var(--sky-soft); }

/* --- Custom page hero stack --------------------------------------------- */
.custom-stack { position: relative; padding: 0 0 40px 40px; }
.custom-stack .tcard__mock { box-shadow: var(--shadow-lg); border-radius: 14px; }
.custom-stack__a { transform: rotate(-3deg); }
.custom-stack__b { position: absolute; width: 70%; right: -4%; bottom: -6%; transform: rotate(3deg); }
.custom-stack .stage-badge--b { right: auto; left: 0; bottom: 10%; }

.custom-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--sky); border: 1px solid var(--blue-line); }
.custom-band > div { max-width: 640px; }
.custom-band p:not(.eyebrow) { margin: 14px 0 0; color: var(--ink-2); font-size: 1.05rem; }

/* --- Floating CTA -------------------------------------------------------- */
.fab {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  background: var(--btn-bg); color: #fff; text-decoration: none; font-weight: 600;
  box-shadow: 0 18px 36px -12px rgba(53, 103, 184, .7);
  opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease), background .2s;
}
.fab .icon { width: 20px; height: 20px; }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { background: var(--btn-hover); }

/* --- Footer -------------------------------------------------------------- */
.site-footer { background: var(--dark); color: var(--on-dark-dim); padding: clamp(56px, 8vw, 88px) 0 28px; border-top: 1px solid var(--dark-line); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1.2fr 0.8fr 1fr; gap: 40px; }
.site-footer__about p { margin-top: 18px; font-size: 0.95rem; max-width: 26em; }
.site-footer__sisters a { color: var(--on-dark); }
.site-footer h2 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 16px; }
.site-footer__col { display: flex; flex-direction: column; gap: 9px; font-size: 0.94rem; }
.site-footer__col a { text-decoration: none; transition: color .2s; }
.site-footer__col a:hover { color: var(--on-dark); }
.site-footer__col .is-accent { color: var(--accent-light); font-weight: 600; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 0.86rem; }
.site-footer__bottom a { color: var(--on-dark); }

/* --- Scroll reveal (only when JS is running) ----------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .features--4, .principles { grid-template-columns: repeat(2, 1fr); }
  .icards, .icards--3, .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .site-header__bar { gap: 10px; }
  .theme-toggle { order: 3; }
  .site-header.is-compact .site-header__bar { height: var(--header-h); }

  .hero__grid, .page-hero--split .page-hero__grid, .price-split, .faq-split, .mockup__grid,
  .founder, .story, .pages-split, .faq-page { grid-template-columns: 1fr; }
  .hero__stage { max-width: 560px; width: 100%; margin: 8px auto 0; min-height: 0; }
  .page-hero__aside { max-width: 520px; }
  .founder__photo { max-width: 340px; }
  .story__photo { position: static; max-width: 420px; }
  .faq-rail { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
  .faq-rail .eyebrow { width: 100%; margin-bottom: 4px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .price-cards--big, .plans { grid-template-columns: 1fr; }
  .plan__flag { left: 22px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  /* Thumb-sized footer links on touch screens */
  .site-footer__col { gap: 0; }
  .site-footer__col a, .site-footer__col span { display: flex; align-items: center; min-height: 44px; }
  .faq-rail { gap: 0 18px; }
  .site-footer__bottom a { display: inline-block; padding: 13px 0; }
}

@media (max-width: 640px) {
  .brand { gap: 9px; }
  .brand__rule { width: 18px; }
  .brand__name { font-size: 1.18rem; }
  body { font-size: 16px; }
  .features, .features--4, .principles, .icards, .icards--3, .ind-grid, .jobs, .tgrid, .steps,
  .sisters--cards, .site-footer__grid { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0 8px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .pagelist { grid-template-columns: 1fr; }
  .form__row--half { grid-template-columns: 1fr; gap: 18px; }
  .job { padding: 26px 22px 24px 72px; }
  .job__n { left: 22px; top: 24px; font-size: 1.7rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .btn-row .btn--text { flex: 0 0 auto; }
  .hero__stage { aspect-ratio: 1 / 1.02; }
  .stage-card { width: 82%; }
  .stage-badge { font-size: 0.78rem; padding: 8px 12px; }
  .stage-badge--a { left: 0; }
  .faq__a p { padding-right: 0; }
  .fab { left: 16px; right: 16px; justify-content: center; }
  .site-footer__bottom { flex-direction: column; }
  .tcard__meta { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .marquee__track { animation: none; }
  .marquee__track > [aria-hidden="true"] { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .fab, .mockup, .site-footer { display: none !important; }
  body { background: #fff; }
}
