/* Scandere. Layout and type scale follow the Megalodon Marketing framework
   (DM Serif Text body, #666 copy, 823px content / 1080px wide, card sections);
   colour comes from the Scandere mark: navy face, silver bezel, cyan needle. */

:root {
  --navy: #0a1122;
  --navy-2: #111c33;
  --navy-3: #1a2744;
  --cyan: #22d3ee;
  --cyan-light: #a5f3fc;
  --cyan-deep: #0891b2;
  --silver: #cbd5e1;
  --slate: #94a3b8;

  --text: #666;
  --heading: #0a1122;
  --bg: #fff;
  --bg-alt: #f4f6f9;
  --line: #e3e8ef;
  --line-dark: rgba(203, 213, 225, 0.14);

  --content: 823px;
  --wide: 1080px;
  --radius: 8px;

  --serif: "DM Serif Text", Georgia, "Times New Roman", serif;
  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --shadow-deep: 12px 12px 50px rgba(0, 0, 0, 0.4);
  --shadow-soft: 0 1px 2px rgba(10, 17, 34, 0.06), 0 8px 24px rgba(10, 17, 34, 0.05);
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin: 0 0 0.6em;
  color: var(--heading);
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.75rem);
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.625rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

p {
  margin: 0 0 1.2em;
}

a {
  color: var(--cyan-deep);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--cyan);
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Layout ---------- */

.container {
  width: min(100% - 2.5rem, var(--wide));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2.5rem, var(--content));
}

.section {
  padding: clamp(3.5rem, 8vw, 5.06rem) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--navy);
  color: var(--silver);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section-head {
  max-width: var(--content);
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.center {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  color: var(--cyan-deep);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section--dark .eyebrow,
.hero .eyebrow,
.card--dark .eyebrow {
  color: var(--cyan);
}

.lead {
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  line-height: 1.6;
}

.statement {
  color: var(--heading);
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  line-height: 1.3;
}

.statement em {
  color: var(--cyan-deep);
  font-style: normal;
}

.section--dark .statement {
  color: #fff;
}

.section--dark .statement em {
  color: var(--cyan);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split--reverse > :first-child {
  order: 2;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse > :first-child {
    order: 0;
  }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 17, 34, 0.96);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav a:not(.btn) {
  color: var(--silver);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.nav a:not(.btn):hover,
.nav a[aria-current="page"] {
  color: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(203, 213, 225, 0.3);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: var(--navy);
    border-bottom: 1px solid var(--line-dark);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a:not(.btn) {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .nav .btn {
    margin-top: 1rem;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
}

.btn--sm {
  padding: 0.6rem 1.1rem;
  font-size: 14px;
}

.btn--primary {
  color: var(--navy);
  background: var(--cyan);
  box-shadow: 4px 4px 0 var(--cyan-deep);
}

.btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--cyan-deep);
}

.btn--dark {
  color: #fff;
  background: var(--navy);
  box-shadow: 4px 4px 0 var(--cyan);
}

.btn--dark:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--cyan);
}

.btn--ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(203, 213, 225, 0.45);
}

.btn--ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.btn--outline {
  color: var(--navy);
  background: transparent;
  border-color: var(--navy);
}

.btn--outline:hover {
  color: #fff;
  background: var(--navy);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.center .btn-row,
.btn-row--center {
  justify-content: center;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(4.5rem, 11vw, 8rem) 0 clamp(6rem, 13vw, 9rem);
  color: var(--silver);
  text-align: center;
  background-color: var(--navy);
  background-image: radial-gradient(ellipse at 18% 0%, rgba(34, 211, 238, 0.18), transparent 55%),
    radial-gradient(ellipse at 92% 90%, rgba(8, 145, 178, 0.22), transparent 50%), url("../assets/ridge.svg");
  background-repeat: no-repeat;
  background-position: top, top, bottom;
  background-size: cover, cover, 100% 160px;
  background-attachment: fixed, fixed, scroll;
}

.hero--page {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(5rem, 10vw, 7rem);
}

.hero h1 {
  max-width: 26ch;
  margin-inline: auto;
  color: #fff;
}

.hero__sub {
  max-width: 760px;
  margin-inline: auto;
}

.hero__mark {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.75rem;
  filter: drop-shadow(0 16px 32px rgba(34, 211, 238, 0.25));
}

.hero__proof {
  margin: 2.25rem 0 0;
  color: var(--slate);
  font-family: var(--sans);
  font-size: 14px;
}

.hero__proof span + span::before {
  content: "·";
  margin: 0 0.6rem;
  color: var(--cyan);
}

/* Fixed backgrounds jitter or get ignored on touch browsers. */
@media (max-width: 980px), (hover: none) {
  .hero {
    background-attachment: scroll;
  }
}

/* ---------- Cards ---------- */

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card p:last-child {
  margin-bottom: 0;
}

.card--feature {
  border-top: 4px solid var(--cyan);
}

.card--interactive:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--navy);
}

.card--dark {
  color: var(--silver);
  background: var(--navy-2);
  border-color: var(--line-dark);
  box-shadow: none;
}

.card--dark h3 {
  color: #fff;
}

.card--highlight {
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 1px var(--cyan), 0 20px 50px rgba(34, 211, 238, 0.12);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--cyan);
  background: var(--navy);
  border-radius: 10px;
}

.card--dark .card__icon {
  background: rgba(34, 211, 238, 0.1);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__body {
  flex: 1;
}

.card__meta {
  color: var(--heading);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
}

.card__link {
  margin-top: 1rem;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.card__link:hover {
  color: var(--cyan-deep);
}

.card .btn {
  align-self: flex-start;
  margin-top: 1.25rem;
}

/* ---------- Lists & quotes ---------- */

.checklist {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  margin-bottom: 0.7rem;
  padding-left: 1.9rem;
  line-height: 1.55;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.35em;
  width: 0.85rem;
  height: 0.45rem;
  border-left: 2px solid var(--cyan-deep);
  border-bottom: 2px solid var(--cyan-deep);
  transform: rotate(-45deg);
}

.section--dark .checklist li::before,
.card--dark .checklist li::before {
  border-color: var(--cyan);
}

.checklist strong {
  color: var(--heading);
  font-weight: 400;
}

.section--dark .checklist strong {
  color: #fff;
}

.script-line {
  margin: 0 0 1.75rem;
  padding: 0.9rem 1.2rem;
  color: var(--heading);
  font-style: italic;
  background: var(--bg-alt);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.script-line cite {
  display: block;
  margin-top: 0.35rem;
  color: var(--text);
  font-family: var(--sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.chip {
  padding: 0.45rem 0.95rem;
  color: var(--heading);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.chip:hover {
  border-color: var(--cyan-deep);
}

/* ---------- Art panels ---------- */

.art-panel {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(34, 211, 238, 0.22), transparent 55%),
    linear-gradient(160deg, var(--navy-3), var(--navy));
  border-radius: 14px;
  box-shadow: var(--shadow-deep);
}

.art-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: url("../assets/ridge.svg") bottom / 100% 100% no-repeat;
}

.art-panel__mark {
  position: relative;
  z-index: 1;
  width: 52%;
  max-width: 260px;
  filter: drop-shadow(0 20px 40px rgba(34, 211, 238, 0.3));
}

.art-panel__numeral {
  position: relative;
  z-index: 1;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(6rem, 14vw, 10rem);
  line-height: 1;
  -webkit-text-stroke: 2px var(--cyan);
}

.art-panel__label {
  position: absolute;
  left: 1.25rem;
  bottom: 1rem;
  z-index: 2;
  color: var(--cyan-light);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- Protocols ---------- */

.protocol + .protocol {
  border-top: 1px solid var(--line);
}

.protocol h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.75rem;
  color: var(--cyan-deep);
  font-family: var(--display);
  font-size: 2.5rem;
  line-height: 1;
}

.steps h3 {
  font-size: 1.35rem;
}

.steps p {
  margin: 0;
  line-height: 1.6;
}

/* ---------- CallReviewer ---------- */

.callreviewer {
  background-image: radial-gradient(ellipse at 85% 10%, rgba(34, 211, 238, 0.14), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(8, 145, 178, 0.16), transparent 45%);
}

.cr-figure {
  margin: 0;
}

.cr-mock {
  padding: 1.5rem;
  color: var(--silver);
  font-family: var(--sans);
  background: linear-gradient(180deg, var(--navy-2), #0c1529);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  box-shadow: var(--shadow-deep);
}

.cr-mock__chrome {
  display: flex;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.cr-mock__chrome span {
  width: 10px;
  height: 10px;
  background: rgba(203, 213, 225, 0.2);
  border-radius: 50%;
}

.cr-mock__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-dark);
}

.cr-mock__title {
  margin: 0 0 0.2rem;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.cr-mock__meta {
  margin: 0;
  color: var(--slate);
  font-size: 12px;
  line-height: 1.4;
}

.cr-mock__score {
  margin: 0;
  text-align: right;
  line-height: 1;
}

.cr-mock__score strong {
  display: block;
  color: var(--cyan);
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 400;
}

.cr-mock__score span {
  color: var(--slate);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meter {
  margin-bottom: 0.9rem;
}

.meter__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-size: 13px;
  line-height: 1.3;
}

.meter__label span:last-child {
  color: #fff;
  font-weight: 700;
}

.meter__track {
  height: 8px;
  overflow: hidden;
  background: rgba(203, 213, 225, 0.12);
  border-radius: 99px;
}

.meter__fill {
  width: var(--value);
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan));
  border-radius: inherit;
}

.meter--low .meter__fill {
  background: linear-gradient(90deg, #b45309, #f59e0b);
}

.cr-mock__note {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  font-size: 13px;
  line-height: 1.55;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius);
}

.cr-mock__note strong {
  color: #fff;
}

.cr-mock__caption {
  margin: 0.9rem 0 0;
  color: var(--slate);
  font-family: var(--sans);
  font-size: 12px;
  text-align: center;
}

.mini {
  display: flex;
  gap: 1rem;
}

.mini .card__icon {
  flex: none;
  margin: 0;
  background: rgba(34, 211, 238, 0.1);
}

.mini h3 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
}

.mini p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.mini-grid {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  row-gap: 2.25rem;
}

/* ---------- FAQ ---------- */

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

.faq summary {
  position: relative;
  padding: 1.3rem 2.75rem 1.3rem 0;
  color: var(--heading);
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  color: var(--cyan-deep);
  font-family: var(--sans);
  font-size: 1.6rem;
  transform: translateY(-50%);
}

.faq[open] summary::after {
  content: "\2013";
}

.faq p {
  margin: 0;
  padding-bottom: 1.4rem;
}

/* ---------- Booking ---------- */

.booking__frame {
  display: block;
  width: 100%;
  height: min(860px, 90vh);
  min-height: 640px;
  background: #fff;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(10, 17, 34, 0.12);
}

.notice {
  padding: 1.25rem 1.5rem;
  color: var(--heading);
  font-family: var(--sans);
  font-size: 15px;
  background: var(--bg-alt);
  border: 1px dashed var(--cyan-deep);
  border-radius: 10px;
}

/* ---------- Disclaimers & footer ---------- */

.disclaimers {
  padding: 2.75rem 0;
  font-size: 13px;
  line-height: 1.65;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.disclaimers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.75rem;
}

.disclaimers__title,
.site-footer__title {
  margin: 0 0 0.6rem;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.disclaimers p {
  margin: 0;
}

.site-footer {
  padding: 3.5rem 0 2rem;
  color: var(--slate);
  font-family: var(--sans);
  font-size: 14px;
  background: var(--navy);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 2rem;
}

.site-footer__brand {
  grid-column: span 2;
}

@media (max-width: 560px) {
  .site-footer__brand {
    grid-column: auto;
  }
}

.site-footer__brand p {
  max-width: 32ch;
  margin-top: 1rem;
}

.site-footer__title {
  color: #fff;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a:not(.brand) {
  color: var(--silver);
  text-decoration: none;
}

.site-footer a:not(.brand):hover {
  color: var(--cyan);
}

.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
}

.site-footer__bottom p {
  margin: 0;
}

/* ---------- Results ---------- */

.result {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.result__stats {
  display: grid;
  align-content: center;
  gap: 1.75rem;
  padding: clamp(2rem, 4vw, 3rem);
  color: var(--silver);
  background: radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.2), transparent 55%), var(--navy);
}

.result__stat {
  margin: 0;
}

.result__stat strong {
  display: block;
  color: var(--cyan);
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
}

.result__stat span {
  font-family: var(--sans);
  font-size: 15px;
}

.result__story {
  padding: clamp(2rem, 4vw, 3rem);
}

.result__note,
.section-foot {
  margin: 1.25rem 0 0;
  text-align: center;
}

.result__note {
  font-size: 13px;
}

.section-foot {
  font-family: var(--sans);
  font-size: 15px;
}

@media (max-width: 760px) {
  .result {
    grid-template-columns: 1fr;
  }
}

/* ---------- Application ---------- */

.apply {
  min-height: calc(100dvh - 72px);
  padding: clamp(2.5rem, 7vw, 5rem) 0;
  background: var(--bg-alt);
}

.apply__exit {
  color: var(--silver);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.apply__exit:hover {
  color: #fff;
}

.apply__progress {
  position: sticky;
  top: 72px;
  z-index: 10;
  height: 4px;
  background: var(--line);
}

.apply__progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan));
  transition: width 0.3s ease;
}

.apply__card {
  padding: clamp(1.75rem, 5vw, 3rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.apply__card h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.apply__meta {
  margin: 1.25rem 0 0;
  font-family: var(--sans);
  font-size: 14px;
}

.apply__count {
  margin: 0 0 0.75rem;
  color: var(--cyan-deep);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.apply__fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.apply__question {
  display: block;
  margin: 0 0 0.5rem;
  padding: 0;
  color: var(--heading);
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.2;
}

.apply__help {
  margin: 0 0 0.5rem;
  font-size: 15px;
  line-height: 1.55;
}

.apply__card input[type="text"],
.apply__card input[type="email"],
.apply__card input[type="tel"] {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.85rem 0;
  color: var(--heading);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  outline: none;
  transition: border-color 0.15s ease;
}

.apply__card textarea {
  width: 100%;
  min-height: 7rem;
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.5;
  background: transparent;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  resize: vertical;
  transition: border-color 0.15s ease;
}

.apply__card input:focus,
.apply__card textarea:focus {
  border-color: var(--cyan-deep);
}

.apply__choices {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.apply__choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  color: var(--heading);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.apply__choice:hover {
  border-color: var(--cyan-deep);
}

/* The radio stays focusable for keyboards; the card shows its state. */
.apply__choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.apply__choice:has(input:checked) {
  background: rgba(34, 211, 238, 0.08);
  border-color: var(--cyan-deep);
}

.apply__choice:has(input:focus-visible) {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

.apply__key {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.apply__choice:has(input:checked) .apply__key {
  color: var(--cyan);
  background: var(--navy);
  border-color: var(--navy);
}

.apply__error {
  min-height: 1.5em;
  margin: 0.75rem 0 0;
  color: #b42318;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
}

.apply__consent {
  margin: 0.5rem 0 0;
  font-size: 13px;
  line-height: 1.55;
}

.apply__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.apply__back {
  padding: 0.5rem 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  background: none;
  border: 0;
  cursor: pointer;
}

.apply__back:hover {
  color: var(--heading);
}

.apply__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

/* ---------- Legal pages ---------- */

.legal {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.legal h1 {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
}

.legal h2 {
  margin-top: 2.25rem;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
}

.legal ul {
  margin: 0 0 1.2em;
  padding-left: 1.25rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal strong {
  color: var(--heading);
  font-weight: 400;
}

.legal__updated {
  font-family: var(--sans);
  font-size: 14px;
}

/* ---------- Phones ---------- */

.mobile-cta {
  display: none;
}

@media (max-width: 640px) {
  .section {
    padding: 3rem 0;
  }

  .container {
    width: min(100% - 2rem, var(--wide));
  }

  .container--narrow {
    width: min(100% - 2rem, var(--content));
  }

  .nav {
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }

  .hero {
    padding: 3rem 0 4.5rem;
    background-size: cover, cover, 100% 90px;
  }

  .hero__mark {
    width: 64px;
    height: 64px;
    margin-bottom: 1.25rem;
  }

  .hero__proof span {
    display: block;
  }

  .hero__proof span + span::before {
    content: none;
  }

  .statement {
    font-size: 1.5rem;
  }

  /* Full-width, thumb-sized buttons. */
  .btn {
    min-height: 48px;
    padding: 0.9rem 1.25rem;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .card .btn {
    align-self: stretch;
  }

  .card {
    padding: 1.5rem;
  }

  .art-panel {
    aspect-ratio: 16 / 9;
  }

  .art-panel__numeral {
    font-size: 5.5rem;
  }

  .art-panel__mark {
    width: 38%;
  }

  .cr-mock {
    padding: 1.1rem;
  }

  .cr-mock__score strong {
    font-size: 2.1rem;
  }

  .faq summary {
    font-size: 1.15rem;
  }

  .booking__frame {
    height: 80vh;
    min-height: 560px;
    border-radius: 10px;
  }

  .site-footer li {
    margin-bottom: 0.8rem;
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    gap: 0.6rem;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(10, 17, 34, 0.97);
    border-top: 1px solid var(--line-dark);
    transform: translateY(110%);
    transition: transform 0.25s ease;
  }

  .mobile-cta.is-visible {
    transform: none;
  }

  .mobile-cta .btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    font-size: 14px;
  }

  /* Room for the fixed bar so it never covers the footer. */
  body:has(.mobile-cta) {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .mobile-cta {
    transition: none;
  }
}

/* ---------- Motion ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card {
    transition: none;
  }
}
