/* =====================================================================
   Soul Surfer Software — public site styles
   Motif: the Soul Surfer control center. A hi-fi amplifier front panel with chrome
   knobs, a glowing screen, amber VU meters. Palette and type follow the Website
   Thesis Proposal (SS-THESIS v1.0). All colours and sizes live in these tokens.
   ===================================================================== */

:root {
  color-scheme: dark;

  /* Colour */
  --room: #02060A;
  --bg: #02060A;
  --bg-deep: #001A33;
  --surface: #0B1620;
  --line: rgba(0, 168, 255, 0.25);
  --line-amber: rgba(255, 154, 24, 0.3);
  --blue-neon: #00A8FF;
  --blue-soft: #5cc6ff;
  --blue-deep: #0074FF;
  --green: #39FF14;
  --green-deep: #007A3A;
  --green-glow: rgba(57, 255, 20, 0.35);
  --blue-glow: rgba(0, 168, 255, 0.35);
  --gold: #FF9A18;
  --amber: #FF9A18;
  --cream: #D7C8AD;
  --text: #E8F5FF;
  --text-muted: #8FA9BC;
  --text-dim: #8FA9BC;
  --ink: #0B1218;
  --redline: #FF6B5E;
  --glow-blue: 0 0 14px rgba(0, 168, 255, 0.55);
  --glow-green: 0 0 14px rgba(57, 255, 20, 0.5);
  --glow-strength: 1;
  --metal-1: #23221f;
  --metal-2: #141412;
  --metal-edge: #3b362d;

  /* Type */
  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --display: 'Share Tech Mono', 'JetBrains Mono', ui-monospace, monospace;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', ui-monospace, monospace;
  --script: 'Yellowtail', 'Brush Script MT', cursive;
  --fs-hero: clamp(2rem, 4.2vw, 3.4rem);
  --fs-h2: clamp(1.45rem, 2.4vw, 2rem);
  --fs-h3: 1.15rem;
  --fs-body: 1rem;
  --fs-small: 0.88rem;

  /* Layout */
  --amp-width: 290px;
  --content-max: 1080px;
  --gutter: clamp(16px, 3.4vw, 44px);
  --radius: 10px;
  --radius-sm: 6px;
  --knob-feature: 150px;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--room);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-neon);
}

a:hover {
  color: var(--green);
}

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

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--blue-soft);
}

p {
  margin: 0 0 1em;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--green);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

/* ---------- Page frame ---------- */


main {
  flex: 1;
}

.section {
  padding: clamp(48px, 7vw, 88px) var(--gutter);
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  color: var(--green);
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.lede {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 62ch;
}

.section-title {
  font-size: var(--fs-h2);
}

.section-head {
  margin-bottom: 36px;
}

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

.hero {
  padding-top: clamp(40px, 6vw, 72px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.hero-title {
  font-size: var(--fs-hero);
  color: var(--blue-soft);
  text-shadow: 0 0 28px var(--blue-glow);
}

.hero-title em {
  font-style: normal;
  color: var(--green);
  text-shadow: 0 0 24px var(--green-glow);
}

.hero-art {
  border-radius: var(--radius);
  padding: 6px;
  background: linear-gradient(135deg, var(--green), var(--blue-deep) 50%, var(--green));
  box-shadow: 0 0 40px var(--blue-glow);
}

.hero-art img {
  border-radius: calc(var(--radius) - 6px);
}

.page-hero {
  padding-bottom: 0;
}

.page-hero .hero-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--blue-neon);
  color: var(--blue-neon);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  color: var(--bg);
  background: var(--blue-neon);
  box-shadow: 0 0 20px var(--blue-glow);
}

.btn-primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--blue-neon);
  border-color: var(--blue-neon);
}

/* ---------- Knob product dial ---------- */

.dial {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px;
}

.dial-item a,
.dial-item > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  text-decoration: none;
  color: var(--blue-neon);
}

.dial-item img {
  width: var(--knob-feature);
  height: var(--knob-feature);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.dial-item a:hover img,
.dial-item a:focus-visible img {
  transform: rotate(120deg);
  filter: drop-shadow(0 0 18px var(--blue-glow));
}

.dial-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dial-name {
  color: var(--blue-neon);
  font-weight: 700;
  font-size: 1.2rem;
}

.dial-for {
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.dial-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ---------- Status pills ---------- */

.pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid currentColor;
}

.pill-live {
  color: var(--green);
}

.pill-pilot {
  color: var(--blue-neon);
}

.pill-soon {
  color: var(--text-dim);
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.card h3 {
  font-size: var(--fs-h3);
  color: var(--blue-neon);
}

.card p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  color: var(--green);
}

/* Neon-framed panel, echoing the original product pages */
.neon-panel {
  position: relative;
  background: var(--surface);
  border: 3px solid var(--green);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 6px var(--blue-deep), 0 0 26px var(--green-glow);
  padding: clamp(24px, 4vw, 40px);
}

/* ---------- Products page ---------- */

.product {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  scroll-margin-top: 24px;
}

.product + .product {
  margin-top: 40px;
}

.product-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.product-logo {
  background: var(--text);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.product-logo.is-dark {
  background: transparent;
  padding: 0;
}

.product-knob {
  width: 150px;
  opacity: 0.55;
}

.product h2 {
  color: var(--blue-neon);
  margin-bottom: 4px;
}

.product-tagline {
  color: var(--green);
  font-weight: 700;
  margin-bottom: 16px;
}

.product-meta {
  color: var(--text-muted);
  font-size: var(--fs-small);
  margin-bottom: 18px;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.checklist li {
  position: relative;
  padding-left: 26px;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
}

/* ---------- Prose (about / privacy) ---------- */

.prose {
  max-width: 70ch;
}

.prose h2 {
  font-size: 1.4rem;
  color: var(--blue-neon);
  margin-top: 1.8em;
}

.prose ul {
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose .section-title {
  margin-top: 0;
  font-size: var(--fs-h2);
  color: var(--blue-soft);
}

.prose .note {
  color: var(--text-dim);
  font-size: var(--fs-small);
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 3px solid var(--blue-deep);
}

.timeline li {
  position: relative;
  padding: 0 0 22px 24px;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--green);
}

.timeline strong {
  display: block;
  color: var(--blue-soft);
}

.timeline span {
  color: var(--text-muted);
  font-size: var(--fs-small);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
}

.contact-cards {
  grid-template-columns: 1fr;
  align-content: start;
}

.contact-email {
  font-size: clamp(1.2rem, 2.6vw, 1.8rem);
  font-weight: 700;
  word-break: break-word;
}

/* ---------- CTA band ---------- */

.cta-band {
  text-align: center;
}

.cta-band .lede {
  margin: 0 auto;
}

.cta-band .actions {
  justify-content: center;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px var(--gutter);
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 56px;
}

.footer-brand strong {
  display: block;
  color: var(--blue-soft);
  font-size: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--green);
}

/* ---------- Background worlds (js/worlds.js) ---------- */
/* One world per page, loud in the hero and gone under the reading. */

.world-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(420px, 68vh, 640px);
  display: flex;
  align-items: center;
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  background: var(--bg);
}

.world-hero .world {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: -2;
}

/* Darkens the side the text sits on, then fades the art into the page below */
.world-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 55%, var(--bg) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0) 72%);
}

.world-hero.is-dim .world {
  opacity: 0.45;
}

.world-hero.is-short {
  min-height: clamp(360px, 52vh, 500px);
}

.world-hero.scanlines::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.28) 0 1px, transparent 1px 3px);
}

.world-hero > .container {
  width: 100%;
}

.world-hero .hero-copy {
  max-width: 560px;
}

.world-hero .lede {
  color: var(--text);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}

/* ---------- Product page ---------- */

.product-logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.product-logo-row .product-logo {
  width: 220px;
}

.product-links {
  margin-top: 22px;
  font-weight: 700;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 8px;
}

.steps strong {
  display: block;
  color: var(--blue-neon);
  font-size: var(--fs-h3);
  margin-bottom: 6px;
}

.steps span {
  color: var(--text-muted);
}

/* ---------- Lab: control room ---------- */

.gauges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gauge {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}

.gauge-dial {
  --level: 0.5;
  position: relative;
  width: 120px;
  aspect-ratio: 1;
  margin: 0 auto 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--surface) 0 58%, transparent 59%),
    conic-gradient(from 225deg, var(--green) 0 calc(var(--level) * 270deg), var(--line) 0 270deg, transparent 0);
}

.gauge-dial img {
  position: absolute;
  inset: 22%;
  width: 56%;
  transform: rotate(calc(-135deg + var(--level) * 270deg));
}

.gauge h3 {
  font-size: 1.05rem;
  color: var(--blue-neon);
  margin-bottom: 4px;
}

.gauge p {
  color: var(--text-muted);
  font-size: var(--fs-small);
  margin: 0;
}

.status-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.status-light::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
}

.status-light.is-on::before {
  background: var(--green);
  box-shadow: 0 0 10px var(--green-glow);
}

.status-light.is-warm::before {
  background: var(--blue-neon);
  box-shadow: 0 0 10px var(--blue-glow);
}

/* ---------- Lab: pipeline ---------- */

.pipeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.pipeline > li {
  padding: 22px;
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.pipeline > li:last-child {
  border-right: none;
}

.pipeline h3 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.pipeline ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.pipeline ul li {
  border: 1px solid var(--blue-deep);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--blue-soft);
  font-weight: 700;
}

.pipeline ul li span {
  display: block;
  color: var(--text-muted);
  font-weight: 400;
  font-size: var(--fs-small);
}

.pipeline .empty {
  color: var(--text-dim);
  font-size: var(--fs-small);
}

@media (max-width: 1024px) {
  .gauges,
  .pipeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .pipeline > li:nth-child(2) {
    border-right: none;
  }

  .pipeline > li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {



  .world-scrim {
    background:
      linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, var(--bg) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.72) 45%, rgba(0, 0, 0, 0.35) 100%);
  }
}

@media (max-width: 560px) {
  .gauges,
  .pipeline {
    grid-template-columns: 1fr;
  }

  .pipeline > li {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .pipeline > li:last-child {
    border-bottom: none;
  }
}

/* ---------- Concept board pieces ---------- */

/* Minimal dark hero (board 09): same spacing and type as a world hero, no art */
.world-hero.is-minimal {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(44, 175, 255, 0.12), transparent 60%),
    var(--bg);
}

.world-hero.is-minimal .world-scrim {
  display: none;
}

.world-hero.is-minimal.is-short {
  min-height: 0;
  padding-bottom: 0;
}

/* Scroll cue (board 10) */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid var(--blue-neon);
  border-radius: 50%;
  color: var(--blue-neon);
}

.scroll-cue svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-cue:hover {
  color: var(--green);
  border-color: var(--green);
}

/* Product family (board 08) */
.dial-tag {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dial-item.is-more img {
  opacity: 0.45;
}

.dial-item.is-more .dial-name {
  color: var(--text-muted);
}

.checklist.is-single {
  grid-template-columns: 1fr;
}

/* Lab note (board 04) */
.lab-note {
  margin-bottom: 24px;
  max-width: 760px;
}

.lab-note-id,
.lab-note-loop,
.stack li {
  font-family: var(--mono);
  text-transform: uppercase;
}

.lab-note-id {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.lab-note-loop {
  font-weight: 500;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  letter-spacing: 0.04em;
  color: var(--gold);
}

.lab-note p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

/* Blueprint stack (board 06) */
.stack {
  list-style: none;
  margin: 0;
  padding: 16px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(110, 193, 255, 0.07) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, rgba(110, 193, 255, 0.07) 1px, transparent 1px) 0 0 / 16px 16px,
    #021327;
}

.stack li {
  position: relative;
  border: 1px solid rgba(110, 193, 255, 0.55);
  background: #031a33;
  padding: 12px 16px;
  letter-spacing: 0.1em;
  color: #cfe8ff;
}

.stack li + li::before {
  content: '';
  position: absolute;
  left: 24px;
  top: -11px;
  width: 1px;
  height: 10px;
  background: var(--green);
}

/* Footer line (board header): Ideas ~ Software → Real-world good */
.footer-motto {
  max-width: var(--content-max);
  margin: 20px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-motto svg {
  width: 90px;
  height: 16px;
  fill: none;
  stroke: var(--blue-neon);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 4px var(--blue-glow));
}

/* Partner sign in */
.login-form {
  max-width: 460px;
  display: grid;
  gap: 10px;
}

.login-form label {
  font-weight: 700;
  color: var(--blue-soft);
}

.login-form input {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--blue-deep);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 8px;
}

.login-form input:focus-visible {
  border-color: var(--green);
}

.login-form .btn {
  justify-content: center;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.form-error {
  color: #ff8a7a;
  min-height: 1.2em;
  margin: 0;
}

.login-form .note {
  color: var(--text-muted);
  font-size: var(--fs-small);
  margin: 0;
}

/* Field notes (board 07) */
.note-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--content-max);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page .note-tabs {
  margin-inline: max(var(--gutter), calc((100% - var(--content-max)) / 2));
}

.note-tabs a {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px 12px;
  color: var(--blue-neon);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--surface);
}

.note-tabs a + a {
  border-left: 1px solid var(--line);
}

.note-tabs svg {
  width: 30px;
  height: 30px;
}

.note-tabs a:hover {
  color: var(--green);
}

.notes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.note h3 {
  font-size: var(--fs-h3);
  color: var(--blue-neon);
  margin-bottom: 6px;
}

.note p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.note .note-link {
  margin-top: 12px;
  font-weight: 700;
}

.note-tag {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.note.is-empty {
  border-style: dashed;
  border-top-style: solid;
  background: transparent;
}

/* ---------- Responsive ---------- */

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

  .product {
    grid-template-columns: 1fr;
  }

  .product-mark {
    align-items: flex-start;
    text-align: left;
  }

  .product-logo {
    max-width: 280px;
  }
}

@media (max-width: 860px) {
  :root {
    --knob-nav: 52px;
    --knob-feature: 132px;
  }









  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .checklist {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .dial {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .dial-item a {
    flex-direction: row;
    text-align: left;
    gap: 16px;
  }

  .dial-item img {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
  }

  .dial-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dial-name {
    display: block;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* ---------- FAQ (home, products and product pages) ---------- */
/* Each item is a visible question and answer; tools/seo.mjs reads these for the FAQPage JSON-LD. */

.container.faq-wrap {
  max-width: 760px;
}

.faq .section-head {
  text-align: center;
}

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

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

.faq-q {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.03em;
  font-size: var(--fs-h3);
  color: var(--blue-neon);
  margin-bottom: 8px;
}

.faq-a {
  color: var(--text-muted);
  margin: 0;
}

/* Card headings that sit at h2 level (contact page) */
.card .card-title {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.03em;
  font-size: var(--fs-h3);
  color: var(--blue-neon);
}

/* ---------- About page: one centred column, lots of air ---------- */

.about-hero > .container {
  display: flex;
  justify-content: center;
  text-align: center;
}

.world-hero.about-hero .hero-copy {
  max-width: 680px;
  margin-inline: auto;
}

.about-hero .lede {
  margin-inline: auto;
}

.about-hero .actions {
  justify-content: center;
}

/* Even, centred shading instead of the usual left-side scrim */
.about-hero .world-scrim {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 55%, var(--bg) 100%),
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.38) 60%, rgba(0, 0, 0, 0.1) 100%);
}

.page > main > .section.about-body {
  padding-block: clamp(64px, 9vw, 120px);
}

.about-stack {
  display: grid;
  gap: clamp(72px, 10vw, 136px);
}

.about-block {
  min-width: 0;
}

.about-column,
.about-head {
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
}

.about-head {
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

.about-head p:last-child,
.about-column p:last-child {
  margin-bottom: 0;
}

.about-more {
  text-align: center;
  font-weight: 700;
  margin: clamp(28px, 4vw, 44px) 0 0;
}

/* "So far": evenly spaced steps on one line, joined by a rule through the dots */
.about-timeline {
  --step-gap: 24px;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--step-gap);
}

.about-timeline::before {
  content: '';
  position: absolute;
  top: 7px;
  left: calc((100% - 4 * var(--step-gap)) / 10);
  right: calc((100% - 4 * var(--step-gap)) / 10);
  height: 2px;
  background: var(--blue-deep);
}

.about-timeline li {
  position: relative;
  padding-top: 38px;
  text-align: center;
}

.about-timeline li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--green);
  box-shadow: 0 0 10px var(--green-glow);
}

.about-timeline strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--blue-soft);
  margin-bottom: 6px;
}

.about-timeline span {
  display: block;
  color: var(--text-muted);
  font-size: var(--fs-small);
}

/* "How we build": four equal cards, two by two */
.about-principles {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 880px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(16px, 2.4vw, 28px);
}

.about-principles .card {
  padding: clamp(24px, 3vw, 36px);
}

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

.about-cta > .container {
  max-width: 760px;
}

@media (max-width: 1100px) {
  .about-timeline {
    grid-template-columns: minmax(0, 36ch);
    justify-content: center;
    gap: 0;
  }

  .about-timeline::before {
    display: none;
  }

  .about-timeline li:not(:last-child)::after {
    content: '';
    display: block;
    width: 2px;
    height: 28px;
    margin: 18px auto;
    background: var(--blue-deep);
  }
}

@media (max-width: 700px) {
  .about-principles {
    grid-template-columns: minmax(0, 1fr);
  }
}
