:root {
  --bg: #f7f9f8;
  --surface: #ffffff;
  --surface-soft: #eef5f3;
  --surface-blue: #eaf3fb;
  --surface-warm: #fff2df;
  --ink: #10232a;
  --muted: #5b6971;
  --line: #d9e2e0;
  --line-strong: #b8c7c3;
  --teal: #053642;
  --teal-2: #0f5963;
  --green: #2e8e46;
  --blue: #2878ba;
  --coral: #e85f4d;
  --gold: #d59a2b;
  --shadow: 0 24px 60px rgba(7, 38, 45, 0.12);
  --shadow-soft: 0 12px 32px rgba(7, 38, 45, 0.08);
  --radius: 8px;
  --content: min(1160px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    "SF Pro Text",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 14px max(16px, calc((100% - 1160px) / 2));
  border-bottom: 1px solid rgba(217, 226, 224, 0.88);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand-home,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 650;
}

.brand-logo,
.footer-brand img,
.footer-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-name {
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
}

.footer-brand p,
.footer-brand span {
  color: var(--ink);
  font-weight: 650;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 520;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"],
.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links a[aria-current="page"] {
  color: var(--teal);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero-scene {
  position: relative;
  min-height: 780px;
  color: #ffffff;
  background: linear-gradient(90deg, rgba(3, 32, 39, 0.98) 0%, rgba(5, 54, 66, 0.96) 58%, rgba(15, 89, 99, 0.9) 100%);
}

.hero-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/challenge-map.png") right center / auto 112% no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

.hero-scene::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(247, 249, 248, 0), var(--bg));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: var(--content);
  min-height: 780px;
  margin: 0 auto;
  padding: 72px 0 96px;
}

.hero-copy {
  width: 560px;
  max-width: 100%;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 620;
  letter-spacing: 0;
  text-transform: none;
}

.hero-scene .eyebrow,
.cta-section .eyebrow {
  color: #9be0a7;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  font-size: 4.35rem;
  line-height: 1.02;
  font-weight: 660;
}

h2 {
  font-size: 2.65rem;
  line-height: 1.08;
  font-weight: 640;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 620;
}

p {
  line-height: 1.65;
}

.hero-text {
  max-width: 560px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.hero-actions,
.cta-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 620;
  line-height: 1.1;
  text-align: center;
}

.button-primary {
  background: #ffffff;
  color: var(--teal);
  box-shadow: var(--shadow-soft);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.44);
  color: #ffffff;
}

.content-section .button-secondary,
.cta-section .button-secondary,
.download-page .button-secondary,
.legal-page .button-secondary {
  border-color: var(--line-strong);
  color: var(--teal);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-points {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(213, 154, 43, 0.18);
}

.hero-product {
  position: absolute;
  right: 0;
  bottom: 70px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.screenshot-phone {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 10px solid #071b20;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.screenshot-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-phone-primary {
  width: 292px;
  height: 632px;
}

.screenshot-phone-secondary {
  width: 196px;
  height: 424px;
  margin-bottom: 46px;
  border-width: 8px;
  opacity: 0.96;
}

.phone-shell {
  width: 292px;
  min-height: 570px;
  padding: 16px;
  border: 10px solid #071b20;
  border-radius: 34px;
  background: #eef4f3;
  box-shadow: var(--shadow);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 560;
}

.app-panel,
.mission-stack > div,
.admin-glance,
.feature-card,
.step-card,
.programme-card,
.legal-card,
.download-panel,
.contact-method {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.app-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  color: var(--ink);
  box-shadow: none;
}

.app-panel strong {
  display: block;
  margin-top: 4px;
  font-size: 1.45rem;
  font-weight: 650;
}

.app-label,
.sync-pill,
.feature-kicker,
.map-card span,
.admin-glance span {
  display: inline-block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 620;
}

.sync-pill {
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--green);
}

.step-meter {
  height: 9px;
  margin: 16px 2px;
  overflow: hidden;
  border-radius: 6px;
  background: #d8e4e1;
}

.step-meter span {
  display: block;
  width: var(--step-width);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.app-map {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border-radius: 8px;
  background: #cfe2e5;
}

.app-map img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.map-progress {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 0.82rem;
}

.mission-stack {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.mission-stack > div {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 12px;
  box-shadow: none;
}

.mission-stack p {
  color: var(--muted);
  font-size: 0.83rem;
}

.mission-stack strong {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 620;
}

.mission-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mission-dot-blue {
  background: var(--blue);
}

.mission-dot-green {
  background: var(--green);
}

.admin-glance {
  width: 220px;
  padding: 18px;
  color: var(--ink);
}

.admin-glance strong {
  display: block;
  margin: 6px 0 16px;
  font-size: 1.25rem;
  line-height: 1.15;
  font-weight: 640;
}

.mini-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 6px;
  height: 80px;
}

.mini-bars i {
  display: block;
  border-radius: 6px 6px 0 0;
  background: var(--blue);
}

.mini-bars i:nth-child(1) { height: 42%; }
.mini-bars i:nth-child(2) { height: 66%; background: var(--green); }
.mini-bars i:nth-child(3) { height: 55%; background: var(--gold); }
.mini-bars i:nth-child(4) { height: 82%; }
.mini-bars i:nth-child(5) { height: 70%; background: var(--green); }

.proof-strip,
.screenshot-band,
.content-section,
.device-band,
.map-feature,
.trust-band,
.cta-section,
.legal-main,
.download-main,
.site-footer {
  width: var(--content);
  margin: 0 auto;
}

.proof-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: -44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.proof-strip article {
  padding: 28px;
  background: #ffffff;
}

.proof-strip span {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 650;
}

.proof-strip h2 {
  margin-top: 10px;
  font-size: 1.32rem;
}

.proof-strip p,
.screenshot-band p,
.section-heading p,
.feature-card p,
.step-card p,
.programme-card p,
.device-band p,
.map-copy p,
.trust-copy p,
.legal-card p,
.download-panel p,
.contact-method p {
  color: var(--muted);
}

.content-section {
  padding: 112px 0 0;
}

.screenshot-band {
  padding-top: 112px;
}

.section-heading {
  max-width: 760px;
  min-width: 0;
}

.section-heading p:last-child {
  margin-top: 18px;
  font-size: 1.06rem;
}

.feature-grid,
.programme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.feature-card,
.programme-card {
  min-height: 245px;
  padding: 24px;
}

.feature-kicker {
  margin-bottom: 18px;
  color: var(--blue);
  text-transform: none;
}

.feature-card h3,
.programme-card h3,
.step-card h3 {
  margin-bottom: 12px;
}

.device-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
  margin-top: 112px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--teal);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.device-band p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.device-icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.device-icons img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #ffffff;
}

.split-section {
  padding-top: 104px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.step-card {
  min-height: 235px;
  padding: 22px;
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--surface-blue);
  color: var(--blue);
  font-weight: 650;
}

.map-feature {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 50px;
  align-items: center;
  padding-top: 112px;
}

.screen-row,
.challenge-screens {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  margin-top: 38px;
}

.screen-row .screenshot-phone {
  width: min(31%, 270px);
  aspect-ratio: 1284 / 2778;
  border-width: 8px;
}

.screen-row .screenshot-phone:nth-child(2) {
  margin-top: 32px;
}

.screen-row .screenshot-phone:nth-child(3) {
  margin-top: 64px;
}

.challenge-screens {
  margin-top: 0;
}

.challenge-screens .screenshot-phone {
  width: min(47%, 280px);
  aspect-ratio: 1284 / 2778;
  border-width: 8px;
}

.challenge-screens .screenshot-phone:nth-child(2) {
  margin-top: 54px;
}

.map-copy {
  max-width: 500px;
  min-width: 0;
}

.map-copy p:last-child {
  margin-top: 18px;
}

.map-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #dcefed;
  box-shadow: var(--shadow);
}

.map-visual img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.map-card {
  position: absolute;
  width: 230px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.map-card strong {
  display: block;
  margin-top: 6px;
  line-height: 1.2;
  font-weight: 640;
}

.map-card-top {
  top: 22px;
  left: 22px;
}

.map-card-bottom {
  right: 22px;
  bottom: 22px;
}

.programme-grid {
  grid-template-columns: repeat(4, 1fr);
}

.programme-card {
  min-height: 230px;
  background: linear-gradient(180deg, #ffffff, #f4faf8);
}

.programme-card:nth-child(2) {
  background: linear-gradient(180deg, #ffffff, #eef5fb);
}

.programme-card:nth-child(3) {
  background: linear-gradient(180deg, #ffffff, #fff7e8);
}

.programme-card:nth-child(4) {
  background: linear-gradient(180deg, #ffffff, #fff0ed);
}

.trust-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: start;
  margin-top: 112px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.trust-list,
.legal-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.trust-list li,
.legal-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.trust-list li::before,
.legal-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

ol.legal-list {
  counter-reset: legal-step;
}

ol.legal-list li {
  counter-increment: legal-step;
}

ol.legal-list li::before {
  content: counter(legal-step);
  top: 3px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 650;
}

.cta-section {
  position: relative;
  overflow: hidden;
  margin-top: 112px;
  padding: 56px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(5, 54, 66, 0.98), rgba(15, 89, 99, 0.94));
  color: #ffffff;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/challenge-map.png") right center / auto 160% no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  max-width: 780px;
}

.cta-section .button-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.site-footer {
  display: grid;
  gap: 24px;
  padding: 70px 0 36px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.footer-main p,
.copyright {
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.copyright {
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible,
html:not(.js) .reveal {
  opacity: 1;
  transform: none;
}

.legal-page,
.download-page {
  background: #f7f9f8;
}

.legal-main,
.download-main {
  padding: 78px 0 32px;
}

.legal-hero {
  max-width: 820px;
  margin-bottom: 26px;
}

.legal-hero h1,
.download-panel h1 {
  color: var(--ink);
  font-size: 3.25rem;
}

.legal-hero .hero-text {
  color: var(--muted);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.legal-meta span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 520;
}

.legal-card {
  margin-top: 16px;
  padding: 26px;
  box-shadow: none;
}

.legal-card h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.legal-card p + p,
.legal-card ul + p,
.legal-card p + ul {
  margin-top: 12px;
}

.legal-card a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-method a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 560;
}

.legal-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.legal-note {
  border-left: 5px solid var(--green);
}

.download-main {
  display: grid;
  min-height: 650px;
  place-items: center;
}

.download-panel {
  width: min(760px, 100%);
  padding: 44px;
  text-align: center;
}

.download-logo {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.download-actions {
  justify-content: center;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 620;
}

.store-button img {
  width: 150px;
  height: auto;
}

.store-button-disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.apps-page .download-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}

.apps-page .store-button {
  min-width: 0;
  width: 100%;
}

.store-kicker,
.company-code {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.company-code {
  margin-top: 18px;
}

.contact-method {
  padding: 24px;
  box-shadow: none;
}

.guide-page {
  background: var(--bg);
}

.guide-main {
  padding: 24px 0 32px;
}

.guide-hero,
.guide-overview,
.guide-picker,
.guides-list,
.guide-support {
  width: var(--content);
  margin-right: auto;
  margin-left: auto;
}

.guide-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 36px;
  align-items: center;
  min-height: 560px;
  overflow: hidden;
  padding: 58px 46px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(3, 32, 39, 0.98), rgba(15, 89, 99, 0.94));
  color: #ffffff;
}

.guide-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/challenge-map.png") right center / auto 150% no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.guide-hero-copy,
.guide-hero-visual {
  position: relative;
  z-index: 1;
}

.guide-hero .eyebrow {
  color: #9be0a7;
}

.guide-hero h1 {
  max-width: 650px;
}

.guide-hero .hero-text {
  max-width: 570px;
}

.guide-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.guide-hero .button-secondary,
.guide-support .button-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.guide-hero-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  min-width: 0;
}

.guide-hero-shot {
  margin: 0;
  overflow: hidden;
  border: 8px solid #071b20;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.guide-hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-hero-shot-large {
  width: 172px;
  aspect-ratio: 249 / 580;
}

.guide-hero-shot-small {
  width: 138px;
  margin-bottom: 36px;
  aspect-ratio: 249 / 580;
}

.guide-hero-shot-wide {
  width: 208px;
  margin-bottom: 86px;
  aspect-ratio: 315 / 405;
  border-radius: 22px;
}

.guide-overview {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: center;
  margin-top: 42px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.guide-overview p:last-child {
  margin-top: 14px;
  color: var(--muted);
}

.guide-provider-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.guide-provider-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--teal);
  font-size: 0.92rem;
  font-weight: 560;
}

.guide-picker {
  padding-top: 96px;
}

.guide-picker-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.guide-picker-card {
  display: grid;
  gap: 8px;
  min-height: 178px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.guide-picker-card:hover,
.guide-picker-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.guide-picker-card span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 650;
}

.guide-picker-card strong {
  color: var(--ink);
  font-weight: 650;
}

.guide-picker-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.guides-list {
  display: grid;
  gap: 86px;
  padding-top: 96px;
}

.connection-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 42px;
  align-items: start;
  padding-top: 42px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 94px;
}

.guide-copy {
  min-width: 0;
}

.guide-count,
.guide-platform {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 12px;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 650;
}

.guide-count {
  margin-right: 8px;
  background: var(--surface-blue);
  color: var(--blue);
}

.guide-platform {
  background: var(--surface-soft);
  color: var(--green);
}

.guide-copy h2 {
  margin-bottom: 16px;
  font-size: 2.1rem;
}

.guide-copy > p:not(.guide-platform) {
  color: var(--muted);
}

.guide-steps {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.guide-steps li {
  position: relative;
  min-height: 34px;
  padding-left: 48px;
  color: var(--ink);
  line-height: 1.55;
  counter-increment: guide-step;
}

.guide-steps li::before {
  content: counter(guide-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 650;
}

.guide-notes {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 18px 0 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.guide-notes li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.guide-notes li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.guide-visuals {
  min-width: 0;
}

.guide-visuals h3 {
  margin-bottom: 18px;
}

.guide-shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.guide-shot-grid-phone {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-shot {
  margin: 0;
}

.guide-shot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.guide-shot figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 620;
  text-align: center;
}

.guide-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 96px;
  padding: 44px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(5, 54, 66, 0.98), rgba(15, 89, 99, 0.94));
  color: #ffffff;
}

.guide-support .eyebrow {
  color: #9be0a7;
}

.guide-support p:last-child {
  max-width: 680px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1120px) {
  .hero-product {
    right: 0;
    transform: scale(0.9);
    transform-origin: right bottom;
  }

  .hero-copy {
    width: 520px;
  }

  h1 {
    font-size: 3.7rem;
  }

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

  .guide-hero-visual {
    justify-content: flex-start;
  }

  .guide-picker-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 940px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding: 14px 0 4px;
    border-top: 1px solid var(--line);
  }

  .site-header.is-open .site-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
  }

  .site-header.is-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-scene,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
    padding: 74px 0 116px;
  }

  .hero-product {
    position: relative;
    right: auto;
    bottom: auto;
    justify-content: center;
    transform: none;
    width: 100%;
    min-width: 0;
  }

  .screenshot-phone-primary {
    width: 282px;
    height: 610px;
  }

  .screenshot-phone-secondary {
    width: 178px;
    height: 386px;
  }

  .proof-strip,
  .feature-grid,
  .steps-grid,
  .programme-grid,
  .trust-band,
  .device-band,
  .map-feature,
  .guide-overview,
  .connection-guide {
    grid-template-columns: 1fr 1fr;
  }

  .admin-glance {
    display: none;
  }

  .device-icons {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-hero {
    min-height: auto;
    padding: 48px 34px;
  }

  .guide-picker-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 700px) {
  :root {
    --content: min(1160px, calc(100% - 24px));
  }

  .site-header {
    padding: 12px;
  }

  .brand-name {
    white-space: normal;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-scene {
    background-position: center top;
  }

  .hero-scene::before,
  .cta-section::before {
    opacity: 0.08;
    background-position: 70% center;
  }

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

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-copy,
  .hero-product {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    justify-self: center;
  }

  .hero-copy {
    max-width: 18.5rem;
  }

  .hero-text,
  .hero-points {
    max-width: 18.5rem;
  }

  .button {
    width: 100%;
  }

  .hero-product {
    align-items: center;
    display: block;
    justify-self: start;
  }

  .screenshot-phone-primary {
    width: min(64vw, 230px);
    height: auto;
    aspect-ratio: 1284 / 2778;
    margin: 0;
  }

  .screenshot-phone-secondary {
    display: none;
  }

  .proof-strip,
  .feature-grid,
  .steps-grid,
  .programme-grid,
  .trust-band,
  .device-band,
  .map-feature,
  .legal-grid,
  .contact-grid,
  .guide-overview,
  .guide-picker-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip article,
  .feature-card,
  .programme-card,
  .step-card,
  .legal-card,
  .download-panel {
    padding: 20px;
  }

  .apps-page .download-panel h1 {
    max-width: 12ch;
    margin-right: auto;
    margin-left: auto;
  }

  .apps-page .download-panel > p:not(.eyebrow):not(.company-code) {
    max-width: 18rem;
    margin-right: auto;
    margin-left: auto;
  }

  .apps-page .download-actions {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    width: min(260px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .feature-card,
  .programme-card,
  .step-card {
    min-height: auto;
  }

  .content-section,
  .screenshot-band,
  .split-section {
    padding-top: 76px;
  }

  .device-band,
  .trust-band,
  .cta-section,
  .guide-support {
    margin-top: 76px;
    padding: 26px;
  }

  .map-feature {
    padding-top: 76px;
  }

  .screen-row {
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 2px 12px;
    scrollbar-width: none;
  }

  .screen-row::-webkit-scrollbar {
    display: none;
  }

  .screen-row .screenshot-phone {
    flex: 0 0 min(76vw, 300px);
    width: auto;
    margin-top: 0;
    scroll-snap-align: center;
  }

  .challenge-screens {
    flex-direction: column;
    align-items: center;
  }

  .challenge-screens .screenshot-phone {
    width: min(82vw, 300px);
    margin-top: 0;
  }

  .trust-list,
  .device-icons {
    grid-template-columns: 1fr 1fr;
  }

  .legal-hero h1,
  .download-panel h1 {
    font-size: 2.35rem;
  }

  .download-panel {
    padding: 26px 18px;
  }

  .guide-main {
    padding-top: 12px;
  }

  .guide-hero {
    padding: 38px 22px 26px;
  }

  .guide-hero h1 {
    font-size: 2.35rem;
  }

  .guide-hero-actions,
  .guide-support {
    align-items: stretch;
    flex-direction: column;
  }

  .guide-hero-visual {
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    scrollbar-width: none;
  }

  .guide-hero-visual::-webkit-scrollbar {
    display: none;
  }

  .guide-hero-shot {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .guide-hero-shot-large {
    width: 150px;
  }

  .guide-hero-shot-small {
    width: 126px;
    margin-bottom: 24px;
  }

  .guide-hero-shot-wide {
    width: 190px;
    margin-bottom: 50px;
  }

  .guide-overview {
    margin-top: 24px;
    padding: 24px;
  }

  .guide-provider-list {
    justify-content: flex-start;
  }

  .guide-picker,
  .guides-list {
    padding-top: 76px;
  }

  .guides-list {
    gap: 72px;
  }

  .connection-guide {
    padding-top: 34px;
  }

  .guide-copy h2 {
    font-size: 1.72rem;
  }

  .guide-shot-grid,
  .guide-shot-grid-phone {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 2px 12px;
    scrollbar-width: none;
  }

  .guide-shot-grid::-webkit-scrollbar {
    display: none;
  }

  .guide-shot {
    flex: 0 0 min(62vw, 210px);
    scroll-snap-align: start;
  }
}

@media (max-width: 430px) {
  :root {
    --content: min(1160px, calc(100% - 20px));
  }

  .site-header {
    gap: 10px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 0.94rem;
  }

  .site-header.is-open .site-nav {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 34px;
    padding: 44px 0 88px;
  }

  .hero-copy {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }

  .hero-product {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }

  h1 {
    font-size: 2.2rem;
    line-height: 1.08;
    max-width: 18rem;
  }

  h2 {
    font-size: 1.72rem;
    line-height: 1.14;
  }

  h3 {
    font-size: 1.08rem;
  }

  .hero-actions,
  .cta-actions,
  .download-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .apps-page .download-actions {
    align-items: stretch;
  }

  .hero-points {
    margin-top: 24px;
    max-width: 16.5rem;
  }

  .hero-text {
    max-width: 16.5rem;
  }

  .proof-strip {
    margin-top: -34px;
  }

  .hero-product {
    justify-self: start;
  }

  .screenshot-phone-primary {
    width: min(64vw, 230px);
    margin: 0;
  }

  .challenge-screens .screenshot-phone {
    width: min(76vw, 270px);
  }

  .device-icons,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .device-icons img {
    width: min(100%, 220px);
    margin: 0 auto;
  }

  .footer-links {
    gap: 10px 14px;
  }
}

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