/* SimplyTechAI — site styles
   Plain CSS, no build step. Palette, type and spacing follow the approved
   design system; edit the custom properties below rather than raw values. */

/* ---------- Font: Manrope (SIL OFL 1.1, see ../fonts/OFL.txt) ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  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: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  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 {
  /* Approved palette */
  --canvas: #F7F7F2;
  --surface: #FFFFFF;
  --ink: #192D35;
  --teal: #176B60;
  --muted: #52646A;
  --peach: #E8B185;

  /* Derived from the palette (mixes, not new brand colours) */
  --teal-strong: #18584F;   /* teal 70% + ink 30%: button hover */
  --teal-tint: #E8F0EE;     /* teal 10% on white: icon tiles */
  --peach-tint: #F3E2D1;    /* peach 30% on canvas: highlighted surfaces */
  --line: rgba(25, 45, 53, 0.12);
  --line-strong: rgba(25, 45, 53, 0.24);
  --shadow: 0 1px 2px rgba(25, 45, 53, 0.05), 0 16px 40px -20px rgba(25, 45, 53, 0.22);

  /* Spacing scale: 8 16 24 32 48 64 96 */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4rem;
  --s7: 6rem;

  --radius: 12px;
  --radius-lg: 16px;
  --max: 1120px;
  --gutter: 1rem;
  --measure: 65ch;
  --section-y: 3.5rem;
  --header-h: 0px;          /* header is static on small screens */

  /* Type */
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --text: 1.0625rem;        /* 17px */
  --text-lg: 1.1875rem;     /* 19px */
  --text-sm: 1rem;          /* 16px: smallest text size used */
  --leading: 1.6;
  --h1: clamp(2.25rem, 1.3rem + 3.9vw, 3.75rem);     /* 36px → 60px */
  --h2: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);      /* 28px → 40px */
  --h3: 1.25rem;
}

@media (min-width: 48em) {
  :root {
    --gutter: 2rem;
    --section-y: 4.5rem;
  }
}

@media (min-width: 60em) {
  :root {
    --text: 1.125rem;       /* 18px */
    --text-lg: 1.25rem;     /* 20px */
    --section-y: 6rem;
    --header-h: 4.5rem;     /* sticky header height */
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text);
  line-height: var(--leading);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  font-size: var(--h1);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--h2);
  line-height: 1.15;
  letter-spacing: -0.022em;
}

h3 {
  font-size: var(--h3);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

p + p {
  margin-top: var(--s2);
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

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

/* :where() keeps this reset at low specificity so components can set margins */
:where(ul, ol)[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

svg {
  flex: none;
}

.visually-hidden {
  position: absolute !important;
  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;
}

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

/* Anchor targets clear the sticky header */
[id] {
  scroll-margin-top: calc(var(--header-h) + var(--s3));
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: var(--s2);
  left: var(--s2);
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--surface);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  color: var(--surface);
  outline-color: var(--teal);
}

/* ---------- Wordmark ---------- */
.wordmark {
  display: inline-block;
  color: var(--ink);
  font-size: 1.3125rem;      /* 21px */
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark:hover {
  color: var(--ink);
}

.wordmark__ai {
  color: var(--teal);
}

/* ---------- Buttons and links ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;       /* 52px tap target */
  padding: 0.8125rem 1.5rem;
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  background: var(--teal);
  color: var(--surface);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  border-color: var(--teal-strong);
  background: var(--teal-strong);
  color: var(--surface);
}

.button--small {
  min-height: 2.75rem;       /* 44px */
  padding: 0.5625rem 1.125rem;
  font-size: 0.9375rem;      /* 15px */
}

/* Secondary action: outlined, so it doesn't compete with the form's submit button */
.button--secondary {
  background: transparent;
  color: var(--teal);
}

.button--secondary:hover {
  border-color: var(--teal-strong);
  background: var(--teal-tint);
  color: var(--teal-strong);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.text-link svg {
  width: 1.125rem;
  height: 1.125rem;
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .text-link,
  .site-nav a,
  .faq summary::after {
    transition: background-color 0.15s ease, border-color 0.15s ease,
      color 0.15s ease, text-decoration-color 0.15s ease, transform 0.15s ease;
  }

  .text-link:hover svg {
    transform: translateX(2px);
  }

  .text-link svg {
    transition: transform 0.15s ease;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 10;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: var(--s3);
  row-gap: var(--s1);
  padding-block: var(--s2) 0.75rem;
}

.site-header__brand {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
}

.site-header__cta {
  display: none;
  order: 2;
}

.site-nav {
  flex-basis: 100%;
  order: 3;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.125rem;      /* keeps all four links on one row at 360px */
  row-gap: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 0.9375rem;      /* 15px */
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4em;
}

.site-nav a:hover {
  color: var(--teal);
  text-decoration-color: currentColor;
}

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

  .site-nav ul {
    column-gap: var(--s3);
  }
}

@media (min-width: 60em) {
  .site-header {
    position: sticky;
    top: 0;
    background: rgba(247, 247, 242, 0.94);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
    backdrop-filter: saturate(140%) blur(8px);
  }

  .site-header__inner {
    flex-wrap: nowrap;
    min-height: var(--header-h);
    padding-block: 0;
  }

  .site-nav {
    flex-basis: auto;
    order: 0;
    margin-left: auto;
  }

  .site-nav ul {
    column-gap: var(--s4);
  }

  .site-nav a {
    font-size: 1rem;
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--section-y);
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: var(--s2);
  margin-bottom: var(--s5);
}

.section-head p {
  max-width: var(--measure);
}

@media (min-width: 60em) {
  .section-head {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: var(--s6);
    align-items: end;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: var(--s5) var(--section-y);
}

.hero__grid {
  display: grid;
  gap: var(--s5);
}

.eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: var(--s3);
  color: var(--teal);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.4;
}

.eyebrow::before {
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  margin-top: 0.38em;
  border-radius: 3px;
  background: var(--peach);
  flex: none;
}


.hero__lead {
  max-width: 34rem;
  margin-top: var(--s3);
  font-size: var(--text-lg);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2) var(--s4);
  margin-top: var(--s4);
}

.hero__note {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
  max-width: 34rem;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 500;
}

.hero__note svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  color: var(--teal);
}

@media (min-width: 60em) {
  .hero {
    padding-block: var(--s6);
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: var(--s6);
    align-items: center;
  }
}

/* ---------- Illustrative workflow diagram ---------- */
.hero__visual {
  position: relative;
  isolation: isolate;
  max-width: 32rem;
  margin: 0 var(--s2) var(--s2) 0;
}

/* Restrained peach accent: only an offset sliver shows beside the card */
.hero__visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: calc(-1 * var(--s2));
  bottom: calc(-1 * var(--s2));
  width: 60%;
  height: 55%;
  border-radius: var(--radius-lg);
  background: var(--peach);
}

.flow {
  margin: 0;
  padding: var(--s3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.flow__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
}

.flow__steps {
  display: grid;
  gap: var(--s3);
  margin-top: var(--s3);
}

.flow__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.75rem var(--s2) 0.75rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
  font-size: var(--text);
  font-weight: 700;
  line-height: 1.3;
}

/* Connector between steps: line plus arrowhead, centred on the icon */
.flow__step + .flow__step::before {
  content: "";
  position: absolute;
  left: calc(0.75rem + 1.375rem - 1px);
  top: calc(-1 * var(--s3) - 1px);
  height: calc(var(--s3) - 4px);
  border-left: 2px solid var(--teal);
}

.flow__step + .flow__step::after {
  content: "";
  position: absolute;
  left: calc(0.75rem + 1.375rem - 5px);
  top: -7px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--teal);
}

.flow__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: var(--teal-tint);
  color: var(--teal);
  flex: none;
}

.flow__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Final step highlighted with a peach surface and dark label */
.flow__step--ready {
  border-color: transparent;
  background: var(--peach);
}

.flow__step--ready .flow__icon {
  background: var(--surface);
  color: var(--ink);
}

@media (min-width: 30em) {
  .flow {
    padding: var(--s4);
  }
}

@media (min-width: 48em) and (max-width: 59.99em) {
  .hero__visual {
    max-width: 36rem;
  }
}

@media (min-width: 60em) {
  .hero__visual {
    justify-self: end;
    width: 100%;
    margin: 0 var(--s3) var(--s3) 0;
  }

  .hero__visual::before {
    right: calc(-1 * var(--s3));
    bottom: calc(-1 * var(--s3));
  }
}

/* ---------- Workflow examples ---------- */
.cards {
  display: grid;
  gap: var(--s3);
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  padding: var(--s4) var(--s3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.card p {
  color: var(--muted);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--s1);
  border-radius: var(--radius);
  background: var(--teal-tint);
  color: var(--teal);
}

.card__icon svg {
  width: 1.625rem;
  height: 1.625rem;
}

.note {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  max-width: var(--measure);
  margin-top: var(--s4);
  color: var(--muted);
  font-size: var(--text-sm);
}

.note svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1875rem;
  color: var(--muted);
}

@media (min-width: 48em) {
  .card {
    padding: var(--s4);
  }
}

@media (min-width: 48em) and (max-width: 59.99em) {
  .card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: var(--s3);
    row-gap: var(--s1);
  }

  .card__icon {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }
}

@media (min-width: 60em) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- How it works ---------- */
.how h2 {
  max-width: 18ch;
  margin-bottom: var(--s5);
}

.steps {
  display: grid;
  gap: var(--s4);
}

.step {
  position: relative;
  padding-left: 4.5rem;
}

.step__num {
  position: absolute;
  top: -0.375rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--surface);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0;
}

/* Vertical connector on small screens */
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(1.5rem - 1px);
  top: 3.125rem;
  bottom: calc(-1 * var(--s4) - 0.25rem);
  border-left: 2px solid var(--line-strong);
}

.step h3 {
  margin-bottom: var(--s1);
}

.step p {
  max-width: 40ch;
  color: var(--muted);
}

@media (min-width: 60em) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s4);
  }

  .step {
    padding-left: 0;
    padding-top: 4.5rem;
  }

  .step__num {
    top: 0;
  }

  /* Horizontal connector on wider screens */
  .step:not(:last-child)::before {
    left: 4rem;
    right: calc(-1 * var(--s4) + var(--s2));
    top: calc(1.5rem - 1px);
    bottom: auto;
    border-left: 0;
    border-top: 2px solid var(--line-strong);
  }

  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(1.5rem - 5px);
    right: calc(-1 * var(--s4) + var(--s2));
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid var(--line-strong);
  }
}

/* ---------- Principles: editorial rows ---------- */
.split {
  display: grid;
  gap: var(--s4);
}

.split__head h2 {
  max-width: 14ch;
}

.principles {
  border-top: 1px solid var(--line-strong);
}

.principle {
  display: grid;
  align-items: start;
  gap: var(--s1);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--line);
}

.principle h3 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.principle h3::before {
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  margin-top: 0.34em;
  border-radius: 3px;
  background: var(--peach);
  flex: none;
}

.principle p {
  max-width: var(--measure);
  color: var(--muted);
}

@media (min-width: 48em) {
  .principle {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: var(--s4);
    padding-block: var(--s4);
  }
}

@media (min-width: 60em) {
  .split {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: var(--s6);
    align-items: start;
  }

  .split__head {
    position: sticky;
    top: calc(var(--header-h) + var(--s5));
  }
}

/* ---------- Founder ---------- */
.founder-section {
  padding-top: 0;
}

.founder {
  display: grid;
  gap: var(--s4);
  padding: var(--s5) var(--s3);
  border-radius: var(--radius-lg);
  background: var(--peach-tint);
}

.founder h2 {
  max-width: 14ch;
}

.founder__body {
  max-width: var(--measure);
}

.founder__lead {
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.55;
}

.founder__sign {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: var(--s4) !important;
  font-weight: 700;
}

.founder__sign::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--teal);
}

@media (min-width: 48em) {
  .founder {
    padding: var(--s6);
  }
}

@media (min-width: 60em) {
  .founder {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: var(--s6);
    padding: var(--s6);
  }
}

/* ---------- FAQ ---------- */
.faq-section {
  padding-top: 0;
}

.faq {
  max-width: 52rem;
  margin-inline: auto;
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line-strong);
}

.faq summary {
  position: relative;
  display: block;
  padding: var(--s3) 3.25rem var(--s3) 0;
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

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

.faq summary:hover {
  color: var(--teal);
}

/* Plus / minus marker */
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.875rem;
  top: 50%;
  width: 1rem;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq summary:focus-visible {
  outline-offset: 6px;
}

.faq__answer {
  max-width: var(--measure);
  padding-bottom: var(--s3);
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-section {
  padding-top: 0;
}

.contact {
  display: grid;
  gap: var(--s4);
  padding: var(--s5) var(--s3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact h2 {
  max-width: 22ch;
}

.contact__copy p {
  max-width: 34rem;
  margin-top: var(--s3);
  font-size: var(--text-lg);
}

/* Form column: HubSpot renders its form (default styling) inside .hs-form-frame */
.contact__form {
  min-width: 0;
}

/* Sizes the frame element only; HubSpot's own inline sizing still takes precedence
   and the form inside keeps its default styling. */
.hs-form-frame iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
}

.contact__form:has(.hs-form-frame > *) .hs-form-frame {
  margin-bottom: var(--s3);
}

/* Always visible: an inserted frame is no proof the form actually works */
.contact__fallback {
  padding: var(--s3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
}

.contact__notice {
  margin-top: var(--s3) !important;
  max-width: 34rem;
  color: var(--muted);
  font-size: var(--text-sm);
}

.contact__email {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s2);
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
}

.contact__address {
  font-size: var(--text);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0 !important;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 500;
}

.contact__meta svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--teal);
}

@media (min-width: 48em) {
  .contact {
    padding: var(--s6);
  }
}

@media (min-width: 60em) {
  .contact {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas:
      "copy form"
      "email form";
    grid-template-rows: auto 1fr;
    column-gap: var(--s6);
    row-gap: var(--s5);
    align-items: start;
  }

  .contact__copy {
    grid-area: copy;
  }

  .contact__form {
    grid-area: form;
    padding-left: var(--s6);
    border-left: 1px solid var(--line);
  }

  .contact__email {
    grid-area: email;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: var(--s5);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--text-sm);
}

.site-footer__grid {
  display: grid;
  gap: var(--s3);
}

.site-footer__tagline {
  margin-top: 0.75rem !important;
}

.site-footer__tagline {
  color: var(--ink);
  font-weight: 500;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
}

.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}

.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--line-strong);
}

.site-footer nav a:hover {
  color: var(--teal);
  text-decoration-color: currentColor;
}

.site-footer__legal p + p {
  margin-top: 0;
}

@media (min-width: 48em) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    row-gap: var(--s4);
  }

  .site-footer__legal {
    grid-column: 1 / -1;
  }
}

/* ---------- Privacy / document pages ---------- */
.doc {
  padding-block: var(--s5) var(--section-y);
}

.doc__inner {
  max-width: 46rem;
}

.doc h1 {
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem);
}

.doc h2 {
  margin-top: var(--s5);
  margin-bottom: var(--s2);
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.875rem);
}

.doc p,
.doc li {
  max-width: var(--measure);
}

.doc ul {
  margin: var(--s2) 0 0;
  padding-left: 1.25rem;
}

.doc li + li {
  margin-top: var(--s1);
}

.doc ul + p {
  margin-top: var(--s2);
}

.doc li::marker {
  color: var(--teal);
}

.doc__meta {
  margin-top: var(--s2);
  color: var(--muted);
  font-size: var(--text-sm);
}

.doc__actions {
  margin-top: var(--s4) !important;
}

.draft-notice {
  margin-top: var(--s4);
  padding: var(--s3);
  border: 2px dashed var(--peach);
  border-radius: var(--radius);
  background: var(--peach-tint);
}

.draft-notice strong {
  display: block;
  margin-bottom: 0.25rem;
}

.to-confirm {
  white-space: nowrap;
  padding: 0.0625rem 0.375rem;
  border-radius: 4px;
  background: var(--peach-tint);
  box-shadow: inset 0 0 0 1px var(--peach);
  font-weight: 700;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Forced colours (Windows high contrast) ---------- */
@media (forced-colors: active) {
  .button,
  .flow,
  .card,
  .contact,
  .contact__fallback,
  .draft-notice {
    border: 1px solid CanvasText;
  }

  .hero__visual::before {
    display: none;
  }

  .step__num {
    border: 2px solid CanvasText;
  }

  /* Plus/minus marker is drawn with backgrounds, which forced colours remove */
  .faq summary::before,
  .faq summary::after {
    forced-color-adjust: none;
    background: CanvasText;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .skip-link {
    position: static;
  }

  .site-nav,
  .site-header__cta,
  .hero__visual::before {
    display: none;
  }

}
