/* Quanterra homepage. Brand v4.0: Urbanist, cobalt, navy. No gradients, shadows or blur. */

:root {
  --cobalt: #0B5CAD;
  --cobalt-deep: #084A8C;
  --cobalt-bright: #4C93DC; /* dark grounds only */
  --tint: #E7EFF8;
  --navy: #0B1B2B;
  --surface: #F5F7FB;
  --white: #FFFFFF;
  --body: #334155;
  --rule: #D6E1ED;
  --rule-tint: #B9CDE2;
  --error: #B42318;

  --content: 1260px;
  --gutter: 40px;
  --space-section: 96px;
  --space-band: 56px;
  --header-h: 80px;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: 'Urbanist', Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }

:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.band-deep :focus-visible { outline-color: var(--white); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 30;
  background: var(--navy); color: var(--white); padding: 10px 16px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Layout */

.container { width: min(var(--content), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.section-rule { border-top: 1px solid var(--rule); }
.band { padding-block: var(--space-band); }
.band-tint { background: var(--tint); }
.band-deep { background: var(--cobalt-deep); color: var(--white); }

/* Type */

.label, .eyebrow {
  font-size: 14px; font-weight: 600; line-height: 1.3;
  letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt);
}
.label { margin-bottom: 32px; }

h1 {
  font-size: clamp(44px, 5vw, 72px); font-weight: 300; line-height: 1.02;
  letter-spacing: -.035em; text-wrap: balance;
}
.title { font-size: clamp(34px, 3.4vw, 48px); font-weight: 300; line-height: 1.08; letter-spacing: -.03em; }
h3 { font-size: 21px; font-weight: 600; line-height: 1.25; }
.lead { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.35; color: var(--navy); max-width: 30em; }
.body { color: var(--body); max-width: 26em; }
.tagline { color: var(--cobalt); font-weight: 600; }
.link { color: var(--cobalt); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--cobalt-deep); }

/* Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border: 1px solid var(--cobalt); background: var(--white); color: var(--cobalt);
  font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-outline:hover { background: var(--tint); }
.btn-primary { background: var(--cobalt); color: var(--white); }
.btn-primary:hover { background: var(--cobalt-deep); border-color: var(--cobalt-deep); }
.btn-white { background: var(--white); color: var(--cobalt-deep); border-color: var(--white); }
.btn-white:hover { background: var(--tint); border-color: var(--tint); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--cobalt-deep); }

.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Icons */

.icon {
  width: 40px; height: 40px; color: var(--cobalt);
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* Photos: small, plain frames */

/* Photo shape: round on three corners, square on the fourth, like the tail of the Q in the logo */
.photo { overflow: hidden; background: var(--surface); border-radius: 999px 999px 0 999px; }
.how-photo { border-radius: 150px 150px 0 150px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Header */

.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.logo img { width: auto; height: 40px; }
.nav { margin-left: auto; }
.nav-list { display: flex; gap: 32px; font-size: 16px; font-weight: 500; }
.nav-list a { display: block; padding: 10px 0; border-bottom: 1px solid transparent; }
.nav-list a:hover, .nav-list a[aria-current] { color: var(--cobalt); border-bottom-color: var(--cobalt); }
.nav-actions { display: none; }
.menu-toggle { display: none; }

/* Hero */

.hero { padding-block: 72px 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 64px; }
.eyebrow { margin-bottom: 22px; }
.hero h1 { margin-bottom: 24px; max-width: 10.5em; }
.hero .lead { margin-bottom: 32px; }
.promise { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule); max-width: 420px; font-size: 20px; line-height: 1.35; }
.promise-line { font-weight: 500; }
.hero-photo { aspect-ratio: 1; max-width: 440px; width: 100%; justify-self: end; }

/* Columns with thin dividers (audiences, pillars) */

.columns { display: grid; }
.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.column { padding: 4px 28px; border-left: 1px solid var(--rule-tint); }
.column:first-child { padding-left: 0; border-left: 0; }
.column .icon { margin-bottom: 16px; }
.column h3 { margin-bottom: 6px; }
.column p { font-size: 16px; line-height: 1.4; color: var(--body); max-width: 15em; }
.pillars .column h3 { font-size: 26px; letter-spacing: -.01em; margin-bottom: 10px; }
.pillars .column p { max-width: 20em; }

/* Problem */

.statements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.statements li {
  padding-left: 24px; border-left: 1px solid var(--cobalt);
  font-size: clamp(21px, 1.9vw, 27px); font-weight: 300; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance;
}

/* How it works */

.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: center; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.step .icon { margin-bottom: 18px; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step-no { color: var(--cobalt); }
.step p { font-size: 16px; line-height: 1.45; color: var(--body); max-width: 16em; }
.how-photo { aspect-ratio: 4 / 3; }

/* Contact band */

.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-inner h2 { font-size: clamp(27px, 2.4vw, 34px); font-weight: 300; line-height: 1.15; letter-spacing: -.02em; }

/* Contact form */

.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.contact-intro .label { margin-bottom: 18px; }
.contact-intro .title { margin-bottom: 20px; }
.contact-intro .body + .body { margin-top: 10px; }
.form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 24px; }
.choice, .field-wide { grid-column: 1 / -1; }
.choice { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.choice legend { float: left; padding: 0; margin-right: 28px; font-size: 14px; font-weight: 600; color: var(--body); }
.choice label { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; cursor: pointer; }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--cobalt); }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--body); }
.optional { font-weight: 400; }
.field input, .field textarea {
  display: block; width: 100%; padding: 10px 0; background: transparent;
  border: 0; border-bottom: 1px solid #94A3B8; border-radius: 0; font-size: 17px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 0; border-bottom: 2px solid var(--cobalt); padding-bottom: 9px; }
.field [aria-invalid="true"] { border-bottom-color: var(--error); }
.error { margin-top: 6px; font-size: 14px; color: var(--error); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.form-status { font-size: 16px; color: var(--body); }

/* Footer */

.site-footer { border-top: 1px solid var(--rule); padding-block: 56px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr auto; gap: 40px; align-items: start; }
.footer-brand .logo { display: inline-block; margin-bottom: 16px; }
.footer-brand .logo img { height: 36px; }
.footer-brand p { font-size: 15px; line-height: 1.45; max-width: 19em; }
.footer-brand .tagline { margin-top: 6px; }
.footer-col h2 { font-size: 15px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.footer-col a { display: block; padding: 6px 0; font-size: 15px; color: var(--body); }
.footer-col a:hover { color: var(--cobalt); }
.footer-col .social { color: var(--cobalt); padding: 6px 0; }
.social svg { width: 26px; height: 26px; fill: currentColor; }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--rule);
  font-size: 14px; color: var(--body);
}
.footer-legal a { margin-left: 20px; }
.footer-legal a:first-child { margin-left: 0; }
.footer-legal a:hover { color: var(--cobalt); }

/* Tablet */

@media (max-width: 1040px) {
  :root { --gutter: 28px; --space-section: 72px; --space-band: 44px; }
  .hero-grid { gap: 40px; }
  .column { padding-inline: 20px; }
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .how-photo { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

/* Menu button from tablet down */

@media (max-width: 1040px) {
  :root { --header-h: 68px; }
  .logo img { height: 34px; }
  .header-cta { margin-left: auto; min-height: 40px; padding: 0 16px; font-size: 15px; }
  .header-inner { gap: 10px; }
  .menu-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
    border: 0; background: none; color: var(--navy); cursor: pointer;
  }
  .menu-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
  .menu-toggle .cross, .menu-toggle[aria-expanded="true"] .bars { display: none; }
  .menu-toggle[aria-expanded="true"] .cross { display: block; }

  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    background: var(--white); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav-list { display: block; font-size: 20px; }
  .nav-list a { padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .nav-actions { display: grid; gap: 12px; margin-top: 24px; }
}

/* Phone */

@media (max-width: 760px) {
  :root { --gutter: 20px; --space-section: 56px; --space-band: 36px; --header-h: 68px; }
  body { font-size: 16px; }

  .hero { padding-block: 40px 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 44px; }
  .hero .actions, .cta-inner .actions { display: grid; grid-template-columns: 1fr; }
  .promise { margin-top: 32px; font-size: 18px; max-width: none; }
  .hero-photo { justify-self: start; max-width: 300px; }

  .label { margin-bottom: 20px; }
  .columns-4, .columns-3, .statements, .steps { grid-template-columns: 1fr; }
  .column, .column:first-child { padding: 18px 0; border-left: 0; border-top: 1px solid var(--rule-tint); }
  .columns .column:first-child { border-top: 0; padding-top: 0; }
  .columns .column:last-child { padding-bottom: 0; }
  .columns-4 .column { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; }
  .columns-4 .icon { grid-row: span 2; margin: 2px 0 0; width: 36px; height: 36px; }
  .column p { max-width: none; }
  .pillars .column h3 { font-size: 22px; }

  .statements { gap: 22px; }
  .statements li { padding-left: 18px; }

  .steps { gap: 26px; }
  .step { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; }
  .step .icon { grid-row: span 2; margin: 2px 0 0; width: 36px; height: 36px; }
  .step p { max-width: none; }
  .how-photo { max-width: 340px; }

  .cta-inner { display: block; }
  .cta-inner h2 { margin-bottom: 22px; }

  .form { grid-template-columns: 1fr; }
  .choice legend { float: none; width: 100%; margin: 0 0 4px; }
  .form-foot .btn { width: 100%; }

  .site-footer { padding-block: 40px 24px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-legal { margin-top: 32px; }
}

@media (min-width: 1041px) { .header-cta { margin-left: 8px; } }


/* ---------- Inner pages ---------- */

.accent { color: var(--cobalt); }
.more { margin-top: 36px; }
.note { margin-top: 28px; font-size: 15px; color: #64748B; max-width: 46em; }
.note-end { margin-top: 0; padding-bottom: var(--space-section); }
.section-surface { background: var(--surface); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 10px; }
.num { color: var(--cobalt); font-weight: 600; }

.page-head { padding-block: 72px 64px; border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(40px, 4.4vw, 62px); margin-bottom: 22px; max-width: 16em; }
.page-head .lead { max-width: 34em; color: var(--body); }

.intro { margin-bottom: 44px; }
.intro .label { margin-bottom: 16px; }
.intro .title { max-width: 14em; text-wrap: balance; }
.intro .body { margin-top: 16px; max-width: 28em; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.split .intro { margin-bottom: 0; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.features li { padding-block: 30px; border-top: 1px solid var(--rule); }
.features h3 { margin-bottom: 8px; }
.features p:not(.kicker) { color: var(--body); max-width: 30em; }

.rows li { display: grid; grid-template-columns: 1fr; gap: 6px; padding-block: 22px; border-top: 1px solid var(--rule); }
.rows li:last-child, .numbered li:last-child, .index li:last-child, .plain-list li:last-child { border-bottom: 1px solid var(--rule); }
.rows p { color: var(--body); }
.rows-wide li { grid-template-columns: 220px 1fr; gap: 24px; align-items: baseline; }

.numbered li { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding-block: 22px; border-top: 1px solid var(--rule); }
.numbered .num { font-size: 28px; font-weight: 300; line-height: 1; }
.numbered h3 { font-size: 20px; }
.numbered p { margin-top: 6px; color: var(--body); }
.numbered p:empty { display: none; }

.index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.index li { display: grid; grid-template-columns: 40px 1fr; align-items: baseline; padding-block: 16px; border-top: 1px solid var(--rule); font-weight: 600; }
.index .num { font-size: 14px; }
.index li:nth-last-child(2) { border-bottom: 1px solid var(--rule); }

.stories { margin-top: 8px; }
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding-block: 40px; border-top: 1px solid var(--rule); }
.story-title { font-size: clamp(24px, 2.2vw, 32px); font-weight: 300; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.story-steps li { display: grid; grid-template-columns: 32px 1fr; padding-block: 7px; color: var(--body); }

.options .column p { max-width: 18em; }
.statement { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--rule); max-width: 44em; color: var(--body); }
.statement strong { font-weight: 600; color: var(--navy); }
.plain-list li { padding-block: 20px; border-top: 1px solid var(--rule); font-size: 21px; }

.team .column { border-left-color: var(--rule); }
.team h3 { margin-bottom: 4px; }
.team .role { color: var(--cobalt); font-weight: 600; margin-bottom: 14px; }
.team .column p { max-width: 22em; }

.contact-intro .numbered { margin-bottom: 28px; }
.field select { display: block; width: 100%; padding: 10px 0; background: transparent; border: 0; border-bottom: 1px solid #94A3B8; border-radius: 0; font-size: 17px; }
.field select:focus-visible { outline: 0; border-bottom: 2px solid var(--cobalt); padding-bottom: 9px; }

.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 20px; }
.faq summary svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--cobalt); stroke-width: 1.5; stroke-linecap: round; }
.faq details[open] .v { display: none; }
.faq details p { padding-bottom: 24px; color: var(--body); max-width: 40em; }

@media (max-width: 1040px) {
  .split, .story { grid-template-columns: 1fr; gap: 28px; }
  .features { column-gap: 40px; }
}
@media (max-width: 760px) {
  .page-head { padding-block: 44px 40px; }
  .intro { margin-bottom: 28px; }
  .features, .index { grid-template-columns: 1fr; }
  .index li:nth-last-child(2) { border-bottom: 0; }
  .features li { padding-block: 24px; }
  .rows-wide li { grid-template-columns: 1fr; gap: 6px; }
  .story { padding-block: 28px; gap: 18px; }
  .options .column { display: block; }
  .options .icon { margin-bottom: 12px; }
  .more .btn { width: 100%; }
}

/* ---------- Source-content components ---------- */

.nav-list { gap: 26px; }
.page-head .lead + .lead { margin-top: 14px; }
.intro .lead { margin-top: 16px; max-width: 34em; color: var(--body); }
.intro-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.stat { display: flex; align-items: center; gap: 16px; color: var(--body); line-height: 1.3; }
.stat strong { font-size: 56px; font-weight: 300; line-height: 1; letter-spacing: -.03em; color: var(--cobalt); }
.split-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.caption { margin-top: 14px; font-size: 15px; color: #64748B; max-width: 46em; }
.spaced { margin-top: 32px; }
.systems { color: var(--body); font-size: 16px; }
.contact-line { font-size: 20px; margin-bottom: 8px; }

.figure { margin: 0; }
.diagram { display: block; width: 100%; height: auto; }
.rows + .note, .figure + .caption + .rows { margin-top: 28px; }

/* Tabs */
.tablist { display: flex; flex-wrap: wrap; gap: 0 32px; border-bottom: 1px solid var(--rule); margin-bottom: 44px; }
.tab { padding: 14px 0; margin-bottom: -1px; background: none; border: 0; border-bottom: 2px solid transparent; font-size: 17px; font-weight: 500; color: var(--body); cursor: pointer; }
.tab:hover { color: var(--cobalt); }
.tab[aria-selected="true"] { color: var(--cobalt); border-bottom-color: var(--cobalt); font-weight: 600; }
.js .tabpanel[hidden] { display: none; }
.tabpanel + .tabpanel { margin-top: 56px; }
.js .tabpanel + .tabpanel { margin-top: 0; }
.media, .service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.service { align-items: start; }
.media .body, .service .body { margin-top: 14px; max-width: 30em; }
.ticks { margin-top: 22px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; align-items: start; padding-block: 6px; color: var(--body); }
.tick { width: 20px; height: 20px; margin-top: 3px; fill: none; stroke: var(--cobalt); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.path { margin-top: 24px; border-bottom: 1px solid var(--rule); }
.path li { display: grid; grid-template-columns: 32px 1fr; padding-block: 12px; border-top: 1px solid var(--rule); }
.path + .systems { margin-top: 18px; }

/* Illustrative Noah example */
.demo { border: 1px solid var(--rule); padding: 28px; }
.demo-top { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); margin-bottom: 20px; }
.demo-top strong { font-weight: 600; }
.demo-top .kicker { margin: 0; }
.lang-toggle { margin-left: auto; background: none; border: 1px solid var(--rule); padding: 6px 12px; font-size: 14px; font-weight: 600; color: var(--cobalt); cursor: pointer; }
.lang-toggle:hover { background: var(--tint); }
.demo-body[hidden] { display: none; }
.demo-request { width: fit-content; max-width: 85%; margin-inline-start: auto; background: var(--cobalt); color: var(--white); padding: 10px 16px; }
.demo-response { width: fit-content; max-width: 85%; margin-top: 10px; background: var(--surface); padding: 10px 16px; }
.demo-form { margin-top: 20px; }
.demo-form h4 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.demo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.demo-row span { color: #64748B; }
.demo-row strong { font-weight: 600; }
.demo-status { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--cobalt); }
.demo-review { display: inline-flex; align-items: center; min-height: 40px; margin-top: 14px; padding: 0 18px; background: var(--cobalt); color: var(--white); font-size: 15px; font-weight: 600; }
.demo-foot { margin-top: 20px; font-size: 14px; color: #64748B; }

/* Noah screens */
.shots { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.shot img { width: 100%; height: auto; border: 1px solid var(--rule); }
.shot figcaption { margin-top: 18px; }
.shot figcaption p { margin-top: 6px; color: var(--body); }

/* Checkpoints */
.gates { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: 36px; }
.gates li { padding: 4px 14px; border-left: 1px solid var(--rule-tint); font-size: 15px; }
.gates li:first-child { padding-left: 0; border-left: 0; }
.gates strong { display: block; font-weight: 600; margin-bottom: 4px; }
.gates span { color: var(--body); }
.team .column:first-child { padding-left: 0; }

/* People */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
.portrait { width: 200px; aspect-ratio: 1; margin-bottom: 24px; border-radius: 999px 999px 0 999px; }
.people h3 { margin-bottom: 4px; }
.people .role { color: var(--cobalt); font-weight: 600; margin-bottom: 14px; }
.people p:not(.role) { color: var(--body); max-width: 22em; }

/* Guided enquiry */
.enquiry { border: 1px solid var(--rule); padding: 32px; }
.enquiry-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); margin-bottom: 28px; }
.enquiry-top strong { display: block; font-size: 19px; font-weight: 600; }
.enquiry-top span { font-size: 14px; color: #64748B; }
.enquiry-top .step-count { font-size: 15px; font-weight: 600; color: var(--cobalt); white-space: nowrap; }
.step legend { padding: 0; margin-bottom: 12px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 300; line-height: 1.15; letter-spacing: -.02em; }
.step + .step { margin-top: 44px; }
.js .step + .step { margin-top: 0; }
.js .step[hidden] { display: none; }
.step .field, .step .chips, .field-pair { margin-top: 22px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field-pair .field { margin-top: 0; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border: 1px solid #94A3B8; font-weight: 500; }
.chip input:checked + span { border-color: var(--cobalt); background: var(--tint); color: var(--cobalt-deep); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.field ::placeholder { color: #64748B; opacity: 1; }
.brief { margin: 18px 0 0; padding: 18px; background: var(--surface); font: inherit; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--cobalt); flex: none; }
.enquiry .form-status { margin-top: 20px; min-height: 1.5em; color: var(--error); }
.enquiry .form-status.ok { color: var(--body); }
.enquiry-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 12px; }
.enquiry-nav .btn-primary { margin-left: auto; }
.enquiry .note { margin-top: 22px; }

@media (max-width: 1040px) {
  .media, .service, .shots, .split-even { grid-template-columns: 1fr; gap: 36px; }
  .gates { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 22px; }
  .gates li:nth-child(5) { padding-left: 0; border-left: 0; }
  .people { gap: 32px; }
}
@media (max-width: 760px) {
  .intro-row { display: block; }
  .stat { margin-top: 24px; }
  .stat strong { font-size: 44px; }
  .tablist { gap: 0 22px; margin-bottom: 28px; }
  .tab { font-size: 16px; padding: 11px 0; }
  .demo, .enquiry { padding: 20px; }
  .gates { grid-template-columns: 1fr 1fr; }
  .gates li, .gates li:nth-child(5) { padding: 0 0 0 14px; border-left: 1px solid var(--rule-tint); }
  .people { grid-template-columns: 1fr; gap: 40px; }
  .portrait { width: 160px; }
  .chips { grid-template-columns: 1fr 1fr; }
  .field-pair { grid-template-columns: 1fr; }
  .team .column { padding: 22px 0; }
}

/* ---------- Aligned with the approved home design ---------- */
body { color: #334155; }
h1, .title, .story-title, .step legend { letter-spacing: -.04em; color: var(--navy); }
.label, .eyebrow, .kicker { font-size: 12px; letter-spacing: .2em; }
.section-surface { background: var(--tint); }
.section-surface .rows li, .section-surface .index li, .section-surface .numbered li, .section-surface .plain-list li, .section-surface .gates li { border-color: rgba(11, 92, 173, .2); }
.page-head { border-bottom: 0; padding-block: 56px 72px; }
.page-head .lead { font-weight: 300; color: #64748B; }
.link { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: 15px; }
.portrait { border-radius: 50%; }
.demo, .enquiry { border-radius: 16px; border-color: #E2E8F0; background: #fff; }
.demo-request { border-radius: 18px 18px 6px 18px; background: var(--tint); color: var(--navy); }
.demo-response { border-radius: 18px 18px 18px 6px; background: #fff; border: 1px solid #E2E8F0; }
.demo-review, .lang-toggle { border-radius: 999px; }
.chip span { border-radius: 12px; border-color: #CBD5E1; }
.shot img { border-radius: 16px; border-color: #E2E8F0; }
.brief { border-radius: 12px; }
.figure .diagram { border-radius: 16px; }
.more .btn { width: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Draft 29: shorter pages with clearly separated sections */
:root { --space-section: 80px; }
.jump { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #E2E8F0; font-size: 15px; }
.jump span { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #64748B; }
.jump ul { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.jump a { color: #0B1B2B; font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.jump a:hover { color: #0B5CAD; border-bottom-color: #0B5CAD; }
.page-head { padding-block: 56px 56px; }
.section[id] { scroll-margin-top: 88px; }
.section-surface .features li, .section-surface .stories > li { border-color: rgba(11, 92, 173, .2); }
.features { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; }
.features li { padding-block: 26px; }
#noah .shots { align-items: start; max-width: 1040px; }
#noah .shot img { background: #fff; }
.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin: 0; padding: 0; list-style: none; }
.stories > li { border-top: 1px solid #E2E8F0; padding-top: 26px; }
.stories h3 { font-size: 22px; font-weight: 600; line-height: 1.25; margin-bottom: 18px; }
.stories .systems { margin-top: 18px; }
.simple-form { background: #fff; border-radius: 16px; }
.simple-form fieldset { border: 0; margin: 0 0 8px; padding: 0; }
.simple-form legend { font-size: 14px; font-weight: 600; color: var(--body); margin-bottom: 10px; padding: 0; }
.simple-form .field, .simple-form .field-pair { margin-top: 22px; }
.simple-form .field-pair .field { margin-top: 0; }
.simple-form .form-status { margin-top: 18px; min-height: 1.5em; color: var(--error); }
.simple-form .form-status.ok { color: var(--body); }
.chips-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.notify { background: transparent; margin-top: 36px; max-width: 520px; }
.notify .btn { margin-top: 8px; }
.res-rows p { color: #64748B; }
@media (max-width: 1100px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stories { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 1040px) { :root { --space-section: 64px; } }
@media (max-width: 640px) {
  :root { --space-section: 48px; }
  .features, .chips-2 { grid-template-columns: 1fr; }
  .jump { margin-top: 28px; }
  .page-head { padding-block: 36px 40px; }
}

/* Page head is a light blue band, so it is clearly apart from the first section */
.page-head { background: var(--tint); padding-block: 64px 0; }
.page-head .wrap > :last-child { margin-bottom: 0; padding-bottom: 64px; }
.page-head .jump { border-top-color: rgba(11, 92, 173, .2); padding-bottom: 24px; }
.page-head .lead { color: #334155; }
#partner-form.simple-form { border: 1px solid #E2E8F0; }
@media (max-width: 640px) { .page-head { padding-top: 40px; } .page-head .wrap > :last-child { padding-bottom: 40px; } .page-head .jump { padding-bottom: 20px; } }

/* Cobalt line icons on inner pages, same style as the home page */
.ico { width: 40px; height: 40px; flex: none; stroke: #0B5CAD; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.features .ico, .stories .ico, .columns .ico, .intro > .ico { display: block; margin-bottom: 20px; }
.irows li { grid-template-columns: 40px 200px 1fr; gap: 24px; align-items: center; padding-block: 18px; }
.ilist li { display: flex; align-items: center; gap: 18px; }
@media (max-width: 640px) {
  .irows li { grid-template-columns: 40px 1fr; gap: 6px 18px; }
  .irows li .ico { grid-row: span 2; align-self: start; }
  .ico { width: 36px; height: 36px; }
}
