/* SecureGrid marketing site — www.securegrid.co.za. The Nightshift language (D-NSH.56): the
   portal's palette and type, set larger for reading. Values are the portal's tokens
   (docs/handovers/web-portal/nightshift/nightshift_token_map.json) unless marked "site". */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/figtree-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: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/figtree-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+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f4f2ee; /* --bg-0 */
  --card: #ffffff; /* --bg-1 */
  --soft: #f6f4ef; /* --bg-2 */
  --chip: #f0ede6; /* --bg-3 */
  --line: #ece8e0; /* --line-1 */
  --line-control: #e1dcd1;
  --ink: #1b1d22; /* --t1 */
  --t2: #4b4f58;
  --t3: #5e626b; /* AA on the ground */
  --t4: #6e727b; /* AA on white only */
  --acc: #5b3fd0; /* jacaranda: links */
  --acc-hover: #3d2799;
  --acc-soft: #eeeafd;
  --cta: #f5b301; /* amber: the one call to action */
  --cta-line: #e3a500;
  --eyebrow: #8a5f00;
  --ok: #16663f;
  --ok-soft: #e1f2e8;
  --cyan: #0b6b7c;
  --cyan-soft: #e0f4f7;
  --strip: #16191f; /* the dark strip */
  --strip-2: #1e2229; /* site: a card on the dark band */
  --strip-line: #2c313a; /* site */
  --strip-t1: #ffffff;
  --strip-t2: #c9ccd3;
  --navy: #0e1a2f; /* the S, on light grounds */
  --brand-blue: #0b6cf0; /* the G and "Grid" */
  --focus: #f5b301;
  --focus-ink: #1b1d22;
  --shadow: 0 1px 2px rgba(27, 29, 34, 0.03);
  --shadow-screen: 0 30px 80px rgba(20, 22, 30, 0.16), 0 0 0 1px #e4dfd5; /* site */
  --radius: 12px;
  --radius-card: 18px;
  --wrap: 1200px;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--acc);
  text-decoration: none;
}
a:hover {
  color: var(--acc-hover);
  text-decoration: underline;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--focus-ink);
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--card);
  padding: 8px 14px;
  border-radius: 10px;
  z-index: 10;
}
.skip:focus {
  left: 12px;
}
.i {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* The page wrapper is the container for every responsive rule, so the same markup lays
   itself out by its own width: in a browser, and on the design canvas's phone artboard. */
.site {
  container-type: inline-size;
  container-name: site;
  min-height: 100vh;
  overflow-x: clip;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── Header ─── */
.hdr {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(244, 242, 238, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr .wrap {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand:hover {
  color: var(--navy);
  text-decoration: none;
}
.brand img {
  width: 26px;
  height: 29px;
}
.brand b {
  font-weight: 800;
  color: var(--brand-blue);
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}
.nav a {
  color: var(--t2);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
}
.nav a:hover {
  background: var(--soft);
  color: var(--ink);
  text-decoration: none;
}
.nav a[aria-current='page'] {
  color: var(--ink);
  font-weight: 700;
  box-shadow: inset 0 -3px 0 var(--cta);
  border-radius: 0;
}
.hdr-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hdr-signin {
  color: var(--ink);
  font-weight: 650;
  font-size: 15px;
  padding: 8px 12px;
}
.hdr .menu-btn {
  display: none;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  font: 650 15px/1 'Figtree', system-ui, sans-serif;
  white-space: nowrap;
  border: 1px solid var(--line-control);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}
.btn:hover {
  text-decoration: none;
  color: var(--ink);
  background: var(--soft);
}
.btn-cta {
  background: var(--cta);
  border-color: var(--cta-line);
  font-weight: 750;
}
.btn-cta:hover {
  background: #e8a900;
}
.btn-ink {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn-ink:hover {
  background: #2b2e36;
  color: #fff;
}
.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 10px;
}

/* ─── Type ─── */
.site .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--eyebrow);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 16px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f8a55;
  box-shadow: 0 0 0 4px rgba(31, 138, 85, 0.16);
}
h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
}
h1 {
  font-size: 58px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
}
h2 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.028em;
}
h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: -0.012em;
}
.lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--t2);
  margin: 22px 0 0;
  max-width: 34em;
}
.sec-head {
  max-width: 44em;
  margin: 0 0 44px;
}
.sec-head p {
  font-size: 18px;
  color: var(--t2);
  margin: 16px 0 0;
}
.muted {
  color: var(--t3);
}

/* ─── Sections ─── */
.sec {
  padding: 96px 0;
}
.sec-tight {
  padding: 64px 0;
}
.hero {
  padding: 72px 0 88px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
/* The hero screen runs past the column towards the window edge (clipped by .site). */
.hero .screen {
  width: calc(100% + 180px);
  max-width: none;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero .sub {
  margin: 20px 0 0;
  font-size: 15px;
  color: var(--t3);
}

/* A product screen from the approved canvas, in a light browser frame. */
.screen {
  margin: 0; /* a <figure>: drop the browser's default 40px side margin */
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow-screen);
  overflow: hidden;
}
.screen .chrome {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: #f1eee8;
  border-bottom: 1px solid var(--line);
}
.screen .chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9d3c6;
}
.screen .chrome em {
  margin-left: 12px;
  font-style: normal;
  font-size: 12px;
  color: var(--t4);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 2px 10px;
}
.screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
}

/* The five-tools band */
.tools {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tools .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.tool-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.tool {
  border: 1px dashed #cfc9bb;
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
  color: var(--t3);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.tool .i {
  display: block;
  margin: 0 auto 8px;
  color: var(--t4);
}
.tools-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px 0;
  color: var(--t4);
  font-size: 14px;
  font-weight: 600;
}
.tools-one {
  border-radius: 14px;
  background: var(--strip);
  color: var(--strip-t1);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}
.tools-one img {
  width: 22px;
  height: 25px;
  background: #fff;
  border-radius: 7px;
  padding: 3px 4px;
  box-sizing: content-box;
}
.tools-one span {
  color: var(--strip-t2);
  font-weight: 500;
  font-size: 15px;
}

/* Module cards */
.mods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.mod {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mod .tile {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--acc-soft);
  color: var(--acc);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.mod p {
  margin: 0;
  color: var(--t2);
  font-size: 15.5px;
  line-height: 1.55;
}
.mod .tag {
  align-self: flex-start;
  margin-top: auto;
  font-size: 13px;
  font-weight: 650;
  color: var(--t3);
  background: var(--chip);
  border-radius: 999px;
  padding: 3px 10px;
}
.mod .tag.build {
  color: #7a4e00;
  background: #fff1cc;
}
.mod.wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
}
.mod.wide .tile {
  margin: 0;
}
.mod.wide h3 {
  font-size: 18px;
}
.mod.wide .tag {
  margin: 0 0 0 auto;
}
.mod-more {
  margin-top: 24px;
  font-weight: 650;
}

/* Feature rows */
.feat {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
  padding: 44px 0;
}
.feat + .feat {
  border-top: 1px solid var(--line);
}
.feat.flip .feat-copy {
  order: 2;
}
.feat-copy p {
  color: var(--t2);
  margin: 14px 0 0;
}
.ticks {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}
.ticks .i {
  color: var(--ok);
  margin-top: 2px;
}

/* The dark band */
.band {
  background: var(--strip);
  color: var(--strip-t2);
}
.band h2,
.band h3 {
  color: var(--strip-t1);
}
.band .sec-head p {
  color: var(--strip-t2);
}
.site .band .eyebrow {
  color: #e8b53f;
}
.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.trust-item {
  background: var(--strip-2);
  border: 1px solid var(--strip-line);
  border-radius: var(--radius-card);
  padding: 24px;
}
.trust-item .i {
  color: #fff;
  width: 22px;
  height: 22px;
}
.trust-item h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}
.trust-item p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
}
.band a {
  color: #cfc3ff;
}

/* Onboarding steps: the product's stepper language */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
}
.step .n {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}
.step:first-child .n {
  background: var(--cta);
  color: var(--ink);
  box-shadow: 0 0 0 6px rgba(245, 179, 1, 0.22);
}
.step p {
  margin: 8px 0 0;
  color: var(--t2);
  font-size: 15.5px;
  line-height: 1.55;
}

/* The closing call to action */
.close {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}
.close p {
  color: var(--t2);
  margin: 14px 0 0;
}
.close .cta-row {
  margin-top: 0;
  justify-content: flex-end;
}

/* Page head (inner pages) */
.phead {
  padding: 64px 0 40px;
}
.phead h1 {
  font-size: 50px;
}
.phead .lede {
  max-width: 40em;
}

/* Platform page: one section per module */
.msec {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.msec .tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--acc-soft);
  color: var(--acc);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.msec h2 {
  font-size: 28px;
}
.msec .for {
  margin: 10px 0 0;
  color: var(--t3);
  font-size: 15px;
}
.msec p {
  margin: 0 0 16px;
  color: var(--t2);
}
.caps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.caps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.5;
}
.caps .i {
  color: var(--ok);
  margin-top: 2px;
}
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.jump a {
  font-size: 14px;
  font-weight: 650;
  color: var(--t2);
  background: var(--card);
  border: 1px solid var(--line-control);
  border-radius: 999px;
  padding: 6px 14px;
}
.jump a:hover {
  text-decoration: none;
  background: var(--soft);
  color: var(--ink);
}

/* Security page */
.qa {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.qa-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
}
.qa-item h3 {
  display: flex;
  gap: 12px;
  align-items: center;
}
.qa-item h3 .tile {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--acc-soft);
  color: var(--acc);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.qa-item p {
  margin: 14px 0 0;
  color: var(--t2);
  font-size: 16px;
}

/* Get started: the form */
.start {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 32px;
  align-items: start;
}
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
}
.form-card h2 {
  font-size: 26px;
}
.form-card > p {
  margin: 8px 0 24px;
  color: var(--t3);
  font-size: 15.5px;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label,
.field legend {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
  padding: 0;
}
.field label span,
.field legend span {
  font-weight: 400;
  color: var(--t4);
}
.field input,
.field select,
.field textarea {
  height: 46px;
  border: 1px solid var(--line-control);
  border-radius: var(--radius);
  padding: 0 14px;
  font: 400 16px 'Figtree', system-ui, sans-serif;
  color: var(--ink);
  background: var(--card);
  width: 100%;
}
.field textarea {
  height: 104px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.5;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--t4);
}
fieldset.field {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--t2);
  border: 1px solid var(--line-control);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  background: var(--card);
}
.chips input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--ink);
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--t2);
  line-height: 1.5;
  margin-top: 4px;
}
.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--ink);
  flex-shrink: 0;
}
.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.form-foot small {
  color: var(--t3);
  font-size: 14px;
}
.form-msg {
  margin-top: 18px;
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 15.5px;
  line-height: 1.5;
}
.form-msg.ok {
  background: var(--ok-soft);
  color: #0f4a2d;
}
.form-msg.err {
  background: #fce8e6;
  color: #7c1a13;
}
.fields[hidden],
.form-foot[hidden],
.form-msg[hidden] {
  display: none;
}
.aside-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
}
.aside-card + .aside-card {
  margin-top: 16px;
}
.aside-card h3 {
  font-size: 18px;
}
.aside-card p {
  margin: 8px 0 0;
  color: var(--t2);
  font-size: 15.5px;
}
.aside-card .mail {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  font-size: 17px;
}
.next {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.next li {
  display: flex;
  gap: 12px;
  font-size: 15.5px;
  color: var(--t2);
  line-height: 1.5;
}
.next b {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--chip);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 13px;
}

/* Privacy notice */
.prose {
  max-width: 44em;
}
.prose h2 {
  font-size: 24px;
  margin: 40px 0 10px;
}
.prose p,
.prose li {
  color: var(--t2);
}
.prose ul {
  padding-left: 22px;
}
.prose .note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 15.5px;
}

/* ─── Footer ─── */
.ftr {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  margin-top: 32px;
}
.ftr .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr));
  gap: 32px;
}
.ftr p {
  color: var(--t3);
  font-size: 15px;
  margin: 12px 0 0;
  max-width: 24em;
}
.ftr .ftr-h {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--ink);
}
.ftr ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.ftr li a {
  color: var(--t2);
  font-size: 15px;
}
.ftr .base {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--t3);
  font-size: 14px;
}

/* ─── Responsive: the container, not the viewport, decides ─── */
@container site (max-width: 1100px) {
  h1 {
    font-size: 48px;
  }
  .hero .wrap,
  .tools .wrap,
  .feat,
  .close,
  .start {
    grid-template-columns: minmax(0, 1fr);
  }
  .feat.flip .feat-copy {
    order: 0;
  }
  .hero .screen {
    width: calc(100% + 32px);
  }
  .close .cta-row {
    justify-content: flex-start;
  }
  .mods,
  .trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .msec {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .ftr .wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ftr .about {
    grid-column: 1 / -1;
  }
}
@container site (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding: 0 20px;
  }
  .hdr .wrap {
    height: 64px;
    gap: 12px;
  }
  .nav,
  .hdr-signin,
  .hdr-end .btn-cta {
    display: none;
  }
  .hdr .menu-btn {
    display: inline-flex;
    margin-left: auto;
  }
  .hdr.open .nav {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 12px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .hdr.open .nav a {
    padding: 14px 12px;
    font-size: 17px;
  }
  .hdr.open .nav a[aria-current='page'] {
    box-shadow: inset 3px 0 0 var(--cta);
  }
  h1,
  .phead h1 {
    font-size: 38px;
    letter-spacing: -0.03em;
  }
  h2 {
    font-size: 30px;
  }
  .lede {
    font-size: 18px;
  }
  .sec {
    padding: 64px 0;
  }
  .hero {
    padding: 40px 0 56px;
  }
  .hero .wrap {
    gap: 36px;
  }
  .cta-row .btn {
    flex: 1 1 100%;
  }
  .hero .screen {
    width: 100%;
  }
  .mod.wide {
    flex-wrap: wrap;
  }
  .mods,
  .trust,
  .steps,
  .qa,
  .caps,
  .fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .tool-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .close {
    padding: 28px 22px;
    border-radius: 20px;
  }
  .form-card {
    padding: 22px 18px;
  }
  .ftr .wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .phead {
    padding: 40px 0 24px;
  }
}

/* The Sign in link inside the nav exists for the phone menu only. */
.nav .nav-signin {
  display: none;
}
@container site (max-width: 760px) {
  .hdr.open .nav .nav-signin {
    display: block;
  }
}

/* Spacing helpers: classes, never inline styles (the site's CSP allows no inline style). */
.pt0 {
  padding-top: 0;
}
.pt8 {
  padding-top: 8px;
}
.lede-sm {
  font-size: 17px;
}
.consent.full {
  grid-column: 1 / -1;
}
