/* ==========================================================================
   Attenta — marketing site
   Brand system: deep petrol ink / warm paper / brass accent
   Type: Helvetica Neue (display) + Public Sans (UI)
   ========================================================================== */

:root {
  /* Palette */
  --ink-950: #0A1520;
  --ink-900: #0E1E2C;
  --ink-800: #15293A;
  --deep: #1C3140;
  --paper: #F5F3ED;
  --paper-2: #ECE9DF;
  --line: #DCD8CB;
  --line-dark: rgba(245, 243, 237, 0.14);
  --text: #22303A;
  --muted: #5A6873;
  --muted-dark: #A9B4BC;
  --brass: #9A7325;
  --brass-bright: #D9A83F;
  --brass-hover: #E4B851;

  /* Type */
  --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-ui: "Public Sans", -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1120px;
  --radius: 6px;

  /* Subtle paper grain (feTurbulence noise) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ---------- Reset & base ---------- */

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

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.6em;
  letter-spacing: -0.012em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--brass-bright);
  color: var(--ink-950);
  padding: 0.6rem 1rem;
  font-weight: 600;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container.narrow { max-width: 780px; }

/* ---------- Shared section chrome ---------- */

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

.section-paper {
  background-color: var(--paper);
  background-image: var(--grain), radial-gradient(120% 90% at 50% 0%, #FBFAF6 0%, var(--paper) 55%, var(--paper-2) 100%);
}

.section-ink {
  background-color: var(--ink-900);
  background-image: var(--grain), linear-gradient(165deg, var(--ink-800) 0%, var(--ink-900) 45%, var(--ink-950) 100%);
  color: var(--paper);
}

.section-deep {
  background-color: var(--deep);
  background-image: var(--grain), linear-gradient(150deg, #223A4C 0%, var(--deep) 55%, #16293A 100%);
  color: var(--paper);
}

.section-ink h2, .section-deep h2,
.section-ink h3, .section-deep h3 { color: #FBFAF6; }

.section-ink p, .section-deep p { color: var(--muted-dark); }
.section-ink .lead, .section-deep .lead { color: #D8DDD9; }

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.25rem;
}
.section-ink .kicker, .section-deep .kicker { color: var(--brass-bright); }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 46em;
}

.section-close {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-style: italic;
  color: var(--text);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  max-width: 34em;
}
.section-deep .section-close { color: #E7E4DA; }

.text-link {
  color: var(--brass);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.section-ink .text-link, .section-deep .text-link { color: var(--brass-bright); }
.text-link:hover { text-decoration-thickness: 2px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-lg { padding: 1.1rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.92rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--brass-bright);
  color: var(--ink-950);
}
.btn-primary:hover { background: var(--brass-hover); }

.btn:disabled,
.btn[aria-disabled="true"] {
  background: var(--paper-2);
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-ghost {
  border-color: rgba(245, 243, 237, 0.5);
  color: var(--paper);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--paper); background: rgba(245, 243, 237, 0.08); }

.btn-outline {
  border-color: var(--ink-900);
  color: var(--ink-900);
  background: transparent;
}
.btn-outline:hover { background: var(--ink-900); color: var(--paper); }

.btn-arrow { transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

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

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  color: var(--paper);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(10, 21, 32, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark-mark { width: 26px; height: 26px; color: var(--brass-bright); flex: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.site-nav > a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(245, 243, 237, 0.85);
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-nav > a:not(.btn):hover { color: #fff; border-bottom-color: var(--brass-bright); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  flex: none;
}
.lang-switch a {
  color: rgba(245, 243, 237, 0.7);
  text-decoration: none;
  padding: 0.25rem 0.1rem;
  transition: color 0.2s ease;
}
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="page"] {
  color: var(--brass-bright);
  pointer-events: none;
}
.lang-sep {
  color: rgba(245, 243, 237, 0.35);
  user-select: none;
}
.lang-switch-mobile {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  justify-content: flex-start;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.6rem 0.4rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--paper);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
  background: rgba(10, 21, 32, 0.97);
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav a:not(.btn) {
  padding: 0.75rem 0;
  font-weight: 600;
  text-decoration: none;
  color: rgba(245, 243, 237, 0.9);
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav .btn { margin-top: 1rem; justify-content: center; }

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

.hero {
  position: relative;
  min-height: max(92svh, 620px);
  display: flex;
  align-items: center;
  color: var(--paper);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(100deg, rgba(9, 19, 30, 0.94) 0%, rgba(9, 19, 30, 0.82) 38%, rgba(12, 26, 40, 0.55) 68%, rgba(14, 30, 44, 0.35) 100%),
    url("../assets/hero-office.png");
  background-size: cover;
  background-position: center right;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(9, 19, 30, 0.35) 0%, rgba(9, 19, 30, 0) 25%, rgba(9, 19, 30, 0) 70%, rgba(10, 21, 32, 0.75) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(7rem, 14vh, 9rem) clamp(4rem, 8vh, 6rem);
}

.hero-copy { max-width: 680px; }

.hero-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  letter-spacing: 0.01em;
  color: #FBFAF6;
  margin: 0 0 0.35rem;
}

.hero-programme {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-bright);
  margin: 0 0 2.2rem;
}

.hero h1 { color: #FBFAF6; margin-bottom: 0.5em; }

.hero-sub {
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  color: #CBD4D6;
  max-width: 36em;
  margin-bottom: 2.4rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero entrance (motion detail 1) */
@keyframes hero-up {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
html.js .hero-enter { animation: hero-up 0.85s cubic-bezier(0.22, 0.9, 0.3, 1) both; }
html.js .hero-copy .hero-enter:nth-child(1) { animation-delay: 0.05s; }
html.js .hero-copy .hero-enter:nth-child(2) { animation-delay: 0.14s; }
html.js .hero-copy .hero-enter:nth-child(3) { animation-delay: 0.24s; }
html.js .hero-copy .hero-enter:nth-child(4) { animation-delay: 0.36s; }
html.js .hero-copy .hero-enter:nth-child(5) { animation-delay: 0.48s; }

/* ---------- Scroll reveal (motion detail 2) ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.9, 0.3, 1);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .hero-enter { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn-arrow, .price-card { transition: none !important; }
}

/* ---------- Problem: scenarios ---------- */

.scenario-list {
  list-style: none;
  margin: clamp(2.5rem, 6vw, 4.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}

.scenario {
  border-top: 2px solid var(--ink-900);
  padding-top: 1.5rem;
}

.scenario-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brass);
  display: block;
  margin-bottom: 0.9rem;
}

.scenario h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.scenario p { color: var(--muted); font-size: 0.99rem; }

/* ---------- Solution: pillars ---------- */

.pillars {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.25rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 5rem);
}

.pillar {
  border-left: 3px solid var(--brass-bright);
  padding-left: 1.5rem;
}
.pillar h3 { margin-bottom: 0.45rem; }
.pillar p { font-size: 0.99rem; }

/* ---------- Curriculum ---------- */

.module-list {
  list-style: none;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding: 0;
  max-width: 880px;
}

.module {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0.35rem clamp(1.5rem, 4vw, 3rem);
  padding-block: 1.9rem;
  border-top: 1px solid var(--line);
}
.module:last-child { border-bottom: 1px solid var(--line); }

.module-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding-top: 0.3rem;
}

.module-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-800);
}

.module-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1.5px solid var(--brass);
  border-radius: 3px;
  padding: 0.15rem 0.5rem;
}

.module-time { font-size: 0.88rem; color: var(--muted); }

.module h3 { grid-column: 2; grid-row: 1; margin-bottom: 0.25rem; align-self: start; }
.module p { grid-column: 2; color: var(--muted); font-size: 0.99rem; }
.module-meta { grid-row: 1 / span 2; }

.curriculum-note {
  margin-top: 2.5rem;
  max-width: 880px;
  border-left: 3px solid var(--brass);
  background: var(--paper-2);
  padding: 1.25rem 1.5rem;
}
.curriculum-note p { font-size: 0.99rem; color: var(--text); }

/* ---------- Who it's for ---------- */

.audience-grid {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}

.audience {
  border-top: 2px solid var(--brass-bright);
  padding-top: 1.4rem;
}
.audience p { font-size: 0.98rem; }

/* ---------- Differentiation: comparison ---------- */

.compare {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #FBFAF6;
}

.compare-row {
  display: grid;
  grid-template-columns: 150px 1fr 1.25fr;
  border-top: 1px solid var(--line);
}
.compare-row:first-child { border-top: none; }

.compare-row > span {
  padding: 1.05rem 1.4rem;
  font-size: 0.97rem;
}

.compare-head > span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 0.9rem;
}

.compare-dim {
  font-weight: 700;
  color: var(--ink-800);
  font-size: 0.88rem;
}

.compare-us {
  background: var(--ink-900);
  color: var(--paper);
  font-weight: 500;
}
.compare-head .compare-us {
  color: var(--brass-bright);
  background: var(--ink-950);
}

/* ---------- How it works: steps ---------- */

.steps {
  list-style: none;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  padding: 0;
  max-width: 720px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 12px;
  bottom: 24px;
  width: 1px;
  background: var(--line-dark);
}

.step {
  position: relative;
  padding: 0 0 2.4rem 4.5rem;
}
.step:last-child { padding-bottom: 0; }

.step-num {
  position: absolute;
  left: 0;
  top: -2px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--brass-bright);
  color: var(--brass-bright);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  background: var(--ink-900);
}

.step h3 { font-size: 1.22rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.98rem; }

/* ---------- Pricing ---------- */

.pricing-group-title {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-800);
  margin: clamp(3rem, 6vw, 4.5rem) 0 1.75rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.price-card {
  background: #FBFAF6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--brass);
  box-shadow: 0 14px 34px -18px rgba(14, 30, 44, 0.35);
}

.price-band {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-figure {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--ink-900);
  line-height: 1.1;
}

.price-terms { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.4rem; }

.price-card .btn { margin-top: auto; justify-content: center; }

.pilot-includes {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
}
.pilot-includes li {
  font-size: 0.94rem;
  color: var(--muted);
  padding-left: 1.4rem;
  position: relative;
}
.pilot-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brass);
  font-weight: 700;
}

.seat-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.seat-tier {
  border-top: 2px solid var(--ink-900);
  padding-top: 1.2rem;
}

.seat-band {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.seat-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--ink-900);
  margin-bottom: 0.5rem;
}
.seat-price span {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.pricing-note {
  margin-top: 2.25rem;
  max-width: 46em;
  font-size: 0.99rem;
  color: var(--muted);
}
.pricing-group-title + .pricing-note {
  margin-top: 0.45rem;
  margin-bottom: 1.5rem;
}
.pricing-note strong { color: var(--text); }

/* ---------- Trust ---------- */

.testimonials {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
}

.testimonial {
  margin: 0;
  border: 1.5px dashed rgba(217, 168, 63, 0.45);
  border-radius: var(--radius);
  padding: 1.9rem 2rem;
}

.testimonial blockquote { margin: 0 0 1.1rem; }
.testimonial blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.55;
  color: #D3DAD6;
}

.testimonial figcaption {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-bright);
}

.safe-ai-mark {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  margin-inline: auto;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(217, 168, 63, 0.35);
  border-radius: var(--radius);
  background: rgba(10, 21, 32, 0.35);
  max-width: 40rem;
}

.safe-ai-badge {
  flex-shrink: 0;
  width: 5.5rem;
  height: 5.5rem;
  display: block;
}

.safe-ai-copy {
  min-width: 0;
}

.safe-ai-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-bright);
}

.safe-ai-copy p:last-child {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #D3DAD6;
}

.safe-ai-copy strong {
  color: #F5F3ED;
  font-weight: 600;
}

.trust-cues {
  list-style: none;
  margin: clamp(2.25rem, 5vw, 3.5rem) 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0;
}

.trust-cues li {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted-dark);
}
.trust-cues li:not(:last-child)::after {
  content: "·";
  margin-inline: 1.1rem;
  color: var(--brass-bright);
}

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

.faq-list { margin-top: clamp(2rem, 4vw, 3rem); }

.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--ink-900);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--brass);
  line-height: 1;
  transition: transform 0.25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-list details p {
  padding: 0 0.25rem 1.6rem;
  color: var(--muted);
  max-width: 44em;
}

.faq-answer {
  padding: 0 0.25rem 1.6rem;
  max-width: 44em;
}

.faq-answer p {
  padding: 0;
  margin: 0;
  color: var(--muted);
  max-width: none;
}

.faq-answer-with-badge {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.faq-safe-ai-badge {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  display: block;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-copy .lead { margin-bottom: 2rem; }

.contact-alt { font-size: 0.99rem; line-height: 2; }

.contact-form {
  background: var(--paper);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--text);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}

.form-row { margin-bottom: 1.2rem; }
.form-row-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: end;
}
.form-row-split label {
  white-space: nowrap;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
}
.promo-apply {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0.55rem;
}
.promo-apply input { min-width: 0; }
.promo-apply .btn { white-space: nowrap; }

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-800);
  margin-bottom: 0.4rem;
}
.contact-form .optional { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; }
.contact-form .req,
.tool-table .req {
  color: var(--brass);
  margin-left: 0.15em;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #FFFFFF;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s ease;
}
.contact-form input[type="checkbox"],
.contact-form input[type="radio"] {
  width: auto;
  padding: 0;
  border: none;
  background: transparent;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ink-800);
  box-shadow: 0 0 0 3px rgba(217, 168, 63, 0.3);
}

.contact-form textarea { resize: vertical; }

.contact-form .btn { margin-top: 0.4rem; }

.form-notice {
  margin-top: 1.1rem;
  padding: 0.9rem 1.1rem;
  background: var(--paper-2);
  border-left: 3px solid var(--brass);
  font-size: 0.94rem;
  color: var(--text);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink-950);
  color: var(--muted-dark);
  border-top: 2px solid var(--brass);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--paper);
  margin-bottom: 0.4rem;
}

.footer-tagline { font-size: 0.95rem; max-width: 30em; }
.footer-contact { margin-top: 0.8rem; }

.footer-nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted-dark);
}
.footer-nav a:hover { color: var(--paper); }

.footer-legal {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
}
.footer-legal p { font-size: 0.85rem; color: #7C8A94; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 940px) {
  .scenario-list { grid-template-columns: 1fr; gap: 2.25rem; }
  .audience-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .seat-pricing { grid-template-columns: 1fr; gap: 1.75rem; }
  .testimonials { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 110px 1fr 1.15fr; }
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav.is-open { display: flex; }
  .lang-switch:not(.lang-switch-mobile) {
    margin-left: auto;
    margin-right: 0.25rem;
  }

  .hero { min-height: max(88svh, 560px); }
  .hero-media { background-position: 62% center; }

  .pillars { grid-template-columns: 1fr; gap: 2rem; }

  .module { grid-template-columns: 1fr; }
  .module h3 { grid-column: 1; grid-row: 1; }
  .module-meta {
    grid-row: 2;
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.6rem;
  }
  .module p { grid-column: 1; grid-row: 3; }

  .compare { border: none; background: transparent; overflow: visible; }
  .compare-head { display: none; }
  .compare-row {
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
  }
  .compare-dim {
    background: var(--paper-2);
    padding-block: 0.6rem;
  }
  .compare-row > span:nth-child(2)::before {
    content: "Generic AI courses: ";
    font-weight: 700;
    color: var(--muted);
    font-size: 0.82rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.15rem;
  }
  .compare-us::before {
    content: "This programme: ";
    font-weight: 700;
    color: var(--brass-bright);
    font-size: 0.82rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.15rem;
  }

  .form-row-split { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 2rem; }
}

@media (max-width: 420px) {
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-ctas .btn-arrow { margin-left: auto; }
}

/* ---------- Checkout / setup pages ---------- */

.page-main {
  padding-top: 6.5rem;
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.page-card {
  max-width: 720px;
  margin-inline: auto;
}

.page-card-setup {
  max-width: 800px;
}

.page-card-order {
  max-width: 1040px;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
  margin-top: 1.75rem;
}

.order-quote {
  position: sticky;
  top: 5.5rem;
  background: #FBFAF6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
}

.order-quote .kicker { margin-top: 0; }

.order-quote-figure {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.1;
  color: var(--ink-900);
  margin: 0.15rem 0 0.35rem;
}

.order-quote-list {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.order-quote-band {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.45rem;
}

.order-quote-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1.1rem;
  line-height: 1.45;
}

.order-quote-empty .order-quote-figure { color: var(--muted); }

.order-quote-includes {
  list-style: none;
  margin: 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--line);
}

.order-quote-includes li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.order-quote-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brass);
  font-weight: 700;
}

@media (max-width: 860px) {
  .order-layout {
    grid-template-columns: 1fr;
  }
  .order-quote { position: static; }
}

.page-card .kicker { margin-top: 0; }

.order-alert {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  margin-bottom: 0.25rem;
}

.order-alert-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
}

.order-alert-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-800);
}

.order-alert-cta {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.92rem;
}

.order-alert--warn {
  background: rgba(160, 115, 50, 0.07);
  border: 1px solid rgba(160, 115, 50, 0.22);
}

.order-alert--info {
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.price-chip {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-800);
  background: var(--paper-2);
  border: 1.5px solid var(--line);
  border-radius: 3px;
  padding: 0.35rem 0.7rem;
  margin-bottom: 1.25rem;
}
.price-chip[hidden] {
  display: none;
}

.tool-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}
.tool-table th,
.tool-table td {
  text-align: left;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.tool-table th {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tool-table select { min-width: 8rem; }

.check-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}
.check-row input { margin-top: 0.3rem; flex: none; width: auto; }
.check-row label {
  display: block;
  flex: 1;
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.45;
}

.radio-row { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-bottom: 1rem; }
.radio-row label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.walkthrough {
  background: var(--paper-2);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.75rem;
  color: var(--muted);
}
.walkthrough strong { color: var(--ink-800); }

.setup-intro {
  margin-bottom: 2rem;
}

.setup-intro-summary {
  margin-bottom: 1.6rem;
}

.setup-intro-org {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.setup-intro-org strong {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink-900);
  line-height: 1.2;
}

.setup-intro-lead {
  margin: 0;
  max-width: 40em;
  font-size: 1.05rem;
  line-height: 1.55;
}

.setup-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.setup-intro-card {
  background: #FBFAF6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.2rem;
}

.setup-intro-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.65rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--brass);
}

.setup-intro-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.setup-intro-card h2 {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--ink-900);
}

.setup-intro-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.setup-callout {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.35rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-800);
}

.setup-callout strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  color: var(--ink-900);
}

.setup-callout--warn {
  background: rgba(160, 115, 50, 0.07);
  border: 1px solid rgba(160, 115, 50, 0.22);
}

.setup-intro-path {
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.setup-intro-path-title {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.setup-path-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.setup-path-steps li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted);
}

.setup-path-steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brass);
  background: var(--paper);
  border: 1px solid var(--line);
}

@media (max-width: 640px) {
  .setup-intro-grid {
    grid-template-columns: 1fr;
  }
  .setup-path-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .safe-ai-mark {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
}

.setup-banner {
  padding: 1.1rem 1.25rem;
  background: var(--paper-2);
  border-left: 3px solid var(--brass);
  margin-bottom: 1.5rem;
}

.setup-complete .lead { margin-bottom: 1rem; }
.setup-next {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.setup-next li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin: 0;
  color: var(--text);
  line-height: 1.45;
}
.setup-next-icon {
  flex: none;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid color-mix(in srgb, var(--brass) 38%, var(--line));
  color: var(--ink-800);
}
.setup-next-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}
.setup-next strong {
  display: block;
  margin-bottom: 0.12rem;
  color: var(--ink-800);
}
