/* =============================================================================
   X3WEB — the site stylesheet
   -----------------------------------------------------------------------------
   Built in the style of the X3WEB DIY Marketing Pack site: large blocks that
   span the browser and touch, generous space inside them, plain Inter type,
   warm stone and light grey fills, near-black ink, and X3WEB orange as the one
   accent.

   One deliberate change from that site: things that sit *inside* a block —
   cards, framed screenshots, photographs, popups, buttons — carry soft, warm
   shadows. The blocks themselves stay flat and touching.

   Page families with their own components add one more stylesheet each:
   x3-bm.css (business models), x3-wm.css (website management),
   x3-ai.css (all-inclusive). They use the tokens defined here and nothing else.
   ============================================================================= */


/* ── Font ──────────────────────────────────────────────────────────────────── */

/* Inter, variable weight, served from the site (SIL Open Font Licence; see
   /assets/fonts/Inter-LICENSE.txt). The same files the Marketing Pack uses, so
   both sites set type identically. */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* ── Tokens ────────────────────────────────────────────────────────────────── */

:root {
  color-scheme: light;

  --font: 'Inter Variable', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Fills. Neighbouring blocks alternate between these, so sections read as
     separate rectangles that touch. All of them are light. */
  --stone: #edecea;
  --stone-warm: #e6e2df;
  --panel: #f9f9f9;
  --panel-grey: #e7e5e6;
  --scene: #e5e0dd;
  --footer: #eeedeb;
  --wall: #ebe7e1;          /* the hero's wall */
  --card: #ffffff;          /* anything that sits on a block */

  /* Ink. */
  --ink: #1c1c19;
  --ink-muted: #575650;
  --ink-hero: #45443e;      /* secondary text on the hero wall */
  --line: rgb(28 28 25 / 0.14);
  --line-strong: rgb(28 28 25 / 0.3);
  --line-control: #8a8882;  /* field edges: 3:1 against white */
  --negative: #9e2b17;

  /* X3WEB orange — buttons, emphasised words, links, hairline marks. */
  --accent: #ff5500;
  --accent-hover: #ff6d24;
  /* The same orange, deepened for small text (links, kickers, roles) so it
     reads at 12–16px: about 5:1 on white. Buttons, headings, numbers and
     hairlines keep the brand orange. */
  --accent-text: #c43f00;

  /* Shadows. Built from the ink colour rather than black, and layered, so they
     read as soft depth rather than outlines. */
  --shadow-1: 0 1px 2px rgb(28 28 25 / 0.06), 0 4px 14px rgb(28 28 25 / 0.08);
  --shadow-2: 0 2px 4px rgb(28 28 25 / 0.05), 0 12px 28px rgb(28 28 25 / 0.11), 0 28px 56px rgb(28 28 25 / 0.08);
  --shadow-3: 0 4px 10px rgb(28 28 25 / 0.07), 0 24px 56px rgb(28 28 25 / 0.18), 0 52px 104px rgb(28 28 25 / 0.14);
  --shadow-accent: 0 6px 18px rgb(255 85 0 / 0.3);
  --shadow-accent-hover: 0 12px 30px rgb(255 85 0 / 0.4);
  --shadow-ink: 0 6px 18px rgb(28 28 25 / 0.22);
  --shadow-ink-hover: 0 12px 30px rgb(28 28 25 / 0.3);

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Space inside a block: 22px on phones to 72px at 1440px across, and
     56px to 112px down. */
  --pad-x: clamp(1.375rem, 0.4rem + 4.4vw, 4.5rem);
  --pad-y: clamp(3.5rem, 2rem + 5.2vw, 7rem);
  --header-h: 4.75rem;
  --content: 90rem;
}

@media (min-width: 768px) {
  :root { --header-h: 5.5rem; }
}


/* ── Base ──────────────────────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 420;
  line-height: 1.15;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
figure, blockquote { margin: 0; }
img, svg, video { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
strong, b { font-weight: 600; }
a { color: inherit; }

/* Emphasis inside a heading is the X3WEB orange, upright. */
:where(h1, h2, h3, h4) em { font-style: normal; color: var(--accent); }

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

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

.x3-skip {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 300;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transition: top 0.2s;
}
.x3-skip:focus { top: 1rem; }

.x3-orange { color: var(--accent); }


/* ── Type ──────────────────────────────────────────────────────────────────── */

/* Spaced capitals with a short orange hairline before them: "—— LABEL". */
.x3-eyebrow,
.x3-label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.x3-eyebrow::before,
.x3-label--dash::before {
  content: '';
  flex: none;
  width: 2.25rem;
  height: 1px;
  background: var(--accent);
}
/* The old eyebrows carried an icon; the style uses the hairline instead. */
.x3-eyebrow > svg { display: none; }
.x3-eyebrow { margin-bottom: 1.5rem; }

.x3-h2 {
  font-size: clamp(2rem, 1.15rem + 2.6vw, 3.75rem);
  font-weight: 420;
  line-height: 1.04;
  letter-spacing: -0.036em;
  color: var(--ink);
}

.x3-h3 {
  font-size: clamp(1.25rem, 1.05rem + 0.55vw, 1.625rem);
  font-weight: 450;
  line-height: 1.18;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.x3-lede {
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  color: var(--ink-muted);
}
.x3-lede + .x3-lede { margin-top: 1rem; }

.x3-display {
  font-size: clamp(2.5rem, 1.6rem + 2.6vw, 4.25rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: lining-nums;
}

/* Small print beside an offer. Never under 15px. */
.x3-note {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-muted);
}


/* Text links: orange, underlined. */
.x3-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgb(196 63 0 / 0.45);
  transition: text-decoration-color 0.2s var(--ease);
}
.x3-link:hover { text-decoration-color: currentColor; }
.x3-link svg { flex: none; }

/* Links inside running copy. */
:where(.x3-lede, .x3-faq__a, .x3-prose, .x3-legal, .x3-note, .x3-tile p) a:not([class]) {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: rgb(196 63 0 / 0.45);
}
:where(.x3-lede, .x3-faq__a, .x3-prose, .x3-legal, .x3-note, .x3-tile p) a:not([class]):hover {
  text-decoration-color: currentColor;
}


/* ── Blocks ────────────────────────────────────────────────────────────────── */

/* Every block spans the browser; its fill touches the blocks around it. */
.x3-sec {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  background: var(--panel);
}
.x3-sec--alt  { background: var(--stone); }
.x3-sec--deep { background: var(--stone-warm); }
.x3-sec--dark { background: var(--panel-grey); }
.x3-sec--tight { padding-block: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem); }

/* Two blocks of the same fill would merge into one, so a hairline separates
   them — the only line ever drawn between blocks. */
.x3-sec:not(.x3-sec--alt, .x3-sec--deep, .x3-sec--dark) + .x3-sec:not(.x3-sec--alt, .x3-sec--deep, .x3-sec--dark),
.x3-sec--alt + .x3-sec--alt,
.x3-sec--deep + .x3-sec--deep,
.x3-sec--dark + .x3-sec--dark {
  box-shadow: inset 0 1px 0 var(--line);
}

.x3-wrap {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
}
.x3-wrap--wide { max-width: 100rem; }

.x3-head {
  max-width: 50rem;
  margin-bottom: clamp(2.5rem, 1.8rem + 2.4vw, 4rem);
}
.x3-head .x3-h2 + .x3-lede,
.x3-head .x3-h2 + p { margin-top: 1.25rem; }
.x3-head--center {
  margin-inline: auto;
  text-align: center;
}
/* A head written with bare elements reads the same as one using the classes. */
.x3-head > h2:not([class]) {
  font-size: clamp(2rem, 1.15rem + 2.6vw, 3.75rem);
  font-weight: 420;
  line-height: 1.04;
  letter-spacing: -0.036em;
  color: var(--ink);
}
.x3-head > h2:not([class]) + p:not([class]) {
  margin-top: 1.25rem;
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  color: var(--ink-muted);
}
.x3-head--center > h2:not([class]) + p:not([class]) { max-width: 42rem; margin-inline: auto; }
.x3-head--center .x3-lede { max-width: 42rem; margin-inline: auto; }

/* Grids of cards. */
.x3-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.875rem, 0.6rem + 0.9vw, 1.375rem);
}
@media (min-width: 640px) {
  .x3-grid--2, .x3-grid--3, .x3-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .x3-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .x3-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Two columns. */
.x3-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.25rem, 1rem + 3.5vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .x3-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/*
 * A split with a photograph becomes two panels that touch, dividing at the
 * exact centre: the photograph fills its panel edge to edge and the copy has
 * the block's own padding.
 */
.x3-sec:has(> .x3-wrap > .x3-split > .x3-media) { padding: 0; }
.x3-sec:has(> .x3-wrap > .x3-split > .x3-media) > .x3-wrap { max-width: none; }
.x3-split:has(> .x3-media) { gap: 0; align-items: stretch; }
.x3-split:has(> .x3-media) > :not(.x3-media) {
  align-self: center;
  padding: var(--pad-y) var(--pad-x);
}
.x3-split:has(> .x3-media) > :not(.x3-media) > * { max-width: 38rem; }

.x3-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--scene);
}
.x3-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 900px) {
  .x3-media { aspect-ratio: auto; min-height: 34rem; }
  .x3-media--tall { min-height: 40rem; }
}

/* A row of buttons. */
.x3-btnrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem 1rem;
  margin-top: 2rem;
}
.x3-btnrow--center { justify-content: center; }
.x3-head + .x3-btnrow { margin-top: 0; }
.x3-grid + .x3-btnrow,
.x3-faq + .x3-btnrow,
.x3-reviews + .x3-btnrow,
.x3-work + .x3-btnrow,
.x3-pricing + .x3-btnrow { margin-top: clamp(2.25rem, 1.8rem + 1.5vw, 3.25rem); }
.x3-lede + .x3-contact,
.x3-lede + .x3-contact--icons { margin-top: 2rem; }

/* Centred copy on its own, without a head. */
.x3-measure { max-width: 42rem; margin-inline: auto; }


/* ── Buttons ───────────────────────────────────────────────────────────────── */

/*
 * Three kinds, keeping the old site's hierarchy:
 *   .x3-btn            ink pill — the ordinary primary action
 *   .x3-btn--accent    orange pill — the main call to action on a block
 *   .x3-btn--ghost     outlined quiet pill — the secondary action
 * The arrow (.x3-btn__disc in the markup, written before the label) is moved
 * after it, as in the reference.
 */
.x3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.375rem;
  padding: 0.5rem 1.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-ink);
  transition:
    background-color 0.2s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.x3-btn:hover {
  background: #000;
  box-shadow: var(--shadow-ink-hover);
  transform: translateY(-1px);
}
.x3-btn:active { transform: translateY(0); }

.x3-btn--accent { background: var(--accent); box-shadow: var(--shadow-accent); }
.x3-btn--accent:hover { background: var(--accent-hover); box-shadow: var(--shadow-accent-hover); }

.x3-btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-control);
}
.x3-btn--ghost:hover {
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--ink), var(--shadow-1);
}

.x3-btn--sm { min-height: 2.875rem; padding: 0.4rem 1.25rem; font-size: 0.9375rem; }
.x3-btn--block { width: 100%; }

.x3-btn__disc { order: 2; display: inline-flex; flex: none; }
.x3-btn__disc svg,
.x3-btn > svg { width: 1.125rem; height: 1.125rem; transition: transform 0.25s var(--ease); }
.x3-btn:hover .x3-btn__disc svg { transform: translateX(3px); }

.x3-btn:disabled,
.x3-btn[aria-disabled='true'] { cursor: not-allowed; opacity: 0.55; transform: none; }

@media (min-width: 480px) {
  .x3-btn { white-space: nowrap; }
}


/* ── Cards ─────────────────────────────────────────────────────────────────── */

.x3-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.x3-tile:has(a[href]):hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.x3-tile__icon {
  display: inline-flex;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.x3-tile__icon svg { width: 1.75rem; height: 1.75rem; }
.x3-tile .x3-h3 { font-size: clamp(1.1875rem, 1.1rem + 0.3vw, 1.3125rem); line-height: 1.25; }
.x3-tile p { font-size: 1rem; line-height: 1.6; color: var(--ink-muted); }
.x3-tile .x3-btn,
.x3-tile .x3-link { margin-top: auto; align-self: flex-start; }

/* A picture across the top of a card. */
.x3-tile__img {
  display: block;
  width: calc(100% + 2 * clamp(1.5rem, 1.2rem + 1vw, 2.125rem));
  max-width: none;
  margin: calc(-1 * clamp(1.5rem, 1.2rem + 1vw, 2.125rem)) calc(-1 * clamp(1.5rem, 1.2rem + 1vw, 2.125rem)) 0.5rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* A card with a picture on top and a padded body: blog posts, case studies. */
.x3-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.x3-card:has(a[href]):hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.x3-card__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--scene); }
.x3-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.x3-card:hover .x3-card__media img { transform: scale(1.03); }
.x3-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.875rem;
  padding: clamp(1.375rem, 1.1rem + 0.8vw, 1.875rem);
}
.x3-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
.x3-card__title { font-size: 1.25rem; font-weight: 450; line-height: 1.25; letter-spacing: -0.018em; }
.x3-card__title a { text-decoration: none; }
.x3-card__title a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.x3-card__text { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-muted); }
.x3-card__body .x3-link { margin-top: auto; }

/* A small spaced-capitals tag, used for categories. */
.x3-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--stone-warm);
  color: var(--ink);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* A plain card used to frame an aside — a call to action inside an article. */
.x3-aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.x3-aside__title { display: block; margin-bottom: 0.35rem; font-size: 1.0625rem; font-weight: 500; }


/* ── Statement block, numbered steps, figures ──────────────────────────────── */

/* The old dark call-to-action box becomes a centred statement on its block. */
.x3-band {
  max-width: 62rem;
  margin-inline: auto;
  text-align: center;
}
.x3-band .x3-h2 {
  font-size: clamp(2.25rem, 0.9rem + 4.1vw, 4.75rem);
  letter-spacing: -0.04em;
}
.x3-band .x3-lede { max-width: 42rem; margin: 1.5rem auto 0; }
.x3-band .x3-btnrow { justify-content: center; margin-top: 2.25rem; }

/* "01 ——" numbering. */
.x3-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.875rem, 0.6rem + 0.9vw, 1.375rem);
}
@media (min-width: 640px) { .x3-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .x3-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .x3-steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.x3-step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.x3-step__n {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.x3-step__n::after { content: ''; width: 2.5rem; height: 1px; background: var(--accent); }
.x3-step p { font-size: 1rem; line-height: 1.6; color: var(--ink-muted); }

/* Hairline row of headline figures. */
.x3-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}
@media (min-width: 900px) { .x3-proof { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.x3-proof__item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem) clamp(1rem, 0.6rem + 1.2vw, 2rem);
  border-bottom: 1px solid var(--line);
}
.x3-proof__item:nth-child(odd) { padding-left: 0; }
@media (min-width: 900px) {
  .x3-proof__item { border-bottom: 0; padding-left: clamp(1rem, 0.6rem + 1.2vw, 2rem); }
  .x3-proof__item + .x3-proof__item { border-left: 1px solid var(--line); }
  .x3-proof__item:first-child { padding-left: 0; }
}
.x3-proof__num {
  font-size: clamp(2.25rem, 1.5rem + 2.4vw, 4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.x3-proof__num span { color: var(--accent); }
.x3-proof__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}


/* ── Questions ─────────────────────────────────────────────────────────────── */

.x3-faq {
  max-width: 56rem;
  margin-inline: auto;
  border-top: 1px solid var(--line-strong);
}
.x3-faq__item { border-bottom: 1px solid var(--line); }
.x3-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.375rem 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  font-weight: 450;
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.x3-faq__q::-webkit-details-marker { display: none; }
/* A plus that becomes a minus. */
.x3-faq__q::after {
  content: '';
  flex: none;
  width: 1rem;
  height: 1rem;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: background-size 0.25s var(--ease);
}
.x3-faq__item[open] > .x3-faq__q::after { background-size: 100% 1.5px, 1.5px 0; }
.x3-faq__q:hover { color: var(--accent); }
.x3-faq__a {
  max-width: 48rem;
  padding: 0 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-muted);
}
.x3-faq__a p + p { margin-top: 0.85rem; }


/* ── Logos, contact rows, assurances ───────────────────────────────────────── */

.x3-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 0.5rem + 0.8vw, 1.25rem);
  max-width: 68rem;
  margin-inline: auto;
}
@media (min-width: 640px) { .x3-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.x3-logos__cell {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  padding: clamp(1rem, 0.6rem + 1.4vw, 1.75rem);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.x3-logos__cell img {
  width: auto;
  height: auto;
  max-width: min(78%, 13rem);
  max-height: clamp(3rem, 2rem + 3vw, 5rem);
  object-fit: contain;
}
/* White artwork, drawn for a dark ground. */
.x3-logos__cell--ink { background: var(--ink); border-color: var(--ink); }
/* Phones only: evens out the two-column grid (see home.php). */
@media (min-width: 640px) { .x3-logos__cell--phone { display: none; } }

/* A photograph in a block keeps faces in frame: people sit in the upper part. */
.x3-media img { object-position: 50% 28%; }

.x3-contact { border-top: 1px solid var(--line); }
.x3-contact__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--line);
}
.x3-contact__key {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--card);
  color: var(--accent);
  box-shadow: var(--shadow-1);
}
.x3-contact__key svg { width: 1.2rem; height: 1.2rem; }
.x3-contact__val { display: grid; gap: 0.15rem; font-size: 1.0625rem; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
/* What a line is for: Sales, Support, Email, Office. */
.x3-contact__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.x3-contact__val a { text-decoration: none; }
.x3-contact__val a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 0.2em; }

/* A centred call-to-action block with a note under the buttons. */
.x3-cta { display: flex; flex-direction: column; align-items: center; text-align: center; }
.x3-cta .x3-btnrow { justify-content: center; }
.x3-cta__note { margin-top: 1rem; font-size: 0.9375rem; color: var(--ink-muted); }

/* Breadcrumb. */
.x3-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.6rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
.x3-crumb a { color: var(--ink); text-decoration: none; }
.x3-crumb a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.x3-crumb > span[aria-hidden] { color: var(--ink-muted); }
.x3-crumb > span[aria-current] { color: var(--ink-muted); }


/* ── Forms ─────────────────────────────────────────────────────────────────── */

.x3-form { display: grid; gap: 1.125rem; }
.x3-form__row { display: grid; gap: 1.125rem; }
@media (min-width: 640px) { .x3-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.x3-field { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.x3-field label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}
.x3-field input,
.x3-field select,
.x3-field textarea {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-control);
  border-radius: 0;
  background: var(--card);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  box-shadow: inset 0 1px 2px rgb(28 28 25 / 0.04);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.x3-field textarea { min-height: 7.5rem; resize: vertical; }
.x3-field input::placeholder,
.x3-field textarea::placeholder { color: #8a8882; opacity: 1; }
.x3-field input:hover,
.x3-field select:hover,
.x3-field textarea:hover { border-color: var(--ink-muted); }
.x3-field input:focus,
.x3-field select:focus,
.x3-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink), var(--shadow-1);
}
.x3-field select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231c1c19' stroke-width='1.5'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}
/* Set by the form scripts on a field that failed validation. */
.x3-field.has-error input,
.x3-field.has-error select,
.x3-field.has-error textarea,
.x3-field .is-error { border-color: var(--negative); box-shadow: 0 0 0 1px var(--negative); }
.x3-field.has-error label { color: var(--negative); }

.x3-form__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-muted);
  text-align: center;
}
.x3-form__note svg { flex: none; width: 0.875rem; height: 0.875rem; }
.x3-form .x3-btn[type='submit'] { width: 100%; margin-top: 0.375rem; }

/* A form on its own card. */
.x3-formcard {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}
.x3-formcard__error {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.875rem 1.125rem;
  border-left: 2px solid currentColor;
  background: #f6e7e3;
  color: var(--negative);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.x3-formcard__error svg { flex: none; margin-top: 0.15em; }


/* ── Header ────────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
  padding-inline: var(--pad-x);
  transition: box-shadow 0.3s var(--ease);
}
/* The frosted fill is on a layer behind the bar, not the bar itself: a
   backdrop-filter on the bar would make it the containing block for the fixed
   phone menu inside it, squeezing that menu into the bar's own height. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(237 236 234 / 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), var(--shadow-1); }

.site-logo { display: inline-flex; align-items: center; }
.site-logo img { display: block; width: auto; height: 1.75rem; }
@media (min-width: 768px) { .site-logo img { height: 2rem; } }

.site-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.1rem, 0.2rem + 1.4vw, 2.25rem);
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
  border: 0;
  background: linear-gradient(currentColor, currentColor) left calc(100% - 0.35rem) / 0 1px no-repeat;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 450;
  white-space: nowrap;
  text-decoration: none;
  transition: background-size 0.3s var(--ease), color 0.2s var(--ease);
}
.nav-link:hover,
.nav-link[aria-current='page'],
.nav-link.is-current { background-size: 100% 1px; }
.nav-link[aria-current='page'],
.nav-link.is-current { font-weight: 550; }
.nav-link svg { width: 0.875rem; height: 0.875rem; transition: transform 0.25s var(--ease); }
.nav-link[aria-expanded='true'] svg { transform: rotate(180deg); }

/* The Services menu. */
.site-nav__item { position: relative; }
.nav-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  z-index: 10;
  display: none;
  width: max-content;
  min-width: 20rem;
  padding: 0.75rem;
  translate: -50% 0;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  list-style: none;
}
.nav-menu.is-open { display: block; }
.nav-menu a {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 0.875rem;
  color: var(--ink);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.nav-menu a:hover { background: var(--stone); }
.nav-menu a svg { flex: none; width: 1.125rem; height: 1.125rem; color: var(--accent); }
.nav-menu__all {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.nav-menu__all a { font-weight: 550; }

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.75rem, 0.2rem + 1.2vw, 1.5rem);
}
.site-header__zone { display: none; }
.site-header__burger {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
.site-header__burger svg { width: 1.375rem; height: 1.375rem; }
.site-header__burger > span { display: inline-grid; }
.site-header__burger-close,
.site-header__burger[aria-expanded='true'] .site-header__burger-open { display: none !important; }
.site-header__burger[aria-expanded='true'] .site-header__burger-close { display: inline-grid !important; }
.site-header__cta { display: none; }

/* Phones and tablets: the links live in a full-height panel under the bar. */
@media (max-width: 1239.98px) {
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 190;
    display: none;
    overflow-y: auto;
    padding: 1.5rem var(--pad-x) calc(2rem + env(safe-area-inset-bottom));
    background: var(--stone);
    box-shadow: inset 0 1px 0 var(--line);
  }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list > li { border-bottom: 1px solid var(--line); }
  .site-nav__list .nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 1.05rem 0;
    background: none;
    font-size: 1.375rem;
    font-weight: 420;
    letter-spacing: -0.02em;
  }
  .site-nav__list .nav-link[aria-current='page'],
  .site-nav__list .nav-link.is-current { color: var(--accent-text); font-weight: 450; }
  .site-nav__list .nav-link svg { width: 1.25rem; height: 1.25rem; }
  .nav-menu {
    position: static;
    width: auto;
    min-width: 0;
    margin: 0 0 1rem;
    padding: 0.25rem 0;
    translate: none;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .nav-menu a { padding: 0.7rem 0; font-size: 1.0625rem; }
  .nav-menu a:hover { background: transparent; color: var(--accent); }
  .site-nav__extra { display: grid; gap: 0.875rem; margin-top: 2rem; }
  .site-nav__extra .x3-btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}

@media (min-width: 768px) {
  .site-header__cta { display: inline-flex; }
}

@media (min-width: 1240px) {
  .site-header__burger,
  .site-nav__extra { display: none; }
  .site-header__zone { display: inline-flex; }
}


/* ── Hero ──────────────────────────────────────────────────────────────────── */

/*
 * The copy has its own calm wall and the page's photograph sits next to it.
 * Phones and tablets: heading, then the photograph, then the text and buttons.
 * From 1024px: copy on the left, the photograph filling the rest of the width
 * and the full height of the block. The photograph's own focal point
 * (--img-pos, --img-pos-m) keeps faces in frame at every width.
 */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--wall);
}

.hero__copy { display: contents; }

.hero__top {
  order: 1;
  padding: clamp(2.25rem, 1.5rem + 3vw, 3.5rem) var(--pad-x) 1.75rem;
}
.hero__media {
  position: relative;
  order: 2;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin: 0;
  background: var(--scene);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 7%);
}
.hero__body {
  order: 3;
  padding: 2rem var(--pad-x) clamp(2.75rem, 2rem + 2.5vw, 4rem);
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--img-pos-m, var(--img-pos, 50% 40%));
}

@media (min-width: 640px) and (max-width: 1023.98px) {
  .hero__media { aspect-ratio: 16 / 10; }
  .hero__media img { object-position: var(--img-pos, 50% 45%); }
}

.hero .x3-crumb { margin-bottom: 1.5rem; }
.hero .x3-eyebrow { margin-bottom: 1.5rem; }

.hero__title {
  /* Each page states its headline size against the home page's 56; the
     scale keeps longer headlines from crowding the photograph. */
  font-size: clamp(1.75rem, calc((1rem + 3vw) * var(--h1-scale, 0.8)), calc(3.6rem * var(--h1-scale, 0.8)));
  font-weight: 480;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero__title .ln { display: block; }

.hero__lead {
  max-width: 36rem;
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  color: var(--ink-hero);
}
.hero .x3-btnrow { margin-top: 2rem; }

/* The secondary pill and the round button stay together when the row wraps. */
.hero__more { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: inherit; }

/* The round WhatsApp / enquiry button beside the hero's pills. */
.hero__round {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 3.375rem;
  height: 3.375rem;
  border: 0;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), color 0.2s var(--ease);
}
.hero__round:hover { color: var(--accent); box-shadow: var(--shadow-2); transform: translateY(-1px); }
.hero__round svg { width: 1.375rem; height: 1.375rem; }

/* The badge: the two team faces and "2,000+ Clients". */
.hero__trust {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}
.hero__faces { display: inline-flex; }
.hero__face {
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 999px;
  background-color: var(--scene);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 0 2px var(--wall), var(--shadow-1);
}
.hero__face + .hero__face { margin-left: -0.625rem; }

/* "Meet …" names the specialist in the photograph: a white card on it, so it
   reads on any photograph. */
.hero__meet {
  position: absolute;
  left: clamp(1rem, 0.5rem + 2vw, 2rem);
  bottom: clamp(1rem, 0.5rem + 2vw, 2rem);
  z-index: 1;
  display: grid;
  gap: 0.15rem;
  max-width: calc(100% - 2rem);
  padding: 0.875rem 1.125rem;
  background: var(--card);
  box-shadow: var(--shadow-3);
}
.hero__meet-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.hero__meet-name { font-size: 1.0625rem; font-weight: 500; color: var(--ink); }
.hero__meet-role { font-size: 0.875rem; color: var(--ink-muted); }

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    min-height: clamp(36rem, 44vw, 48rem);
  }
  .hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-column: 1;
    grid-row: 1;
    padding: clamp(3.5rem, 2rem + 3vw, 6rem) var(--pad-x);
  }
  .hero__top,
  .hero__body { padding: 0; }
  .hero__body { margin-top: 1.75rem; }
  .hero__media {
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%);
    mask-image: linear-gradient(to right, transparent 0, #000 9%);
  }
  .hero__media img { object-position: var(--img-pos, 50% 45%); }
  .hero__meet { left: auto; right: clamp(1.25rem, 0.5rem + 2vw, 2.5rem); }
}

/* The hero's figures, in a hairline row directly under it. */
.hero-facts {
  padding: 0 var(--pad-x);
  background: var(--stone);
  box-shadow: inset 0 -1px 0 var(--line);
}
.hero-facts__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: var(--content);
  margin-inline: auto;
  list-style: none;
}
.hero-facts__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1rem 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.hero-facts__item:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); }
.hero-facts__item:last-child:nth-child(odd) { grid-column: 1 / -1; border-bottom: 0; }
.hero-facts__num {
  font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.hero-facts__unit { color: var(--accent); }
.hero-facts__label {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero-facts__sub { font-size: 0.8125rem; color: var(--ink-muted); }

@media (min-width: 1024px) {
  .hero-facts__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hero-facts__item,
  .hero-facts__item:nth-child(even) {
    padding: clamp(1.75rem, 1.3rem + 1vw, 2.5rem) clamp(1rem, 0.4rem + 1.4vw, 2rem);
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }
  .hero-facts__item:first-child { padding-left: 0; border-left: 0; }
  .hero-facts__item:last-child:nth-child(odd) { grid-column: auto; }
}


/* ── Footer ────────────────────────────────────────────────────────────────── */

.x3-foot {
  padding: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) var(--pad-x) 2rem;
  background: var(--footer);
  box-shadow: inset 0 1px 0 var(--line);
}
.x3-foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.75rem 2rem;
}
@media (min-width: 640px) { .x3-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .x3-foot__grid { grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr)); } }

.x3-foot__brand img { display: block; width: auto; height: 2rem; }
.x3-foot__brand p {
  max-width: 22rem;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
.x3-foot__social { display: flex; gap: 0.625rem; margin-top: 1.5rem; }
.x3-foot__social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-1);
  transition: color 0.2s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.x3-foot__social a:hover { color: var(--accent); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.x3-foot__social svg { width: 1.125rem; height: 1.125rem; }

.x3-foot__col h5 {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.125rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.x3-foot__col h5::before { content: ''; flex: none; width: 1.75rem; height: 1px; background: var(--accent); }
.x3-foot__col > a,
.x3-foot__col > span {
  display: block;
  padding: 0.3rem 0;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-decoration: none;
}
.x3-foot__col > a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 0.2em; }
.x3-foot__contact { display: flex !important; align-items: flex-start; gap: 0.625rem; }
.x3-foot__contact svg { flex: none; width: 1.05rem; height: 1.05rem; margin-top: 0.15em; color: var(--accent); }
.x3-foot__action { margin-top: 1.25rem; }

.x3-foot__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(2.75rem, 2rem + 2vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-muted);
}
.x3-foot__bar nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.x3-foot__bar nav a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.x3-foot__bar nav a:hover { color: var(--accent); }


/* ── Phone action bar and the floating button ──────────────────────────────── */

/* Phones only: Get in Touch and Packages, fixed to the bottom. */
.x3-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 150;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  padding: 0.625rem var(--pad-x) calc(0.625rem + env(safe-area-inset-bottom));
  background: rgb(238 237 235 / 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 -1px 0 var(--line), 0 -8px 24px rgb(28 28 25 / 0.08);
}
.x3-bar__get,
.x3-bar__pkg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  border: 0;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.x3-bar__get { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.x3-bar__get svg { width: 1rem; height: 1rem; }
.x3-bar__pkg { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-control); }
body { padding-bottom: calc(4.25rem + env(safe-area-inset-bottom)); }
@media (min-width: 768px) {
  .x3-bar { display: none; }
  body { padding-bottom: 0; }
}

/* The floating button: WhatsApp on home and Contact, the enquiry form elsewhere.
   Tablets and up; on phones the action bar above is the one control. */
.x3-wa {
  position: fixed;
  right: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  bottom: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  z-index: 150;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
@media (min-width: 768px) { .x3-wa { display: flex; } }
.x3-wa__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 0.4rem 1.5rem 0.4rem 0.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: var(--shadow-3);
  transition: transform 0.25s var(--ease), background-color 0.2s var(--ease);
}
.x3-wa__btn:hover { background: #000; transform: translateY(-2px); }
.x3-wa__btn > span:first-child {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--accent);
}
.x3-wa__btn svg { width: 1.25rem; height: 1.25rem; }
.x3-wa__menu {
  display: none;
  width: 19rem;
  padding: 0.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
}
.x3-wa.is-open .x3-wa__menu { display: grid; }
.x3-wa__menu a {
  display: grid;
  gap: 0.15rem;
  padding: 0.875rem 1rem;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.x3-wa__menu a:hover { background: var(--stone); }
.x3-wa__menu strong { font-weight: 550; }
.x3-wa__menu small { font-size: 0.875rem; color: var(--ink-muted); }


/* ── Popups ────────────────────────────────────────────────────────────────── */

.x3-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  overflow-y: auto;
  padding: clamp(0.75rem, 0.25rem + 2.5vw, 2.5rem);
  background: rgb(28 28 25 / 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.x3-modal.is-open { display: flex; }
body.x3-modal-open { overflow: hidden; }

.x3-modal__box {
  position: relative;
  width: min(100%, 66rem);
  margin: auto;
  background: var(--panel);
  box-shadow: var(--shadow-3);
}
.x3-modal__box--split { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .x3-modal__box--split { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
}

.x3-modal__close {
  position: fixed;
  top: clamp(0.75rem, 0.4rem + 1.5vw, 1.5rem);
  right: clamp(0.75rem, 0.4rem + 1.5vw, 1.5rem);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.875rem;
  height: 2.875rem;
  border: 0;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-2);
  transition: transform 0.2s var(--ease);
}
.x3-modal__close:hover { transform: rotate(90deg); }
.x3-modal__close svg { width: 1.25rem; height: 1.25rem; }

.x3-modal__aside {
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  background: var(--stone-warm);
}
.x3-modal__aside-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.x3-modal__aside-eyebrow::before { content: ''; width: 1.75rem; height: 1px; background: var(--accent); }
.x3-modal__aside-eyebrow svg { display: none; }
.x3-modal__aside-title {
  margin-top: 1.25rem;
  font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem);
  font-weight: 420;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.x3-modal__aside-lede { margin-top: 0.875rem; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-muted); }
.x3-modal__lines { margin-top: 1.5rem; list-style: none; border-top: 1px solid var(--line-strong); }
.x3-modal__line {
  display: grid;
  gap: 0.4rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--line);
}
.x3-modal__line-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.x3-modal__line-actions { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.x3-modal__line-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
}
.x3-modal__line-tel:hover { color: var(--accent); }
.x3-modal__line-tel svg { color: var(--accent); }
.x3-modal__line-wa {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
.x3-modal__line-wa:hover { color: var(--accent); }
.x3-modal__mails { display: grid; gap: 0.5rem; margin-top: 1.25rem; }
.x3-modal__mails a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 0.9375rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.x3-modal__mails a:hover { color: var(--accent); }
.x3-modal__mails svg { flex: none; color: var(--accent); }
.x3-modal__aside-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}
.x3-modal__aside-note svg { flex: none; color: var(--accent); }

.x3-modal__main { padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.x3-modal__head { margin-bottom: 1.75rem; padding-right: 2.5rem; }
.x3-modal__head .x3-eyebrow { margin-bottom: 1rem; }
.x3-modal__head h2 {
  font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem);
  font-weight: 420;
  line-height: 1.08;
  letter-spacing: -0.032em;
}
.x3-modal__head p { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--ink-muted); }

/* On a phone the direct lines follow the form instead of preceding it. */
@media (max-width: 899.98px) {
  .x3-modal__aside { order: 2; }
}


/* ── Reviews ───────────────────────────────────────────────────────────────── */

.x3-reviews {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.875rem, 0.6rem + 0.9vw, 1.375rem);
}
@media (min-width: 768px) { .x3-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1150px) { .x3-reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.x3-review {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.x3-review__stars { display: flex; gap: 0.2rem; color: var(--accent); }
.x3-review__stars svg { width: 1rem; height: 1rem; fill: currentColor; }
.x3-review__body { font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.x3-review__who {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.x3-review__mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--stone-warm);
  color: var(--ink);
  font-weight: 500;
}
.x3-review__name { display: block; font-weight: 500; }
.x3-review__meta {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.x3-review-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.375rem;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 0.9375rem;
  box-shadow: var(--shadow-1);
}
.x3-review-rating svg { width: 1rem; height: 1rem; color: var(--accent); fill: currentColor; }


/* ── Portfolio ─────────────────────────────────────────────────────────────── */

.x3-work {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.625rem, 0.4rem + 0.8vw, 1.125rem);
}
@media (min-width: 768px) { .x3-work { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .x3-work { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.x3-work__item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--card);
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.x3-work__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease);
}
.x3-work__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.x3-work__item:hover img { transform: scale(1.03); }
/* "Visit Website" over a dark fade at the foot of the screenshot. */
.x3-work__veil {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: flex-start;
  padding: 2.5rem 1rem 0.875rem;
  background: linear-gradient(to top, rgb(28 28 25 / 0.82), rgb(28 28 25 / 0));
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.x3-work__veil span { display: inline-flex; align-items: center; gap: 0.4rem; }
.x3-work__item:hover .x3-work__veil,
.x3-work__item:focus-visible .x3-work__veil { opacity: 1; }


/* ── Price cards ───────────────────────────────────────────────────────────── */

.x3-pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 0.6rem + 1.2vw, 1.5rem);
  align-items: stretch;
}
@media (min-width: 768px) { .x3-pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1150px) { .x3-pricing { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); } }

.x3-pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.75rem, 1.4rem + 1vw, 2.375rem) clamp(1.5rem, 1.2rem + 1vw, 2rem);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.x3-pkg--popular { box-shadow: inset 0 3px 0 var(--accent), var(--shadow-2); }
.x3-pkg__flag {
  position: absolute;
  top: 0;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.875rem;
  border-radius: 999px;
  /* Ink, not orange: white 11px capitals on the orange read at only 3:1.
     The popular card already carries the orange line along its top. */
  background: var(--ink);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  translate: 0 -50%;
  box-shadow: var(--shadow-ink);
}
.x3-pkg__flag svg { width: 0.75rem; height: 0.75rem; fill: currentColor; color: var(--accent); }
.x3-pkg__head { display: grid; gap: 0.625rem; }
.x3-pkg__kicker {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.x3-pkg__name { font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.625rem); font-weight: 450; line-height: 1.15; letter-spacing: -0.024em; }
.x3-pkg__desc { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-muted); }
.x3-pkg__plans { display: grid; gap: 0.75rem; padding-block: 1.25rem; border-block: 1px solid var(--line); }
.x3-pkg__plan { display: grid; gap: 0.35rem; }
.x3-pkg__price { font-size: clamp(1.875rem, 1.5rem + 1vw, 2.5rem); font-weight: 420; line-height: 1.05; letter-spacing: -0.035em; }
.x3-pkg__line { font-size: 0.9375rem; font-weight: 500; color: var(--ink); }
.x3-pkg__note { font-size: 0.875rem; line-height: 1.5; color: var(--ink-muted); }
.x3-pkg__planlabel { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }
.x3-pkg__or {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.x3-pkg__or::before,
.x3-pkg__or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.x3-pkg__guarantee { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; color: var(--ink); }
.x3-pkg__guarantee svg { flex: none; color: var(--accent); }
.x3-pkg__list { display: grid; gap: 0.625rem; list-style: none; }
.x3-pkg__list li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.9375rem; line-height: 1.5; }
.x3-pkg__list li svg { flex: none; margin-top: 0.22em; color: var(--accent); }
.x3-pkg__more summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  cursor: pointer;
  color: var(--accent-text);
  font-size: 0.9375rem;
  font-weight: 500;
}
.x3-pkg__more summary::-webkit-details-marker { display: none; }
.x3-pkg__more summary svg { transition: transform 0.25s var(--ease); }
.x3-pkg__more[open] summary svg { transform: rotate(180deg); }
.x3-pkg__more .x3-pkg__list { margin-top: 0.875rem; }
.x3-pkg__cta { width: 100%; margin-top: auto; }


/* ── Team ──────────────────────────────────────────────────────────────────── */

.x3-crew-leads,
.x3-crew-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.875rem, 0.6rem + 0.9vw, 1.375rem);
}
@media (min-width: 640px) {
  .x3-crew-leads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x3-crew-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) { .x3-crew-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .x3-crew-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.x3-crew-leads + .x3-crew-grid { margin-top: clamp(0.875rem, 0.6rem + 0.9vw, 1.375rem); }

.x3-crew {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
a.x3-crew:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.x3-crew__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--scene);
}
.x3-crew--lead .x3-crew__media { aspect-ratio: 4 / 3; }
.x3-crew__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transition: transform 0.6s var(--ease);
}
a.x3-crew:hover .x3-crew__media img { transform: scale(1.03); }
.x3-crew__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: var(--shadow-1);
}
.x3-crew__body { display: grid; gap: 0.4rem; padding: 1.375rem 1.5rem 1.5rem; }
.x3-crew__name { font-size: 1.25rem; font-weight: 450; letter-spacing: -0.02em; }
.x3-crew__role {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.x3-crew__line { font-size: 0.9375rem; line-height: 1.55; color: var(--ink-muted); }
.x3-crew__more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem; color: var(--ink); font-size: 0.9375rem; font-weight: 500; }
.x3-crew__more svg { color: var(--accent); }

/* One team member's page. */
.x3-person { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: start; }
@media (min-width: 900px) { .x3-person { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.x3-person__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--scene);
  box-shadow: var(--shadow-2);
}
.x3-person__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.x3-person__role { font-size: 1.0625rem; font-weight: 500; color: var(--accent-text); }
.x3-person__facts { display: grid; margin-top: 1.5rem; border-top: 1px solid var(--line); list-style: none; }
.x3-person__facts > * { display: flex; justify-content: space-between; gap: 1rem; padding: 0.875rem 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }


/* ── Long-form text: articles and legal pages ─────────────────────────────── */

.x3-prose {
  max-width: 46rem;
  margin-inline: auto;
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  line-height: 1.75;
  color: var(--ink-muted);
}
.x3-prose > * + * { margin-top: 1.25rem; }
.x3-prose h2 {
  margin-top: 3rem;
  font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem);
  font-weight: 420;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.x3-prose h3 {
  margin-top: 2.25rem;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 450;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.x3-prose h4 { margin-top: 1.75rem; font-size: 1.125rem; font-weight: 500; color: var(--ink); }
.x3-prose strong { color: var(--ink); }
.x3-prose ul,
.x3-prose ol { padding-left: 1.375rem; }
.x3-prose li + li { margin-top: 0.5rem; }
.x3-prose li::marker { color: var(--accent); }
.x3-prose img { display: block; margin-block: 2rem; box-shadow: var(--shadow-2); }
.x3-prose blockquote {
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font-size: 1.1875rem;
}
.x3-prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.x3-prose th,
.x3-prose td { padding: 0.75rem 0.875rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.x3-prose th { color: var(--ink); font-weight: 600; }
.x3-prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5rem; }

/* Legal pages: the same column, each numbered section its own card. */
.x3-legal {
  max-width: 52rem;
  margin-inline: auto;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-muted);
}
.x3-legal > p + p { margin-top: 1rem; }
.x3-legal > p:last-of-type { margin-bottom: 2.5rem; }
.x3-legal__grid { display: grid; gap: clamp(0.875rem, 0.6rem + 0.9vw, 1.375rem); }
.x3-legal__card {
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.x3-legal__card + .x3-legal__card { margin-top: clamp(0.875rem, 0.6rem + 0.9vw, 1.375rem); }
.x3-legal__card > h2,
.x3-legal__card > h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 450;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.x3-legal__card > * + * { margin-top: 0.75rem; }
.x3-legal__card ul,
.x3-legal__card ol { padding-left: 1.375rem; }
.x3-legal__card li + li { margin-top: 0.4rem; }
.x3-legal__card li::marker { color: var(--accent); }
.x3-legal strong { color: var(--ink); }
.x3-legal a { overflow-wrap: anywhere; }
/* A wide table scrolls inside its own box on a phone instead of widening the page. */
.x3-legal :has(> table),
.x3-prose :has(> table) { overflow-x: auto; }
.x3-legal__sub { margin-top: 1.5rem !important; font-weight: 600; color: var(--ink); }
.x3-legal__card > .x3-legal__sub:first-child { margin-top: 0 !important; }
/* Callouts and rows inside legal text. */
.x3-legal__box {
  margin-bottom: 1.5rem;
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.x3-legal__box > * + * { margin-top: 0.75rem; }
.x3-legal__box h2,
.x3-legal__box h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); font-weight: 450; line-height: 1.22; letter-spacing: -0.02em; color: var(--ink); }
.x3-legal__card .x3-legal__box { margin-bottom: 0; padding: 1rem 1.125rem; background: var(--panel); box-shadow: none; }
.x3-legal__row { display: flex; align-items: flex-start; gap: 1rem; }
.x3-legal__row > div { min-width: 0; }
.x3-legal__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--stone-warm);
  color: var(--accent);
}
.x3-legal__num {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
}
.x3-legal__note {
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--accent);
  background: var(--panel);
}
.x3-legal__note > * + * { margin-top: 0.5rem; }
.x3-legal table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.x3-legal th,
.x3-legal td { padding: 0.75rem 0.875rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.x3-legal th { color: var(--ink); font-weight: 600; background: var(--panel); }


/* ── Phones: centred blocks ────────────────────────────────────────────────── */

/*
 * As in the reference, below 768px every block centres its text, labels and
 * buttons, and short labels get a hairline on each side. Forms, legal text,
 * articles and checklists stay left-aligned: they are read line by line.
 * Selectors sit inside :where() so any component rule still wins.
 */
@media (max-width: 767.98px) {
  :where(main, .hero, .hero-facts, .x3-foot) { text-align: center; }

  :where(main, .hero, .x3-foot)
    :where(.x3-btnrow, .hero__trust, .x3-card__meta, .x3-crumb, .x3-contact__row,
           .x3-foot__social, .x3-foot__bar, .x3-foot__bar nav, .x3-foot__contact) {
    justify-content: center;
  }
  :where(main, .hero) :where(.x3-head, .x3-lede, .hero__lead, .x3-measure, .x3-foot__brand p) { margin-inline: auto; }
  .x3-foot__brand p { margin-inline: auto; }
  .x3-foot__brand img { margin-inline: auto; }

  :where(main, .hero) .x3-eyebrow::after,
  .x3-foot__col h5::after {
    content: '';
    flex: none;
    width: 1.75rem;
    height: 1px;
    background: var(--accent);
  }
  .x3-eyebrow,
  .x3-foot__col h5 { gap: 0.75rem; justify-content: center; }
  .x3-eyebrow::before,
  .x3-foot__col h5::before { width: 1.75rem; }

  /* Cards stack their contents on the centre line. */
  :where(main) :where(.x3-tile, .x3-step, .x3-review, .x3-card__body, .x3-proof__item, .x3-crew__body) { align-items: center; }
  /* A contact line puts its icon above the text, so a wrapped address lines up with the rest. */
  .x3-contact__row { flex-direction: column; gap: 0.625rem; }
  :where(main) :where(.x3-tile, .x3-card__body) :where(.x3-btn, .x3-link) { align-self: center; }
  .x3-step__n::before { content: ''; width: 2.5rem; height: 1px; background: var(--accent); }
  .x3-proof__item,
  .x3-proof__item:nth-child(odd) { padding-inline: 0.5rem; }
  .x3-review__who { justify-content: center; text-align: left; }

  /* A question keeps its mark on the right, with the question centred. */
  .x3-faq__q { position: relative; justify-content: center; padding-inline: 2rem; text-align: center; }
  .x3-faq__q::after { position: absolute; top: 50%; right: 0; translate: 0 -50%; }

  /* Read line by line: left-aligned. */
  :where(main) :where(.x3-form, .x3-formcard, .x3-legal, .x3-prose, .x3-pkg__list, .x3-person__facts, .x3-modal) { text-align: left; }
  .x3-formcard .x3-form__note { text-align: center; }
}


/* ── Reveal on scroll ──────────────────────────────────────────────────────── */

/*
 * Elements marked data-rv rise into place as they arrive. The starting state
 * only applies once the script has confirmed it is running (html.x3-rv), so
 * without scripting — or under reduced motion — everything is simply there.
 */
html.x3-rv [data-rv]:not(.is-in) {
  opacity: 0;
  transform: translateY(14px);
}
html.x3-rv [data-rv] {
  transition:
    opacity 0.7s var(--ease) var(--rv-delay, 0ms),
    transform 0.7s var(--ease) var(--rv-delay, 0ms);
}


/* ── Print ─────────────────────────────────────────────────────────────────── */

@media print {
  html.x3-rv [data-rv] { opacity: 1 !important; transform: none !important; }
  .site-header { position: static; box-shadow: none; }
  .site-nav, .site-header__actions, .x3-bar, .x3-wa, .x3-modal { display: none !important; }
  body { padding-bottom: 0; background: #fff; }
  .x3-sec, .hero, .hero-facts, .x3-foot { background: #fff; }
}


/* ── Pages: core ── */

/*
 * About, Our Team and each team member's page, Contact, Request a Proposal,
 * Thank You, Not a Fit, 404, X3WEB USA, the blog and case studies. Built from
 * the tokens and the shared vocabulary above; only what those pages add.
 */

/* An orange word in a card heading sits under 24px, so it takes the deeper
   text orange that reads at that size (about 5:1 on white). */
.x3-tile .x3-h3 em { color: var(--accent-text); }

/* A card with its contents on the centre line (Not a Fit). */
.x3-tile--center { align-items: center; text-align: center; }

/* A card that is itself one link (404). */
a.x3-tile--link { color: var(--ink); text-decoration: none; }
a.x3-tile--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
a.x3-tile--link .x3-h3 { transition: color 0.2s var(--ease); }
a.x3-tile--link:hover .x3-h3 { color: var(--accent-text); }

/* A heading followed by its paragraph outside a .x3-head (the split blocks,
   the contact block) keeps the same gap it has inside one. */
:where(.x3-h2) + .x3-lede { margin-top: 1.25rem; }

/* A head that is the last thing in its block adds no space under it: the
   block's own padding is the space. */
.x3-wrap > .x3-head:last-child { margin-bottom: 0; }

/* A single closing line under a grid of cards. */
.x3-coda {
  max-width: 42rem;
  margin: clamp(2.25rem, 1.8rem + 1.5vw, 3.25rem) auto 0;
  text-align: center;
}

/* A button row after numbered steps gets the same air as after a grid. */
.x3-steps + .x3-btnrow { margin-top: clamp(2.25rem, 1.8rem + 1.5vw, 3.25rem); }

/* Five steps (Contact): three to a row until there is room for five, and the
   card headings a size down so they fit the narrower cards. */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .x3-steps--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.x3-steps--5 .x3-h3 { font-size: clamp(1.125rem, 1.05rem + 0.25vw, 1.25rem); line-height: 1.25; }

/* A quieter category chip beside the main one. */
.x3-chip--quiet { background: var(--stone); color: var(--ink-muted); }

/* A card picture slot with no picture: the icon on the scene fill. */
.x3-card__media--blank { display: grid; place-items: center; color: var(--accent); }
.x3-card__media--blank svg { width: 3rem; height: 3rem; }


/* Our Team: one card per person. The body is a column so the link to their
   page always sits on the card's foot, under a hairline, and the whole card
   is the link's target. */
.x3-crew__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}
.x3-crew__body > .x3-label { margin-bottom: 0.35rem; }
.x3-crew--lead .x3-crew__name { font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem); letter-spacing: -0.025em; }
.x3-crew__line { margin-top: 0.25rem; }
.x3-crew__more {
  align-self: stretch;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.x3-crew__more::after { content: ''; position: absolute; inset: 0; }
.x3-crew__more svg { transition: transform 0.25s var(--ease); }
.x3-crew:has(.x3-crew__more):hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.x3-crew:has(.x3-crew__more):hover .x3-crew__media img { transform: scale(1.03); }
.x3-crew:has(.x3-crew__more):hover .x3-crew__more { color: var(--accent-text); }
.x3-crew:has(.x3-crew__more):hover .x3-crew__more svg { transform: translateX(3px); }


/* One person's page. */
.x3-person { align-items: center; }
.x3-person__media > .x3-crew__tag { top: 1.25rem; left: 1.25rem; }
.x3-person__role { margin-top: 0.875rem; }
.x3-person__copy .x3-lede { margin-top: 1.25rem; }
.x3-person__facts span { color: var(--ink-muted); }
.x3-person__facts strong { font-weight: 500; color: var(--ink); text-align: right; }
/* Stacked (under 900px) the portrait keeps a portrait's size rather than
   filling the width at four by five. */
@media (max-width: 899.98px) {
  .x3-person__media { width: 100%; max-width: 30rem; margin-inline: auto; }
}

/* Previous, the whole team, next. */
.x3-peers {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.875rem, 0.6rem + 0.9vw, 1.375rem);
}
@media (min-width: 768px) {
  .x3-peers { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}
.x3-peer {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  min-height: 6.5rem;
  padding: 1.25rem 1.375rem;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.x3-peer:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.x3-peer__img {
  flex: none;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  object-fit: cover;
  object-position: 50% 25%;
  box-shadow: 0 0 0 3px var(--card), var(--shadow-1);
}
.x3-peer__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--stone-warm);
  color: var(--accent);
}
.x3-peer__icon svg { width: 1.25rem; height: 1.25rem; }
.x3-peer__text { display: grid; gap: 0.2rem; min-width: 0; }
.x3-peer__dir {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.2rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.x3-peer__dir svg { width: 0.8125rem; height: 0.8125rem; color: var(--accent); transition: transform 0.25s var(--ease); }
.x3-peer--prev .x3-peer__dir svg { rotate: 180deg; }
.x3-peer--prev:hover .x3-peer__dir svg { transform: translateX(3px); }
.x3-peer--next:hover .x3-peer__dir svg { transform: translateX(3px); }
.x3-peer__name { font-size: 1.125rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
.x3-peer__alias { font-size: 0.9375rem; font-style: normal; line-height: 1.45; color: var(--ink-muted); }
.x3-peer:hover .x3-peer__name { color: var(--accent-text); }
.x3-peer--next { flex-direction: row-reverse; text-align: right; }
.x3-peer--next .x3-peer__dir { justify-content: flex-end; }
.x3-peer--all { flex-direction: column; justify-content: center; gap: 0.75rem; text-align: center; }
/* Phones and tablets: each card stacks on its centre line, picture on top. */
@media (max-width: 1023.98px) {
  .x3-peer,
  .x3-peer--next { flex-direction: column; justify-content: center; gap: 0.875rem; text-align: center; }
  .x3-peer__dir,
  .x3-peer--next .x3-peer__dir { justify-content: center; }
}


/* Thank You and 404: one centred block, no hero. */
.x3-solo { display: flex; align-items: center; min-height: min(72vh, 52rem); }
.x3-solo__col { max-width: 45rem; margin-inline: auto; text-align: center; }
.x3-solo__col > .x3-lede { margin-top: 1.25rem; }
.x3-solo__col > .x3-btnrow { justify-content: center; }
.x3-solo__logo { display: block; width: auto; height: clamp(3rem, 2.4rem + 2vw, 4.5rem); margin: 0 auto 2.5rem; }
.x3-solo__error { max-width: 35rem; margin: 1.5rem auto 0; text-align: left; }
.x3-solo__links { max-width: 36rem; margin: clamp(2rem, 1.6rem + 1.5vw, 2.75rem) auto 0; text-align: left; }
.x3-solo__foot { margin-top: 2rem; }
.x3-solo .x3-orange { color: var(--accent-text); font-weight: 500; }

/* "What happens next?": a numbered hairline list on a card. */
.x3-next { align-items: stretch; margin-top: clamp(2rem, 1.6rem + 1.5vw, 2.75rem); text-align: left; }
.x3-next__list { list-style: none; border-top: 1px solid var(--line-strong); }
.x3-next__row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--line);
}
.x3-next__row:last-child { padding-bottom: 0; border-bottom: 0; }
.x3-next__n {
  display: grid;
  flex: none;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
}
.x3-next__title { display: block; font-weight: 500; color: var(--ink); }
.x3-tile .x3-next__row p { margin-top: 0.25rem; font-size: 0.9375rem; line-height: 1.55; }


/* Blog list with no posts yet. */
.x3-empty { padding-block: clamp(2rem, 1rem + 4vw, 5rem); }
.x3-empty .x3-tile__icon svg { width: 2.25rem; height: 2.25rem; }
.x3-empty .x3-lede { margin-top: 0.75rem; }

/* Case study cards: three small figures in a hairline row. */
.x3-minifacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.x3-minifacts__item { display: grid; align-content: start; gap: 0.25rem; padding: 0.875rem 0.5rem; text-align: center; }
.x3-minifacts__item + .x3-minifacts__item { border-left: 1px solid var(--line); }
.x3-minifacts__num { font-size: 1.375rem; font-weight: 420; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); }
.x3-minifacts__label { font-size: 0.75rem; line-height: 1.35; color: var(--ink-muted); }

/* A case study's results row with however many figures it has. */
.x3-proof--fit { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); }

/* A case study: its sections in one reading column. */
.x3-casebody { max-width: 46rem; margin-inline: auto; }
.x3-caseblock + .x3-caseblock { margin-top: clamp(2rem, 1.6rem + 1.4vw, 3rem); }
.x3-caseblock > .x3-h3 { margin-bottom: 0.75rem; }
.x3-caseblock > .x3-prose { max-width: none; }


/* Under an article: the call-out card and the way back. */
.x3-endnote { max-width: 46rem; margin: clamp(3rem, 2.4rem + 2vw, 4.5rem) auto 0; }
.x3-endnote .x3-aside > div { flex: 1 1 18rem; }
.x3-endnote .x3-aside .x3-note { display: block; }
.x3-endnote__nav {
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.x3-casebody .x3-endnote__nav { margin-top: clamp(2.5rem, 2rem + 1.5vw, 3rem); }
.x3-link--back svg { rotate: 180deg; }

/* The furniture the written articles carry: inline code, comparison tables,
   a questions section, an author note and a sources list. */
.x3-prose code {
  padding: 0.1em 0.4em;
  background: var(--stone);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  overflow-wrap: anywhere;
}
.x3-prose > table {
  margin-block: 2rem;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  line-height: 1.55;
}
.x3-prose > table thead th { background: var(--stone); }
.x3-prose > table tr:last-child td { border-bottom: 0; }
.x3-prose :is(.post-faq, .post-sources, .post-author) > * + * { margin-top: 1rem; }
.x3-prose .post-faq,
.x3-prose .post-sources {
  margin-top: clamp(3rem, 2.4rem + 2vw, 4.5rem);
  border-top: 1px solid var(--line-strong);
}
.x3-prose .post-faq > h2:first-child,
.x3-prose .post-sources > h2:first-child { margin-top: clamp(1.75rem, 1.4rem + 1vw, 2.5rem); }
.x3-prose .post-faq h3 {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
}
.x3-prose .post-faq > h2 + h3 { border-top: 0; padding-top: 0; }
.x3-prose .post-faq h3 + p { margin-top: 0.5rem; }
.x3-prose .post-author {
  margin-top: clamp(2.5rem, 2rem + 1.5vw, 3.5rem);
  padding: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  box-shadow: var(--shadow-1);
  font-size: 1rem;
  line-height: 1.7;
}
.x3-prose .post-sources h2 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); }
.x3-prose .post-sources li { font-size: 0.9375rem; line-height: 1.6; }
.x3-prose .post-sources a { overflow-wrap: anywhere; }


/* Phones: these pages' own parts on the centre line, like everything else. */
@media (max-width: 767.98px) {
  .x3-crew__body { align-items: center; }
  .x3-crew__more { justify-content: center; }
  .x3-crew__body > .x3-label--dash { gap: 0.75rem; }
  .x3-crew__body > .x3-label--dash::before { width: 1.75rem; }
  .x3-crew__body > .x3-label--dash::after { content: ''; flex: none; width: 1.75rem; height: 1px; background: var(--accent); }

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

  .x3-endnote__nav { justify-content: center; }
  .x3-endnote .x3-aside { flex-direction: column; text-align: center; }

  /* A wide comparison table scrolls inside its own box, its columns kept
     wide enough to read rather than squeezed to a word a line. */
  .x3-prose > table { display: block; overflow-x: auto; }
  .x3-prose > table :is(th, td) { min-width: 9.5rem; }
}


/* ── Pages: packages ── */

/*
 * Packages and the website design, e-commerce, Google Ads, Meta Ads and
 * hosting package pages. Built from the tokens and the shared vocabulary
 * above; only what those pages add.
 */

/* The support line under the hero's figures: its own short block on the
   warm stone, the icon in a white disc. */
.x3-pkgstrip {
  padding: clamp(1.25rem, 0.9rem + 1vw, 1.875rem) var(--pad-x);
  background: var(--stone-warm);
}
.x3-pkgstrip__icon {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--card);
  color: var(--accent);
  box-shadow: var(--shadow-1);
}
.x3-pkgstrip__icon svg { width: 1.125rem; height: 1.125rem; }

/* One statement: icon, its name, the line that explains it. */
.x3-pkgstrip__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-muted);
  text-align: center;
}
.x3-pkgstrip__row > strong { font-weight: 550; color: var(--ink); }
@media (min-width: 900px) {
  .x3-pkgstrip__row > strong + span { padding-left: 1rem; border-left: 1px solid var(--line-strong); }
}
@media (max-width: 767.98px) {
  .x3-pkgstrip__row { flex-direction: column; gap: 0.375rem; }
  .x3-pkgstrip__row > .x3-pkgstrip__icon { margin-bottom: 0.375rem; }
}

/* A row of short benefits (Hosting): each one an icon over its name, divided
   by hairlines once they all fit on one line. */
.x3-pkgstrip__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0;
  list-style: none;
}
@media (min-width: 640px) { .x3-pkgstrip__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) {
  .x3-pkgstrip__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .x3-pkgstrip__item + .x3-pkgstrip__item { border-left: 1px solid var(--line); }
}
.x3-pkgstrip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--ink);
  text-align: center;
}
.x3-pkgstrip__item strong { font-weight: 500; }


/* Packages: the six service cards. The recommended one carries the orange
   line and the deeper shadow of the most popular price card. */
.x3-service-card .x3-pkg__list {
  align-self: stretch;
  margin-block: 0.5rem 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.x3-service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.x3-tile--flag { box-shadow: inset 0 3px 0 var(--accent), var(--shadow-2); }
.x3-tile--flag:hover,
.x3-tile--flag:has(a[href]):hover { box-shadow: inset 0 3px 0 var(--accent), var(--shadow-3); }


/* Price cards. An orange word in a card's name sits under 26px, so it takes
   the deeper text orange that reads at that size. */
.x3-pkg__name em { color: var(--accent-text); }
/* "/mo" beside a price, the way "once-off" sits beside one in the reference. */
.x3-pkg__per {
  margin-left: 0.3rem;
  font-size: 1rem;
  font-weight: 450;
  letter-spacing: -0.005em;
  color: var(--ink-muted);
}
.x3-pkg .x3-pkg__list li strong { font-weight: 550; }
/* Hosting: six plans, three to a row. */
@media (min-width: 1024px) {
  .x3-pricing--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* One price card on its own (Custom Websites or Apps) keeps a card's width
   instead of stretching across the block. */
.x3-pricing:has(> .x3-pkg:only-child) {
  grid-template-columns: minmax(0, 1fr);
  max-width: 30rem;
  margin-inline: auto;
}
.x3-pricing-note { margin-top: 1.75rem; text-align: center; }


/* The closing call to action: a note under the button, its icon in orange and
   set in the first line, so a note that wraps on a phone keeps it beside the
   words rather than hanging off to one side. */
.x3-band > .x3-cta__note { margin-top: 1.5rem; text-align: center; }
.x3-band > .x3-cta__note svg {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 0.4rem;
  vertical-align: -0.15em;
  color: var(--accent);
}


/* Hosting: a hairline list of reasons beside a feature card. */
.x3-points {
  margin-block: 1.5rem;
  list-style: none;
  border-top: 1px solid var(--line-strong);
  text-align: left;
}
.x3-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
}
.x3-points svg { flex: none; width: 1.125rem; height: 1.125rem; margin-top: 0.2em; color: var(--accent); }

.x3-tile--feature {
  gap: 1rem;
  padding: clamp(1.75rem, 1.2rem + 1.8vw, 3rem);
  box-shadow: var(--shadow-2);
}
.x3-tile--feature .x3-tile__icon svg { width: 2.25rem; height: 2.25rem; }
.x3-tile--feature .x3-h3 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); }
.x3-tile--feature p { font-size: 1.0625rem; line-height: 1.65; }

/* Hosting: what is included, the icon beside each name. */
.x3-tile--row {
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.25rem, 1.1rem + 0.5vw, 1.625rem);
}
.x3-tile--row > .x3-tile__icon { margin: 0.1rem 0 0; }
.x3-tile--row > .x3-tile__icon svg { width: 1.5rem; height: 1.5rem; }
.x3-tile__title {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.x3-tile--row p { font-size: 0.9375rem; line-height: 1.55; }


/* Phones: these pages' own parts on the centre line, like everything else. */
@media (max-width: 767.98px) {
  .x3-tile--row { flex-direction: column; align-items: center; text-align: center; }
  .x3-tile--row > .x3-tile__icon { margin: 0; }
  main .x3-pkg__guarantee { justify-content: center; }
}
