/* Callout Digital website styles.
   Brand colours and fonts are set once in ":root" below. */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Brand ---------- */
:root {
  --ink: #151719;            /* near-black: hero, contact, footer */
  --charcoal: #1E2124;       /* main text on light backgrounds */
  --paper: #F3F0EA;          /* warm paper sections */
  --white: #FFFFFF;
  --orange: #FF6A13;         /* accents, icons, buttons. Never as text on paper or white. */
  --orange-hover: #FF8540;
  --grey-on-dark: #A9AFB4;
  --grey-on-light: #5B6167;
  --line: #E4DFD5;

  --font-head: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 16px;
  --gutter: 20px;
  --topbar-h: 64px;
  --focus: var(--charcoal);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* ---------- 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;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--paper);
}

[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

svg { display: block; }

/* Line icons drawn in the icon set at the top of each page */
use {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Section backgrounds */
.dark {
  --focus: var(--orange);
  background: var(--ink);
  color: var(--white);
}
.paper { background: var(--paper); }
.white { background: var(--white); }

.text-orange { color: var(--orange); } /* only ever used on dark backgrounds */

section[id] { scroll-margin-top: var(--topbar-h); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 52px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn svg { width: 20px; height: 20px; }

.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: var(--orange-hover); }

.btn--outline-light { border-color: var(--grey-on-dark); color: var(--white); background: transparent; }
.btn--outline-light:hover { border-color: var(--white); }

.btn--outline-dark { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn--outline-dark:hover { background: var(--charcoal); color: var(--white); }

.btn--sm {
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 0.9375rem;
}

.btn--xl {
  flex-wrap: wrap;
  column-gap: 0.3em;
  row-gap: 0;
  min-height: 64px;
  padding: 14px 28px;
  font-size: 1.15rem;
  text-align: center;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}
.logo__icon { width: 34px; height: 34px; flex: none; }

.wordmark {
  font-family: var(--font-head);
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.wordmark__a { font-weight: 800; color: var(--white); }
.wordmark__b { font-weight: 500; color: var(--grey-on-dark); margin-left: 0.24em; }
.wordmark__gap { font-size: 0; } /* a real space for screen readers, but the visible gap is the 0.24em above */

/* ---------- 0. Top bar ---------- */
.topbar {
  --focus: var(--orange);
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--topbar-h);
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar__link {
  display: none;
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.topbar__link:hover {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

@media (min-width: 640px) {
  .topbar__link { display: inline-block; }
}

/* Small phones: shrink the logo and button a little so both fit */
@media (max-width: 399px) {
  .topbar .logo { gap: 8px; }
  .topbar .logo__icon { width: 30px; height: 30px; }
  .topbar .wordmark { font-size: 1.125rem; }
  .topbar .btn--sm { padding: 8px 14px; font-size: 0.875rem; }
}

/* ---------- 1. Hero ---------- */
.hero {
  padding-block: 44px 64px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--orange);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 1.5rem + 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.hero h1 .text-orange { display: block; }

.hero__sub {
  max-width: 38em;
  margin-bottom: 32px;
  color: var(--grey-on-dark);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
}
.hero__sub strong { color: var(--white); }

.hero__visual {
  display: flex;
  justify-content: center;
}

@media (min-width: 1000px) {
  .hero { padding-block: 88px 96px; }
  .hero__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 64px;
  }
}

/* Lock-screen phone (CSS only) */
.lockphone {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 272px;
  height: 440px;
  padding: 52px 12px 20px;
  border: 10px solid #33383D;
  border-radius: 44px;
  background: var(--charcoal);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.lockphone__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 86px;
  height: 24px;
  border-radius: 14px;
  background: #0B0C0D;
  transform: translateX(-50%);
}

.lockphone__lock {
  width: 18px;
  height: 18px;
  margin: 0 auto;
  color: var(--grey-on-dark);
}

.lockphone__time {
  margin: 0 0 18px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
}

.notif {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: var(--paper);
  color: var(--charcoal);
}

.notif__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.notif__icon svg { width: 20px; height: 20px; }
.notif__icon--call { background: var(--ink); color: var(--orange); }
.notif__icon--wa { background: #1DAA61; color: var(--white); }

.notif__body { min-width: 0; }
.notif__app {
  margin: 0;
  color: var(--grey-on-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}
.notif__title { margin: 0; font-size: 0.9375rem; font-weight: 700; line-height: 1.3; }
.notif__text { margin: 2px 0 0; font-size: 0.875rem; line-height: 1.35; }

@media (min-width: 1000px) {
  .lockphone { width: 300px; height: 520px; }
}

@media (prefers-reduced-motion: no-preference) {
  .notif { animation: notif-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .notif--call { animation-delay: 0.6s; }
  .notif--wa { animation-delay: 2s; }
}

@keyframes notif-in {
  from { opacity: 0; transform: translateY(-16px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

/* ---------- Shared section parts ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }

.section h2 {
  max-width: 18em;
  margin-bottom: 16px;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
}

.lead {
  margin: 0;
  color: var(--grey-on-light);
  font-size: 1.1875rem;
}

.stats, .pain, .how, .demo, .checks, .trades {
  margin-top: 40px;
}

.stats, .pain, .how, .checks, .trades, .demo-steps {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
}
.card--paper { background: var(--paper); }

.card h3 {
  margin: 18px 0 8px;
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.card p { margin: 0; color: var(--grey-on-light); }

.icon-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--charcoal);
  color: var(--orange);
}
.icon-tile svg { width: 26px; height: 26px; }

/* ---------- 2. Why now ---------- */
.stats {
  display: grid;
  gap: 16px;
}

.stat {
  display: flex;
  flex-direction: column;
  border-top: 6px solid var(--orange);
}

.card .stat__num {
  margin: 0 0 12px;
  color: var(--charcoal);
  font-family: var(--font-head);
  font-size: clamp(2.75rem, 2.2rem + 2.4vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.card .stat__num--word { font-size: clamp(2.5rem, 2rem + 1.6vw, 3.25rem); }

.card .stat__text {
  flex: 1;
  margin-bottom: 20px;
  color: var(--charcoal);
  font-size: 1.0625rem;
}

.card .source {
  color: var(--grey-on-light);
  font-size: 0.875rem;
}
.source a { color: var(--grey-on-light); }
.source a:hover { color: var(--charcoal); }

.why__text {
  max-width: 40em;
  margin-top: 40px;
  font-size: 1.125rem;
}

.why__punch {
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 6px solid var(--orange);
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

@media (min-width: 800px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

/* ---------- 3. The pain ---------- */
.pain {
  display: grid;
  gap: 16px;
}

.callout {
  margin: 48px 0 0;
  padding: clamp(28px, 5vw, 56px);
  border-left: 8px solid var(--orange);
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

/* Icon sits beside the title, text underneath */
.pain .card,
.how__step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
}
.pain .card h3,
.how__step h3 { margin: 0; }
.pain .card p,
.how__step p { grid-column: 1 / -1; margin-top: 14px; }

@media (min-width: 640px) {
  .pain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .pain { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

/* ---------- 4. How it works ---------- */
.how {
  display: grid;
  gap: 16px;
}

.how__num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
}

.emergency {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 20px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--charcoal);
}
.emergency__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--ink);
}
.emergency__icon svg { width: 24px; height: 24px; }
.emergency h3 { margin: 0 0 6px; font-size: 1.25rem; letter-spacing: -0.02em; }
.emergency p { margin: 0; color: var(--grey-on-dark); }

@media (min-width: 900px) {
  .how { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .how__step { display: block; }
  .how__step h3 { margin: 18px 0 8px; }
  .how__step p { margin-top: 0; }
  .emergency { align-items: center; padding: 24px 32px; }
}

/* ---------- 5. See it in action: WhatsApp-style chat demo ---------- */
.demo {
  display: grid;
  justify-items: center;
  gap: 32px;
}

.demo__phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 380px;
}

.chatphone {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 560px;
  height: clamp(440px, 68svh, 640px);
  overflow: hidden;
  border: 10px solid var(--charcoal);
  border-radius: 40px;
  background-color: #EFE7DD;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' fill='none' stroke='%23E0D5C6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='20' cy='22' r='6'/%3E%3Cpath d='M78 14v10M73 19h10'/%3E%3Cpath d='M118 30c4 6 6 9 6 12a6 6 0 0 1-12 0c0-3 2-6 6-12z'/%3E%3Crect x='12' y='80' width='26' height='18' rx='5'/%3E%3Cpath d='M18 98l-2 6 7-6'/%3E%3Cpath d='M60 70q6-6 12 0t12 0'/%3E%3Crect x='100' y='92' width='16' height='24' rx='3'/%3E%3Cpath d='M52 118l4 4 8-8'/%3E%3Ccircle cx='128' cy='126' r='2'/%3E%3C/svg%3E");
  box-shadow: 0 24px 48px rgba(21, 23, 25, 0.18);
}

.chatphone__header {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #E9EDEF;
  background: var(--white);
}
.chatphone__back { width: 22px; height: 22px; color: #54656F; }
.chatphone__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #54656F;
  color: var(--white);
  font-weight: 700;
}
.chatphone__name { margin: 0; color: #111B21; font-size: 1rem; font-weight: 700; line-height: 1.25; }
.chatphone__meta { margin: 0; color: #54656F; font-size: 0.78rem; line-height: 1.3; }

.chatphone__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 12px 8px;
  scrollbar-width: thin;
}
.chatphone__body:focus-visible { outline-offset: -3px; }

.chat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chat__system {
  align-self: center;
  max-width: 92%;
  margin: 2px 0 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--white);
  color: #54656F;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}

.msg {
  position: relative;
  max-width: 84%;
  padding: 7px 10px 8px;
  border-radius: 10px;
  color: #111B21;
  font-size: 0.92rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
.msg::after { content: ""; display: block; clear: both; }

.msg--biz {
  align-self: flex-start;
  margin-left: 8px;
  border-top-left-radius: 0;
  background: var(--white);
}
.msg--biz::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  border-right: 8px solid var(--white);
  border-bottom: 10px solid transparent;
}

.msg--cust {
  align-self: flex-end;
  margin-right: 8px;
  border-top-right-radius: 0;
  background: #D9FDD3;
}
.msg--cust::before {
  content: "";
  position: absolute;
  top: 0;
  right: -8px;
  border-left: 8px solid #D9FDD3;
  border-bottom: 10px solid transparent;
}

.msg__meta {
  display: inline-flex;
  float: right;
  align-items: center;
  gap: 3px;
  margin: 8px -2px -4px 10px;
  color: #54656F;
  font-size: 0.6875rem;
  line-height: 1;
  white-space: nowrap;
}
.msg__ticks { width: 16px; height: 11px; color: #3497D3; }
.msg__ticks use { stroke-width: 1.6; }

.typing {
  position: relative;
  display: inline-flex;
  align-self: flex-start;
  gap: 4px;
  margin-left: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  border-top-left-radius: 0;
  background: var(--white);
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
.typing::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  border-right: 8px solid var(--white);
  border-bottom: 10px solid transparent;
}
.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8696A0;
}

.calcard {
  display: flex;
  align-self: center;
  align-items: flex-start;
  gap: 12px;
  width: 92%;
  margin: 6px 0;
  padding: 12px 14px;
  border-left: 5px solid var(--orange);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(11, 20, 26, 0.14);
}
.calcard__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--charcoal);
  color: var(--orange);
}
.calcard__icon svg { width: 20px; height: 20px; }
.calcard__title { margin: 0 0 2px; color: #111B21; font-size: 0.875rem; font-weight: 700; line-height: 1.3; }
.calcard__text { margin: 0; color: #3B4A54; font-size: 0.8125rem; line-height: 1.35; }

.chatphone__footer {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 12px;
}
.chatphone__input {
  flex: 1;
  padding: 10px 16px;
  border-radius: 24px;
  background: var(--white);
  color: #54656F;
  font-size: 0.9rem;
}
.chatphone__mic {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1DAA61;
}
.chatphone__mic::before {
  content: "";
  width: 8px;
  height: 14px;
  border-radius: 4px;
  background: var(--white);
}

/* The script hides messages, then reveals them one by one */
.is-pending { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .is-shown.msg,
  .is-shown.chat__system,
  .typing { animation: msg-in 0.28s ease-out; }
  .is-shown.calcard { animation: card-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .typing span { animation: typing-dot 1.1s ease-in-out infinite; }
  .typing span:nth-child(2) { animation-delay: 0.15s; }
  .typing span:nth-child(3) { animation-delay: 0.3s; }
}

@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
}
@keyframes card-in {
  from { opacity: 0; transform: translateX(-28px); }
}
@keyframes typing-dot {
  0%, 60%, 100% { opacity: 0.5; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

.replay svg { width: 18px; height: 18px; }

/* Step captions: lit by default, dimmed while the chat hasn't reached them yet.
   Lit = orange number circle + orange bar. The words stay charcoal (no orange text on white). */
.demo-steps {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  margin-top: 0;
}

.demo-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-left: 6px solid var(--orange);
  border-radius: 12px;
  background: var(--paper);
  color: var(--charcoal);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  transition: background-color 0.35s, border-color 0.35s, color 0.35s;
}
.demo-step__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  transition: background-color 0.35s, color 0.35s;
}

.demo.is-animating .demo-step:not(.is-active) {
  border-left-color: #D9D4CA;
  background: var(--white);
  color: var(--grey-on-light);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line);
}
.demo.is-animating .demo-step:not(.is-active) .demo-step__num {
  background: #EDE9E1;
  color: var(--grey-on-light);
}

@media (min-width: 900px) {
  .demo {
    grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    gap: 72px;
  }
  .chatphone { height: clamp(520px, 72vh, 640px); }
  .demo-steps { max-width: 520px; gap: 14px; }
  .demo-step { padding: 20px 24px; font-size: 1.1875rem; }
}

/* ---------- 6. You stay in charge ---------- */
.checks {
  display: grid;
  gap: 16px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
}
.check__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--orange);
}
.check__icon svg { width: 18px; height: 18px; }
.check__icon use { stroke-width: 2.8; }
.check strong { color: var(--charcoal); }

@media (min-width: 768px) {
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

/* ---------- 7. Who it's for ---------- */
.trades {
  display: grid;
  gap: 16px;
}
.trade {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
}
.card.trade h3 { margin: 0; font-size: 1.25rem; }

@media (min-width: 760px) {
  .trades { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .trade { flex-direction: column; align-items: flex-start; }
}

/* ---------- 8. Contact ---------- */
.contact {
  padding-block: clamp(72px, 10vw, 128px);
  text-align: center;
}
.contact__inner { max-width: 780px; }
.contact h2 {
  margin: 0 auto 20px;
  font-size: clamp(2.2rem, 1.5rem + 3.2vw, 3.75rem);
}
.contact p {
  max-width: 34em;
  margin: 0 auto 36px;
  color: var(--grey-on-dark);
  font-size: 1.1875rem;
}

/* Contact form ("Get a call back") */
.callback {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.callback .callback__intro {
  max-width: none;
  margin: 0 0 16px;
  color: var(--grey-on-dark);
  font-size: 0.9375rem;
}

.callback__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.callback__grid {
  display: grid;
  gap: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid var(--paper);
  border-radius: 10px;
  background: var(--paper);
  color: var(--charcoal);
  font: inherit;
  font-size: 1rem; /* 16px or more stops iPhones zooming in */
  line-height: 1.4;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder { color: var(--grey-on-light); opacity: 1; }

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%231E2124' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.field input:user-invalid { border-color: var(--orange); }

.callback .callback__note {
  max-width: none;
  margin: 16px 0 20px;
  color: var(--grey-on-dark);
  font-size: 0.875rem;
}
.callback__note a { color: var(--white); }

.callback__submit { width: 100%; }
.callback__submit:disabled { opacity: 0.7; cursor: wait; }

.callback .callback__error,
.callback__done {
  padding: 16px 20px;
  border-left: 6px solid var(--orange);
  border-radius: 12px;
  background: var(--charcoal);
  color: var(--white);
  text-align: left;
}
.callback .callback__error { max-width: none; margin: 16px 0 0; font-size: 1rem; }

.callback__done {
  max-width: 680px;
  margin: 0 auto;
}
.callback__done:focus { outline: none; }
.contact .callback__done p { max-width: none; margin: 0; color: var(--grey-on-dark); font-size: 1.0625rem; }
.contact .callback__done .callback__done-title {
  margin-bottom: 4px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .callback__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
  .callback__submit { width: auto; }
}

.copyrow__label { color: var(--grey-on-dark); }

.copyrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 24px;
}
.copyrow__address {
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 600;
  -webkit-user-select: all;
  user-select: all;
}
.copyrow__btn {
  min-width: 92px;
  min-height: 40px;
  padding: 6px 16px;
  border: 2px solid var(--grey-on-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: 700 0.9375rem/1 var(--font-body);
  cursor: pointer;
}
.copyrow__btn:hover { border-color: var(--white); }
.copyrow__btn.is-copied { border-color: var(--orange); color: var(--orange); }

/* ---------- 9. Footer ---------- */
.footer {
  padding-block: 56px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--grey-on-dark);
  font-size: 0.9375rem;
}
.footer a { color: var(--grey-on-dark); }
.footer a:hover { color: var(--white); }
.footer .logo { margin-bottom: 16px; }

.footer__grid {
  display: grid;
  gap: 36px;
}
.footer__brand p { margin: 0 0 6px; }

.footer__heading {
  margin: 0 0 12px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.footer__sources ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__small {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
}
.footer__small p { max-width: 60em; margin: 0 0 8px; }
.footer__small .footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 16px;
  font-size: 0.9375rem;
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Privacy notice and 404 pages ---------- */
.legal { padding-block: clamp(48px, 8vw, 96px); }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.5rem); }
.legal h2 { margin: 36px 0 8px; font-size: 1.4rem; letter-spacing: -0.02em; }
.legal p { margin: 0 0 12px; }
.legal__updated { color: var(--grey-on-light); }

.notfound { padding-block: clamp(80px, 14vw, 160px); }
.notfound h1 { font-size: clamp(2.4rem, 1.5rem + 4vw, 4rem); }
.notfound p:not(.eyebrow) { max-width: 32em; margin-bottom: 32px; color: var(--grey-on-dark); font-size: 1.1875rem; }
