/* ---------- Self-hosted fonts (replaces Google Fonts request chain) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cinzel-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cinzel-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Kael Rune Media — Global Stylesheet
   Palette derived from brand logo: obsidian black, teal/cyan, silver
   ========================================================================== */

:root {
  /* Brand palette (approximated from logo — swap for exact hex once you
     export brand colors from the source logo file) */
  --black: #060708;
  --black-soft: #0c0e11;
  --surface: #121417;
  --surface-alt: #181b1f;
  --border: #23272d;

  --teal: #22c5c9;
  --teal-bright: #4fe9e5;
  --teal-deep: #0e6e73;
  --teal-glow: rgba(34, 197, 201, 0.35);

  --silver: #eef1f3;
  --silver-dim: #b9c0c6;
  --text-muted: #8b949c;

  --white: #ffffff;

  --success: #3ddc97;
  --warn: #f2b84b;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.45);
  --shadow-teal: 0 0 0 1px rgba(34, 197, 201, 0.25), 0 10px 30px rgba(34, 197, 201, 0.12);

  --max-width: 1180px;

  --font-display: "Cinzel", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--black);
  color: var(--silver);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--white);
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }

p { margin: 0 0 1em; color: var(--silver-dim); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 0.9em;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--teal);
  display: inline-block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--black-soft); }

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { font-size: 1.05rem; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--teal);
  color: var(--black);
  padding: 12px 20px;
  z-index: 1000;
  font-weight: 700;
}
.skip-link:focus { left: 16px; top: 16px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  position: relative;
  background: linear-gradient(135deg, var(--teal) 0%, #159197 100%);
  color: var(--black);
  box-shadow: 0 8px 24px var(--teal-glow);
  overflow: hidden;
}
.btn--primary:hover { box-shadow: 0 10px 32px var(--teal-glow); filter: brightness(1.08); transform: translateY(-1px); }
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn--primary:hover::after { left: 130%; }

.btn--secondary {
  background: transparent;
  color: var(--silver);
  border-color: var(--border);
}
.btn--secondary:hover { border-color: var(--teal); color: var(--teal-bright); }

.btn--block { width: 100%; }
.btn--lg { padding: 16px 34px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  /* Solid (not translucent+blurred) background intentionally: backdrop-filter
     on this element would make it the CSS containing block for any
     position:fixed descendant (like the mobile .nav-links menu below),
     breaking full-viewport positioning of the mobile menu. */
  background: rgba(6, 7, 8, 0.97);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--white);
}
.brand-text .name span { color: var(--teal-bright); }
.brand-text .tag {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--teal);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--silver-dim);
  position: relative;
  padding: 6px 2px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--teal);
}

/* Nav dropdown ("Services" jump menu) */
.nav-item--dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-item--dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-item--dropdown .chevron { flex-shrink: 0; transition: transform 0.15s ease; }
.nav-item--dropdown:hover .chevron,
.nav-item--dropdown:focus-within .chevron { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  /* No margin-top here on purpose: a gap between the trigger link and this
     panel would create a dead zone where the mouse leaves the hoverable
     area while moving from the link down into the menu, closing it before
     a click can land. The box starts flush against the trigger instead;
     the visual breathing room comes from padding-top (still inside the
     hoverable box) rather than margin (outside it). */
  margin-top: 0;
  display: flex;
  gap: 28px;
  background: #0d0f10;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 30px 20px 18px;
  min-width: 460px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 600;
}
.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown-col { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nav-dropdown-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 4px 10px 8px;
}
.nav-dropdown a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--silver-dim);
  padding: 8px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.nav-dropdown a:hover { color: var(--white); background: rgba(34,197,201,0.08); }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  color: var(--silver);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1050px) {
  .nav-links {
    position: fixed;
    inset: 70px 0 0 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 6px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-top: 1px solid var(--border);
    overflow-y: auto;
  }
  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a { width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .nav-cta { gap: 10px; }
  .nav-cta .btn--secondary { display: none; }
  .nav-cta .btn--primary { padding: 10px 14px; font-size: 0.8rem; white-space: normal; text-align: center; line-height: 1.15; max-width: 150px; }

  /* Nav dropdown collapses to an always-visible indented sub-list on mobile
     (no JS required — content stays visible even if JS fails, matching this
     site's no-hidden-content-pending-JS approach elsewhere). */
  .nav-item--dropdown {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .nav-item--dropdown > a { width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .nav-item--dropdown .chevron { display: none; }
  .nav-dropdown {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: none;
    border: none;
    box-shadow: none;
    padding: 4px 0 8px 14px;
    margin-top: 0;
    min-width: 0;
    width: 100%;
  }
  .nav-dropdown-col { gap: 0; }
  .nav-dropdown-heading { padding: 10px 4px 6px; }
  .nav-dropdown a { width: 100%; padding: 11px 4px; border-bottom: 1px solid var(--border); font-size: 0.82rem; border-radius: 0; }
  .nav-dropdown a:hover { background: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 420px) {
  .brand-text .name { font-size: 1.05rem; }
  .brand-text .tag { font-size: 0.66rem; }
  .nav-cta .btn--primary { max-width: 126px; padding: 9px 10px; font-size: 0.75rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: -1;
  background:
    radial-gradient(600px 300px at 15% 0%, var(--teal-glow), transparent 60%),
    radial-gradient(500px 300px at 100% 20%, rgba(34,197,201,0.14), transparent 60%);
  animation: auroraDrift 20s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-2.5%, 2%) scale(1.06); }
  100% { transform: translate(2%, -2.5%) scale(1.02); }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 0.4em; }
.hero .lede {
  font-size: 1.15rem;
  max-width: 540px;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 0.7s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0 28px;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 0.9s forwards;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: heroFadeUp 0.7s ease 1.1s forwards;
}
.trust-bar span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--silver-dim);
  font-weight: 600;
}
.trust-bar svg { color: var(--teal); flex-shrink: 0; }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface) 0%, var(--black-soft) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}
.hero-visual .mock-browser {
  background: var(--surface-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.mock-browser .mock-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #0d0f12;
  border-bottom: 1px solid var(--border);
}
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: #33383f; }
.mock-body { padding: 22px; }
.mock-score {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.mock-score .score-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
}
.mock-score .score-card b { display: block; font-size: 1.4rem; color: var(--teal-bright); font-family: var(--font-display); }
.mock-score .score-card small { color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }

@media (max-width: 900px) {
  .split-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

/* ---------- Logo cloud / trust strip ---------- */
.marquee-strip {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--black-soft);
}
.marquee-strip p {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.marquee-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  color: var(--silver-dim);
  font-family: var(--font-display);
  font-size: 1rem;
  opacity: 0.7;
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(34,197,201,0.4);
  box-shadow: var(--shadow-teal);
}
.card .icon-badge { margin-bottom: 18px; transition: transform 0.3s ease, background 0.3s ease; }
.card:hover .icon-badge { transform: rotate(-6deg) scale(1.08); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--teal-bright);
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(34,197,201,0.18), rgba(34,197,201,0.04));
  border: 1px solid rgba(34,197,201,0.3);
  color: var(--teal-bright);
}

/* ---------- Process steps ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
@media (max-width: 980px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }

.process-step {
  position: relative;
  padding: 24px 18px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.process-step .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--teal);
  opacity: 0.5;
  display: block;
  margin-bottom: 10px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.process-step p { font-size: 0.9rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--surface);
  border: 1px dashed rgba(34,197,201,0.35);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
}
.testimonial-card .placeholder-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-bright);
  background: rgba(34,197,201,0.1);
  border: 1px solid rgba(34,197,201,0.3);
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.testimonial-card p { font-style: italic; color: var(--silver-dim); }
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}
.testimonial-person .who { font-size: 0.85rem; }
.testimonial-person .who b { display: block; color: var(--white); }

/* ---------- Stats ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 760px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-row .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--teal-bright);
}
.stat-row .stat span { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- Pricing ---------- */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.is-featured {
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
  transform: translateY(-8px);
}
.pricing-card .badge {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--teal);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.pricing-card .price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--white);
  margin: 10px 0 4px;
}
.pricing-card .price small { font-size: 0.95rem; color: var(--text-muted); font-family: var(--font-body); }
.pricing-card .price-note { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 22px; }
.pricing-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex-grow: 1; }
.pricing-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--silver-dim); }
.pricing-card li svg { color: var(--teal); flex-shrink: 0; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: var(--white);
  font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--teal);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; }
.faq-item .faq-body p { margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-deep) 0%, #0a3436 60%, var(--black) 100%);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34,197,201,0.35);
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { max-width: 560px; margin: 0 auto 30px; color: var(--silver-dim); }
.cta-banner .hero-actions { justify-content: center; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  padding: 70px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand p { max-width: 280px; font-size: 0.9rem; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-bright);
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 0.9rem; color: var(--silver-dim); }
.footer-col a:hover { color: var(--teal-bright); }
.footer-col address { font-style: normal; font-size: 0.9rem; color: var(--silver-dim); line-height: 1.8; }

.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--silver-dim);
}
.social-row a:hover { border-color: var(--teal); color: var(--teal-bright); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--teal-bright); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 64px 0 56px;
  text-align: center;
  background: radial-gradient(500px 260px at 50% 0%, var(--teal-glow), transparent 65%);
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { justify-content: center; }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--teal-bright); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--silver); }
.field label .req { color: var(--teal-bright); }
.field input, .field select, .field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 10px; }

/* ---------- Radio group (contact preference) ---------- */
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--silver-dim);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.radio-option input[type="radio"] {
  accent-color: var(--teal);
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.radio-option:has(input:checked) { border-color: var(--teal); color: var(--white); }

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.contact-info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-row:last-child { border-bottom: none; }
.contact-info-row h4 { margin: 0 0 4px; font-size: 0.95rem; color: var(--white); font-family: var(--font-body); }
.contact-info-row p { margin: 0; font-size: 0.9rem; }

/* ---------- Portfolio ---------- */
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.portfolio-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--surface-alt), var(--black-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  text-align: center;
  padding: 20px;
}
.portfolio-body { padding: 22px 24px; }
.portfolio-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tag-chip {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-bright);
  background: rgba(34,197,201,0.1);
  border: 1px solid rgba(34,197,201,0.28);
  padding: 4px 10px;
  border-radius: 20px;
}
.tag-chip--concept {
  color: var(--warn);
  background: rgba(242,184,75,0.1);
  border-color: rgba(242,184,75,0.32);
}

/* ---------- Blog ---------- */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34,197,201,0.4);
  box-shadow: var(--shadow-teal);
}
.blog-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--surface-alt), var(--black-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  color: var(--teal);
}
.blog-body { padding: 22px 24px; }
.blog-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.blog-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.blog-card p { font-size: 0.92rem; }

.article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 8px;
}

.article-wrap { max-width: 760px; margin: 0 auto; }
.cta-inline { display: flex; gap: 14px; flex-wrap: wrap; margin: 8px 0 34px; }
.cta-inline .btn svg { margin-right: 6px; vertical-align: -3px; }
.article-body h2 { margin-top: 1.9em; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin-top: 1.5em; }
.article-body p { font-size: 1.05rem; }
.article-body ul, .article-body ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 0.55em; color: var(--silver-dim); font-size: 1.02rem; }
.article-body li::marker { color: var(--teal); }
.article-body strong { color: var(--white); }
.article-body blockquote {
  border-left: 3px solid var(--teal);
  padding: 4px 0 4px 22px;
  margin: 1.8em 0;
  color: var(--silver);
  font-style: italic;
  font-size: 1.05rem;
}
.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.6em 0;
}
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }

.related-posts-head { text-align: center; margin-bottom: 34px; }

/* ---------- Values / about ---------- */
.value-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 640px) { .value-list { grid-template-columns: 1fr; } }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.notice-box {
  background: rgba(242, 184, 75, 0.08);
  border: 1px solid rgba(242, 184, 75, 0.35);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: #f2c76b;
}

/* ---------- Motion: hero headline word reveal ---------- */
/* Pure CSS, no JS dependency, so the headline is always visible even if
   scripts fail to load — it just fades up on its own via animation-fill-mode. */
.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em);
  animation: wordUp 0.7s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes wordUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Motion: scroll reveal (progressive enhancement) ----------
   Default state is fully visible. The .js-reveal-ready class is only added
   by main.js when IntersectionObserver is supported, so content stays
   visible for no-JS users, slow connections, and crawlers/AI bots. */
.js-reveal-ready .section-head,
.js-reveal-ready .card,
.js-reveal-ready .pricing-card,
.js-reveal-ready .process-step {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(.2,.7,.2,1), transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.js-reveal-ready .section-head.is-visible,
.js-reveal-ready .card.is-visible,
.js-reveal-ready .pricing-card.is-visible,
.js-reveal-ready .process-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.js-reveal-ready .grid > .card:nth-child(2),
.js-reveal-ready .grid > .pricing-card:nth-child(2) { transition-delay: 0.08s; }
.js-reveal-ready .grid > .card:nth-child(3),
.js-reveal-ready .grid > .pricing-card:nth-child(3) { transition-delay: 0.16s; }
.js-reveal-ready .grid > .card:nth-child(4),
.js-reveal-ready .grid > .pricing-card:nth-child(4) { transition-delay: 0.24s; }
.js-reveal-ready .split-grid > .card:nth-child(2) { transition-delay: 0.1s; }
.js-reveal-ready .process-step:nth-child(2) { transition-delay: 0.08s; }
.js-reveal-ready .process-step:nth-child(3) { transition-delay: 0.16s; }
.js-reveal-ready .process-step:nth-child(4) { transition-delay: 0.24s; }
.js-reveal-ready .process-step:nth-child(5) { transition-delay: 0.32s; }

/* ---------- Motion: accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .reveal-word { animation: none; opacity: 1; transform: none; }
  .hero .lede, .hero-actions, .trust-bar { animation: none; opacity: 1; transform: none; }
  .js-reveal-ready .section-head,
  .js-reveal-ready .card,
  .js-reveal-ready .pricing-card,
  .js-reveal-ready .process-step {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .btn--primary::after { display: none; }
  .card:hover .icon-badge { transform: none; }
}


/* ==========================================================================
   Accessibility & readability improvements — July 2026 audit
   ========================================================================== */

/* Visible keyboard focus (was missing entirely) */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Comfortable touch targets (invisible hit-area enlargement) */
.card-link { padding: 12px 6px; margin: 2px -6px -12px; }
.footer-col li { margin-bottom: 14px; }
.footer-col a { display: inline-block; padding: 8px 4px; margin: -8px -4px; }
.footer-bottom a { display: inline-block; padding: 10px 4px; margin: -10px -4px; }
.breadcrumbs a { display: inline-block; padding: 10px 4px; margin: -10px -4px; }
.social-row a { width: 44px; height: 44px; }
.nav-dropdown a { padding-top: 12px; padding-bottom: 12px; }

/* Mobile hero clipping fix: grid children were forced wider than the screen
   by the 4-up score-card row's minimum content width, and .hero's
   overflow:hidden silently clipped the headline off the right edge. */
.hero-grid > * { min-width: 0; }
@media (max-width: 560px) {
  .mock-score { flex-wrap: wrap; }
  .mock-score .score-card { flex: 1 1 40%; }
  .eyebrow { letter-spacing: 0.1em; white-space: normal; text-align: left; }
}
