/* ==========================================================================
   SlateBay own site: site.css
   One stylesheet for every page. Grouped by component in the order the HTML
   uses them. No external imports, no frameworks.

   Breakpoints (all max-width, mobile-last):
     1279px  small desktop / large laptop
     1023px  tablet landscape
      900px  nav collapses to the toggle button
      767px  tablet portrait / large phone
      479px  small phone

   Contents
     1.  Fonts
     2.  Design tokens
     3.  Base and reset
     4.  Focus, skip link, utilities
     5.  Shared type (eyebrow, display, section titles, ledes, notes, links)
     6.  Layout (.wrap, .section and section backgrounds)
     7.  Buttons and CTA rows
     8.  Site header and primary navigation
     9.  Home: hero
     10. Home: services gauge
     11. Home: crew
     12. Home: on call (ping)
     13. Home: secure by default
     14. Home: trades
     15. Home: steps
     16. Closing band (.close)
     17. Inner pages: page head, notice
     18. Services: service list, callout, split, plain list
     19. Plans: plan cards, price flag
     20. Prose (about, privacy, terms)
     21. Contact: grid, form, side panel
     22. Site footer
     23. Responsive: 1279 / 1023 / 900 / 767 / 479
     24. Motion preferences
     25. Pricing tables, contract work, trade pages
     27. Home: how it works timeline
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Fonts (self-hosted variable fonts, latin subset, one file each)
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}


/* --------------------------------------------------------------------------
   2. Design tokens (locked palette, do not add colours)
   -------------------------------------------------------------------------- */

:root {
  --abyss:  #06121C;
  --navy:   #0B2233;
  --deep:   #0F3446;
  --sea:    #155166;
  --teal:   #2194A3;
  --bright: #4FC1CF;
  --btn:    #1B7C89;
  --cream:  #FEF9F3;
  --foam:   #E6F4F5;
  --muted:  #A9C3CB;

  /* Derived tints of the tokens above (alpha only, no new hues) */
  --line:        rgba(79, 193, 207, .22);
  --line-strong: rgba(79, 193, 207, .45);
  --glass:       linear-gradient(90deg, rgba(33, 148, 163, .20), rgba(33, 148, 163, .04));
  --glass-edge:  1px solid rgba(79, 193, 207, .28);
  --glow:        0 0 18px rgba(79, 193, 207, .55);
  --ring-fill: rgba(79, 193, 207, .07);
  --ring-halo: 0 0 0 8px rgba(79, 193, 207, .06);
  --step-line: rgba(79, 193, 207, .55);

  --font-display: "Unbounded", "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-text:    "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-card: 22px;
  --radius-panel: 14px;
  --radius-field: 12px;

  --wrap-pad: 64px;
  --section-pad: 120px;
  --head-h: 76px;
  --waves-h: clamp(120px, 18vw, 260px);

  --ease: 180ms ease;
}


/* --------------------------------------------------------------------------
   3. Base and reset
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--navy);
}

body {
  margin: 0;
  font: 400 18px/1.65 var(--font-text);
  color: var(--foam);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4,
p, ul, ol, dl, dd, figure {
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--cream);
  overflow-wrap: break-word;
}

h3 {
  font-size: 20px;
}

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

img {
  height: auto;
}

a {
  color: var(--bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--ease), text-decoration-color var(--ease);
}

a:hover {
  color: var(--cream);
}

b,
strong {
  font-weight: 700;
  color: var(--cream);
}

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

button {
  cursor: pointer;
}

[hidden] {
  display: none;
}

::selection {
  background: var(--btn);
  color: var(--cream);
}

/* Sections with an id are anchor targets; keep them clear of the sticky header */
section[id] {
  scroll-margin-top: var(--head-h);
}


/* --------------------------------------------------------------------------
   4. Focus, skip link, utilities
   -------------------------------------------------------------------------- */

/* Visible focus ring on every interactive element. Never removed. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--bright);
  outline-offset: 3px;
}

/* Skip link: off-screen until focused, then pinned top-left over the header */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--abyss);
  color: var(--cream);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  outline: 3px solid var(--bright);
  outline-offset: 3px;
}

/* Standard clip-rect pattern: hidden visually, kept for screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


/* --------------------------------------------------------------------------
   5. Shared type
   -------------------------------------------------------------------------- */

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bright);
}

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

/* Big Unbounded headline (hero, page heads, closing band) */
.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.02em;
  color: var(--cream);
  overflow-wrap: break-word;
}

.glow {
  color: var(--bright);
  text-shadow: 0 0 28px rgba(79, 193, 207, .45);
}

.section-title {
  margin: 0 0 22px;
  max-width: 22ch;
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.015em;
}

.section-title--xl {
  font-size: clamp(44px, 7.6vw, 112px);
  line-height: .95;
}

.section-title--sm {
  max-width: none;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.15;
  margin-bottom: 12px;
}

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

.lede {
  max-width: 40ch;
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.4;
  color: var(--foam);
}

.section-lede,
.value-line {
  max-width: 62ch;
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
}

.section-note,
.gauge-note {
  margin-top: 32px;
  max-width: 68ch;
  font-size: 16px;
  color: var(--muted);
}

.section-more {
  margin-top: 28px;
}

/* Arrow link ("All services in detail") */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--bright);
  text-decoration: none;
}

.link-arrow::after {
  content: "\2192";
  transition: transform var(--ease);
}

.link-arrow:hover,
.link-arrow:focus-visible {
  color: var(--cream);
}

.link-arrow:hover::after,
.link-arrow:focus-visible::after {
  transform: translateX(4px);
}

/* Phone number inside running text */
.inline-phone {
  font-weight: 700;
  white-space: nowrap;
}

/* "Call" prefix on phone links */
.phone-label {
  font-weight: 500;
}


/* --------------------------------------------------------------------------
   6. Layout
   -------------------------------------------------------------------------- */

/* The only container */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--wrap-pad);
}

/* Full-bleed sections with generous vertical rhythm */
.section {
  padding-block: var(--section-pad);
}

/* Starts at navy so it meets the navy foot of the hero waves without a seam */
.section--deep {
  background: linear-gradient(180deg, var(--navy) 0, var(--deep) 360px, var(--deep) 100%);
}

.section--abyss {
  background: var(--abyss);
}

.section--navy {
  background: var(--navy);
}

.section--ping {
  background:
    radial-gradient(ellipse 60% 70% at 22% 50%, rgba(33, 148, 163, .14), transparent 70%),
    var(--navy);
}

.section--sonar {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(33, 148, 163, .16), transparent 70%),
    linear-gradient(180deg, var(--abyss), var(--navy));
}


/* --------------------------------------------------------------------------
   7. Buttons and CTA rows
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35em;
  min-height: 52px;
  padding: 12px 28px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--ease),
    border-color var(--ease),
    box-shadow var(--ease),
    color var(--ease);
}

.btn--primary {
  background: var(--btn);
  color: var(--cream);
  border-color: rgba(79, 193, 207, .35);
  box-shadow:
    0 10px 30px -10px rgba(33, 148, 163, .75),
    0 0 24px rgba(79, 193, 207, .22);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  color: var(--cream);
  border-color: var(--bright);
  box-shadow:
    0 12px 34px -8px rgba(33, 148, 163, .9),
    0 0 34px rgba(79, 193, 207, .45);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(254, 249, 243, .6);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--cream);
  border-color: var(--cream);
  background: rgba(254, 249, 243, .08);
}

/* Header-sized button */
.btn--sm {
  min-height: 42px;
  padding: 8px 18px;
  font-size: 15px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

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


/* --------------------------------------------------------------------------
   8. Site header and primary navigation
   -------------------------------------------------------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 18, 28, .88);
  border-bottom: 1px solid rgba(79, 193, 207, .14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--head-h);
  padding-block: 12px;
}

/* Brand lockup is 1042x289: fixed height, natural width, never stretched */
.brand {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 6px;
}

.brand img {
  height: 36px;
  width: auto;
  max-width: none;
}

/* Toggle is hidden on desktop; shown only at <=900px when JS is present */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1.5px solid rgba(254, 249, 243, .35);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font-size: 15px;
  font-weight: 700;
  transition: border-color var(--ease), background-color var(--ease);
}

.nav-toggle:hover {
  border-color: var(--cream);
  background: rgba(254, 249, 243, .06);
}

/* Three-bar icon: middle bar is the span, outer bars are pseudo-elements */
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--ease), background-color var(--ease);
}

.nav-toggle-bar {
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after  { top: 6px; }

/* Open state turns the bars into an X */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: inline-block;
  padding-block: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--foam);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.primary-nav a:hover {
  color: var(--bright);
}

.primary-nav a[aria-current="page"] {
  color: var(--bright);
  border-bottom-color: var(--bright);
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.head-phone {
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
}

.head-phone .phone-label {
  color: var(--muted);
  margin-right: .15em;
}

.head-phone:hover {
  color: var(--bright);
}


/* --------------------------------------------------------------------------
   9. Home: hero
   Budget at 1280x900 / 1440x900 (header 76px): top pad ~45, eyebrow 38,
   H1 two lines <= 196, lede 58, hero-grid ~137, CTAs 70, billing note 23,
   bottom pad 0.7 x waves. Total stays under 900px. Do not add a min-height.
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  /* Clip the decorative mark and waves; never clip on body */
  overflow-x: clip;
  overflow-y: clip;
  background:
    radial-gradient(ellipse 55% 60% at 78% 30%, rgba(33, 148, 163, .22), transparent 70%),
    linear-gradient(180deg, var(--abyss) 0%, var(--navy) 55%, var(--deep) 100%);
}

/* Older engines without overflow:clip fall back to hidden */
@supports not (overflow-x: clip) {
  .hero,
  .close {
    overflow: hidden;
  }
}

/* Cream ghost mark, right side */
.hero-mark {
  position: absolute;
  top: clamp(24px, 6vh, 64px);
  right: -120px;
  z-index: 0;
  width: 760px;
  max-width: none;
  height: auto;
  opacity: .10;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  /* Bottom padding keeps the content clear of the whole wave band, not just
     the cream line: the hero carries far less copy now, so the old .7 factor
     let the buttons sit on the crest. */
  padding-top: clamp(32px, 5vh, 64px);
  padding-bottom: calc(var(--waves-h) + 32px);
}

.hero .display {
  /* Two lines never exceed ~34vh; the vh cap protects short laptop screens */
  font-size: clamp(40px, min(7.4vw, 12vh), 118px);
  line-height: .92;
  margin-bottom: 22px;
}

.hero .lede {
  margin-bottom: 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 40px;
  max-width: 1040px;
}

.timeline {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--cream);
}

.scope {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--foam);
}

.hero .cta-row {
  margin-top: 28px;
}

.billing-note {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

/* Layered wave SVG pinned to the bottom (preserveAspectRatio="none" is set) */
.waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: var(--waves-h);
  pointer-events: none;
}


/* --------------------------------------------------------------------------
   10. Home: services gauge
   Two columns: depth label (~140px) + card, with a scale line and a glowing
   dot per row. Cards size to their content.
   -------------------------------------------------------------------------- */

.gauge {
  --gauge-label: 140px;
  --gauge-gap: 36px;
  position: relative;
  display: grid;
  gap: 18px;
  max-width: 1040px;
  margin-top: 56px;
}

/* Vertical scale line, centred in the gap after the label column */
.gauge::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--gauge-label) + var(--gauge-gap) / 2 - 1px);
  width: 2px;
  background: linear-gradient(180deg,
    rgba(79, 193, 207, 0),
    rgba(79, 193, 207, .55) 8%,
    rgba(79, 193, 207, .55) 92%,
    rgba(79, 193, 207, 0));
}

.gauge-row {
  position: relative;
  display: grid;
  grid-template-columns: var(--gauge-label) minmax(0, 1fr);
  column-gap: var(--gauge-gap);
  align-items: center;
}

/* Glowing dot on the scale line */
.gauge-row::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(var(--gauge-label) + var(--gauge-gap) / 2 - 7px);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bright);
  box-shadow: 0 0 0 4px rgba(79, 193, 207, .18), var(--glow);
  transform: translateY(-50%);
}

/* min-height only keeps the scale aligned on desktop */
.gauge-depth {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 72px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
  color: var(--bright);
}

.gauge-card {
  padding: 24px 28px;
  border: var(--glass-edge);
  border-radius: var(--radius-card);
  background: var(--glass);
}

.gauge-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.gauge-card p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.gauge-note {
  margin-top: 36px;
}


/* --------------------------------------------------------------------------
   11. Home: crew
   -------------------------------------------------------------------------- */

.crew-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
  padding: 0;
  list-style: none;
}

.crew-card {
  padding: 28px 24px;
  border: var(--glass-edge);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(33, 148, 163, .16), rgba(33, 148, 163, .03));
}

.crew-num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: var(--bright);
  text-shadow: 0 0 22px rgba(79, 193, 207, .35);
}

.crew-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.crew-card p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}


/* --------------------------------------------------------------------------
   12. Home: on call (ping)
   -------------------------------------------------------------------------- */

.ping-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}

.rings {
  width: 100%;
  max-width: 520px;
  height: auto;
  margin-inline: auto;
}

.ping-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.ping-list li {
  position: relative;
  padding-left: 22px;
  font-size: 17px;
  color: var(--foam);
}

.ping-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bright);
  box-shadow: 0 0 10px rgba(79, 193, 207, .7);
}


/* --------------------------------------------------------------------------
   13. Home: secure by default
   -------------------------------------------------------------------------- */

.secure-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
  padding: 0;
  list-style: none;
}

.secure-card {
  padding: 28px 24px;
  border: var(--glass-edge);
  border-radius: var(--radius-card);
  background: var(--glass);
}

/* Lock icon strokes use currentColor */
.lock {
  color: var(--bright);
  margin-bottom: 18px;
  filter: drop-shadow(0 0 8px rgba(79, 193, 207, .45));
}

.secure-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.secure-card p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}


/* --------------------------------------------------------------------------
   14. Home: trades (full-width typographic rows)
   -------------------------------------------------------------------------- */

.trades-list {
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.trades-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}

.trades-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.trade-name {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--cream);
  overflow-wrap: break-word;
}

.trade-num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--teal);
}


/* --------------------------------------------------------------------------
   15. Home: steps (four rings joined by a glowing line)
   -------------------------------------------------------------------------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
  padding: 0;
  list-style: none;
}

/* Line runs ring centre to ring centre, behind the rings */
.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  z-index: 0;
  background: linear-gradient(90deg,
    rgba(79, 193, 207, .25),
    var(--bright) 20%,
    var(--bright) 80%,
    rgba(79, 193, 207, .25));
  box-shadow: 0 0 14px rgba(79, 193, 207, .6);
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-ring {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-inline: auto;
  border: 2px solid var(--bright);
  border-radius: 50%;
  background: var(--navy);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--bright);
  box-shadow:
    0 0 0 8px rgba(79, 193, 207, .07),
    0 0 28px rgba(79, 193, 207, .35);
}

.step h3 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 19px;
}

.step p {
  max-width: 30ch;
  margin-inline: auto;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}


/* --------------------------------------------------------------------------
   16. Closing band (.close) with particle field (svg.d)
   -------------------------------------------------------------------------- */

.close {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding-block: 130px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(33, 148, 163, .18), transparent 70%),
    var(--abyss);
}

/* Particles fill the section */
.close .d {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: .9;
  pointer-events: none;
}

.close-inner {
  position: relative;
  z-index: 1;
}

.close .display {
  max-width: 16ch;
  margin-inline: auto;
  font-size: clamp(46px, 7.5vw, 96px);
  line-height: .98;
}

.close-lede {
  margin-top: 24px;
  font-size: 22px;
  line-height: 1.4;
  color: var(--foam);
}

.close .billing-note {
  margin-top: 20px;
}


/* --------------------------------------------------------------------------
   17. Inner pages: page head, notice
   -------------------------------------------------------------------------- */

.page-head {
  padding-block: 100px 76px;
  background:
    radial-gradient(ellipse 55% 80% at 85% 0%, rgba(33, 148, 163, .18), transparent 70%),
    linear-gradient(180deg, var(--abyss), var(--navy));
}

.page-head--tall {
  padding-block: 140px 130px;
}

.display--page {
  max-width: 18ch;
  margin-bottom: 26px;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1;
}

.page-head .lede {
  max-width: 52ch;
}

/* Draft-pricing and legal-draft banners */
.notice {
  max-width: 68ch;
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px dashed rgba(79, 193, 207, .5);
  border-radius: var(--radius-panel);
  font-size: 16px;
  line-height: 1.6;
  color: var(--foam);
}

.notice em {
  font-style: italic;
  color: var(--cream);
}


/* --------------------------------------------------------------------------
   18. Services: service list, callout, split, plain list
   -------------------------------------------------------------------------- */

.svc-list {
  display: grid;
}

.svc {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 40px;
  align-items: baseline;
  padding-block: 36px;
  border-top: 1px solid var(--line);
}

.svc:last-child {
  border-bottom: 1px solid var(--line);
}

.svc-depth {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--bright);
}

.svc-title {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
}

.svc-body {
  font-size: 18px;
  color: var(--muted);
}

/* Highlighted panel ("Deeper still", plan notes) */
.callout {
  max-width: 820px;
  margin-top: 56px;
  padding: 30px 32px;
  border: var(--glass-edge);
  border-radius: var(--radius-card);
  background: var(--glass);
}

.callout h3 {
  margin-bottom: 12px;
  font-size: 22px;
  color: var(--bright);
}

.callout p {
  color: var(--foam);
}

.callout .plain-list {
  margin-top: 4px;
}

/* Two-column text + list */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

/* Simple list with glowing dot markers */
.plain-list {
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-top: 1px solid var(--line);
  color: var(--foam);
}

.plain-list li:first-child {
  border-top: 0;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(12px + .62em);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bright);
  box-shadow: 0 0 10px rgba(79, 193, 207, .6);
}

.split .plain-list li {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--cream);
}

.split .plain-list li::before {
  top: calc(12px + .55em);
}

.plain-list--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
}

/* In two columns the first row has no top border in either column */
.plain-list--two li:nth-child(2) {
  border-top: 0;
}

/* 404 quick links */
.notfound-list {
  max-width: 560px;
  margin-top: 48px;
}

.notfound-list a {
  font-weight: 700;
  text-decoration: none;
}

.notfound-list a:hover {
  text-decoration: underline;
}


/* --------------------------------------------------------------------------
   19. Plans: plan cards, price flag
   -------------------------------------------------------------------------- */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  list-style: none;
}

.plan-card {
  --card-pad-y: 30px;
  --card-pad-x: 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--card-pad-y) var(--card-pad-x);
  border: var(--glass-edge);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(33, 148, 163, .18), rgba(33, 148, 163, .03));
}

.plan-card--featured {
  border-color: var(--bright);
  box-shadow: 0 0 0 1px rgba(79, 193, 207, .35), 0 18px 50px -20px rgba(79, 193, 207, .55);
}

.plan-name {
  font-size: 22px;
  line-height: 1.2;
}

.plan-sub {
  margin-top: 4px;
  font-size: 15px;
  color: var(--muted);
}

.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-top: 22px;
}

.plan-price .plan-figure {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--cream);
}

.plan-per {
  font-size: 16px;
  color: var(--muted);
}

.plan-setup {
  margin-top: 10px;
  font-size: 16px;
  color: var(--muted);
}

.plan-setup .plan-figure {
  font-weight: 700;
  color: var(--foam);
}

/* Who the plan suits: pinned to the bottom so cards line up */
.plan-best {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.5;
  color: var(--foam);
}


/* --------------------------------------------------------------------------
   20. Prose (about, privacy, terms)
   -------------------------------------------------------------------------- */

/* .prose sits on a .wrap, so the 68ch measure is applied to its children;
   that keeps the text column aligned with every other .wrap on the page. */
.prose > * {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 2.2em;
  margin-bottom: 16px;
  font-size: clamp(28px, 2.6vw, 34px);
  line-height: 1.15;
}

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

.prose p {
  color: var(--foam);
}

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

.prose a {
  color: var(--bright);
  text-decoration: underline;
}

.prose a:hover {
  color: var(--cream);
}

.prose .plain-list {
  margin-top: 8px;
}

.fine-print {
  margin-top: 32px;
  font-size: 15px;
  color: var(--muted);
}

.prose .fine-print {
  color: var(--muted);
}


/* --------------------------------------------------------------------------
   21. Contact: grid, form, side panel
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.contact-form-col .section-note {
  margin-top: 0;
}

.contact-form {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
}

.req {
  color: var(--bright);
}

.optional {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(254, 249, 243, .22);
  border-radius: var(--radius-field);
  background: rgba(255, 255, 255, .04);
  color: var(--cream);
  font-size: 17px;            /* 16px+ so iOS does not zoom */
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--ease), background-color var(--ease);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(254, 249, 243, .4);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--bright);
  background: rgba(255, 255, 255, .06);
}

/* Set by site.js after validation */
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--bright);
  border-style: dashed;
}

/* Keep browser autofill on the dark field */
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--cream);
  box-shadow: 0 0 0 100px var(--deep) inset;
  caret-color: var(--cream);
}

.field-error {
  font-size: 15px;
  font-weight: 600;
  color: var(--bright);
}

.form-consent {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.contact-form .btn {
  justify-self: start;
}

.form-status {
  font-size: 16px;
  font-weight: 600;
  color: var(--foam);
}

.form-status:empty {
  display: none;
}

.contact-side {
  padding: 32px;
  border: var(--glass-edge);
  border-radius: var(--radius-card);
  background: var(--glass);
}

.contact-list {
  margin-top: 20px;
}

.contact-list dt {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list dt:first-child {
  margin-top: 0;
}

.contact-list dd {
  margin-top: 4px;
  color: var(--foam);
}

.contact-list a {
  font-weight: 600;
}

.contact-phone {
  font-family: var(--font-display);
  font-size: 26px;
  white-space: nowrap;
  text-decoration: none;
}


/* --------------------------------------------------------------------------
   22. Site footer
   -------------------------------------------------------------------------- */

.site-foot {
  padding-top: 76px;
  background: var(--abyss);
  border-top: 1px solid rgba(79, 193, 207, .14);
}

.foot-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}

.foot-brand img {
  height: 36px;
  width: auto;
  max-width: none;
}

.foot-line {
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
}

.foot-nav ul {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 10px 36px;
  padding: 0;
  list-style: none;
}

.foot-nav a {
  font-size: 16px;
  font-weight: 600;
  color: var(--foam);
  text-decoration: none;
}

.foot-nav a:hover {
  color: var(--bright);
  text-decoration: underline;
}

.foot-contact p + p {
  margin-top: 10px;
}

.foot-contact a {
  color: var(--foam);
  text-decoration: none;
}

.foot-contact a:hover {
  color: var(--bright);
  text-decoration: underline;
}

.foot-contact .foot-phone {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--bright);
  white-space: nowrap;
}

.foot-note {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.foot-base {
  margin-top: 56px;
}

/* Border on the text, not the .wrap, so it does not run into the gutters */
.foot-base p {
  padding-block: 24px;
  border-top: 1px solid rgba(79, 193, 207, .14);
  font-size: 14px;
  color: var(--muted);
}


/* ==========================================================================
   23. Responsive
   ========================================================================== */

/* ---- 1279px: small desktop / large laptop -------------------------------- */
@media (max-width: 1279px) {
  .hero-mark {
    width: 640px;
    right: -140px;
  }

  .crew-grid {
    gap: 16px;
  }

  .crew-card {
    padding: 24px 20px;
  }

  .crew-num {
    font-size: 40px;
  }

  .plan-card {
    --card-pad-y: 26px;
    --card-pad-x: 22px;
  }

  .plan-price .plan-figure {
    font-size: 34px;
  }

  .head-inner {
    gap: 24px;
  }

  .primary-nav ul {
    gap: 24px;
  }
}

/* ---- 1023px: tablet landscape ------------------------------------------- */
@media (max-width: 1023px) {
  :root {
    --wrap-pad: 32px;
    --section-pad: 96px;
  }

  .head-inner {
    gap: 20px;
  }

  .primary-nav ul {
    gap: 20px;
  }

  .head-actions {
    gap: 16px;
  }

  .head-phone .phone-label {
    display: none;
  }

  .hero-mark {
    width: 520px;
    right: -170px;
  }

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

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

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

  .svc {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 10px 28px;
  }

  /* Body moves under the title, in the second column */
  .svc-body,
  .svc-bullets {
    grid-column: 2;
  }

  .ping-grid {
    gap: 48px;
  }

  .contact-grid {
    gap: 44px;
  }

  .foot-inner {
    gap: 36px;
  }

  .close {
    padding-block: 110px;
  }
}

/* ---- 900px: nav collapses to the toggle button --------------------------- */
@media (max-width: 900px) {
  .head-inner {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  /* The number stays in the header on phones: for this audience it is the
     primary call to action. The header CTA button gives up its space instead. */
  .head-actions .btn--sm {
    display: none;
  }

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

  .head-phone {
    display: inline-block;
    font-size: 15px;
  }

  /* Visual order: brand, actions, toggle (DOM order is unchanged) */
  .brand        { order: 0; }
  .head-actions { order: 1; margin-left: auto; }
  .nav-toggle   { order: 2; }
  .primary-nav  { order: 3; }

  .primary-nav {
    margin-left: 0;
    flex-basis: 100%;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav li + li {
    border-top: 1px solid var(--line);
  }

  .primary-nav a {
    display: block;
    padding: 14px 0;
    font-size: 19px;
    border-bottom: 0;
  }

  .primary-nav a[aria-current="page"] {
    border-bottom: 0;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
  }

  /* With JS: show the toggle and hide the panel until .is-open */
  html.js .nav-toggle {
    display: inline-flex;
  }

  html.js .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 6px var(--wrap-pad) 22px;
    background: var(--abyss);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .7);
  }

  html.js .primary-nav.is-open {
    display: block;
  }

  /* Without JS: nav is always visible, stacked under the brand row.
     The header stops being sticky so the stacked nav does not cover content. */
  html:not(.js) .site-head {
    position: relative;
  }

  html:not(.js) .primary-nav {
    display: block;
    padding-bottom: 8px;
  }

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

  .rings {
    max-width: 320px;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

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

/* ---- 767px: tablet portrait / large phone ------------------------------- */
@media (max-width: 767px) {
  :root {
    --wrap-pad: 22px;
    --section-pad: 70px;
  }

  body {
    font-size: 17px;
  }

  /* Hero */
  .hero-mark {
    display: none;
  }

  .hero-inner {
    padding-top: 44px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .section-lede,
  .value-line {
    font-size: 18px;
  }

  /* Gauge: one column, depth label above each card, no scale line */
  .gauge {
    margin-top: 40px;
    gap: 22px;
  }

  .gauge::before,
  .gauge-row::before {
    display: none;
  }

  .gauge-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 10px;
  }

  .gauge-depth {
    min-height: 0;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
    font-size: 15px;
  }

  .gauge-depth::before {
    content: "";
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bright);
    box-shadow: var(--glow);
  }

  .gauge-card {
    padding: 22px;
  }

  /* Crew */
  .crew-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 40px;
  }

  .secure-grid {
    margin-top: 40px;
  }

  /* Trades: smaller type, number kept */
  .trade-name {
    font-size: clamp(22px, 6vw, 40px);
  }

  .trades-list li {
    padding-block: 16px;
    gap: 16px;
  }

  /* Steps: line removed, steps stacked with the ring on the left */
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-top: 44px;
  }

  .steps::before {
    display: none;
  }

  .step {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    column-gap: 20px;
    align-items: start;
    text-align: left;
  }

  .step-ring {
    grid-row: 1 / span 2;
    margin-inline: 0;
  }

  .step h3 {
    margin-top: 6px;
  }

  .step p {
    max-width: none;
    margin-inline: 0;
  }

  /* Closing band */
  .close {
    padding-block: 80px;
  }

  .close-lede {
    font-size: 19px;
  }

  /* Inner pages */
  .page-head {
    padding-block: 60px 52px;
  }

  .page-head--tall {
    padding-block: 80px 72px;
  }

  .svc {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-block: 26px;
  }

  .svc-body,
  .svc-bullets {
    grid-column: auto;
  }

  .callout {
    padding: 24px 22px;
  }

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

  .contact-side {
    padding: 24px 22px;
  }

  /* Footer: one column */
  .site-foot {
    padding-top: 56px;
  }

  .foot-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .foot-base {
    margin-top: 40px;
  }
}

/* ---- 479px: small phone -------------------------------------------------- */
@media (max-width: 479px) {
  /* 320px budget: brand 108 + number 95 + toggle 44 + gaps. The number stays
     visible; only its "Call" label and the CTA button drop out. */
  .head-actions {
    display: flex;
  }

  .head-phone {
    font-size: 14px;
  }

  .head-phone .phone-label {
    display: none;
  }

  .brand img {
    height: 30px;
  }

  .nav-toggle {
    min-width: 44px;
    justify-content: center;
    padding: 8px 12px;
  }

  /* Headlines: Unbounded is wide, so these step down to keep "Your time
     back." on one line and avoid horizontal scrolling at 320px. */
  .hero .display {
    font-size: clamp(30px, 9.6vw, 44px);
  }

  .close .display {
    font-size: clamp(32px, 9.6vw, 46px);
  }

  .display--page {
    font-size: clamp(30px, 9vw, 40px);
  }

  .section-title--xl {
    font-size: clamp(32px, 10vw, 44px);
  }

  .section-title {
    font-size: clamp(28px, 8vw, 34px);
  }

  .section-title--sm {
    font-size: 24px;
  }

  /* Full-width buttons */
  .cta-row .btn {
    flex: 1 1 100%;
    white-space: normal;
  }

  .crew-grid,
  .secure-grid,
  .ping-list,
  .plain-list--two {
    grid-template-columns: minmax(0, 1fr);
  }

  .plain-list--two li:nth-child(2) {
    border-top: 1px solid var(--line);
  }

  .trades-list li {
    gap: 12px;
  }

  .step {
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 16px;
  }

  .step-ring {
    width: 60px;
    height: 60px;
    font-size: 22px;
  }

  .contact-phone {
    font-size: 22px;
  }

  .foot-nav ul {
    gap: 10px 28px;
  }
}


/* ==========================================================================
   24. Motion preferences
   ========================================================================== */

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

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


/* ==========================================================================
   25. Pricing tables, contract work, trade pages
   ========================================================================== */

/* ---- Tables: scroll sideways inside their own box, never the page -------- */
.table-scroll {
  max-width: 100%;
  margin-top: 36px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: var(--glass-edge);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(33, 148, 163, .10), rgba(33, 148, 163, .02));
}

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

.price-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.45;
}

.price-table th,
.price-table td {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table thead th {
  border-top: 0;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bright);
}

.price-table tbody tr:first-child th,
.price-table tbody tr:first-child td {
  border-top: 0;
}

.price-table tbody th {
  font-family: var(--font-text);
  font-weight: 600;
  color: var(--cream);
}

.price-table td {
  color: var(--foam);
}

.price-table tbody tr:hover th,
.price-table tbody tr:hover td {
  background: rgba(33, 148, 163, .08);
}

.price-table .yes,
.price-table .no {
  font-family: var(--font-display);
  font-weight: 700;
}

.price-table .yes {
  color: var(--bright);
  text-shadow: 0 0 12px rgba(79, 193, 207, .45);
}

.price-table .no {
  color: var(--muted);
  opacity: .6;
}

/* Two-column tables (add-ons, who pays) do not need the wide minimum */
.addons-grid .price-table {
  min-width: 420px;
}

/* ---- Plan cards: bullet list, notes, compact and three-up grids --------- */
.plan-support {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}

.plan-support b {
  color: var(--foam);
}

.plan-list {
  margin-top: 20px;
  margin-bottom: 22px;
  padding: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding: 7px 0 7px 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--foam);
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(7px + .6em);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bright);
  box-shadow: 0 0 8px rgba(79, 193, 207, .6);
}

/* Outside a card (Systems Care, founding terms) the list reads at body size */
.section .wrap > .plan-list,
.table-block .plan-list {
  max-width: 68ch;
}

.section .wrap > .plan-list li,
.table-block .plan-list li {
  font-size: 17px;
}

.plan-note {
  max-width: 72ch;
  margin-top: 28px;
  padding-left: 18px;
  border-left: 2px solid var(--line-strong);
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.plan-note + .plan-note {
  margin-top: 14px;
}

.plans-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
}

/* Three or four cards, evenly: auto-fit replaces the fixed column counts */
.plans-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 36px;
}

.plans-grid--compact .plan-card {
  --card-pad-y: 24px;
  --card-pad-x: 22px;
}

.plans-grid--compact .plan-price .plan-figure {
  font-size: 32px;
}

.plans-grid--compact .plan-setup {
  margin-bottom: 22px;
}

.plans-grid--compact .plan-best .link-arrow {
  font-size: 15px;
}

/* Systems Care price sits under the section title, not in a card */
.section .wrap > .plan-price {
  margin-top: 0;
  margin-bottom: 8px;
}

/* ---- Sub-blocks, definition list ---------------------------------------- */
.block-title {
  margin-top: 48px;
  margin-bottom: 4px;
  font-size: 22px;
  color: var(--cream);
}

.table-block h3 {
  margin-bottom: 4px;
  font-size: 22px;
  color: var(--cream);
}

.table-block .table-scroll {
  margin-top: 18px;
}

.table-block > p {
  margin-top: 12px;
  color: var(--foam);
}

.def-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.def-list > div {
  padding: 20px 22px;
  border: var(--glass-edge);
  border-radius: var(--radius-panel);
  background: var(--glass);
}

.def-list dt {
  font-size: 15px;
  color: var(--muted);
}

.def-list dd {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--cream);
}

/* ---- Billing terms cards and two-up blocks ------------------------------ */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
  padding: 0;
  list-style: none;
}

.terms-card {
  padding: 26px 24px;
  border: var(--glass-edge);
  border-radius: var(--radius-card);
  background: var(--glass);
}

.terms-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
  color: var(--bright);
}

.terms-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--foam);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
  margin-top: 56px;
}

/* ---- Contract work: numbered step list ---------------------------------- */
.step-list {
  display: grid;
  max-width: 880px;
  margin-top: 36px;
  padding: 0;
  list-style: none;
}

.step-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}

.step-item:last-child {
  border-bottom: 1px solid var(--line);
}

.step-num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--bright);
  border-radius: 50%;
  background: var(--navy);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--bright);
  box-shadow: 0 0 0 6px rgba(79, 193, 207, .07), 0 0 22px rgba(79, 193, 207, .3);
}

.step-item h3 {
  margin-top: 4px;
  margin-bottom: 8px;
  font-size: 20px;
}

.step-item p {
  font-size: 17px;
  color: var(--muted);
}

/* ---- Trade pages: pains, services without a depth column, trade links ---- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
  padding: 0;
  list-style: none;
}

.pain-card {
  padding: 30px 26px;
  border: var(--glass-edge);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(33, 148, 163, .18), rgba(33, 148, 163, .03));
}

.pain-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.25;
}

.pain-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.svc-list--plain .svc {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
}

.trade-links {
  max-width: 880px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.trade-links li {
  border-top: 1px solid var(--line);
}

.trade-links li:last-child {
  border-bottom: 1px solid var(--line);
}

.trade-links a {
  display: block;
  padding-block: 18px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cream);
  text-decoration: none;
  transition: color var(--ease), text-shadow var(--ease);
}

.trade-links a:hover,
.trade-links a:focus-visible {
  color: var(--bright);
  text-shadow: var(--glow);
}

.trade-links-all a {
  padding-bottom: 6px;
}

.trade-links-all p {
  max-width: 62ch;
  padding-bottom: 18px;
  font-size: 16px;
  color: var(--muted);
}

/* ---- Linked trade rows (home .trades-list, services .plain-list) --------- */
.trades-list a {
  display: flex;
  flex: 1 1 auto;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  text-decoration: none;
}

.trades-list .trade-name,
.trades-list .trade-num {
  transition: color var(--ease), text-shadow var(--ease);
}

.trades-list a:hover .trade-name,
.trades-list a:focus-visible .trade-name {
  color: var(--bright);
  text-shadow: var(--glow);
}

.trades-list a:hover .trade-num,
.trades-list a:focus-visible .trade-num {
  color: var(--bright);
}

/* Scoped to .split so the 404 quick links keep their own treatment */
.split .plain-list a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease), text-shadow var(--ease);
}

.split .plain-list a:hover,
.split .plain-list a:focus-visible {
  color: var(--bright);
  text-shadow: var(--glow);
}

/* ---- 25 responsive: 1023 / 767 / 479 ------------------------------------- */
@media (max-width: 1023px) {
  .plans-grid--three,
  .terms-grid,
  .pain-grid,
  .def-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .addons-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  /* Section 23 moves .svc-body to column 2 for the depth layout; undo it here */
  .svc-list--plain .svc-body {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .table-scroll {
    margin-top: 28px;
    border-radius: var(--radius-panel);
  }

  .price-table {
    font-size: 15px;
  }

  .price-table th,
  .price-table td {
    padding: 12px 14px;
  }

  .plans-grid--three,
  .terms-grid,
  .pain-grid,
  .svc-list--plain .svc {
    grid-template-columns: minmax(0, 1fr);
  }

  .pain-card,
  .terms-card {
    padding: 24px 22px;
  }

  .addons-grid {
    margin-top: 40px;
  }

  .step-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding-block: 20px;
  }

  .step-num {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  .trades-list a {
    gap: 16px;
  }
}

@media (max-width: 479px) {
  .def-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .def-list dd {
    font-size: 22px;
  }

  .price-table {
    min-width: 560px;
  }

  .addons-grid .price-table {
    min-width: 360px;
  }

  .trade-links a {
    font-size: 22px;
  }

  .trades-list a {
    gap: 12px;
  }
}


/* ==========================================================================
   26. Round 3: pricing menu (base, add-ons, bundles), size bands, hero lines
   ========================================================================== */

/* ---- W-S9: the mobile pricing-table page scroll -------------------------
   .visually-hidden is position:absolute. Inside a table cell it has no
   positioned ancestor, so its static position (up to 507px on /plans/) was
   counted in the document width even though the table itself sits in a
   scroll box. Making the scroll box a containing block keeps every absolutely
   positioned helper inside it, where the box clips them like the rest. */
.table-scroll {
  position: relative;
}

/* Shown only where the box can actually scroll (below 720px). */
.scroll-hint {
  display: none;
}

.price-line {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--bright);
}

.expectation {
  max-width: 34ch;
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cream);
}

/* ---- Service groups: numbered row + bullet list ------------------------- */
.svc-bullets {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

.svc-bullets li::before {
  content: "";
  position: absolute;
  top: .6em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bright);
  box-shadow: 0 0 10px rgba(79, 193, 207, .6);
}

.svc-list--plain .svc-bullets {
  display: none;
}

/* ---- Base plan card ----------------------------------------------------- */
.base-card {
  margin-top: 36px;
  padding: 32px;
  border: var(--glass-edge);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(33, 148, 163, .18), rgba(33, 148, 163, .03));
}

.base-detail {
  margin-top: 36px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.base-detail .block-title:first-child {
  margin-top: 28px;
}

/* ---- Band price rows (Solo / Crew / Company) --------------------------- */
.band-rows {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.band-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 2px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.band-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.band-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bright);
}

.band-figure {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
}

.band-per {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

.band-setup {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--muted);
}

/* ---- Add-on menu -------------------------------------------------------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
  padding: 0;
  list-style: none;
}

.addon-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: var(--glass-edge);
  border-radius: var(--radius-card);
  background: var(--glass);
}

.addon-name {
  font-size: 20px;
  line-height: 1.25;
  color: var(--cream);
}

.addon-sub {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.addon-card .band-rows {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.addon-card .plan-list {
  margin-top: 18px;
  font-size: 15px;
}

.addon-card .fine-print {
  margin-top: 14px;
}

/* ---- Bundles ------------------------------------------------------------ */
.plans-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-card--bundle .band-rows {
  margin-top: 18px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.plan-card--bundle .plan-list {
  margin-top: 12px;
}

.plan-list--muted li {
  color: var(--muted);
}

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

/* ---- 26 responsive ------------------------------------------------------ */
@media (max-width: 1023px) {
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 767px) {
  .menu-grid,
  .def-list--three {
    grid-template-columns: minmax(0, 1fr);
  }

  .scroll-hint {
    display: block;
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--muted);
  }

  .scroll-hint + .table-scroll {
    margin-top: 10px;
  }

  .base-card {
    padding: 24px 20px;
  }

  .band-figure {
    font-size: 24px;
  }
}

@media (max-width: 479px) {
  .band-figure {
    font-size: 22px;
  }
}

/* ---- Plans 1.0: index number and badge on tier cards ---------------------- */
.plan-index {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--bright);
  /* Reserve room for the corner badge so the two can never collide */
  padding-right: min(140px, 45%);
}

/* Pinned to the card's top-right corner, level with the index number */
.plan-badge {
  position: absolute;
  top: var(--card-pad-y);
  right: var(--card-pad-x);
  margin: 0;
  padding: 3px 12px;
  border: 1px solid var(--bright);
  border-radius: 999px;
  font-size: 13px;
  color: var(--foam);
}

/* Must follow the base rule above: same specificity, later wins */
@media (max-width: 479px) {
  .plan-badge {
    padding: 3px 10px;
    font-size: 12px;
  }
}


/* --------------------------------------------------------------------------
   27. Home: how it works timeline
   Scoped to .steps--timeline so /contact/thanks/ keeps the bare .steps look.
   -------------------------------------------------------------------------- */

.steps--timeline {
  --timeline-gap: 36px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--timeline-gap);
  margin-top: 56px;
  padding: 0;
  list-style: none;
}

/* Connector: ring 1's right edge to ring 4's left edge, at the ring centre.
   The column centres sit at (100% - 3 gaps) / 8, not at 12.5%, because the
   gutters are subtracted before the columns are divided.
   Decorative only: no layout, no hit-testing. */
.steps--timeline::before {
  content: "";
  position: absolute;
  top: 34px;
  left: calc((100% - 3 * var(--timeline-gap)) / 8 + 34px);
  right: calc((100% - 3 * var(--timeline-gap)) / 8 + 34px);
  height: 1px;
  z-index: 0;
  background: var(--step-line);
  box-shadow: none;
  pointer-events: none;
}

.steps--timeline .step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.steps--timeline .step-ring {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-inline: auto;
  border: 1px solid var(--bright);
  border-radius: 50%;
  background: var(--ring-fill);
  box-shadow: var(--ring-halo), 0 0 18px rgba(79, 193, 207, .18);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--bright);
}

.steps--timeline .step h3 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 17px;
}

.steps--timeline .step p {
  max-width: 180px;
  margin-inline: auto;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* Two by two, still centred: overrides the 767px ring-left .step layout */
@media (max-width: 900px) {
  .steps--timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 36px;
  }

  .steps--timeline::before {
    display: none;
  }

  .steps--timeline .step {
    display: block;
    text-align: center;
  }

  .steps--timeline .step-ring {
    margin-inline: auto;
  }

  .steps--timeline .step p {
    max-width: 260px;
    margin-inline: auto;
  }
}

/* One column, ring on the left */
@media (max-width: 600px) {
  .steps--timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    margin-top: 40px;
  }

  .steps--timeline .step {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
    text-align: left;
  }

  .steps--timeline .step-ring {
    margin-inline: 0;
    grid-row: 1 / span 2;
  }

  .steps--timeline .step h3 {
    margin: 6px 0 8px;
  }

  .steps--timeline .step p {
    max-width: none;
    margin-inline: 0;
  }
}
