/* ==========================================================================
   ActiveAdsNext – styles.css
   Palette derived from the brand mark: deep navy, teal, sky cyan.
   Type: Space Grotesk (headings), Inter (body), IBM Plex Mono (small labels).
   Square corners everywhere. Solid colours; the only "pattern" is a subtle
   dot grid on dark surfaces.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  /* Brand palette */
  --navy-deep: #072736;
  --navy: #0B3549;
  --navy-soft: #164257;
  --teal: #2F6873;
  --teal-soft: #3E7C87;
  --cyan: #3FC0DD;
  --cyan-deep: #1FA0C0;
  --cyan-pale: #DEF4F9;
  --btn-accent: #17879F;
  --btn-accent-hover: #106A80;

  /* Neutrals */
  --bg: #F6FAFB;
  --bg-alt: #EEF6F7;
  --surface: #FFFFFF;
  --ink: #12262E;
  --ink-soft: #4B6672;
  --ink-faint: #7C929A;
  --border: #DCE8EA;
  --border-soft: #E9F1F2;

  /* Utility */
  --green: #2B8A5E;
  --red: #C24A3F;

  /* Type */
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Layout */
  --max-width: 1200px;
  --gutter: 20px;
  --shadow-sm: 0 1px 2px rgba(7, 39, 54, 0.06), 0 1px 1px rgba(7, 39, 54, 0.04);
  --shadow-md: 0 8px 24px rgba(7, 39, 54, 0.10);
  --shadow-lg: 0 20px 48px rgba(7, 39, 54, 0.14);

  --header-h: 76px;
  --logo-h: 52px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
address { font-style: normal; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* No rounded corners anywhere, including browser-default form controls */
input, select, textarea, button { border-radius: 0; }

::selection { background: var(--cyan); color: var(--navy-deep); }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy-deep);
  color: #fff;
  padding: 10px 14px;
  z-index: 300;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 15em;
}
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h2.h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 14px;
}

p { color: var(--ink-soft); max-width: 36em; }
.lead { font-size: 1.08rem; max-width: 32em; }

/* Section titles and card titles: a very subtle underline appears when the
   pointer is anywhere on the section (or card) they belong to */
.section h2, .partners h2, .card h3, .step h3, .brand-list h3 {
  width: fit-content;
  max-width: 100%;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
  transition: text-decoration-color .35s ease, text-underline-offset .35s ease;
}
.section:hover h2, .partners:hover h2, .card:hover h3, .step:hover h3, .brand-list li:hover h3 {
  text-decoration-color: var(--cyan-deep);
  text-underline-offset: 0.22em;
}

/* ---------- Buttons & links ---------- */
.btn, .social-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  background: var(--btn-accent);
  color: #fff;
  border: 2px solid var(--btn-accent);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover, .social-cta:hover {
  background: var(--btn-accent-hover);
  border-color: var(--btn-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(16, 106, 128, 0.32);
}
.btn:active, .social-cta:active { transform: none; box-shadow: none; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.88rem; }
.btn-block { width: 100%; white-space: normal; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover {
  background: transparent;
  border-color: var(--cyan-deep);
  color: var(--cyan-deep);
  box-shadow: none;
}
.btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }

.social-cta { margin-top: 16px; }
.social-cta svg { width: 18px; height: 18px; fill: currentColor; }

.text-link {
  font-weight: 500;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 5px;
  transition: text-decoration-color .2s ease, color .2s ease;
}
.text-link:hover { color: var(--cyan-deep); text-decoration-color: var(--cyan-deep); }

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- Preloader ---------- */
.preloader { display: none; }
.js .preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  background: var(--surface);
  transition: opacity .5s ease, visibility .5s ease;
}
.preloader img { width: min(260px, 64vw); height: auto; animation: pulse 1.6s ease-in-out infinite; }
.preloader-bar { width: min(260px, 64vw); height: 3px; background: var(--border); overflow: hidden; }
.preloader-bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  animation: load 1.8s var(--ease) forwards;
}
.preloader.done .preloader-bar span { animation: none; transform: scaleX(1); transition: transform .25s ease; }
.preloader.hide { opacity: 0; visibility: hidden; }
@keyframes load { to { transform: scaleX(.88); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .72; } }

/* ---------- Cursor ring ---------- */
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2000;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
  will-change: transform;
}
.cursor-ring.on { opacity: 1; }
.cursor-ring span {
  position: absolute;
  left: -19px;
  top: -19px;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(63, 192, 221, .85);
  border-radius: 50%;
  background: rgba(63, 192, 221, .08);
  transition: transform .3s var(--ease), background-color .3s ease, border-color .3s ease;
}
.cursor-ring.hover span { transform: scale(1.5); background: rgba(63, 192, 221, .14); border-color: var(--cyan); }
.cursor-ring.down span { transform: scale(.8); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  column-gap: 20px;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; padding: 6px 0; }
.brand img { height: var(--logo-h); width: auto; }

/* Desktop-only parts of the header are hidden on phones/tablets */
.primary-nav, .header-actions { display: none; }

.primary-nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  transition: color .2s ease;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.primary-nav a:hover { color: var(--cyan-deep); }
.primary-nav a:hover::after { transform: scaleX(1); }

.socials { display: flex; align-items: center; gap: 2px; }
.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--navy);
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.socials a:hover { color: var(--cyan-deep); background: var(--bg-alt); transform: translateY(-1px); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

/* Burger */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform .3s var(--ease), opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu { border-top: 1px solid var(--border); background: var(--surface); }
.mobile-menu[hidden] { display: none; }
.mobile-menu:not([hidden]) { animation: menuIn .3s var(--ease); }
.mobile-menu .container { padding-top: 8px; padding-bottom: 22px; display: grid; gap: 4px; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  padding: 16px 4px;
  border-bottom: 1px solid var(--border-soft);
  font-weight: 500;
  color: var(--navy);
}
.mobile-menu nav a:hover { color: var(--cyan-deep); }
.mobile-menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.mobile-menu .socials { margin-left: -8px; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Sections
   ========================================================= */
section[id] { scroll-margin-top: calc(var(--header-h) - 4px); }

/* Clear hairline between sections */
.section {
  padding: 64px 0;
  position: relative;
}
.section + .section,
.section + .section-soft,
.section-soft + .section,
.section-soft + .section-soft {
  border-top: 1px solid var(--border);
}

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

.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { margin-top: 12px; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  padding: 64px 0 72px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(63, 192, 221, 0.16) 1.5px, transparent 1.5px);
  background-size: 34px 34px;
  opacity: .6;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

/* Soft eyebrow: plain text with a short rule, no pill */
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #8FB3BD;
}
.hero .eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(63, 192, 221, 0.6);
}

.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lead { color: #B9D2D9; font-size: 1.08rem; max-width: 34em; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 32px; }
.hero .text-link { color: #E7F3F6; text-decoration-color: rgba(255, 255, 255, .35); }
.hero .text-link:hover { color: var(--cyan); text-decoration-color: var(--cyan); }

/* Quietly prominent: brighter, larger, with a thin cyan rule */
.hero-note {
  margin-top: 40px;
  padding-left: 16px;
  border-left: 2px solid var(--cyan);
  font-size: 1.02rem;
  color: #D4E6EB;
}

/* Globe illustration (desktop and large screens only) */
.hero-globe { display: none; }
.hero-globe .edge {
  fill: none;
  stroke: rgba(63, 192, 221, 0.75);
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
  animation: dashFlow 5s linear infinite;
}
.hero-globe .edge.slow { animation-duration: 8s; }
.hero-globe .node-pulse {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.4;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 3.2s ease-out infinite;
}
.hero-globe .node-pulse.delay { animation-delay: 1.4s; }
.hero-globe .globe-labels text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  fill: #9FC1CB;
}
@keyframes dashFlow { to { stroke-dashoffset: -240; } }
@keyframes nodePulse {
  0% { opacity: .7; transform: scale(.6); }
  70% { opacity: 0; transform: scale(2.4); }
  100% { opacity: 0; }
}
@keyframes globeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Trust ---------- */
.trust {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  text-align: center;
}
.trust p {
  margin: 0 auto;
  max-width: none;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ---------- Cards & sliders ---------- */
.slider { display: grid; gap: 22px; }

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
/* soft cyan border always present, clear cyan on hover */
.card {
  border-color: rgba(63, 192, 221, 0.55);
  box-shadow: 0 0 0 1px rgba(63, 192, 221, 0.08);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--cyan);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.93rem; }

.ticks { margin-top: 20px; display: grid; gap: 12px; font-size: 0.93rem; color: var(--ink); }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.4em;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
}

.also { margin-top: 28px; font-size: 0.93rem; }

/* ---------- Process ---------- */
.step { position: relative; padding-top: 6px; display: flex; }

/* White box with a pointed right edge */
.step-box {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid rgba(63, 192, 221, 0.55);
  padding: 22px 26px 24px;
  box-shadow: 0 0 0 1px rgba(63, 192, 221, 0.08), var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.step-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--cyan);
}
/* the pointed arrow on the right */
.step-box::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 22px;
  height: 22px;
  background: var(--surface);
  border-right: 1px solid rgba(63, 192, 221, 0.55);
  border-bottom: 1px solid rgba(63, 192, 221, 0.55);
  transform: translateY(-50%) rotate(-45deg);
  transition: border-color .25s ease;
}
.step-box:hover::after {
  border-color: var(--cyan);
}
/* hide the arrow on the last step, both desktop and mobile */
.steps > .step:last-child .step-box::after { display: none; }

/* Equal-height boxes */
.steps.cols-4 {
  align-items: stretch;
}
.steps .step { min-height: 100%; }
.step-box p { flex-grow: 0; }

.step-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan-deep);
}
.step-num::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--cyan-deep);
}
.step h3 { margin-bottom: 8px; font-size: 1.05rem; }
.step p { font-size: 0.92rem; }

/* ---------- Testimonials ---------- */
.quote { justify-content: space-between; gap: 24px; }
.quote blockquote p { color: var(--ink); font-size: 0.98rem; line-height: 1.65; max-width: none; }
.quote figcaption {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
  border-top: 1px solid rgba(122, 160, 170, 0.55);
  font-size: 0.88rem;
  color: var(--navy);
}
.quote figcaption strong { font-weight: 600; }
.quote figcaption span { color: var(--ink-faint); }
.early-note {
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  font-size: 0.9rem;
  max-width: 46em;
}

/* ---------- Brand band ---------- */
.brand-band {
  display: grid;
  gap: 28px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.brand-band > div > p { margin-top: 12px; }
.brand-list { display: grid; gap: 22px; }
.brand-list li { padding-left: 18px; border-left: 2px solid var(--cyan); }
.brand-list h3 { font-size: 1.05rem; margin-bottom: 4px; }
.brand-list p { font-size: 0.93rem; }

/* Social gallery: three evenly spaced images, slider on phones */
.brand-band + .social-gallery { margin-top: 28px; }
.gallery-item {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--cyan); }
.gallery-item img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- About ---------- */
.about { display: grid; gap: 32px; align-items: center; }
.about-photo {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: var(--navy-soft);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about-photo .initials { display: none; }
.about-photo.no-photo { display: grid; place-items: center; }
.about-photo.no-photo .initials {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.03em;
}

/* the copy sits in a white card that touches the photo */
.about-copy {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 30px 26px 28px;
}
.about-copy h2 { margin-bottom: 8px; }
.about-copy .role {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}
.about-copy p + p { margin-top: 14px; }

/* the paperclip near the top-right edge */
.about-clip {
  position: absolute;
  top: 10px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--teal-soft);
  pointer-events: none;
  transform: rotate(-18deg);
  filter: drop-shadow(0 1px 1px rgba(7, 39, 54, .12));
}
.about-clip svg { width: 30px; height: 30px; }

/* ---------- Forms ---------- */
.contact { max-width: 760px; }

.form {
  display: grid;
  gap: 18px;
  padding: 28px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.field { display: flex; flex-direction: column; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: grid; gap: 18px; }

label, legend { font-size: 0.84rem; font-weight: 500; color: var(--navy); padding: 0; }
.opt { font-weight: 400; color: var(--ink-faint); }

input[type="text"], input[type="email"], input[type="url"], input[type="tel"], select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--border);
  font: inherit;
  font-size: 1rem; /* prevents iOS zoom */
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
input::placeholder, textarea::placeholder { color: var(--ink-faint); }
textarea { resize: vertical; min-height: 100px; }
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234B6672'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.19l3.71-3.96a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 36px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--cyan-deep);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(63, 192, 221, 0.14);
}
input:disabled { background: var(--bg-alt); color: var(--ink-faint); cursor: not-allowed; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }

.phone-group { display: grid; grid-template-columns: 124px 1fr; gap: 8px; }
.check-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 2px;
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--ink-soft);
  cursor: pointer;
}
.check-line input { width: 17px; height: 17px; margin: 0; accent-color: var(--cyan-deep); flex-shrink: 0; }

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

.form-error { color: var(--red); font-size: 0.9rem; font-weight: 500; }
.form-note { font-size: 0.78rem; color: var(--ink-faint); text-align: center; max-width: none; }
.form-note a { color: var(--btn-accent-hover); font-weight: 500; }
.form-note a:hover { text-decoration: underline; }

/* Optional contact details disclosure (phone + Teams ID) */
.contact-extra {
  border: 1px solid var(--border-soft);
  background: var(--bg);
}
.contact-extra summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
}
.contact-extra summary::-webkit-details-marker { display: none; }
.contact-extra summary:hover { color: var(--cyan-deep); }
.contact-extra-icon {
  width: 12px;
  height: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.contact-extra[open] .contact-extra-icon { transform: rotate(180deg); }
.contact-extra-body {
  display: grid;
  gap: 18px;
  padding: 4px 14px 16px;
  animation: menuIn .3s var(--ease);
}

.confirmation {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 44px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.confirmation[hidden] { display: none; }
.confirmation:not([hidden]) { animation: menuIn .5s var(--ease); }
.confirmation p { max-width: 380px; }
.check {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--cyan-pale);
  color: var(--cyan-deep);
}
.check svg { width: 30px; height: 30px; }

/* ---------- Publishers ---------- */
.partners { padding: 48px 0; }
.partners-details {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.partners-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
}
.partners-details summary::-webkit-details-marker { display: none; }
.partners-details summary:focus-visible { outline-offset: 6px; }
.partners-sub { display: block; margin-top: 8px; color: var(--ink-soft); font-size: 0.93rem; max-width: 38em; }
.partners-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  background: var(--btn-accent);
  border: 2px solid var(--btn-accent);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.partners-toggle svg {
  width: 12px;
  height: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s var(--ease);
}
.partners-details summary:hover .partners-toggle {
  background: var(--btn-accent-hover);
  border-color: var(--btn-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(16, 106, 128, 0.32);
}
.partners-details[open] .partners-toggle svg { transform: rotate(180deg); }
.partners-toggle .lbl-close, .partners-details[open] .partners-toggle .lbl-open { display: none; }
.partners-details[open] .partners-toggle .lbl-close { display: inline; }
.partners-body {
  margin-top: 24px;
  padding-top: 26px;
  border-top: 1px solid var(--border-soft);
  animation: menuIn .4s var(--ease);
}
.form.form-compact {
  gap: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.partners-body .confirmation { padding: 32px 20px; box-shadow: none; background: var(--bg); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy-deep);
  color: #9FBAC3;
  padding: 56px 0 28px;
  font-size: 0.9rem;
}
.footer-grid { display: grid; gap: 36px; padding-bottom: 8px; }

.site-footer .footer-name {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.site-footer .footer-name:hover { color: var(--cyan); }
.footer-brand p { margin: 14px 0 16px; color: #7FA0AA; font-size: 0.9rem; max-width: 280px; }
.footer-brand .socials { margin-left: -6px; }

.site-footer h4 { color: #E7F3F6; margin-bottom: 18px; }
.site-footer address { color: #9FBAC3; }
.site-footer address strong { color: #E7F3F6; font-weight: 600; }
.site-footer a { color: #9FBAC3; transition: color .2s ease, background-color .2s ease, transform .2s ease; }
.site-footer a:hover { color: var(--cyan); }
.site-footer .socials a { color: #9FBAC3; }
.site-footer .socials a:hover { color: var(--cyan); background: rgba(63, 192, 221, 0.1); }
.founder { margin-top: 14px; font-weight: 500; color: #E7F3F6; }
.founder span { font-weight: 400; color: #7FA0AA; }
.site-footer .mini-link {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 14px;
  border: 1.5px solid rgba(63, 192, 221, 0.4);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--cyan);
}
.site-footer .mini-link:hover { background: rgba(63, 192, 221, 0.1); border-color: var(--cyan); color: var(--cyan); }

.regs { display: grid; gap: 12px; }
.regs div { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.regs dt { color: #7FA0AA; min-width: 110px; }
.regs dd { flex-basis: 100%; font-family: var(--font-mono); font-size: 0.86rem; font-weight: 500; color: #E7F3F6; word-break: break-all; }

.legal-links { display: grid; gap: 11px; }
.legal-links a:hover, .legal-links .link-btn:hover { color: var(--cyan); }
.site-footer .link-btn { color: #9FBAC3; }
.site-footer .link-btn:hover { color: var(--cyan); }

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: grid;
  gap: 12px;
  color: #6E8D97;
  font-size: 0.84rem;
}
.footer-bottom p { color: #6E8D97; max-width: 46em; }
.footer-bottom a, .footer-bottom .link-btn { color: #9FBAC3; }
.footer-bottom a:hover, .footer-bottom .link-btn:hover { color: var(--cyan); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  right: 12px;
  left: auto;
  bottom: 12px;
  z-index: 150;
  display: grid;
  gap: 14px;
  width: calc(100% - 24px);
  max-width: 420px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner:not([hidden]) { animation: slideIn .5s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.cookie-banner p { max-width: none; }
.cookie-banner a { color: var(--btn-accent-hover); font-weight: 500; text-underline-offset: 3px; }
.cookie-banner a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; padding: 0 12px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .25s ease, box-shadow .25s ease;
}
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover, .js .gallery-item.reveal.in:hover { transform: translateY(-5px); }
.js .step.reveal.in:hover .step-box { transform: translateY(-4px); }

/* ---------- Sliders on phones ---------- */
.dots { display: none; }

@media (max-width: 767px) {
  .slider {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--gutter);
    margin: 0 calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .slider::-webkit-scrollbar { display: none; }
  .slider > * { flex: 0 0 82%; scroll-snap-align: start; }
  .slider.steps > * { flex-basis: 70%; }
  .dots { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }

  /* circular slider dots */
  .dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: background-color .25s ease, width .25s ease;
  }
  .dots button[aria-current="true"] { width: 10px; background: var(--cyan-deep); }

  .partners-details summary { flex-wrap: wrap; }

  /* keep the process arrow visible but reduce the offset so it doesn’t clip */
  .step-box::after { right: -10px; width: 18px; height: 18px; }

  /* on mobile sliders, equal-height is handled by the flex row itself */
  .step { display: block; }
  .step-box { height: 100%; }
}

@media (max-width: 359px) {
  :root { --logo-h: 44px; }
}

/* ---------- Tablet ---------- */
@media (min-width: 768px) {
  :root { --gutter: 28px; --header-h: 88px; --logo-h: 62px; }

  .section { padding: 88px 0; }
  .section-head { margin-bottom: 48px; }
  .hero { padding: 96px 0 104px; }
  .trust { padding: 20px 0; }

  .cols-3 { grid-template-columns: repeat(3, 1fr); }
  .steps.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 32px 26px; }

  .card { padding: 30px; }

  .brand-band { grid-template-columns: 1fr 1fr; padding: 40px; gap: 48px; align-items: center; }
  .brand-band + .social-gallery { margin-top: 36px; gap: 26px; }
  .about { grid-template-columns: 300px 1fr; gap: 0; }

  .about-copy {
    padding: 34px 36px 32px;
    margin-left: -1px; /* remove double border line between photo and card */
  }
  .about-clip { top: 12px; right: 22px; width: 42px; height: 42px; }
  .about-clip svg { width: 32px; height: 32px; }

  .form { padding: 40px; gap: 20px 22px; }
  .field-row { grid-template-columns: 1fr 1fr; gap: 20px 22px; }

  .partners { padding: 56px 0; }
  .partners-details { padding: 28px 32px; }

  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: start; gap: 32px; }

  .cookie-banner { right: 24px; bottom: 24px; width: 420px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  :root { --header-h: 92px; --logo-h: 66px; }

  .menu-toggle, .mobile-menu { display: none !important; }
  .primary-nav { display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1; }
  .header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

  .steps.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 26px; }

  /* Hero: text on the left, globe on the right */
  .hero .container > :not(.hero-globe) { max-width: 58%; }
  .hero-globe {
    --globe: min(440px, 36vw);
    display: block;
    position: absolute;
    right: var(--gutter);
    top: 50%;
    width: var(--globe);
    height: var(--globe);
    margin-top: calc(var(--globe) / -2);
    pointer-events: none;
    animation: globeFloat 9s ease-in-out infinite;
  }

  .about { grid-template-columns: 300px 1fr; gap: 0; }
  .about-copy {
    padding: 38px 42px 36px;
    margin-left: -1px;
  }
  .about-clip { top: 16px; right: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* =========================================================
   Legal pages
   ========================================================= */
.legal { padding: 48px 0 72px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.7rem); margin-bottom: 14px; }
.legal .updated {
  display: inline-block;
  margin-bottom: 2.2em;
  padding: 6px 12px;
  background: var(--bg-alt);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-faint);
}
.legal h2 { font-size: 1.3rem; margin: 2.1em 0 .6em; }
.legal p, .legal li { color: var(--ink-soft); font-size: 0.95rem; max-width: none; }
.legal p + p { margin-top: 12px; }
.legal strong { color: var(--navy); font-weight: 600; }
.legal ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: 8px; margin-top: 12px; }
.legal ul li::marker { color: var(--cyan-deep); }
.legal a { color: var(--btn-accent-hover); font-weight: 500; text-underline-offset: 3px; }
.legal a:hover { color: var(--cyan-deep); text-decoration: underline; }
.legal table {
  display: block;
  width: 100%;
  margin-top: 16px;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--surface);
}
.legal th, .legal td { text-align: left; padding: 12px 14px; border: 1px solid var(--border); vertical-align: top; color: var(--ink-soft); }
.legal th {
  background: var(--bg-alt);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--teal);
}
.legal .back-link { color: var(--teal); font-weight: 500; }
.legal .back-link:hover { color: var(--cyan-deep); text-decoration: none; }

/* ==========================================================================
   Board pins, paperclips and bookmarks
   ========================================================================== */

:root {
  /* Silver paperclip with a light highlight on the left of the wire */
  --paperclip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 90' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M25 5.5C21 1.5 15 1 10 3.2C5.5 5.2 4 9 4 14L4 76C4 84 9 88 14 88C20 88 24 84 24 76L24 30' stroke='%236B7C84' stroke-width='1.9'/%3E%3Cpath transform='translate(-0.45 0)' d='M25 5.5C21 1.5 15 1 10 3.2C5.5 5.2 4 9 4 14L4 76C4 84 9 88 14 88C20 88 24 84 24 76L24 30' stroke='%23EEF4F6' stroke-width='0.7' opacity='.85'/%3E%3C/svg%3E");

  /* Corner bookmark: a small triangle flap, navy with a cyan edge */
  --bookmark-corner: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M0 0H24L24 24L0 0Z' fill='%2317879F'/%3E%3Cpath d='M0 0L24 24' stroke='%233FC0DD' stroke-width='2' opacity='.65'/%3E%3C/svg%3E");
}

/* ---------- Board pins (Services + Free audit cards) ---------- */
#services .card,
#free-audit .card { position: relative; }

/* A different pin colour per section */
#services .card   { --pin: #E0524A; --pin-dark: #9E2B25; }   /* red   */
#free-audit .card { --pin: #F0AE2E; --pin-dark: #A87408; }   /* amber */

/* Pin head, sitting on the top right edge of the card */
#services .card::before,
#free-audit .card::before {
  content: "";
  position: absolute;
  top: -11px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .85) 0, rgba(255, 255, 255, 0) 28%),
    radial-gradient(circle at 50% 50%, var(--pin) 55%, var(--pin-dark) 100%);
  box-shadow: 0 3px 4px rgba(7, 39, 54, .25);
  z-index: 2;
  pointer-events: none;
}

/* Soft shadow the pin casts on the card */
#services .card::after,
#free-audit .card::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(7, 39, 54, .16);
  filter: blur(3px);
  z-index: 1;
  pointer-events: none;
}

/* Phone sliders scroll sideways and would clip the pin heads, so give them room on top */
@media (max-width: 767px) {
  #services .slider,
  #free-audit .slider { padding-top: 20px; }
}

/* ---------- Paperclips (Brand band + About) ----------
   Whole clip visible, hooked over the card's top right edge. */

/* About: reuses the existing .about-clip span (its old icon is hidden) */
.about-clip {
  top: -18px;
  right: 8px;
  width: 20px;
  height: 64px;
  transform: rotate(8deg);
  background: var(--paperclip) center / contain no-repeat;
  filter: drop-shadow(1px 2px 1.5px rgba(7, 39, 54, .3));
  z-index: 2;
}
.about-clip svg { display: none; }

/* Brand band ("Also for businesses and professionals"): drawn in CSS, no HTML needed */
.brand-band { position: relative; }
.brand-band::before {
  content: "";
  position: absolute;
  top: -18px;
  right: 8px;
  width: 20px;
  height: 64px;
  transform: rotate(8deg);
  background: var(--paperclip) center / contain no-repeat;
  filter: drop-shadow(1px 2px 1.5px rgba(7, 39, 54, .3));
  z-index: 2;
  pointer-events: none;
}

/* ---------- Corner bookmarks (Process cards) ----------
   A small folded corner sitting perfectly on the top-left edge. */
.step-box::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 12px;
  height: 12px;
  background: 
    linear-gradient(135deg, #17879F 50%, transparent 50%),
    linear-gradient(135deg, transparent 49%, #3FC0DD 51%, #3FC0DD 53%, transparent 55%);
  pointer-events: none;
  transition: filter .25s ease;
}

.step-box:hover::before {
  filter: brightness(1.1);
}
/* ==========================================================================
   v80 additions: app and SaaS niche restructure.
   Everything above this line is unchanged. These rules only add new pieces.
   ========================================================================== */

/* ---------- Active nav link ---------- */
.primary-nav a[aria-current="page"] { color: var(--cyan-deep); }
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-menu nav a[aria-current="page"] { color: var(--cyan-deep); }

/* ---------- Hero variants ---------- */
.hero-wide h1 { max-width: 18em; font-size: clamp(1.95rem, 4.4vw, 3.05rem); }
.hero-inner { padding: 48px 0 56px; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #8FB3BD;
}
.crumbs a { color: #B9D2D9; transition: color .2s ease; }
.crumbs a:hover { color: var(--cyan); }

/* ---------- Route cards (homepage router) ---------- */
.route-grid { display: grid; gap: 22px; }
.route-card { color: inherit; padding: 30px 26px; }
.route-card p { max-width: none; }
.route-tag {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}
.route-card h3 { font-size: 1.45rem; }
.route-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  font-weight: 500;
  color: var(--btn-accent-hover);
  transition: gap .2s ease, color .2s ease;
}
.route-card:hover .route-go { gap: 14px; color: var(--cyan-deep); }

/* ---------- Board pins on any section (red / amber) ---------- */
.pins-red .card, .pins-amber .card { position: relative; }
.pins-red .card { --pin: #E0524A; --pin-dark: #9E2B25; }
.pins-amber .card { --pin: #F0AE2E; --pin-dark: #A87408; }
.pins-red .card::before, .pins-amber .card::before {
  content: "";
  position: absolute;
  top: -11px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .85) 0, rgba(255, 255, 255, 0) 28%),
    radial-gradient(circle at 50% 50%, var(--pin) 55%, var(--pin-dark) 100%);
  box-shadow: 0 3px 4px rgba(7, 39, 54, .25);
  z-index: 2;
  pointer-events: none;
}
.pins-red .card::after, .pins-amber .card::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(7, 39, 54, .16);
  filter: blur(3px);
  z-index: 1;
  pointer-events: none;
}

/* ---------- Call-to-action row and band ---------- */
.cta-row { margin-top: 32px; }

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  padding: 56px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(63, 192, 221, 0.16) 1.5px, transparent 1.5px);
  background-size: 34px 34px;
  opacity: .6;
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; max-width: 20em; }
.cta-band p { margin-top: 12px; max-width: 36em; color: #B9D2D9; }
.cta-band .btn { margin-top: 26px; }

/* ---------- Quiet note band (partner traffic on the Apps page) ---------- */
.note-band {
  display: grid;
  gap: 18px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  box-shadow: var(--shadow-sm);
}
.note-band p { margin-top: 10px; max-width: 46em; font-size: 0.95rem; }
.note-band .text-link { justify-self: start; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); }
.faq details[open] { border-color: rgba(63, 192, 221, 0.55); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cyan-deep); }
.faq summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .3s var(--ease), margin .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq details p { padding: 0 18px 18px; max-width: none; font-size: 0.95rem; }

/* ---------- Sample audit output ---------- */
.sample {
  max-width: 820px;
  background: var(--surface);
  border: 1px solid rgba(63, 192, 221, 0.55);
  box-shadow: 0 0 0 1px rgba(63, 192, 221, 0.08), var(--shadow-md);
}
.sample-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 16px 22px;
  background: var(--navy-deep);
  color: #E7F3F6;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sample-head span:last-child { color: var(--cyan); }
.findings { counter-reset: finding; }
.findings li {
  position: relative;
  padding: 20px 22px 20px 62px;
  border-top: 1px solid var(--border-soft);
  counter-increment: finding;
}
.findings li:first-child { border-top: 0; }
.findings li::before {
  content: counter(finding, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 22px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan-deep);
}
.finding-tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  background: var(--cyan-pale);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.findings strong { display: block; color: var(--navy); font-weight: 600; }
.findings p { margin-top: 4px; max-width: none; font-size: 0.93rem; }
.sample-foot {
  padding: 16px 22px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  max-width: none;
  font-size: 0.9rem;
}

/* ---------- Footer: five columns ---------- */
@media (min-width: 768px) {
  .hero-inner { padding: 64px 0 72px; }
  .route-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .route-card { padding: 38px; }
  .route-card h3 { font-size: 1.7rem; }
  .cta-band { padding: 72px 0; }
  .note-band { grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 32px 36px; }
  .note-band .text-link { justify-self: end; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.3fr 0.8fr 1.2fr 1fr 1fr; }
  .hero.hero-inner .container > :not(.hero-globe) { max-width: 760px; }
}

@media (max-width: 767px) {
  .pins-red .slider, .pins-amber .slider { padding-top: 20px; }
}

/* ==========================================================================
   v81 additions: Publishers in the nav, inline form success note
   ========================================================================== */

/* Five nav links: keep them on one line and tighten the spacing on mid-size desktops */
.primary-nav a { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .primary-nav { gap: 0; }
  .primary-nav a { padding: 10px 11px; }
  .primary-nav a::after { left: 11px; right: 11px; }
  .header-actions { gap: 6px; }
  .header-actions .socials a { width: 32px; }
}

/* Thank-you message shown above a form after it has been sent; the form itself is emptied */
.success-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid rgba(43, 138, 94, 0.45);
  border-left: 3px solid var(--green);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.success-note[hidden] { display: none; }
.success-note:not([hidden]) { animation: menuIn .4s var(--ease); }
.success-note:focus { outline: none; }
.success-note .check { flex: none; width: 44px; height: 44px; background: #E3F4EC; color: var(--green); }
.success-note .check svg { width: 22px; height: 22px; }
.success-note h3 { margin-bottom: 2px; font-size: 1.05rem; }
.success-note p { max-width: none; font-size: 0.92rem; }

/* Link inside a section intro */
.section-head p .text-link { color: var(--btn-accent-hover); }
