:root {
  /* RankPath Labs brand system (Brand Guidelines: Typography & Color) */
  --blue: #0057e8;        /* Royal Blue: actions, links, symbol */
  --blue-600: #0047c2;    /* hover */
  --cyan: #00a6f5;        /* Cyan: AI/tech accents, gradients */
  --blue-50: #eff6ff;     /* Ice */
  --blue-100: #d6e6ff;
  --navy: #061638;        /* Navy: headings, primary text, dark sections */
  --navy-2: #0a2a5e;
  --ink: #061638;
  --text: #33425f;
  --muted: #5d6882;
  --line: #e1e8f4;
  --bg: #ffffff;
  --bg-soft: #eff6ff;     /* Ice */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(6, 22, 56, .04), 0 8px 24px rgba(6, 22, 56, .07);
  --shadow-lg: 0 24px 60px rgba(0, 60, 170, .16);
  --max: 1200px;
  /* One family for everything (Manrope); Noto Sans Thai picks up Thai text. */
  --font-head: "Manrope", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
/* Form controls and buttons don't inherit the page font by default */
button, input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
h3, h4 { font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol.steps { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(0, 87, 232, .45); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.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; }
.skip-link { position: absolute; left: 16px; top: -48px; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(0, 87, 232, .28); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(0, 87, 232, .34); }
.btn-outline { background: #fff; color: var(--ink); border-color: #c9d6ee; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-bar { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { width: auto; height: 32px; display: block; }
.footer-brand .logo img { height: 30px; }
.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--ink);
  padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-link:hover, .nav-item.open > .nav-link { color: var(--blue); background: var(--blue-50); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav-item.open .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.dropdown-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 8px 12px 4px; }
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1081px) {
  .nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: none; }
  .nav-item:hover .chev { transform: rotate(180deg); }
}
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; }
.dropdown a:hover { background: var(--bg-soft); }
.dropdown .dd-icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.dropdown .dd-icon svg { width: 18px; height: 18px; }
.dropdown strong { display: block; font-family: var(--font-head); font-size: 14.5px; color: var(--ink); }
.dropdown span.dd-desc { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.dropdown .dd-soon { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; cursor: default; }
.dropdown .dd-soon .dd-icon { background: var(--bg-soft); color: var(--muted); }
.dropdown .dd-soon strong { color: var(--muted); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch{font-size:13px;font-weight:700;color:var(--navy,#061638);text-decoration:none;padding:6px 10px;border-radius:999px;border:1px solid #d6e6ff;white-space:nowrap}
.lang-switch:hover{border-color:var(--royal,#0057e8);color:var(--royal,#0057e8)}
.region {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; background: #fff; white-space: nowrap;
}
@media (max-width: 1280px) { .nav-actions .region { display: none; } }
.region .flag { width: 20px; height: 14px; border-radius: 2px; overflow: hidden; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 30%, rgba(0, 87, 232, .14), transparent 60%),
    radial-gradient(700px 400px at 10% 0%, rgba(0, 166, 245, .14), transparent 60%),
    linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
  padding: 72px 0 88px;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.hero h1 .accent { color: var(--blue); display: block; }
.hero-lead { font-size: 19px; color: var(--text); margin-top: 22px; max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 24px 32px; margin-top: 40px; }
.proof { display: flex; align-items: center; gap: 12px; font-size: 13.5px; line-height: 1.35; color: var(--text); max-width: 170px; }
.proof-ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--blue); display: grid; place-items: center; }
.proof-ico svg { width: 20px; height: 20px; }

/* Hero visual */
.hero-visual { position: relative; min-height: 470px; }
.hv-orbit { position: absolute; left: 6%; right: 2%; top: 46%; height: 210px; border: 2px solid rgba(0, 87, 232, .16); border-radius: 50%; transform: rotate(-8deg); }
.card-float { position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid rgba(220, 230, 248, .9); }
.serp-card { left: 8%; top: 0; width: 56%; padding: 20px; z-index: 2; }
.g-logo { font-family: "Product Sans", var(--font-head); font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.g-logo span:nth-child(1), .g-logo span:nth-child(4) { color: #4285f4; }
.g-logo span:nth-child(2), .g-logo span:nth-child(6) { color: #ea4335; }
.g-logo span:nth-child(3) { color: #fbbc05; }
.g-logo span:nth-child(5) { color: #34a853; }
.serp-search { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; color: var(--ink); box-shadow: 0 2px 6px rgba(11, 22, 48, .06); }
.serp-search svg { width: 15px; height: 15px; color: var(--blue); }
.serp-body { display: grid; grid-template-columns: 1fr 96px; gap: 14px; margin-top: 16px; }
.serp-lines span { display: block; height: 7px; border-radius: 4px; background: #e6edf9; margin-bottom: 9px; }
.serp-lines span.b { background: #b8cdf6; width: 70%; }
.serp-lines span.s { width: 55%; }
.serp-lines span.m { width: 85%; }
.mini-map { border-radius: 10px; background: linear-gradient(135deg, #e7f3e4, #e3eefc); position: relative; overflow: hidden; height: 84px; }
.mini-map::before, .mini-map::after { content: ""; position: absolute; background: #fff; }
.mini-map::before { left: 0; right: 0; top: 46%; height: 6px; transform: rotate(-12deg); }
.mini-map::after { top: 0; bottom: 0; left: 52%; width: 6px; transform: rotate(10deg); }
.pin { position: absolute; width: 16px; height: 16px; z-index: 1; }
.ai-card { right: 0; top: 18px; width: 38%; padding: 18px; z-index: 3; }
.ai-card .ui-label { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--ink); }
.ai-card .ai-dot { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #7b5cff, #0057e8); display: grid; place-items: center; color: #fff; }
.ai-card .ai-dot svg { width: 13px; height: 13px; }
.ai-card p { font-size: 12.5px; color: var(--muted); margin: 8px 0 8px; line-height: 1.45; }
.ai-card ol { margin: 0; padding-left: 18px; font-size: 12.5px; color: var(--muted); }
.ai-card ol li { padding: 2px 0; }
.ai-card ol li:first-child { color: var(--blue); font-weight: 600; }
.growth-card { right: 2%; top: 49%; width: 36%; padding: 16px; z-index: 3; }
.growth-card strong { font-family: var(--font-head); font-size: 13px; color: var(--ink); }
.growth-card svg { margin-top: 8px; width: 100%; height: auto; }
.tile {
  position: absolute; display: grid; place-items: center; border-radius: 22px; background: linear-gradient(160deg, #ffffff, #eef3fd);
  box-shadow: 0 18px 40px rgba(0, 60, 170, .18), inset 0 -4px 0 rgba(0, 60, 170, .06); border: 1px solid #fff;
  font-family: var(--font-head); font-size: 12px; font-weight: 700; color: var(--ink); text-align: center;
}
.tile svg { width: 42%; height: auto; margin-bottom: 4px; }
.tile-maps { width: 104px; height: 104px; left: 0; top: 50%; transform: rotate(-10deg); z-index: 4; }
.tile-main { width: 168px; height: 168px; left: 31%; top: 50%; z-index: 5; border-radius: 34px; background: linear-gradient(160deg, #ffffff, #e3eeff); }
.tile-main img { width: 46%; height: auto; }
.tile-gpt { width: 96px; height: 96px; left: 66%; top: 72%; transform: rotate(10deg); z-index: 4; }
.tile-gem { width: 92px; height: 92px; right: 0; top: 80%; transform: rotate(14deg); z-index: 4; }

/* ---------- Services ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pillar { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.pillar-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.pillar-head h3 { font-size: 22px; }
.pillar-head .tag { font-size: 12.5px; font-weight: 600; color: var(--blue); background: #fff; border: 1px solid var(--blue-100); padding: 5px 10px; border-radius: 999px; }
.pillar-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.svc-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 18px; }
.svc-ico svg { width: 28px; height: 28px; }
.svc-card h4 { font-size: 18px; }
.svc-card p { font-size: 14.5px; color: var(--muted); margin-top: 8px; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--blue); }
.more svg { width: 15px; height: 15px; transition: transform .2s; }
.svc-card:hover .more svg, .ind-card:hover .more svg { transform: translateX(3px); }

/* ---------- Search everywhere (dark) ---------- */
.everywhere {
  position: relative; overflow: hidden; color: #c9d6f2;
  background:
    radial-gradient(800px 380px at 20% 120%, rgba(0, 87, 232, .45), transparent 60%),
    radial-gradient(700px 300px at 100% 0%, rgba(60, 120, 255, .25), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
}
.everywhere::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; pointer-events: none;
  background-image: radial-gradient(rgba(0, 166, 245, .45) 1px, transparent 1.2px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%);
  mask-image: linear-gradient(180deg, transparent, #000 70%);
}
.everywhere .container { position: relative; z-index: 1; }
.ev-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.everywhere .eyebrow { color: #5cc8ff; }
.everywhere h2 { color: #fff; font-size: clamp(30px, 3.8vw, 46px); }
.everywhere .lead { margin-top: 20px; font-size: 17px; max-width: 460px; }
.ev-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ev-panel { background: rgba(255, 255, 255, .05); border: 1px solid rgba(160, 190, 255, .2); border-radius: 18px; padding: 24px; backdrop-filter: blur(6px); }
.ev-panel h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.ev-panel .ev-sub { font-size: 13px; color: #8ea6d6; margin-bottom: 14px; }
.ev-panel li { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: #e5edff; font-size: 15px; font-weight: 500; }
.ev-badge { width: 38px; height: 38px; border-radius: 10px; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.ev-badge svg { width: 22px; height: 22px; }
.ev-panel .ev-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: #7fd3ff; font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.ev-panel .ev-link svg { width: 15px; height: 15px; }
.ev-panel .ev-link:hover { color: #fff; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ind-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.ind-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ind-art { height: 150px; position: relative; display: grid; place-items: center; overflow: hidden; }
.ind-art svg { width: 100%; height: 100%; }
.ind-art.dental { background: linear-gradient(135deg, #e5f0ff, #cfe2ff); }
.ind-art.plumb { background: linear-gradient(135deg, #eef2f7, #d7e0ec); }
.ind-art.hvac { background: linear-gradient(135deg, #e3f3ea, #d6e8f5); }
.ind-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.ind-title { display: flex; align-items: center; gap: 12px; }
.ind-title .svc-ico { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.ind-title .svc-ico svg { width: 24px; height: 24px; }
.ind-title h3 { font-size: 19px; }
.ind-body > p { font-size: 14.5px; color: var(--muted); margin-top: 12px; }
.ind-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ind-links a { font-size: 12.5px; font-weight: 500; color: var(--text); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.ind-links a:hover { color: var(--blue); border-color: var(--blue-100); }
.ind-body .more { margin-top: auto; padding-top: 18px; }

/* ---------- Process ---------- */
.process { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 16px; }
.step { display: flex; gap: 18px; }
.step-ico { position: relative; flex-shrink: 0; width: 64px; height: 64px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--blue); }
.step-ico svg { width: 30px; height: 30px; }
.step-num { position: absolute; top: -10px; left: -10px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 13px; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0, 87, 232, .35); }
.step h3 { font-size: 18px; }
.step p { font-size: 14.5px; color: var(--muted); margin-top: 6px; }
.step-arrow { color: #b3c3e0; padding-top: 22px; }
.step-arrow svg { width: 28px; height: 20px; }

/* ---------- Audit form ---------- */
.audit { background: var(--bg-soft); }
.audit-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.audit h2 { font-size: clamp(30px, 3.6vw, 44px); }
.audit .lead { margin-top: 16px; font-size: 17px; max-width: 420px; }
.audit-points { margin-top: 24px; display: grid; gap: 10px; }
.audit-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.audit-points svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  border: 1.5px solid #d6dfef; border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #9aa5bd; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 87, 232, .12); }
.field.full { grid-column: 1 / -1; }
.form-card .btn { width: 100%; margin-top: 22px; padding: 16px; font-size: 16px; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.form-note svg { width: 16px; height: 16px; color: var(--blue); }
.form-success { display: none; text-align: center; padding: 24px 8px; }
.form-success .svc-ico { margin: 0 auto 16px; }
.form-success h3 { font-size: 22px; }
.form-success p { margin-top: 8px; color: var(--muted); }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 88px; background: var(--bg-soft); }
.cta-inner {
  position: relative; overflow: hidden; border-radius: 26px; padding: 56px 40px; text-align: center;
  background: radial-gradient(600px 260px at 50% 120%, rgba(0, 87, 232, .18), transparent 70%), linear-gradient(180deg, #ffffff, #e3eeff);
  border: 1px solid var(--blue-100);
}
.cta-inner h2 { font-size: clamp(26px, 3.2vw, 38px); }
.cta-inner p { margin: 12px auto 28px; max-width: 520px; color: var(--muted); font-size: 17px; }
.cta-deco-l, .cta-deco-r { position: absolute; bottom: 0; opacity: .9; pointer-events: none; }
.cta-deco-l { left: 40px; top: 40px; width: 70px; }
.cta-deco-r { right: 32px; width: 200px; }

/* ---------- Footer ---------- */
/* Navy footer (RankPath Labs footer design spec): white reverse logo, light text, cyan hover */
.site-footer {
  --footer-text: #c9d6f2; --footer-muted: #93a6cc; --footer-line: rgba(160, 190, 255, .18);
  background: var(--navy); color: var(--footer-text); padding: 72px 0 32px; font-size: 14.5px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { margin-top: 14px; color: var(--footer-muted); max-width: 300px; }
.footer-brand .footer-tagline { margin-top: 20px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.footer-title { margin: 0 0 16px; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--footer-text); }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--cyan); }
/* External sites (Our Network): small arrow after the name */
.footer-col a .ext { display: inline-block; width: 12px; height: 12px; margin-left: 2px; vertical-align: -1px; opacity: .7; }
.footer-soon { color: var(--footer-muted); cursor: default; }
.footer-soon span { margin-left: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--footer-muted); border: 1px solid var(--footer-line); border-radius: 999px; padding: 1px 7px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--footer-line); color: var(--footer-muted); font-size: 13.5px; }
.footer-markets { font-family: var(--font-head); font-weight: 600; color: var(--footer-text); letter-spacing: .02em; }
.footer-legal { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a { color: var(--footer-text); }
.footer-bottom a:hover, .footer-bottom a:focus-visible { color: var(--cyan); }
.site-footer :focus-visible { outline-color: rgba(0, 166, 245, .7); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: 72px 0 0 0; background: #fff; overflow-y: auto; padding: 16px 24px 32px;
    transform: translateY(-8px); opacity: 0; transition: transform .2s ease, opacity .2s ease, visibility .2s; margin: 0; visibility: hidden;
  }
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  body.nav-open { overflow: hidden; }
  body.nav-open .primary-nav { transform: none; opacity: 1; visibility: visible; }
  html, body { overflow-x: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 16px; background: none !important; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; display: none; min-width: 0; }
  .nav-item.open .dropdown { display: block; }
  .nav-actions .region { display: none; }
  .nav-actions .btn { display: none; }
  .mobile-cta { display: flex !important; margin-top: 24px; width: 100%; }
  .hero-grid, .ev-grid, .audit-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step-arrow { display: none; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 64px; }
  .hero-lead { font-size: 17px; }
  .hero-visual { min-height: 380px; }
  .serp-card { left: 0; width: 66%; padding: 14px; }
  .ai-card { width: 46%; padding: 14px; top: 64px; }
  .growth-card { display: none; }
  .tile-maps { width: 80px; height: 80px; top: 56%; }
  .tile-main { width: 124px; height: 124px; left: 34%; top: 58%; border-radius: 28px; }
  .tile-gpt { width: 78px; height: 78px; left: auto; right: 22%; top: 76%; }
  .tile-gem { width: 74px; height: 74px; top: 62%; }
  .pillar { padding: 20px; }
  .pillar-cards, .ev-panels, .ind-grid, .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .cta-inner { padding: 44px 20px; }
  .cta-deco-l, .cta-deco-r { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .btn { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Service & industry pages
   ===================================================================== */
.dropdown a[aria-current="page"], .nav-link[aria-current="page"] { background: var(--blue-50); }
.dropdown a[aria-current="page"] strong { color: var(--blue); }

.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: #b3c0d8; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

.page-hero { padding: 40px 0 80px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); }
.page-hero .hero-grid { align-items: start; }
.hero-panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-lg); margin-top: 8px; }
.hero-panel-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.hero-panel-head .svc-ico { margin: 0; }
.hero-panel-head strong { display: block; font-family: var(--font-head); font-size: 17px; color: var(--ink); }
.hero-panel-head span { font-size: 13.5px; color: var(--muted); }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.check-list svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.engine-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.engine-row span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px 5px 6px; }
.engine-row svg { width: 18px; height: 18px; }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.intro-grid h2 { font-size: clamp(26px, 3vw, 36px); }
.prose p { font-size: 16.5px; margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.callout { background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; padding: 20px 22px; }
.callout h3 { font-size: 17px; margin-bottom: 10px; }
.callout ul { display: grid; gap: 8px; }
.callout li { display: flex; gap: 10px; font-size: 15px; }
.callout li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--blue); margin-top: 3px; }

.feature-section { background: var(--bg-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.feature .svc-ico { width: 46px; height: 46px; margin-bottom: 16px; }
.feature .svc-ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 17.5px; }
.feature p { font-size: 14.5px; color: var(--muted); margin-top: 8px; }

.steps-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps-4 li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 24px; box-shadow: var(--shadow); }
.steps-4 .step-num { position: static; margin-bottom: 14px; width: 32px; height: 32px; font-size: 14px; }
.steps-4 h3 { font-size: 17px; }
.steps-4 p { font-size: 14.5px; color: var(--muted); margin-top: 6px; }

.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; box-shadow: var(--shadow); }
.chip svg { width: 16px; height: 16px; color: var(--blue); }
.chip small { font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--muted); }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-grid .svc-card .rel-kind { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-family: var(--font-head); font-weight: 700; font-size: 16.5px; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--blue); transition: transform .2s; }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list .faq-a { padding: 0 22px 20px; font-size: 15.5px; }

@media (max-width: 1080px) {
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid, .related-grid { grid-template-columns: 1fr 1fr; }
  .steps-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .page-hero { padding: 28px 0 56px; }
  .feature-grid, .related-grid, .steps-4 { grid-template-columns: 1fr; }
  .hero-panel { padding: 22px; }
}

/* About & contact pages */
.field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1.5px solid #d6dfef; border-radius: 10px; padding: 12px 14px; min-height: 140px; resize: vertical; transition: border-color .15s, box-shadow .15s; }
.field textarea::placeholder { color: #9aa5bd; }
.field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 87, 232, .12); }
.field .opt { font-weight: 400; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.contact-side { display: grid; gap: 20px; }
.contact-side .feature h3 { margin-bottom: 4px; }
.contact-side .feature .more { margin-top: 12px; }
.pillar-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar-grid-2 .pillar ul { display: grid; gap: 10px; margin-top: 14px; }
.pillar-grid-2 .pillar li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.pillar-grid-2 .pillar li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--blue); margin-top: 3px; }
.pillar-grid-2 .pillar li a { color: var(--ink); font-weight: 600; }
.pillar-grid-2 .pillar li a:hover { color: var(--blue); }
.pillar-grid-2 .pillar > p { margin-top: 8px; color: var(--muted); }
/* Tip columns (rank checker: How to Move Up) */
.pillar-grid-2.tips .pillar h4 { margin-top: 18px; font-size: 16px; }
.pillar-grid-2.tips .pillar > p { margin-top: 4px; font-size: 15px; }
.pillar-grid-2.tips .pillar .more { margin-top: 18px; }
.page-hero.compact { padding-bottom: 56px; }
.page-hero.compact .hero-lead { max-width: 720px; }

/* ---------- 404 ---------- */
.nf-hero { padding-bottom: 72px; overflow: hidden; }
.nf-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.nf-visual { position: relative; min-height: 300px; display: grid; place-items: center; }
.nf-code { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-size: clamp(160px, 22vw, 260px); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--blue-100); user-select: none; }
.nf-card { position: relative; width: min(360px, 100%); padding: 22px 24px; border-radius: 20px; color: #c9d6f2; background: radial-gradient(360px 200px at 100% 0%, rgba(0, 166, 245, .3), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); box-shadow: var(--shadow-lg); transform: rotate(-2deg); }
.nf-card .ui-label { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: #fff; }
.nf-card .ai-dot { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #7b5cff, var(--cyan)); display: grid; place-items: center; color: #fff; }
.nf-card .ai-dot svg { width: 13px; height: 13px; }
.nf-card .nf-q { margin-top: 14px; font-family: var(--font-head); font-size: 17px; font-weight: 600; color: #fff; }
.nf-card p { font-size: 14px; line-height: 1.55; margin-top: 8px; }
.nf-card ol { margin: 10px 0 0; padding-left: 20px; font-size: 14px; }
.nf-card ol li { padding: 2px 0; }
.nf-card ol li:first-child { color: #7fd3ff; font-weight: 600; }
.pillar-grid-3 .pillar li .soon-tag { font-size: inherit; }
@media (max-width: 1080px) { .nf-grid { grid-template-columns: 1fr; gap: 24px; } .nf-visual { min-height: 260px; } }
@media (max-width: 760px) { .nf-code { font-size: 150px; } .nf-card { transform: none; } }
@media (max-width: 1080px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .pillar-grid-2 { grid-template-columns: 1fr; } }

/* City pages */
.city-grid { grid-template-columns: repeat(4, 1fr); }
.area-chips { justify-content: flex-start; gap: 8px; }
.area-chips .chip { font-size: 13.5px; padding: 7px 12px; box-shadow: none; }
a.chip:hover { color: var(--blue); border-color: var(--blue-100); }
@media (max-width: 1080px) { .city-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .city-grid { grid-template-columns: 1fr; } }

/* Coming soon & legal pages */
.form-note a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal { max-width: 780px; margin: 0 auto; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; font-size: 16px; }
.legal .updated { font-size: 14px; color: var(--muted); margin-bottom: 28px; }

/* Form spam trap & errors */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 12px; font-size: 14px; color: #b42318; text-align: center; }
.form-error:empty { display: none; }
.form-card .btn[disabled] { opacity: .65; cursor: wait; }
/* A form that is switched off (not an in-flight submit) */
.form-card .btn[disabled][aria-disabled="true"] { cursor: not-allowed; }
.pillar h3 .soon-tag { vertical-align: middle; margin-left: 8px; }

/* =====================================================================
   Homepage (RankPath Labs)
   ===================================================================== */
.hero-home .hero-tagline { margin-top: 14px; font-family: var(--font-head); font-size: clamp(18px, 1.8vw, 21px); font-weight: 700; color: var(--ink); }
.hero-lead-2 { margin-top: 14px; font-size: 17px; color: var(--muted); }
.hero-trust { display: flex; align-items: flex-start; gap: 10px; margin-top: 32px; max-width: 520px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.hero-trust svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--blue); margin-top: 1px; }

.outcomes { padding: 0 0 88px; }
.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.outcome h3 a:hover { color: var(--blue); }
.outcome .outcome-kicker { margin-top: 6px; font-weight: 600; color: var(--ink); }
.outcome p:last-child { margin-top: 8px; }

.soft { background: var(--bg-soft); }
.subhead { margin-top: 12px; font-family: var(--font-head); font-weight: 600; font-size: 19px; color: var(--blue); }
.section-head .subhead { margin-top: 12px; color: var(--blue); font-size: 19px; }
.section-head .subhead + p { margin-top: 16px; }
.section-head p + p { margin-top: 8px; }

.solution-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.solution h2 { font-size: clamp(28px, 3.4vw, 40px); }
.solution-copy .prose { margin-top: 20px; }
.solution-copy .engine-row { border-top: 0; padding-top: 0; margin-top: 24px; }
.solution-copy .engine-row span { background: #fff; }
.solution-cta { margin-top: 24px; }
.sol-list { display: grid; gap: 16px; }
.sol-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.sol-card .svc-ico { flex-shrink: 0; width: 48px; height: 48px; margin: 0; }
.sol-card .svc-ico svg { width: 24px; height: 24px; }
.sol-card h3 { font-size: 17.5px; }
.sol-card p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.sol-card .more, .sol-card .soon-tag { margin-top: 12px; }

/* dark variant reuses the .everywhere background */
.solution.dark .subhead { color: #7fd3ff; }
.solution.dark .prose p { color: #c9d6f2; }
.solution.dark .sol-card { background: rgba(255, 255, 255, .06); border-color: rgba(160, 190, 255, .22); box-shadow: none; }
.solution.dark .sol-card h3 { color: #fff; }
.solution.dark .sol-card p { color: #b9c8e8; }
.solution.dark .sol-card .svc-ico { background: rgba(127, 211, 255, .12); color: #7fd3ff; }

/* links to products that are not live yet */
.soon-tag { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted); cursor: default; }
.soon-tag span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #fff; border: 1px dashed #b7c4dc; border-radius: 999px; padding: 3px 9px; }
.solution.dark .soon-tag { color: #b9c8e8; }
.solution.dark .soon-tag span { color: #c9d6f2; background: transparent; border-color: rgba(185, 200, 232, .5); }

.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tool { display: flex; flex-direction: column; }
.tool p { flex: 1; }
.tool .more, .tool .soon-tag { margin-top: 18px; }
.tool .soon-tag span { background: var(--bg-soft); }

.steps .step-num { width: 30px; height: 30px; font-size: 12px; }
.flow { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; margin: 48px 0 0; padding: 0; list-style: none; }
.flow li { display: inline-flex; align-items: center; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); }
.flow li::before { content: ""; display: none; }
.flow li:not(:last-child)::after { content: "→"; margin: 0 14px; color: var(--blue); font-weight: 700; }
.flow li:last-child { color: var(--blue); }

.lab-card {
  position: relative; overflow: hidden; border-radius: 22px; padding: 36px; color: #c9d6f2;
  background: radial-gradient(500px 260px at 100% 0%, rgba(0, 166, 245, .28), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  box-shadow: var(--shadow-lg);
}
.lab-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(127, 211, 255, .14); color: #7fd3ff; margin-bottom: 18px; }
.lab-ico svg { width: 28px; height: 28px; }
.lab-card h3 { color: #fff; font-size: 26px; font-weight: 700; }
.lab-card .lab-tagline { margin-top: 8px; font-weight: 600; color: #7fd3ff; }
.lab-card p + p { margin-top: 12px; font-size: 15.5px; }
.btn-light { margin-top: 24px; background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-50); transform: translateY(-1px); }

.cta-band.home-cta { background: var(--bg-soft); }
.cta-alt { margin: 18px auto 0 !important; font-size: 15px !important; }
.cta-alt a { font-family: var(--font-head); font-weight: 600; color: var(--blue); }
.cta-alt a svg { display: inline-block; vertical-align: -2px; width: 15px; height: 15px; margin-left: 4px; }
.cta-alt a:hover { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }

.footer-brand .footer-tagline + p { margin-top: 6px; }

@media (max-width: 1080px) {
  .solution-grid { grid-template-columns: 1fr; gap: 32px; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .outcomes { padding-bottom: 64px; }
  .outcome-grid, .tool-grid { grid-template-columns: 1fr; }
  .lab-card { padding: 28px 22px; }
  .flow li { font-size: 14px; }
  .flow li:not(:last-child)::after { margin: 0 8px; }
}
.hero-home .hero-grid { grid-template-columns: 1.1fr .9fr; }
.hero-home h1 { font-size: clamp(36px, 4.4vw, 54px); }
@media (max-width: 1080px) { .hero-home .hero-grid { grid-template-columns: 1fr; } }

/* About page */
.pillar-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar-grid-3 .pillar { display: flex; flex-direction: column; background: #fff; }
.pillar-grid-3 .pillar > p { margin-top: 6px; font-weight: 600; color: var(--ink); }
.pillar-grid-3 .pillar ul { display: grid; gap: 10px; margin: 16px 0 0; }
.pillar-grid-3 .pillar li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.pillar-grid-3 .pillar li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--blue); margin-top: 3px; }
.pillar-grid-3 .pillar li a { color: var(--ink); font-weight: 600; }
.pillar-grid-3 .pillar li a:hover { color: var(--blue); }
.pillar-grid-3 .pillar .more { margin-top: auto; padding-top: 18px; }
.steps-4.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .pillar-grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .steps-4.steps-3 { grid-template-columns: 1fr; } }

/* About: founder profile */
.founder-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.founder-photo { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 420px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(420px 260px at 70% 20%, rgba(0, 166, 245, .22), transparent 70%), linear-gradient(180deg, var(--blue-50), #dbe8ff); }
.founder-photo img { width: 88%; max-width: 420px; height: auto; display: block; }
.founder-copy h2 { font-size: clamp(28px, 3.4vw, 40px); }
.founder-role { margin-top: 8px; font-family: var(--font-head); font-weight: 600; color: var(--blue); }
.founder-copy .prose { margin-top: 18px; }
@media (max-width: 1080px) { .founder-grid { grid-template-columns: 1fr; gap: 32px; } .founder-photo { max-width: 520px; width: 100%; margin: 0 auto; min-height: 0; } }

/* FAQ Schema Generator */
.hero-grid-narrow { grid-template-columns: minmax(0, 760px); }
.gen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.gen-pair { position: relative; padding: 18px 18px 14px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; background: var(--bg-soft); }
.gen-pair .field + .field { margin-top: 12px; }
.gen-remove { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; }
.gen-remove:hover { color: var(--blue); }
.gen-form .btn.btn-sm { width: auto; margin-top: 4px; padding: 10px 16px; font-size: 14px; }
.gen-meta { margin-top: 22px; }
.gen-warn { justify-content: flex-start; text-align: left; color: #8a4b00; }
.gen-warn svg { color: #c77700; }
.gen-out { position: sticky; top: 96px; }
.gen-out-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.gen-out-head .btn.btn-sm { width: auto; margin: 0; padding: 10px 16px; font-size: 14px; }
.gen-out pre { background: var(--navy); color: #e6efff; border-radius: 16px; padding: 22px; font-size: 13px; line-height: 1.55; overflow: auto; max-height: 560px; white-space: pre-wrap; word-break: break-word; }
.gen-links { margin-top: 12px; font-size: 14px; color: var(--muted); }
.gen-links a { color: var(--blue); font-weight: 600; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 22px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); }
@media (max-width: 1080px) { .gen-grid { grid-template-columns: 1fr; } .gen-out { position: static; } }

/* AI Visibility Checker results */
.form-note.is-error { color: #b42318; } .form-note.is-error svg { color: #b42318; }
.av-results { padding-top: 0; }
.av-results .container { max-width: 900px; }
.av-summary { text-align: center; margin-bottom: 36px; }
.av-summary h2 { margin: 10px 0 12px; }
.av-prompt { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow-sm, 0 6px 20px rgba(6,22,56,.05)); }
.av-prompt h3 { font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.av-q { color: var(--ink); font-weight: 600; margin-bottom: 16px; }
.av-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.av-answer { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--bg-soft); }
.av-answer.is-hit { border-color: #9fdcc0; background: #ecfaf3; }
.av-answer.is-miss { border-color: #f3c7c3; background: #fff4f3; }
.av-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.av-tag { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.is-hit .av-tag { color: #0a7a4c; border-color: #9fdcc0; } .is-miss .av-tag { color: #b42318; border-color: #f3c7c3; }
.av-answer p { font-size: 14px; color: var(--ink); }
.av-sources { margin-top: 8px; font-size: 13px; color: var(--muted); } .av-sources a { color: var(--blue); }
.av-next { background: var(--bg-soft); border-radius: 18px; padding: 24px; margin-top: 8px; }
.av-next h3 { margin-bottom: 8px; }
@media (max-width: 760px) { .av-answers { grid-template-columns: 1fr; } }
