/* ScaleAlytics redesign — 2026
   Brand colors from the live Canva site, modernized for a 2025–26 agency look.
   Headings & wordmark: Plus Jakarta Sans
   UI/body: Outfit
*/

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #002f69;
  --navy-deep: #06101f;
  --navy-mid: #0a3a80;
  --accent: #0087ff;
  --accent-btn: #0072eb;
  --accent-btn-hover: #0066d6;
  --accent-ink: #0056b8;
  --accent-soft: #8ec9ff;
  --ice: #f3f6fb;
  --paper: #f7f8fc;
  --white: #ffffff;
  --ink: #0c1628;
  --muted: #44536a;
  --line: rgba(0, 47, 105, 0.10);
  --line-strong: rgba(0, 47, 105, 0.18);
  --display: "Plus Jakarta Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: "Outfit", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 4.35rem;
  --radius: 1.5rem;
  --radius-sm: 1rem;
  --radius-pill: 999px;
  --shadow: 0 18px 50px rgba(6, 16, 31, 0.10);
  --shadow-lg: 0 28px 70px rgba(6, 16, 31, 0.16);
  --glow: 0 10px 28px rgba(0, 114, 235, 0.32);
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 0.65em;
}
h1 { font-size: clamp(2.25rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 650; letter-spacing: -0.02em; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  color: var(--navy);
  padding: 0.6rem 1rem;
  z-index: 2000;
  border-radius: 10px;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}
.container-narrow { width: min(720px, calc(100% - 3rem)); margin-inline: auto; }

/* Header — fixed glassy navy */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: #eef4ff;
  background: rgba(6, 16, 31, 0.55);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(6, 16, 31, 0.82);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
  border-bottom-color: rgba(255,255,255,0.10);
}
.site-header .header-inner {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #f4f7ff;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img { width: 34px; height: 34px; }
.logo span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #f4f7ff;
}
.logo:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: #eef4ff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: absolute;
  left: 12px;
  border-radius: 1px;
  transition: transform 0.2s var(--ease), top 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}
.nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.35rem;
  list-style: none;
}
.nav a {
  color: rgba(238,244,255,0.82);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
  padding: 0.45rem 0.7rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav > ul > li > a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.nav-item { position: relative; }
.nav-item .submenu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 280px;
  background: rgba(255,255,255,0.97);
  color: var(--ink);
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 0.4rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  z-index: 20;
}
.nav-item .submenu a {
  color: var(--navy);
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 0.7rem;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
}
.nav-item .submenu a:hover { background: var(--ice); color: var(--navy); }
.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.35rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s var(--ease);
}
.btn:focus-visible, .nav a:focus-visible, .logo:focus-visible, .nav-toggle:focus-visible, .hero-pills a:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--accent-btn);
  color: #fff;
  border-color: var(--accent-btn);
  box-shadow: var(--glow);
}
.btn-primary:hover { background: var(--accent-btn-hover); color: #fff; border-color: var(--accent-btn-hover); transform: translateY(-1px); }
.btn-light {
  background: var(--ice);
  color: var(--navy);
  border-color: var(--ice);
}
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: #f4f7ff;
  border-color: rgba(238,244,255,0.28);
}
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }
.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); color: #fff; transform: translateY(-1px); }
.header-cta { margin-left: 0.45rem; padding: 0.55rem 1.05rem; font-size: 0.88rem; box-shadow: 0 6px 18px rgba(0, 114, 235, 0.28); }

/* Hero */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: #eef4ff;
  overflow: hidden;
  padding: calc(var(--header-h) + 3.2rem) 0 4.5rem;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 45% at 78% 30%, rgba(0, 135, 255, 0.28), transparent 60%),
    radial-gradient(35% 40% at 15% 80%, rgba(0, 47, 105, 0.9), transparent 70%),
    radial-gradient(50% 50% at 50% 0%, rgba(10, 58, 128, 0.55), transparent 65%),
    linear-gradient(180deg, #06101f 0%, #002f69 55%, #06101f 100%);
}
.hero-grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  opacity: 0.7;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: min(var(--max), calc(100% - 3rem));
}
.eyebrow {
  font-family: var(--sans);
  font-weight: 560;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 1.15rem;
}
.hero h1 {
  color: #fff;
  margin: 0 0 1.35rem;
  font-size: clamp(2.55rem, 6.4vw, 5.1rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 12ch;
}
.hero h1 span { display: block; }
.hero .lede {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: rgba(238,244,255,0.86);
  max-width: 30rem;
  margin-bottom: 2rem;
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin-top: 2.1rem;
}
.hero-pills a {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: rgba(238,244,255,0.82);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.hero-pills a:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.28); }

.hero-panel {
  position: relative;
  min-height: 28rem;
}
.hero-viz {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,135,255,0.08), 0 0 80px rgba(0,135,255,0.18);
  backdrop-filter: blur(8px);
  aspect-ratio: 1 / 1.02;
}
.hero-viz svg { width: 100%; height: 100%; display: block; }
.hero-photo {
  position: absolute;
  right: -6%;
  bottom: -8%;
  width: min(58%, 17.5rem);
  height: 10.5rem;
  margin: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: var(--shadow-lg);
  background: var(--navy);
  line-height: 0;
}
.hero-photo picture { display: block; width: 100%; height: 100%; }
.hero-photo img, .hero-photo picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

/* Sections */
.section { padding: clamp(4.25rem, 8vw, 7.25rem) 0; }
.section-header { max-width: 40rem; margin-bottom: 2.75rem; }
.section-actions { margin-top: 1.6rem; }
.rule {
  width: 2.6rem;
  height: 3px;
  background: var(--accent-btn);
  margin: 0 0 1.25rem;
  border: 0;
  border-radius: 99px;
}
.kicker {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 0.75rem;
}
.lede-body { font-size: 1.14rem; color: var(--muted); line-height: 1.7; }

.section-ice { background: var(--ice); }
.section-navy { background: var(--navy-deep); color: #eef4ff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .kicker { color: var(--accent-soft); }
.section-navy .lede-body, .section-navy p { color: rgba(238,244,255,0.82); }
.section-paper { background: var(--paper); }

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}
.about-intro h2 { margin-bottom: 0; max-width: 14ch; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split img, .split picture img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.frame-photo { position: relative; }
.frame-photo::before {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 50%;
  height: 50%;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(0,135,255,0.25), rgba(0,47,105,0.15));
  z-index: 0;
}
.frame-photo picture, .frame-photo img { position: relative; z-index: 1; }

/* Bento service cards */
.bento, .card-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-areas:
    "feat paid aud"
    "feat seo seo";
  gap: 1rem;
}
.bento .card:nth-child(1),
.card-grid.bento-home .card:nth-child(1) { grid-area: feat; }
.bento .card:nth-child(2),
.card-grid.bento-home .card:nth-child(2) { grid-area: paid; }
.bento .card:nth-child(3),
.card-grid.bento-home .card:nth-child(3) { grid-area: aud; }
.bento .card:nth-child(4),
.card-grid.bento-home .card:nth-child(4) { grid-area: seo; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.55rem 1.45rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 10px 30px rgba(6,16,31,0.04);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s ease;
}
a.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(0,114,235,0.28);
  color: inherit;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}
.card-num {
  font-family: var(--display);
  font-weight: 700;
  color: var(--accent-ink);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.card-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  background: rgba(0, 114, 235, 0.08);
  color: var(--accent-ink);
  flex-shrink: 0;
}
.card-icon svg { width: 1.15rem; height: 1.15rem; }
.card h3 { margin-bottom: 0.5rem; color: var(--navy); }
.card p { color: var(--muted); flex: 1; }
.card-link {
  margin-top: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}
.card-link::after { content: " →"; color: var(--accent-ink); }

.card-featured {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0a3a80 0%, #002f69 55%, #06101f 100%);
  border-color: rgba(255,255,255,0.08);
  color: #eef4ff;
  box-shadow: 0 20px 50px rgba(0, 47, 105, 0.28), 0 0 40px rgba(0, 135, 255, 0.12);
  min-height: 0;
}
.card-featured > * { position: relative; z-index: 1; }
.card-featured::after {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  right: -5rem;
  bottom: -6rem;
  background: radial-gradient(circle, rgba(0,135,255,0.38), transparent 68%);
  pointer-events: none;
}
.card-featured h3 { color: #fff; font-size: clamp(1.45rem, 2vw, 1.85rem); }
.card-featured p { color: rgba(238,244,255,0.82); }
.card-featured .card-num { color: var(--accent-soft); }
.card-featured .card-icon { background: rgba(255,255,255,0.1); color: #fff; }
.card-featured .card-link { color: #fff; }
.card-featured .card-link::after { color: var(--accent-soft); }
a.card-featured:hover { border-color: rgba(142,201,255,0.4); box-shadow: 0 24px 60px rgba(0, 47, 105, 0.35), 0 0 50px rgba(0, 135, 255, 0.2); }

/* Process */
.process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.process li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.5rem;
  box-shadow: 0 10px 30px rgba(6,16,31,0.04);
  position: relative;
}
.process-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
  margin-bottom: 1.1rem;
}
.process h3 { font-size: 1.15rem; margin-bottom: 0.55rem; }
.process p { color: var(--muted); font-size: 0.98rem; }
.process-visual {
  margin-top: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #1a1a1a;
}
.process-visual picture { display: block; width: 100%; }
.process-visual img, .process-visual picture img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center 72%;
}

/* CTA band */
.section-cta { padding-top: 0; }
.cta-band {
  position: relative;
  color: #eef4ff;
  background: linear-gradient(135deg, #06101f 0%, #002f69 48%, #0a3a80 100%);
  border-radius: 2rem;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.6rem, 5vw, 4rem);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.cta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 80% at 90% 20%, rgba(0,135,255,0.35), transparent 60%),
    radial-gradient(40% 60% at 10% 90%, rgba(0,135,255,0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.cta-band .cta-copy { position: relative; z-index: 1; max-width: 38rem; }
.cta-band h2 { color: #fff; max-width: 16ch; }
.cta-band p { color: rgba(238,244,255,0.86); font-size: 1.12rem; margin-bottom: 1.6rem; }

/* Page hero */
.page-hero {
  background: var(--navy-deep);
  color: #eef4ff;
  padding: calc(var(--header-h) + 3.2rem) 0 3.6rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 80% at 90% 0%, rgba(0,135,255,0.28), transparent 60%),
    radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: auto, 28px 28px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero .lede { max-width: 36rem; color: rgba(238,244,255,0.86); font-size: 1.15rem; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  font-size: 0.86rem;
  margin: 0 0 1.35rem;
  color: rgba(238,244,255,0.62);
}
.breadcrumb a { color: rgba(238,244,255,0.82); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: rgba(238,244,255,0.35);
}

/* Placeholder */
.placeholder {
  border: 1.5px dashed var(--line-strong);
  background: repeating-linear-gradient(-45deg, rgba(0,47,105,0.03), rgba(0,47,105,0.03) 8px, transparent 8px, transparent 16px);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}
.placeholder-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--navy);
  color: #eef4ff;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  margin-bottom: 0.45rem;
}
.placeholder p, .placeholder li { color: var(--muted); font-size: 0.95rem; }
.site-footer .placeholder {
  border-color: rgba(238,244,255,0.16);
  background: rgba(255,255,255,0.03);
}
.site-footer .placeholder-label {
  background: rgba(255,255,255,0.1);
  color: rgba(238,244,255,0.8);
}
.site-footer .placeholder p { color: rgba(238,244,255,0.58); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.contact-list { list-style: none; display: grid; gap: 1.2rem; }
.contact-list h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.contact-list a { font-weight: 600; }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 1rem; }
.form label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
.form .hint { font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.form input, .form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: var(--ice);
  color: var(--ink);
}
.form input:focus, .form textarea:focus {
  outline: 3px solid rgba(0,114,235,0.28);
  border-color: var(--accent-btn);
  background: #fff;
}
.form textarea { min-height: 8rem; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.8rem; }
.form-success {
  display: none;
  padding: 0.8rem 1rem;
  background: #e8f6ee;
  border: 1px solid #bfe0cb;
  color: #14532d;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}
.form-success.is-visible { display: block; }
.form-error {
  display: none;
  padding: 0.8rem 1rem;
  background: #fde8e8;
  border: 1px solid #f0c0c0;
  color: #8b1e1e;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}
.form-error.is-visible { display: block; }
.form button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: wait;
}
.honey {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.form { position: relative; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(238,244,255,0.78);
  padding: 3.8rem 0 1.6rem;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 2rem;
  margin-bottom: 2.6rem;
}
.site-footer .logo span, .site-footer .logo { color: #f4f7ff; }
.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.95rem;
  font-weight: 600;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: rgba(238,244,255,0.78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(238,244,255,0.55);
}

/* Misc */
.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.2rem; }
.service-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
  align-items: start;
}
.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1.2rem);
  box-shadow: 0 10px 30px rgba(6,16,31,0.04);
}
.side-card h2 { font-size: 1.25rem; }
.side-card ul { list-style: none; }
.side-card a { color: var(--navy); font-weight: 500; text-decoration: none; }
.side-card a:hover { text-decoration: underline; }
.side-card li { margin: 0.45rem 0; }

.error-page { text-align: center; padding: 8rem 1.25rem 6rem; }
.error-page h1 { font-size: clamp(3rem, 8vw, 5.5rem); margin-bottom: 0.3em; }

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .split, .about-intro, .contact-grid, .service-layout, .footer-grid,
  .process {
    grid-template-columns: 1fr 1fr;
  }
  .bento, .card-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "feat feat"
      "paid aud"
      "seo seo";
  }
  .hero { min-height: 0; padding: calc(var(--header-h) + 2.4rem) 0 3.4rem; }
  .hero h1 { max-width: none; font-size: clamp(2.3rem, 9vw, 3.6rem); }
  .hero-panel { min-height: 0; }
  .hero-viz { aspect-ratio: 4 / 3; }
  .hero-photo { width: 46%; bottom: -6%; }
  .hero-photo img, .hero-photo picture img { height: 8rem; }
  .card-featured { min-height: 0; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(6, 16, 31, 0.96);
    backdrop-filter: blur(18px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1.25rem 1.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    max-height: calc(100svh - var(--header-h));
    overflow: auto;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li > a { display: block; padding: 0.85rem 0.55rem; border-radius: 0.7rem; }
  .nav-item .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    box-shadow: none;
    border: 0;
    min-width: 0;
    padding: 0 0 0.4rem 0.9rem;
  }
  .nav-item .submenu a { color: rgba(238,244,255,0.82); padding: 0.5rem 0.4rem; }
  .nav-item .submenu a:hover { background: rgba(255,255,255,0.06); color: #fff; }
  .nav > ul > li > a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent-soft); }
  .nav.is-open .header-cta {
    display: inline-flex;
    margin: 0.9rem 0 0.5rem;
    align-self: flex-start;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .frame-photo::before { display: none; }
  .side-card { position: static; }
  .hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container, .container-narrow, .site-header .header-inner, .hero-inner { width: calc(100% - 1.6rem); }
  .bento, .card-grid, .process, .footer-grid, .split, .about-intro, .contact-grid, .service-layout {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }
  .bento .card, .card-grid .card { grid-area: auto; }
  .logo span { font-size: 1.05rem; }
  .hero { padding: calc(var(--header-h) + 1.8rem) 0 3.6rem; }
  .hero-pills { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-pills a { font-size: 0.75rem; padding: 0.42rem 0.5rem; justify-content: center; width: 100%; }
  .hero-photo { width: 52%; height: 8rem; right: 4%; bottom: -1.2rem; }
  .hero-panel { margin-bottom: 1.2rem; }
  .cta-band { border-radius: 1.35rem; }
}

@media print {
  .site-header, .nav-toggle, .hero-actions, .form, .hero-bg, .hero-panel, .cta-glow { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; }
  .hero, .page-hero { padding-top: 1rem; color: #000; background: #fff; }
  .hero h1, .page-hero h1 { color: #000; }
}

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

/* Header CTA uses the full “Book a 20-minute workflow review” phrase. */
.header-cta {
  font-size: 0.78rem;
  padding: 0.5rem 0.85rem;
  white-space: nowrap;
  line-height: 1.2;
  flex-shrink: 0;
}
@media (max-width: 1180px) and (min-width: 901px) {
  .nav { gap: 0.1rem 0.45rem; }
  .nav ul { gap: 0; }
  .nav a { padding: 0.4rem 0.45rem; font-size: 0.86rem; }
  .header-cta {
    font-size: 0.7rem;
    padding: 0.42rem 0.62rem;
    margin-left: 0.15rem;
  }
  .site-header .header-inner { gap: 0.45rem; }
}
@media (max-width: 900px) {
  .nav.is-open .header-cta {
    white-space: normal;
    text-align: center;
    font-size: 0.92rem;
    padding: 0.75rem 1rem;
    align-self: stretch;
  }
}

/* Five-card services grid */
.bento-five {
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-areas:
    "feat feat auto"
    "paid aud seo";
}
.bento-five .card:nth-child(1) { grid-area: feat; }
.bento-five .card:nth-child(2) { grid-area: auto; }
.bento-five .card:nth-child(3) { grid-area: paid; }
.bento-five .card:nth-child(4) { grid-area: aud; }
.bento-five .card:nth-child(5) { grid-area: seo; }
@media (max-width: 900px) {
  .bento-five {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "feat feat"
      "auto paid"
      "aud seo";
  }
}
@media (max-width: 640px) {
  .bento-five {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }
  .bento-five .card { grid-area: auto; }
}

/* Guides teaser, article, hub, offer */
.guides-teaser .guides-grid,
.related-guides ul,
.hub-grid {
  list-style: none;
  padding: 0;
  margin: 0;
}
.guides-grid,
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.guide-card,
.hub-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem 1.2rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(6, 16, 31, 0.04);
  transition: transform 0.18s var(--ease), box-shadow 0.18s ease, border-color 0.18s ease;
}
a.guide-card:hover,
a.hub-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 114, 235, 0.28);
  box-shadow: var(--shadow);
  color: inherit;
}
.guide-card .kicker,
.hub-card .kicker,
.article-meta {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 600;
}
.guide-card h3,
.hub-card h2,
.hub-card h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--navy);
  margin: 0;
}
.guide-card p,
.hub-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.guide-card .card-link { margin-top: auto; }

.article-header .byline {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(238,244,255,0.82);
}
.article-header .byline a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.article-header .byline a:hover { color: #fff; }
.article-header .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 0.55rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  color: rgba(238,244,255,0.82);
}
.article-wrap {
  width: min(68ch, calc(100% - 3rem));
  margin: 0 auto;
  padding: 2.6rem 0 4rem;
}
.article-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--ink);
}
.article-body p { margin: 0 0 1.15rem; }
.article-body h2 {
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.3;
  color: var(--navy);
  margin: 2.4rem 0 0.8rem;
}
.article-body h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--navy);
  margin: 1.8rem 0 0.6rem;
}
.article-body ul, .article-body ol { margin: 0 0 1.2rem; padding-left: 1.25rem; }
.article-body li { margin: 0.3rem 0; }
.article-body a { text-decoration-thickness: 1px; text-underline-offset: 0.14em; }

.tldr {
  background: var(--ice);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem 1.2rem;
  border-left: 4px solid var(--accent);
  margin: 0 0 2rem;
}
.tldr-label {
  font-family: var(--display);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tldr ul { margin: 0; padding-left: 1.15rem; }
.tldr li { margin: 0.35rem 0; color: var(--ink); }

.example-box {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.35rem 0.4rem;
  margin: 1.7rem 0;
  box-shadow: var(--shadow);
}
.example-box .example-label {
  font-family: var(--display);
  font-weight: 700;
  color: var(--accent-ink);
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.example-box p { font-size: 1.05rem; }

.article-faq { margin-top: 3rem; }
.article-faq h2 { margin-bottom: 0.6rem; }
.article-faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 0;
}
.article-faq summary {
  cursor: pointer;
  font-weight: 650;
  font-family: var(--display);
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.4;
}
.article-faq summary:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; }
.article-faq details p { margin: 0.7rem 0 0.2rem; color: var(--muted); }

.article-cta {
  margin-top: 2.6rem;
  padding: 1.6rem 1.7rem 1.7rem;
  background: var(--navy-deep);
  color: #eef4ff;
  border-radius: var(--radius);
}
.article-cta h2 { color: #fff; font-size: 1.35rem; margin: 0 0 0.55rem; }
.article-cta p { color: rgba(238,244,255,0.82); margin: 0 0 1.1rem; }
.article-cta .hero-actions { margin: 0; }

.related-guides { margin-top: 3rem; }
.related-guides h2 { margin-bottom: 0.9rem; }
.related-guides ul {
  display: grid;
  gap: 0.7rem;
}
.related-guides a { font-weight: 600; }

.hub-intro { max-width: 40rem; }
.hub-group { margin-top: 2.4rem; }
.hub-group h2 { margin-bottom: 0.9rem; }

.offer-steps {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 1rem;
}
.offer-steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
}
.offer-steps .process-num { margin-bottom: 0.45rem; }
.going-further {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .guides-grid, .hub-grid { grid-template-columns: 1fr; }
  .header-cta { white-space: normal; text-align: center; }
}

/* How-to section */
.howto-teaser .howto-card img,
.hub-card img,
.howto-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-sm) - 2px);
  margin: 0 0 0.7rem;
  background: var(--ice);
}
.direct-answer {
  background: var(--ice);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem 1.15rem;
  border-left: 4px solid var(--accent);
  margin: 0 0 1.8rem;
}
.direct-answer-label {
  font-family: var(--display);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.direct-answer p { margin: 0 0 0.7rem; }
.direct-answer p:last-child { margin-bottom: 0; }

.howto-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.howto-meta strong { color: var(--navy); font-weight: 650; }

.need-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  gap: 0.45rem;
}
.need-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.7rem 0.95rem;
}

.howto-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  counter-reset: howto;
  display: grid;
  gap: 1.25rem;
}
.howto-steps > li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem 1.05rem;
  counter-increment: howto;
}
.howto-steps > li h3 {
  margin-top: 0;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.howto-steps > li h3::before {
  content: counter(howto, decimal-leading-zero);
  font-family: var(--display);
  color: var(--accent-ink);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
  margin-top: 0.2rem;
}
.figure-illus {
  margin: 1rem 0 0.2rem;
}
.figure-illus img,
.figure-illus picture img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.figure-illus figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.45rem;
}

.prompt-box {
  background: var(--navy-deep);
  color: #eef4ff;
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  margin: 1rem 0 0.4rem;
}
.prompt-box .example-label,
.prompt-box .prompt-label {
  color: var(--accent-soft);
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.prompt-box pre {
  white-space: pre-wrap;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  color: #f4f7ff;
}

.howto-video {
  margin: 0 0 1.8rem;
  background: var(--navy-deep);
  border-radius: var(--radius);
  overflow: hidden;
}
.howto-video video {
  display: block;
  width: 100%;
  height: auto;
  background: #06101f;
}
.howto-video figcaption {
  font-size: 0.85rem;
  color: rgba(238,244,255,0.75);
  padding: 0.65rem 1rem 0.85rem;
}

.why-help {
  background: var(--ice);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.4rem 1.15rem;
  margin: 2rem 0 1.2rem;
}
.why-help h2 { margin-top: 0; }

.hub-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  align-items: baseline;
  margin: 0 0 1.5rem;
}
.hub-toolbar a { font-weight: 600; }
