/* ==========================================================================
   Design tokens: copied verbatim from /assets/css/tokens.css (the source).
   If a token changes, update tokens.css and paste it here again.
   ========================================================================== */

/* ==========================================================================
   iBuildFreeWebsites design tokens
   Light theme only. White / near-black / gray, plus ONE electric blue accent.
   System fonts only (no web font downloads, speed is part of the pitch).
   Load this file BEFORE styles.css.

   Contrast ratios (WCAG 2.1, computed in Node with the relative-luminance formula):
     --color-text           #1d1d1f on #fff     16.83:1   on #f5f5f7 15.46:1
     --color-text-secondary #6e6e73 on #fff      5.07:1   on #f5f5f7  4.66:1
     --color-accent         #0057ff on #fff      5.52:1   on #f5f5f7  5.07:1
     #fff on --color-accent (button text)        5.52:1
     #fff on --color-accent-hover   #0048d6      7.25:1
     #fff on --color-accent-pressed #003cb3      9.14:1
     --color-accent on --color-accent-tint       5.00:1
     --color-border-strong  #86868b on #fff      3.62:1   (UI components need 3:1)
     --color-text-on-dark   #f5f5f7 on #1d1d1f  15.46:1
     --color-text-on-dark-secondary #a1a1a6 on #1d1d1f 6.54:1
     --color-accent-on-dark #4d8dff on #1d1d1f   5.26:1   on #000 6.57:1
     --color-error          #c4001a on #fff      6.25:1
     --color-success        #137333 on #fff      5.95:1
   ========================================================================== */

:root {
  color-scheme: light;

  /* ---- Neutrals ---- */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-bg: #ffffff;                 /* page background */
  --color-bg-alt: #f5f5f7;             /* alternating section background */
  --color-bg-elevated: #ffffff;        /* cards sitting on --color-bg-alt */
  --color-bg-subtle: #fbfbfd;          /* very faint fill (inputs, table stripes) */
  --color-text: #1d1d1f;               /* primary text, headings */
  --color-text-secondary: #6e6e73;     /* captions, meta, helper text (AA on white and #f5f5f7) */
  --color-border: #d2d2d7;             /* hairline dividers, card outlines (decorative) */
  --color-border-subtle: #e8e8ed;      /* even lighter divider */
  --color-border-strong: #86868b;      /* form field borders, checkboxes (3:1 non-text contrast) */

  /* ---- Accent: electric blue (the only brand color) ---- */
  --color-accent: #0057ff;             /* buttons, links, highlights */
  --color-accent-hover: #0048d6;
  --color-accent-pressed: #003cb3;
  --color-accent-tint: #eef4ff;        /* soft highlight backgrounds, badges */
  --color-accent-contrast: #ffffff;    /* text/icons placed on --color-accent */
  --color-accent-rgb: 0, 87, 255;      /* for rgba() glows: rgba(var(--color-accent-rgb), .2) */

  /* ---- Dark accent sections (near-black blocks inside the light page) ---- */
  --color-dark-bg: #1d1d1f;
  --color-dark-bg-deep: #000000;
  --color-text-on-dark: #f5f5f7;
  --color-text-on-dark-secondary: #a1a1a6;
  --color-border-on-dark: #424245;
  --color-accent-on-dark: #4d8dff;     /* links/highlights on near-black */

  /* ---- Functional (forms only) ---- */
  --color-error: #c4001a;
  --color-error-bg: #fff1f2;
  --color-success: #137333;
  --color-success-bg: #effaf2;

  /* ---- Focus ---- */
  --focus-ring-color: #0057ff;
  --focus-ring-color-on-dark: #4d8dff;
  --focus-ring-width: 3px;
  --focus-ring-offset: 2px;
  --focus-ring: var(--focus-ring-width) solid var(--focus-ring-color);

  /* ---- Typography ---- */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --text-xs: 0.8125rem;                                   /* 13px  fine print, footnotes */
  --text-sm: 0.9375rem;                                   /* 15px  captions, nav links, labels */
  --text-base: 1.0625rem;                                 /* 17px  body copy */
  --text-lg: clamp(1.125rem, 1.08rem + 0.25vw, 1.25rem);  /* 18-20px  lead paragraphs */
  --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);     /* 20-24px  card titles */
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);          /* 24-32px  sub-headings */
  --text-3xl: clamp(2rem, 1.6rem + 2vw, 3rem);            /* 32-48px  section headings */
  --text-4xl: clamp(2.5rem, 1.9rem + 3vw, 4rem);          /* 40-64px  big statements */
  --text-display: clamp(2.75rem, 1.9rem + 4.25vw, 5rem);  /* 44-80px  hero headline */

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --leading-tight: 1.07;     /* display and section headings */
  --leading-snug: 1.2;       /* card titles, sub-headings */
  --leading-normal: 1.47;    /* body copy */
  --leading-relaxed: 1.6;    /* long legal pages */

  --tracking-tight: -0.022em;   /* display / 3xl and up */
  --tracking-snug: -0.012em;    /* xl to 2xl */
  --tracking-normal: 0;
  --tracking-wide: 0.08em;      /* small uppercase eyebrows */

  /* ---- Spacing scale (4px base) ---- */
  --space-0: 0;
  --space-1: 0.25rem;   /*   4px */
  --space-2: 0.5rem;    /*   8px */
  --space-3: 0.75rem;   /*  12px */
  --space-4: 1rem;      /*  16px */
  --space-5: 1.25rem;   /*  20px */
  --space-6: 1.5rem;    /*  24px */
  --space-8: 2rem;      /*  32px */
  --space-10: 2.5rem;   /*  40px */
  --space-12: 3rem;     /*  48px */
  --space-16: 4rem;     /*  64px */
  --space-20: 5rem;     /*  80px */
  --space-24: 6rem;     /*  96px */
  --space-32: 8rem;     /* 128px */
  --space-section: clamp(4rem, 2.8rem + 6vw, 8rem);  /* vertical padding of homepage sections */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);         /* side padding; 16px on phones */

  /* ---- Layout ---- */
  --max-width: 1120px;        /* main content container */
  --max-width-wide: 1280px;   /* full-bleed-ish rows (portfolio, comparison table) */
  --max-width-text: 680px;    /* readable prose (~65ch), FAQ, legal pages */
  --max-width-form: 560px;    /* forms */
  --header-height: 64px;      /* sticky nav height (use for scroll-margin-top) */

  /* ---- Radius ---- */
  --radius-xs: 6px;
  --radius-sm: 10px;      /* inputs */
  --radius-md: 14px;      /* small cards, logo tile ratio (14/64) */
  --radius-lg: 20px;      /* cards */
  --radius-xl: 28px;      /* large feature panels, images */
  --radius-pill: 980px;   /* buttons, chips */
  --radius-round: 50%;

  /* ---- Shadows (soft, used sparingly) ---- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05), 0 1px 1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.08), 0 3px 8px rgba(0, 0, 0, 0.04);
  --shadow-accent: 0 8px 24px rgba(0, 87, 255, 0.24);   /* hover glow on primary buttons */
  --shadow-nav: 0 1px 0 rgba(0, 0, 0, 0.08);            /* hairline under sticky nav */

  /* ---- Glass nav ---- */
  --nav-bg: rgba(255, 255, 255, 0.8);
  --nav-blur: saturate(180%) blur(20px);

  /* ---- Motion (subtle) ---- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 600ms;
  --reveal-distance: 16px;    /* fade-up distance for scroll reveals */

  /* ---- Layers ---- */
  --z-base: 1;
  --z-nav: 100;
  --z-cookie: 200;
  --z-modal: 300;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0.01ms;
    --duration-base: 0.01ms;
    --duration-slow: 0.01ms;
    --reveal-distance: 0px;
  }
}

/* ==========================================================================
   iBuildFreeWebsites styles.css
   One stylesheet for every page. The design tokens above are copied from
   tokens.css (the source of truth for colors, type, spacing, motion), so
   pages only need: <link rel="stylesheet" href="/assets/css/styles.css">

   COMPONENT INDEX (class names other pages can reuse without editing this file)
   --------------------------------------------------------------------------
   Layout ......... .container  .container-wide  .container-narrow  .section
                    .section-alt (light gray)  .section-dark (near-black)
                    .section-head (+ .center)  .split (2 columns from 960px)
                    .grid-2  .grid-3  .stack  .btn-row (+ .center)
   Type ........... .eyebrow  .section-title  .section-intro  .lead  .muted
                    .small  .fine-print  .text-center  .visually-hidden
   Buttons ........ .btn + .btn-primary | .btn-secondary | .btn-dark | .btn-text
                    sizes .btn-sm .btn-lg .btn-block. Disabled look comes from
                    [aria-disabled="true"], .is-disabled or :disabled.
                    .soon-note is the "Link coming soon" line main.js adds.
   Header/footer .. .skip-link .site-header .brand .site-nav .nav-toggle
                    .header-cta .site-footer (markup in content/partials/)
   Cards .......... .card  .card-alt  .callout (+ .callout-neutral)  .tag  .badge
                    .check-list  .x-list  .step-cards / .step-card  .price-line
   Accordions ..... <details class="accordion-item"> inside .accordion,
                    summary > .accordion-title + .accordion-icon,
                    then .accordion-panel. Small inline toggle: details.disclosure
   Forms .......... .form-card > form.form, .form-intro .form-note .field
                    .field-hint .field-error (main.js adds these) .choice
                    (radio/checkbox row) .hp (honeypot) .form-consent
                    .form-alert .form-success .demo-notice
   Tables ......... .table-scroll (scrolling wrapper, give it tabindex="0",
                    role="region" and a label) + .compare-table
   Long-form ...... .page-header .page-title .page-meta .page-lead .page-body
                    .prose (legal pages) .toc .legal-box .conspicuous
   Utility pages .. .center-page (404 style)  .page-actions
   Consent ........ .cookie-banner .cookie-dialog .switch .toast (built by main.js)
   Motion ......... add .reveal to any block for a subtle fade-up on scroll
   ========================================================================== */

/* ---------- Reset and base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + var(--space-4));
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
  overflow-x: clip;
}

main:focus,
.focus-target:focus {
  outline: none;
}

[hidden] {
  display: none !important;
}

img,
svg,
video,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-snug);
  text-wrap: balance;
}

p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

p,
li,
dd {
  text-wrap: pretty;
}

a {
  color: var(--color-accent);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--color-accent-hover);
  text-decoration-thickness: 2px;
}

strong,
b {
  font-weight: var(--weight-semibold);
}

sup {
  line-height: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(var(--color-accent-rgb), 0.18);
}

/* ---------- Focus ---------- */

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

:focus:not(:focus-visible) {
  outline: none;
}

.section-dark :focus-visible,
.site-footer-dark :focus-visible {
  outline-color: var(--focus-ring-color-on-dark);
}

/* ---------- Utilities ---------- */

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.text-center {
  text-align: center;
}

.muted {
  color: var(--color-text-secondary);
}

.small {
  font-size: var(--text-sm);
}

.fine-print {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}

.lead {
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
}

.stack > * + * {
  margin-top: var(--stack-space, var(--space-4));
}

.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mt-8 { margin-top: var(--space-8) !important; }
.mt-12 { margin-top: var(--space-12) !important; }

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: calc(var(--z-modal) + 1);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  background: var(--color-text);
  color: var(--color-white);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--duration-fast) var(--ease-out);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--color-white);
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: calc(var(--max-width) + (var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-wide {
  max-width: calc(var(--max-width-wide) + (var(--gutter) * 2));
}

.container-narrow {
  max-width: calc(var(--max-width-text) + (var(--gutter) * 2));
}

.section {
  padding-block: var(--space-section);
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-dark {
  background: var(--color-dark-bg);
  color: var(--color-text-on-dark);
}

.section-head {
  max-width: 760px;
  margin-bottom: var(--space-12);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin-bottom: var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-accent);
}

.section-title {
  font-size: var(--text-3xl);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.section-intro {
  margin-top: var(--space-4);
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
}

.section-dark .eyebrow {
  color: var(--color-accent-on-dark);
}

.section-dark .section-intro,
.section-dark .muted {
  color: var(--color-text-on-dark-secondary);
}

.section-dark a:not(.btn) {
  color: var(--color-accent-on-dark);
}

.section-dark a:not(.btn):hover {
  color: var(--color-text-on-dark);
}

/* White form cards inside dark sections go back to the light-page colors. */
.section-dark .form-card a:not(.btn) {
  color: var(--color-accent);
}

.section-dark .form-card a:not(.btn):hover {
  color: var(--color-accent-hover);
}

.section-dark .form-card .form-alert a:not(.btn) {
  color: var(--color-error);
}

.section-dark .form-card :focus-visible {
  outline-color: var(--focus-ring-color);
}

.section-cta {
  margin-top: var(--space-12);
  text-align: center;
}

.section-cta .section-intro {
  max-width: 36em;
  margin: 0 auto var(--space-6);
}

.nowrap {
  white-space: nowrap;
}

/* ---------- "Ready for your free website?" prompts ----------
   Three shapes: a big dark card (Who it's for), a slim tinted strip
   (comparison chart), and a small centered prompt (pricing). */
.cta-card {
  margin-top: var(--space-12);
  padding: var(--space-12) var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--color-dark-bg);
  color: var(--color-text-on-dark);
  text-align: center;
}

.cta-card-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: var(--weight-bold, 700);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-text-on-dark);
}

.cta-card-text {
  max-width: 30em;
  margin: var(--space-3) auto var(--space-6);
  color: var(--color-text-on-dark-secondary);
}

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-accent-tint);
}

.cta-strip-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

.cta-mini {
  margin-top: var(--space-12);
  text-align: center;
}

.cta-mini-title {
  margin-bottom: var(--space-3);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

@media (max-width: 639px) {
  .cta-strip {
    flex-direction: column;
    text-align: center;
  }

  .cta-strip .btn {
    width: 100%;
  }
}

.split {
  display: grid;
  gap: var(--space-10);
}

.grid-2,
.grid-3 {
  display: grid;
  gap: var(--space-6);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.btn-row.center {
  justify-content: center;
}

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: var(--space-16);
    align-items: start;
  }

  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.6875rem 1.375rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-accent-contrast);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-accent-contrast);
  box-shadow: var(--shadow-accent);
}

.btn-primary:active {
  background: var(--color-accent-pressed);
}

.btn-secondary {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-secondary:hover {
  background: var(--color-accent-tint);
  color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn-dark {
  background: var(--color-text);
  color: var(--color-white);
}

.btn-dark:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-text {
  min-height: 44px;
  padding-inline: var(--space-2);
  background: transparent;
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  font-weight: var(--weight-medium);
}

.btn-text:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.section-dark .btn-secondary {
  border-color: var(--color-accent-on-dark);
  color: var(--color-accent-on-dark);
}

.section-dark .btn-secondary:hover {
  background: rgba(var(--color-accent-rgb), 0.18);
  color: var(--color-text-on-dark);
}

.btn-sm {
  min-height: 36px;
  padding: 0.4375rem 1rem;
  font-size: var(--text-sm);
}

.btn-lg {
  min-height: 52px;
  padding: 0.875rem 1.75rem;
}

.btn-block {
  width: 100%;
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
}

.btn:disabled,
.btn.is-disabled,
.btn[aria-disabled="true"] {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
  color: var(--color-text-secondary);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.btn[aria-busy="true"] {
  cursor: progress;
  opacity: 0.85;
}

.soon-note {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
}

.btn-row .soon-note {
  flex-basis: 100%;
  margin-top: 0;
}

/* ---------- Brand ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: var(--color-text);
  font-size: 1.0625rem;
  font-weight: var(--weight-bold);
  letter-spacing: -0.015em;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: var(--color-text);
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex: none;
}

.brand-free {
  color: var(--color-accent);
}

/* ---------- Header and navigation ---------- */

/* Thin promo bar above the header (homepage only). It scrolls away; the
   header below it stays sticky. */
.promo-banner {
  background: var(--color-dark-bg);
  color: var(--color-text-on-dark);
}

.promo-banner-text {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 0.625rem var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.45;
  text-align: center;
}

.promo-banner-text strong {
  font-weight: var(--weight-semibold);
}

.promo-banner-text a {
  font-weight: var(--weight-semibold);
  color: var(--color-accent-on-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  white-space: nowrap;
}

.promo-banner-text a:focus-visible {
  outline: 2px solid var(--color-accent-on-dark);
  outline-offset: 2px;
  border-radius: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--nav-bg);
  -webkit-backdrop-filter: var(--nav-blur);
  backdrop-filter: var(--nav-blur);
  box-shadow: var(--shadow-nav);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(255, 255, 255, 0.97);
  }
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  max-width: calc(var(--max-width) + (var(--gutter) * 2));
  height: var(--header-height);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.header-inner .brand {
  margin-right: auto;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: var(--space-2) var(--gutter) var(--space-6);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--color-border-subtle);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
}

.site-header.nav-open .site-nav {
  display: block;
  animation: nav-in var(--duration-base) var(--ease-out);
}

@keyframes nav-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: block;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--color-accent);
}

.nav-cta-mobile {
  width: 100%;
  margin-top: var(--space-5);
}

.header-cta {
  display: none;
}

.nav-toggle {
  order: 1; /* sits before the nav in the markup (for focus order), shown at the right edge */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  margin-right: calc(var(--space-2) * -1);
  padding: 0 var(--space-2);
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-label {
  display: none;
}

.nav-toggle-icon {
  position: relative;
  width: 18px;
  height: 12px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--duration-base) var(--ease-out), top var(--duration-base) var(--ease-out);
}

.nav-toggle-icon::before {
  top: 1px;
}

.nav-toggle-icon::after {
  top: 9px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 5px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 5px;
  transform: rotate(-45deg);
}

@media (min-width: 380px) {
  .nav-toggle-label {
    display: inline;
  }
}

@media (min-width: 520px) {
  .header-cta {
    display: inline-flex;
  }

  .nav-cta-mobile {
    display: none;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-header.nav-open .site-nav {
    display: block;
    position: static;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    animation: none;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-8);
  }

  .nav-list a {
    padding: var(--space-2) 0;
    border: 0;
    font-size: var(--text-sm);
    font-weight: var(--weight-regular);
    color: var(--color-text);
  }

  .header-cta {
    margin-left: var(--space-6);
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: var(--space-6) var(--space-16);
}

.hero-grid {
  display: grid;
  gap: var(--space-8);
}

.hero-media {
  position: relative;
  order: -1;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
}

.hero-picture {
  width: 100%;
  height: 100%;
}

/* Each breakpoint gets its own crop of the photo (see the <picture> sources),
   so the handwritten labels stay in frame. Keep the image centered. */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.location-tag {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4375rem 0.875rem 0.4375rem 0.625rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.location-tag .icon {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

.hero-eyebrow {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-snug);
  color: var(--color-accent);
}

.hero-title {
  font-size: var(--text-display);
  line-height: var(--leading-tight);
  letter-spacing: -0.03em;
}

.hero-lead {
  max-width: 36em;
  margin-top: var(--space-6);
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
}

/* Upfront disclosure: the build is free, hosting and the domain are not. */
.hero-callout {
  max-width: 36em;
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-accent-tint);
  box-shadow: inset 3px 0 0 var(--color-accent);
}

.hero-callout-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  line-height: 1.35;
  color: var(--color-text);
}

.hero-callout-text {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--color-text);
}

.hero-callout-text a {
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.hero-actions .btn {
  flex: 1 1 auto;
}

.hero-note {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* Phones: a shorter photo, and the buttons right under the headline so the
   call to action is on the first screen. */
@media (max-width: 639px) {
  .hero-media {
    aspect-ratio: 3 / 2;
  }

  .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
  }

  .hero-callout {
    order: 1;
  }

  .hero-actions {
    order: 2;
    margin-top: var(--space-6);
  }

  .hero-note {
    order: 3;
  }

  .hero-lead {
    order: 4;
    margin-top: var(--space-8);
  }
}

@media (min-width: 640px) {
  .hero-actions .btn {
    flex: 0 0 auto;
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  .hero-media {
    aspect-ratio: 16 / 9;
  }

  .hero-img {
    object-position: center;
  }
}

@media (min-width: 900px) {
  .hero {
    padding-block: var(--space-12) var(--space-20);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: var(--space-16);
    align-items: center;
  }

  .hero-media {
    order: 0;
    aspect-ratio: 4 / 5;
  }

  .location-tag {
    left: var(--space-4);
    bottom: var(--space-4);
  }
}

/* ---------- Trust strip ---------- */

.trust {
  padding-bottom: var(--space-section);
}

.trust-list {
  display: grid;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-item {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-4);
  border-radius: 12px;
  background: var(--color-accent-tint);
  color: var(--color-accent);
}

.trust-icon .icon {
  width: 22px;
  height: 22px;
}

.trust-label {
  display: block;
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-snug);
  line-height: var(--leading-snug);
}

.trust-item p {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

@media (max-width: 639px) {
  .trust-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: var(--space-4);
    padding: var(--space-5);
  }

  .trust-icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .trust-item p {
    margin-top: var(--space-1);
  }
}

@media (min-width: 640px) {
  .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
  }
}

@media (min-width: 1024px) {
  .trust-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Story ---------- */

.story-grid {
  display: grid;
  gap: var(--space-8);
}

.story-body {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.story-body p + p {
  margin-top: 1.1em;
}

.signature {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-8) !important;
}

.signature-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-round);
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--color-white), var(--shadow-md);
}

.signature-name {
  font-size: 1.375rem;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--color-text);
}

@media (min-width: 900px) {
  .story-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--space-16);
  }

  .story-head {
    position: sticky;
    top: calc(var(--header-height) + var(--space-12));
    align-self: start;
  }
}

/* ---------- How it works (steps) ---------- */

.steps {
  display: grid;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: var(--space-5);
  padding-bottom: var(--space-10);
}

.step:last-child {
  padding-bottom: 0;
}

.step::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 56px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: var(--color-border-subtle);
}

.step:last-child::before {
  display: none;
}

.step-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-round);
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
}

.step-title {
  margin-top: 0.6rem;
  font-size: var(--text-xl);
}

.step-body p {
  margin-top: var(--space-2);
  color: var(--color-text-secondary);
}

/* ---------- My work ---------- */

.work-grid {
  display: grid;
  gap: var(--space-8);
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-5) var(--space-5) var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--color-bg-elevated);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.work-media {
  position: relative;
  margin-bottom: var(--space-10);
}

.browser {
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.browser-bar {
  display: flex;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--color-border-subtle);
  background: var(--color-bg-alt);
}

.browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-round);
  background: var(--color-border);
}

.browser img {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
  object-position: top;
}

.phone {
  position: absolute;
  right: 6%;
  bottom: -26px;
  width: 25%;
  padding: 4px;
  border-radius: 16px;
  background: var(--color-text);
  box-shadow: var(--shadow-lg);
}

.phone img {
  width: 100%;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
}

.work-title {
  font-size: var(--text-xl);
}

.work-caption {
  margin-top: var(--space-2);
  color: var(--color-text-secondary);
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  padding-top: var(--space-4);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.work-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
}

.work-link .icon {
  width: 1em;
  height: 1em;
  transition: transform var(--duration-fast) var(--ease-out);
}

.work-card:hover .work-link .icon {
  transform: translate(2px, -2px);
}

.work-note {
  margin-top: var(--space-10);
  text-align: center;
  color: var(--color-text-secondary);
}

@media (min-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-6);
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-card:hover {
    transform: none;
  }
}

/* ---------- Who it's for ---------- */

.fit-grid {
  display: grid;
  gap: var(--space-5);
}

.fit-card {
  padding: var(--space-8) var(--space-5);
  border-radius: var(--radius-xl);
  background: var(--color-bg-alt);
}

.fit-card-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-2xl);
}

.fit-badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: var(--radius-round);
  background: var(--color-accent);
  color: var(--color-white);
}

.fit-no .fit-badge {
  background: var(--color-text);
}

.fit-badge .icon {
  width: 20px;
  height: 20px;
}

.fit-intro {
  margin-top: var(--space-4);
  color: var(--color-text-secondary);
}

.fit-list {
  display: grid;
  gap: var(--space-5);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}

.fit-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}

.fit-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--color-white);
  color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.fit-no .fit-icon {
  color: var(--color-text);
}

.fit-icon .icon {
  width: 20px;
  height: 20px;
}

.fit-item-title {
  display: block;
  font-weight: var(--weight-semibold);
}

.fit-item-text {
  display: block;
  margin-top: 2px;
  color: var(--color-text-secondary);
}

.fit-note {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

.fit-box {
  margin-top: var(--space-5);
  padding: var(--space-6) var(--space-8);
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--color-accent-tint);
}

.fit-box-title {
  font-size: var(--text-lg);
}

.fit-box p {
  margin-top: var(--space-2);
  color: var(--color-text-secondary);
}

@media (min-width: 640px) {
  .fit-card {
    padding: var(--space-10);
  }
}

@media (min-width: 900px) {
  .fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Why hand-coded (feature grid, dark) ---------- */

.feature-grid {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  padding: var(--space-6);
  border: 1px solid var(--color-border-on-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.feature-icon {
  width: 32px;
  height: 32px;
  margin-bottom: var(--space-4);
  color: var(--color-accent-on-dark);
}

.feature-title {
  font-size: var(--text-lg);
  color: var(--color-text-on-dark);
}

.feature p {
  margin-top: var(--space-2);
  color: var(--color-text-on-dark-secondary);
}

.feature-closing {
  max-width: 760px;
  margin: var(--space-12) auto 0;
  font-size: var(--text-lg);
  text-align: center;
  color: var(--color-text-on-dark);
}

@media (max-width: 639px) {
  .feature {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: var(--space-4);
    padding: var(--space-5);
  }

  .feature-icon {
    grid-row: span 2;
    width: 28px;
    height: 28px;
    margin-bottom: 0;
  }
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  gap: var(--space-6);
  max-width: 980px;
  margin-inline: auto;
  align-items: start;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-bg-elevated);
}

.price-card-featured {
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.price-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.price-label {
  font-size: var(--text-xl);
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) var(--space-2);
  margin-top: var(--space-5);
}

.price-amount {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
}

.price-unit {
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
}

.price-note {
  margin-top: var(--space-2);
  color: var(--color-text-secondary);
}

.price-list-title {
  margin-top: var(--space-8);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.price-card .btn {
  margin-top: var(--space-8);
}

.price-fine {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* The conditions of the free offer stay visible right under the button. */
.price-fine-terms {
  color: var(--color-text);
}

.promise {
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  background: var(--color-accent-tint);
  color: var(--color-text);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
}

.price-switch {
  min-height: 7.5rem;
}

.price-yearly {
  display: none;
}

.hosting-card[data-billing="yearly"] .price-monthly {
  display: none;
}

.hosting-card[data-billing="yearly"] .price-yearly {
  display: block;
}

/* Works without JavaScript in browsers that support :has() */
.hosting-card:has(#billing-yearly:checked) .price-monthly {
  display: none;
}

.hosting-card:has(#billing-yearly:checked) .price-yearly {
  display: block;
}

.segmented {
  display: inline-flex;
  align-self: flex-start;
  min-width: 0;
  margin: var(--space-5) 0 0;
  padding: 4px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-bg-alt);
}

.segmented input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.segmented label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 var(--space-5);
  border-radius: var(--radius-pill);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.segmented input:checked + label {
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--color-border-subtle);
}

.segmented input:focus-visible + label {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-pill);
  background: var(--color-accent-tint);
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  white-space: nowrap;
  align-self: center;
}

.check-list,
.x-list {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.x-list li {
  position: relative;
  padding-left: 1.875rem;
}

.check-list li::before,
.x-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--color-accent);
  -webkit-mask: var(--mask-check) center / contain no-repeat;
  mask: var(--mask-check) center / contain no-repeat;
}

.x-list li::before {
  background: var(--color-text-secondary);
  -webkit-mask-image: var(--mask-x);
  mask-image: var(--mask-x);
}

:root {
  --mask-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --mask-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
  --mask-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.my-end-cols {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-2);
}

.my-end-cols h5 {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.my-end-cols .check-list,
.my-end-cols .x-list {
  margin-top: var(--space-3);
  gap: var(--space-2);
  font-size: var(--text-sm);
}

.addons {
  max-width: 980px;
  margin: var(--space-16) auto 0;
}

.addons-title {
  font-size: var(--text-2xl);
}

.addons-intro {
  margin-top: var(--space-2);
  color: var(--color-text-secondary);
}

.addon-list {
  display: grid;
  column-gap: var(--space-12);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-border);
}

.addon {
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border);
}

.addon-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-1) var(--space-4);
}

.addon-name {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  letter-spacing: 0;
}

.addon-price {
  font-weight: var(--weight-semibold);
  white-space: nowrap;
}

.addon p {
  margin-top: var(--space-1);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.addon-link {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.addon:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .price-card {
    padding: var(--space-10);
  }

  .my-end-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .addon-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .my-end-cols {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .my-end-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Disclosure (small inline details) ---------- */

.disclosure {
  margin-top: var(--space-3);
}

.disclosure > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 44px;
  color: var(--color-accent);
  font-weight: var(--weight-semibold);
  list-style: none;
  cursor: pointer;
  border-radius: var(--radius-xs);
}

.disclosure > summary::-webkit-details-marker {
  display: none;
}

.disclosure > summary::after {
  content: "";
  width: 1rem;
  height: 1rem;
  background: currentColor;
  -webkit-mask: var(--mask-chevron) center / contain no-repeat;
  mask: var(--mask-chevron) center / contain no-repeat;
  transition: transform var(--duration-base) var(--ease-out);
}

.disclosure[open] > summary::after {
  transform: rotate(180deg);
}

.disclosure > summary:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.disclosure-body {
  padding: var(--space-2) 0 var(--space-2);
}

/* ---------- Comparison table ---------- */

/* The chart sits right under the trust strip, which already has bottom
   padding, so it doesn't need its own top padding. */
.compare-top {
  padding-top: 0;
}

.compare-label {
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

.scroll-hint .icon {
  width: 16px;
  height: 16px;
}

.table-scroll {
  position: relative;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(to left, var(--color-white) 30%, rgba(255, 255, 255, 0)) right center / 48px 100% no-repeat local,
    radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0)) right center / 16px 100% no-repeat scroll,
    var(--color-white);
}

.table-scroll:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}

.compare-table {
  width: 100%;
  min-width: 600px;
  table-layout: fixed; /* equal-width company columns */
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.compare-table th,
.compare-table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-border-subtle);
  text-align: left;
  vertical-align: top;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table thead th {
  padding-top: var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  white-space: nowrap;
  border-bottom-color: var(--color-border);
}

.compare-table th[scope="row"],
.compare-table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 9.5rem;
  min-width: 9rem;
  background: var(--color-white);
  box-shadow: 1px 0 0 var(--color-border-subtle);
  font-weight: var(--weight-semibold);
}

.compare-table .is-us {
  background: var(--color-accent-tint);
  color: var(--color-text);
}

.compare-table thead .is-us {
  color: var(--color-accent);
  box-shadow: inset 0 3px 0 var(--color-accent);
}

.compare-table tbody .is-us {
  font-weight: var(--weight-semibold);
}

.fn-ref {
  margin-left: 1px;
  padding: 0 2px;
  font-size: 0.75em;
  font-weight: var(--weight-bold);
  text-decoration: none;
}

.compare-after {
  max-width: 760px;
  margin-top: var(--space-8);
}

/* Chart notes live at the bottom of the homepage, just above the footer. */
.page-notes {
  padding-block: var(--space-10);
  border-top: 1px solid var(--color-border-subtle);
}

.page-notes-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
}

.page-notes .footnotes {
  margin-top: var(--space-3);
}

.footnotes {
  margin-top: var(--space-6);
  padding-left: 1.25rem;
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

.footnotes li + li {
  margin-top: var(--space-1);
}

.footnotes li:target {
  color: var(--color-text);
  font-weight: var(--weight-semibold);
}

.footnote-general {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

@media (max-width: 999px) {
  /* Three companies fit at this size, so the chart uses the full width with
     no sideways scrolling. */
  .compare-table {
    table-layout: fixed;
    width: 100%;
    min-width: 0;
  }

  .compare-table thead th:nth-child(1) { width: 8.5rem; min-width: 0; }

  .compare-table th,
  .compare-table td {
    padding: var(--space-3) var(--space-4);
  }

  .compare-table thead th {
    white-space: normal;
  }
}

@media (min-width: 1000px) {
  .scroll-hint {
    display: none;
  }

  .compare-table {
    min-width: 0;
  }
}

/* Phones: each row of the comparison becomes its own card, with the company
   name in front of every answer, so nothing scrolls sideways. */
@media (max-width: 639px) {
  #compare .scroll-hint {
    display: none;
  }

  #compare .table-scroll {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
  }

  #compare .compare-table,
  #compare .compare-table tbody,
  #compare .compare-table tr,
  #compare .compare-table th,
  #compare .compare-table td {
    display: block;
    width: auto;
    min-width: 0;
  }

  #compare .compare-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  #compare .compare-table tbody tr {
    margin-bottom: var(--space-4);
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-white);
  }

  #compare .compare-table th[scope="row"] {
    position: static;
    padding: var(--space-4) var(--space-4) var(--space-2);
    border-bottom: 0;
    background: none;
    box-shadow: none;
    font-size: var(--text-base);
  }

  #compare .compare-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #compare .compare-table th[scope="row"] {
    grid-column: 1 / -1;
  }

  #compare .compare-table td {
    padding: var(--space-3) var(--space-4);
    border-bottom: 0;
  }

  #compare .compare-table td.is-us {
    grid-column: 1 / -1;
    padding-block: var(--space-3);
    font-size: var(--text-base);
  }

  #compare .compare-table td:nth-child(4) {
    border-left: 1px solid var(--color-border-subtle);
  }

  #compare .compare-table td::before {
    display: block;
    margin-bottom: 0.125rem;
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.02em;
    color: var(--color-text-secondary);
  }

  #compare .compare-table td:nth-child(2)::before { content: "With me"; }
  #compare .compare-table td:nth-child(3)::before { content: "Wix"; }
  #compare .compare-table td:nth-child(4)::before { content: "Squarespace"; }

  #compare .compare-table td.is-us {
    background: var(--color-accent-tint);
    box-shadow: inset 3px 0 0 var(--color-accent);
  }

  #compare .compare-table td.is-us::before {
    color: var(--color-accent);
  }
}

/* ---------- Accordion ---------- */

.accordion {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--color-border);
}

.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 44px;
  padding: var(--space-5) 0;
  list-style: none;
  cursor: pointer;
  border-radius: var(--radius-xs);
  -webkit-tap-highlight-color: transparent;
}

.accordion-item > summary::-webkit-details-marker {
  display: none;
}

.accordion-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-snug);
  line-height: var(--leading-snug);
  transition: color var(--duration-fast) var(--ease-out);
}

.accordion-item > summary:hover .accordion-title {
  color: var(--color-accent);
}

.accordion-icon {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-round);
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-text);
  transition: background-color var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--duration-base) var(--ease-out);
}

.accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-item[open] > summary .accordion-icon {
  background: var(--color-accent);
  color: var(--color-white);
}

.accordion-item[open] > summary .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.accordion-panel {
  padding: 0 var(--space-12) var(--space-6) 0;
}

.accordion-panel > * + * {
  margin-top: var(--space-3);
}

.accordion-panel ul,
.accordion-panel ol {
  padding-left: 1.4em;
}

.accordion-panel li + li {
  margin-top: var(--space-2);
}

.faq-group + .faq-group {
  margin-top: var(--space-12);
}

.faq-group-title {
  max-width: 820px;
  margin: 0 auto var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

@media (max-width: 639px) {
  .accordion-panel {
    padding-right: 0;
  }
}

/* Smooth open/close where the browser supports animating to auto height */
@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }

  .accordion-item::details-content,
  .disclosure::details-content {
    block-size: 0;
    overflow-y: clip;
    transition: content-visibility var(--duration-base) allow-discrete, block-size var(--duration-base) var(--ease-out);
  }

  .accordion-item[open]::details-content,
  .disclosure[open]::details-content {
    block-size: auto;
  }
}

/* ---------- Forms ---------- */

.form-card {
  padding: var(--space-6);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  color: var(--color-text);
}

.form > * + * {
  margin-top: var(--space-5);
}

/* <noscript> is the first child of some forms. With JS on it isn't shown, so
   the next element keeps its first-child spacing; with JS off the notice
   brings its own gap. */
.form > noscript + * {
  margin-top: 0;
}

.form noscript .form-alert {
  margin-bottom: var(--space-5);
}

.form-intro {
  font-size: var(--text-base);
}

.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

.form-intro + .form-note {
  margin-top: var(--space-2);
}

.field {
  min-width: 0;
  margin-inline: 0;
  padding: 0;
  border: 0;
}

.field > label,
.field > legend,
.field-label {
  display: block;
  margin-bottom: var(--space-2);
  padding: 0;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
}

.field-optional {
  font-weight: var(--weight-regular);
  color: var(--color-text-secondary);
}

.field-hint {
  margin: calc(var(--space-1) * -1) 0 var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

.form input[type="text"],
.form input[type="email"],
.form input[type="url"],
.form input[type="tel"],
.form input[type="search"],
.form input[type="number"],
.form select,
.form textarea,
.input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.6875rem 0.875rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 1.0625rem;
  line-height: 1.35;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form select {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231d1d1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 1.125rem;
}

.form input:hover,
.form select:hover,
.form textarea:hover {
  border-color: var(--color-text-secondary);
}

.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible {
  border-color: var(--color-accent);
  outline: var(--focus-ring);
  outline-offset: 1px;
}

.form [aria-invalid="true"] {
  border-color: var(--color-error);
}

.form input[type="checkbox"],
.form input[type="radio"] {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.1rem 0 0;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  font-weight: var(--weight-regular);
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out);
}

.choice + .choice {
  margin-top: var(--space-2);
}

.choice:has(input:checked) {
  border-color: var(--color-accent);
  background: var(--color-accent-tint);
}

.choice-plain {
  padding: 0;
  border: 0;
  background: none;
}

.choice-plain:has(input:checked) {
  background: none;
}

.field-error {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  margin-top: var(--space-2);
  color: var(--color-error);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

.field-error::before {
  content: "!";
  display: grid;
  place-items: center;
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.1em;
  border-radius: var(--radius-round);
  background: var(--color-error);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: var(--weight-bold);
  line-height: 1;
}

.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-consent {
  font-size: var(--text-base);
  color: var(--color-text);
}

.form-consent a {
  color: var(--color-accent);
  text-decoration-line: underline;
}

.form-alert {
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--color-error-bg);
  color: var(--color-error);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

.form-alert a {
  color: var(--color-error);
}

.form .btn[type="submit"] {
  margin-top: var(--space-6);
}

/* Empty marker above the contact form for the footer's "Cancel my hosting"
   link. The extra margin keeps the top of the form card in view. */
#cancel-hosting {
  display: block;
  scroll-margin-top: var(--space-16);
}

.form-success {
  padding: var(--space-2) 0;
}

.form-success::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-round);
  background: var(--color-success-bg) var(--mask-check-success) center / 26px no-repeat;
}

:root {
  --mask-check-success: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23137333' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.form-success-title {
  font-size: var(--text-2xl);
}

.form-success-title:focus {
  outline: none;
}

.form-success p {
  margin-top: var(--space-3);
  color: var(--color-text-secondary);
}

.demo-notice {
  margin-top: var(--space-5) !important;
  padding: var(--space-3) var(--space-4);
  border: 1px dashed var(--color-accent);
  border-radius: var(--radius-sm);
  background: var(--color-accent-tint);
  color: var(--color-accent) !important;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.split-intro .section-intro + p,
.split-intro p + p {
  margin-top: var(--space-4);
}

.wait-line {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-top: var(--space-6) !important;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border-on-dark);
  font-size: var(--text-sm);
}

.wait-line .icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent-on-dark);
}

@media (min-width: 640px) {
  .form-card {
    padding: var(--space-10);
  }
}

/* ---------- Cards and callouts (shared with utility pages) ---------- */

.card {
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-elevated);
}

.card-alt {
  border-color: transparent;
  background: var(--color-bg-alt);
}

.card > * + * {
  margin-top: var(--space-3);
}

.card-title {
  font-size: var(--text-xl);
}

.callout {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-accent-tint);
  color: var(--color-text);
}

.callout-neutral {
  background: var(--color-bg-alt);
}

.callout > * + * {
  margin-top: var(--space-3);
}

.callout-title {
  font-size: var(--text-lg);
}

.step-cards {
  display: grid;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-bg-elevated);
}

.step-card .btn {
  align-self: flex-start;
  margin-top: var(--space-3);
}

.step-card-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-round);
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: var(--weight-bold);
}

.price-line {
  margin-top: var(--space-4);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-snug);
  color: var(--color-accent);
}

@media (min-width: 720px) {
  .step-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card {
    padding: var(--space-8);
  }
}

/* ---------- Long-form pages (Terms, Privacy, Cookies, Accessibility) ---------- */

.page-header {
  padding-block: var(--space-16) var(--space-10);
  border-bottom: 1px solid var(--color-border-subtle);
}

.page-title {
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.page-meta {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.page-lead {
  max-width: var(--max-width-text);
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
}

.page-body {
  padding-block: var(--space-12) var(--space-section);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.prose {
  max-width: var(--max-width-text);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  overflow-wrap: break-word;
}

.prose > * + * {
  margin-top: 1em;
}

.prose h2 {
  margin-top: 2.4em;
  font-size: var(--text-2xl);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-snug);
}

.prose h3 {
  margin-top: 1.9em;
  font-size: var(--text-xl);
}

.prose h4 {
  margin-top: 1.6em;
  font-size: var(--text-base);
  letter-spacing: 0;
}

.prose h2 + *,
.prose h3 + *,
.prose h4 + * {
  margin-top: 0.6em;
}

.prose > :first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.5em;
}

.prose li + li,
.prose li > ul,
.prose li > ol {
  margin-top: 0.45em;
}

.prose li::marker {
  color: var(--color-text-secondary);
}

.prose a {
  overflow-wrap: anywhere;
}

.prose strong {
  font-weight: var(--weight-bold);
}

.prose blockquote {
  padding-left: 1em;
  border-left: 3px solid var(--color-accent);
  color: var(--color-text-secondary);
}

.prose hr {
  margin: 2.5em 0;
  border: 0;
  border-top: 1px solid var(--color-border);
}

.prose code {
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--color-bg-alt);
  font-family: var(--font-mono);
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.prose th,
.prose td {
  padding: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.prose thead th {
  border-bottom: 2px solid var(--color-border-strong);
  font-weight: var(--weight-semibold);
}

.prose .table-scroll {
  background: var(--color-white);
}

.prose .table-scroll table {
  min-width: 640px;
}

/* Phones: the cookie tables on cookies.html (class="cookie-table") stack each
   row, with the column name above every value. The selectors are a bit
   heavier than usual so they win over the .prose table rules and the
   page's own min-width for .table-wide tables. */
@media (max-width: 639px) {
  .table-scroll:has(.cookie-table) {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
  }

  table.cookie-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .table-scroll:has(.cookie-table) > table.cookie-table,
  table.cookie-table,
  table.cookie-table tbody,
  table.cookie-table tr,
  table.cookie-table th,
  table.cookie-table td {
    display: block;
    width: auto;
    min-width: 0;
  }

  table.cookie-table tr {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-border);
  }

  table.cookie-table tbody th {
    padding: 0 0 var(--space-1);
    border: 0;
    font-weight: var(--weight-semibold);
  }

  table.cookie-table td {
    padding: var(--space-1) 0;
    border: 0;
  }

  table.cookie-table td::before {
    display: block;
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--color-text-secondary);
  }

  table.cookie-table td:nth-of-type(1)::before { content: "Provider"; }
  table.cookie-table td:nth-of-type(2)::before { content: "Type"; }
  table.cookie-table td:nth-of-type(3)::before { content: "What it does"; }
  table.cookie-table td:nth-of-type(4)::before { content: "How long it lasts"; }
  table.cookie-table td:nth-of-type(5)::before { content: "Loads before you agree?"; }

  .table-scroll:has(.cookie-table) ~ .scroll-hint,
  .scroll-hint:has(+ .table-scroll .cookie-table) {
    display: none;
  }
}

.prose [id] {
  scroll-margin-top: calc(var(--header-height) + var(--space-6));
}

/* Conspicuous legal text: bold, normal size, full-strength color. Never gray, never collapsed. */
.conspicuous,
.prose .conspicuous {
  font-weight: var(--weight-bold);
  font-size: inherit;
  color: var(--color-text);
}

.legal-box {
  padding: var(--space-5) var(--space-6);
  border: 2px solid var(--color-text);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-text);
  font-weight: var(--weight-bold);
}

.legal-box > * + * {
  margin-top: 0.75em;
}

.toc {
  max-width: var(--max-width-text);
  margin-bottom: var(--space-12);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
}

.toc-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.toc ol,
.toc ul {
  margin-top: var(--space-3);
  padding-left: 1.4em;
  font-size: var(--text-sm);
}

.toc li + li {
  margin-top: var(--space-1);
}

@media (min-width: 720px) {
  .toc ol,
  .toc ul {
    columns: 2;
    column-gap: var(--space-10);
  }

  .toc li {
    break-inside: avoid;
  }
}

/* ---------- Utility pages (404 and short pages) ---------- */

.center-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-height) - 280px);
  padding-block: var(--space-section);
  text-align: center;
}

.center-page .page-title {
  max-width: 16ch;
  margin-inline: auto;
}

.center-page p {
  max-width: 34em;
  margin: var(--space-5) auto 0;
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
}

.center-page .btn-row {
  justify-content: center;
  margin-top: var(--space-8);
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: var(--space-16) var(--space-10);
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

.footer-top {
  display: grid;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

.footer-tagline {
  margin-top: var(--space-2);
  max-width: 28em;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-link-btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-text);
  font-size: var(--text-sm);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.footer-links a:hover,
.footer-link-btn:hover {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

html:not(.js) [data-cookie-settings] {
  display: none;
}

.footer-bottom {
  display: grid;
  gap: var(--space-2);
  padding-top: var(--space-8);
}

.footer-made {
  color: var(--color-text);
  font-weight: var(--weight-medium);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  justify-self: start;
  min-height: 40px;
  margin-top: var(--space-3);
  color: var(--color-text);
  font-weight: var(--weight-medium);
  text-decoration: none;
}

.back-to-top:hover {
  color: var(--color-accent);
}

.back-to-top .icon {
  width: 16px;
  height: 16px;
}

@media (min-width: 800px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .footer-links {
    grid-template-columns: repeat(3, auto);
    gap: 0 var(--space-10);
  }
}

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: var(--space-3);
  right: var(--space-3);
  bottom: max(var(--space-3), env(safe-area-inset-bottom));
  z-index: var(--z-cookie);
  max-width: 640px;
  margin-inline: auto;
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-lg), 0 2px 6px rgba(0, 0, 0, 0.06);
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  animation: banner-in var(--duration-slow) var(--ease-out);
}

@keyframes banner-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.cookie-banner-actions .btn-text {
  flex: 0 0 auto;
  margin-right: auto;
  padding-inline: var(--space-1);
}

.cookie-banner-actions .btn-dark {
  flex: 0 1 6.5rem;
  min-width: 0;
}

@media (max-width: 559px) {
  .cookie-banner {
    padding: var(--space-4);
    font-size: 0.875rem;
  }

  /* Shorter banner on phones; the footer still has Cookie settings. */
  .cookie-banner-extra {
    display: none;
  }
}

@media (min-width: 560px) {
  .cookie-banner {
    padding: var(--space-5) var(--space-6);
  }

  .cookie-banner-actions .btn-dark {
    flex: 0 0 8rem;
  }
}

@media (min-width: 960px) {
  .cookie-banner {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    left: var(--space-6);
    right: var(--space-6);
    bottom: var(--space-4);
    max-width: 1200px;
    padding: var(--space-4) var(--space-4) var(--space-4) var(--space-6);
  }

  .cookie-banner-text {
    flex: 1 1 auto;
  }

  .cookie-banner-actions {
    flex: none;
    margin-top: 0;
  }

  .cookie-banner-actions .btn-text {
    margin-right: var(--space-2);
  }
}

/* ---------- Cookie settings dialog ---------- */

.cookie-dialog {
  width: min(560px, calc(100% - (var(--space-4) * 2)));
  max-width: none;
  max-height: calc(100% - (var(--space-4) * 2));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  color: var(--color-text);
  overscroll-behavior: contain;
}

.cookie-dialog:not([open]) {
  display: none;
}

.cookie-dialog[open] {
  animation: dialog-in var(--duration-base) var(--ease-out);
}

.cookie-dialog.is-fallback {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
}

.cookie-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cookie-dialog-inner {
  padding: var(--space-6);
}

.cookie-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}

.cookie-dialog-title {
  padding-top: var(--space-2);
  font-size: var(--text-2xl);
}

.dialog-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin: calc(var(--space-2) * -1) calc(var(--space-2) * -1) 0 0;
  border: 0;
  border-radius: var(--radius-round);
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-text);
}

.dialog-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.dialog-close .icon {
  width: 20px;
  height: 20px;
}

.cookie-dialog-intro {
  margin-top: var(--space-3);
  color: var(--color-text-secondary);
}

.cookie-gpc-note {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--color-accent-tint);
  font-size: var(--text-sm);
}

.cookie-cats {
  margin-top: var(--space-5);
}

.cookie-cat {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-border-subtle);
}

.cookie-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.cookie-cat-name {
  font-size: var(--text-base);
  letter-spacing: 0;
}

.cookie-cat-status {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
}

.cookie-cat p {
  margin-top: var(--space-1);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.cookie-dialog-actions {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.cookie-dialog-link {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  text-align: center;
}

@media (min-width: 560px) {
  .cookie-dialog-inner {
    padding: var(--space-8);
  }

  .cookie-dialog-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-dialog-actions .btn-primary {
    grid-column: 1 / -1;
  }
}

/* Toggle switch: <label class="switch"><input class="switch-input" type="checkbox" role="switch"><span class="switch-track"></span><span class="switch-state">Off</span></label> */
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  flex: none;
  cursor: pointer;
}

.switch-input {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 51px;
  height: 31px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.switch-track {
  position: relative;
  width: 51px;
  height: 31px;
  border-radius: 31px;
  background: var(--color-border-strong);
  transition: background-color var(--duration-base) var(--ease-out);
}

.switch-track::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: var(--radius-round);
  background: var(--color-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform var(--duration-base) var(--ease-out);
}

.switch-input:checked + .switch-track {
  background: var(--color-accent);
}

.switch-input:checked + .switch-track::before {
  transform: translateX(20px);
}

.switch-input:focus-visible + .switch-track {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.switch-input:disabled,
.switch-input:disabled + .switch-track {
  cursor: not-allowed;
  opacity: 0.55;
}

.switch-state {
  min-width: 1.75em;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: max(var(--space-6), env(safe-area-inset-bottom));
  z-index: calc(var(--z-modal) + 1);
  max-width: calc(100% - (var(--space-4) * 2));
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  background: var(--color-dark-bg);
  box-shadow: var(--shadow-lg);
  color: var(--color-text-on-dark);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast:empty {
  padding: 0;
}

/* ---------- Scroll reveal (main.js adds .reveal-pending only to blocks below the fold) ---------- */

.reveal {
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}

.reveal-pending {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
}

/* Wide tables on legal pages turn into one card per row on phones. Each cell
   shows its column name from data-label. */
@media (max-width: 639px) {
  .prose table.stack-mobile,
  .prose .table-wide table.stack-mobile,
  .prose table.stack-mobile tbody,
  .prose table.stack-mobile tr,
  .prose table.stack-mobile th,
  .prose table.stack-mobile td {
    display: block;
    width: auto;
    min-width: 0;
  }

  .prose table.stack-mobile thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .prose table.stack-mobile tr {
    margin-bottom: var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .prose table.stack-mobile th[scope="row"] {
    padding: var(--space-3) var(--space-4);
    background: var(--color-bg-alt);
    border: 0;
  }

  .prose table.stack-mobile td {
    padding: var(--space-2) var(--space-4) var(--space-3);
    border: 0;
    border-top: 1px solid var(--color-border-subtle);
  }

  .prose table.stack-mobile td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.125rem;
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    color: var(--color-text-secondary);
  }
}

/* ---------- Forced colors (Windows High Contrast) ---------- */

@media (forced-colors: active) {
  .btn,
  .tag,
  .badge,
  .segmented label,
  .switch-track,
  .accordion-icon,
  .cookie-banner,
  .form-card,
  .price-card,
  .work-card {
    border: 1px solid CanvasText;
  }

  .check-list li::before,
  .x-list li::before,
  .disclosure > summary::after {
    background: CanvasText;
  }

  .switch-input:checked + .switch-track {
    background: Highlight;
  }
}

/* ---------- Print ---------- */

@media print {
  .site-header,
  .site-nav,
  .cookie-banner,
  .cookie-dialog,
  .toast,
  .skip-link,
  .back-to-top,
  .hero-actions,
  .form-card,
  [data-cookie-settings] {
    display: none !important;
  }

  .reveal-pending {
    opacity: 1 !important;
    transform: none !important;
  }

  .section-dark {
    background: none;
    color: #000;
  }

  .section,
  .page-body {
    padding-block: 1.5rem;
  }

  details > *:not(summary) {
    display: block !important;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    position: static;
    font-size: 0.85em;
    color: #444;
  }
}
