/* =====================================================================
   Prime Insurance Services — site styles
   Plain CSS, no build step. Sections:
     1. Tokens        2. Base / typography     3. Buttons & helpers
     4. Header        5. Fullscreen engine     6. Left section nav
     7. Right rail    8. Home sections         9. Contact / form / footer
    10. Detail pages 11. Mobile menu & bar    12. Motion / a11y / print
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --green-950: #071f17;
  --green-900: #0b2e22;
  --green-800: #0f3d2e;
  --green-700: #15553f;
  --green-600: #1b6b4e;
  --green-500: #22845f;
  --green-200: #bfe0cf;
  --green-100: #e3f1ea;
  --green-50:  #f1f8f4;

  --gold-600: #b08a2e;
  --gold-500: #c9a24b;
  --gold-300: #e3c987;
  --gold-100: #f7eed8;

  --ink-900: #14211c;
  --ink-700: #3a4a43;
  --ink-500: #66746e;
  --ink-300: #b5bfba;
  --line:    #e2e8e4;
  --paper:   #fafaf7;
  --white:   #ffffff;

  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto,
               "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Malgun Gothic",
               "Noto Sans KR", sans-serif;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua",
                  "Times New Roman", serif;

  --header-h: 72px;
  --mobile-bar-h: 68px;
  --max-w: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 33, 28, .06), 0 4px 14px rgba(20, 33, 28, .06);
  --shadow-md: 0 10px 34px rgba(20, 33, 28, .12);

  /* Fullscreen scroll timing — fullpage.js reads --dur-fp, keep it in ms */
  --dur-fp: 800ms;
  --ease-fp: cubic-bezier(.77, 0, .175, 1);
}

/* Korean pages: system sans for headings too (Korean serif webfonts look dated) */
html[lang="ko"] { --font-display: var(--font-sans); }
html[lang="ko"] h1, html[lang="ko"] h2, html[lang="ko"] h3 { font-weight: 700; letter-spacing: -0.02em; }
html[lang="ko"] body { word-break: keep-all; overflow-wrap: break-word; }
/* job 4393: Korean pages read one step larger (16px -> 17px base, rem scales with it) */
html[lang="ko"] { font-size: 106.25%; }
html[lang="ko"] body { font-size: 17px; line-height: 1.7; }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.012em;
}
h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem); }
h3 { font-size: 1.375rem; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--gold-500);
  vertical-align: middle;
  margin-right: 12px;
  border-radius: 2px;
}
html[lang="ko"] .eyebrow { letter-spacing: 0.04em; text-transform: none; }

.lead { font-size: 1.125rem; color: var(--ink-700); max-width: 62ch; }
.fineprint { font-size: 0.8125rem; color: var(--ink-500); }

/* Visible placeholder marker — remove class when real content goes in */
.todo {
  display: inline-block;
  background: var(--gold-100);
  color: #6b5416;
  border: 1px dashed var(--gold-500);
  border-radius: 6px;
  padding: 0 8px;
  font-size: 0.8em;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.6;
  vertical-align: baseline;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--green-800);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.btn:focus-visible { outline-offset: 4px; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 0.9875rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease,
              transform .15s ease, box-shadow .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--lg { height: 56px; padding: 0 30px; font-size: 1.0625rem; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 0.875rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--gold-500); color: var(--green-950); box-shadow: 0 6px 18px rgba(201, 162, 75, .28); }
.btn--primary:hover { background: var(--gold-300); }
.btn--green { background: var(--green-700); color: #fff; }
.btn--green:hover { background: var(--green-600); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--outline { border-color: var(--green-700); color: var(--green-800); background: transparent; }
.btn--outline:hover { background: var(--green-50); }

/* ---------- 4. Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 50;
  display: flex;
  align-items: center;
  padding: 0 clamp(16px, 2.5vw, 36px);
  gap: 24px;
  background: rgba(250, 250, 247, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  color: var(--ink-900);
  transition: background-color .35s ease, border-color .35s ease, color .35s ease;
}
/* Over the dark hero: transparent header with white text */
html.on-dark .site-header {
  background: transparent;
  border-color: transparent;
  color: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.brand__mark {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 10px;
  background: var(--green-800);
  color: var(--gold-300);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
html.on-dark .brand__mark { background: rgba(255, 255, 255, .12); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand__tag { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: .72; }
html[lang="ko"] .brand__tag { letter-spacing: 0.06em; text-transform: none; }

.main-nav ul { display: flex; gap: 6px; list-style: none; }
.main-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  opacity: .82;
  transition: background-color .2s, opacity .2s;
}
.main-nav a:hover, .main-nav a[aria-current="true"] { opacity: 1; background: rgba(20, 33, 28, .06); }
html.on-dark .main-nav a:hover, html.on-dark .main-nav a[aria-current="true"] { background: rgba(255, 255, 255, .12); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(20, 33, 28, .18);
  border-radius: 999px;
  padding: 3px;
  font-size: 0.8125rem;
  font-weight: 600;
}
html.on-dark .lang-switch { border-color: rgba(255, 255, 255, .35); }
.lang-switch > * {
  padding: 5px 11px;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1.2;
}
.lang-switch .is-active { background: var(--green-800); color: #fff; }
html.on-dark .lang-switch .is-active { background: #fff; color: var(--green-900); }
.lang-switch a { opacity: .75; }
.lang-switch a:hover { opacity: 1; }

.header-cta { height: 42px; padding: 0 18px; font-size: 0.875rem; }
html.on-dark .header-cta { background: var(--gold-500); color: var(--green-950); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(20, 33, 28, .14);
  background: transparent;
  cursor: pointer;
  place-items: center;
}
html.on-dark .menu-toggle { border-color: rgba(255, 255, 255, .35); }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- 5. Fullscreen engine ---------- */
/* Native scrolling is the default. fullpage.js adds html.fp-on on desktop only. */
.fp-section {
  position: relative;
  padding: calc(var(--header-h) + 24px) 0 64px;
}
.fp-section[hidden] { display: none; }

.section-inner {
  width: 100%;
  max-width: calc(var(--max-w) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

html.fp-on, html.fp-on body { height: 100%; overflow: hidden; }
html.fp-on .fp {
  position: fixed;
  inset: 0;
  transition: transform var(--dur-fp) var(--ease-fp);
  will-change: transform;
}
html.fp-on .fp.fp-instant { transition: none; }
html.fp-on .fp-section {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;          /* tall content scrolls inside its own screen */
  scrollbar-width: thin;
  padding: 0;
  display: flex;
  flex-direction: column;
}
html.fp-on .fp-section > .section-inner {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + 16px);
  padding-bottom: 32px;
  min-height: 100%;
}
@media (min-width: 900px) {
  :root { --gutter: 96px; }
  .section-inner { max-width: calc(var(--max-w) + 192px); }
}

/* ---------- 6. Left section nav (desktop, fullscreen mode only) ---------- */
.fp-nav {
  position: fixed;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
}
html.fp-on .fp-nav { display: block; }
.fp-nav ol { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.fp-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 4px;
  text-decoration: none;
  color: var(--ink-500);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color .3s;
}
html[lang="ko"] .fp-nav a { letter-spacing: 0.02em; text-transform: none; font-size: 0.75rem; }
.fp-nav .dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: currentColor;
  opacity: .4;
  transition: height .3s var(--ease-fp), opacity .3s, background-color .3s;
  flex: none;
}
.fp-nav a:hover .dot { opacity: .8; }
.fp-nav a[aria-current="true"] { color: var(--green-800); }
.fp-nav a[aria-current="true"] .dot { height: 26px; opacity: 1; background: var(--green-700); }
.fp-nav .label {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s, transform .25s;
  white-space: nowrap;
}
.fp-nav:hover .label, .fp-nav a:focus-visible .label { opacity: 1; transform: none; }
@media (min-width: 1400px) { .fp-nav a[aria-current="true"] .label { opacity: 1; transform: none; } }

html.on-dark .fp-nav a { color: rgba(255, 255, 255, .75); }
html.on-dark .fp-nav a[aria-current="true"] { color: #fff; }
html.on-dark .fp-nav a[aria-current="true"] .dot { background: var(--gold-300); }

/* ---------- 7. Right quick rail ---------- */
.rail {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rail__btn {
  position: relative;
  width: 58px; height: 58px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green-800);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-color .2s, color .2s;
}
html[lang="ko"] .rail__btn { text-transform: none; font-size: 0.6875rem; letter-spacing: 0; }
.rail__btn svg { width: 20px; height: 20px; }
.rail__btn:hover { transform: translateX(-3px); box-shadow: var(--shadow-md); background: var(--green-800); color: #fff; }
.rail__btn--top {
  margin-top: 6px;
  background: var(--green-900);
  color: #fff;
  border-color: var(--green-900);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.rail.show-top .rail__btn--top { opacity: 1; visibility: visible; transform: none; }
.rail__btn--top:hover { background: var(--green-700); }

.chat-pop {
  position: fixed;
  right: 92px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  width: 300px;
  background: #fff;
  color: var(--ink-900);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 18px 18px 16px;
  font-size: 0.9375rem;
}
.chat-pop[hidden] { display: none; }
.chat-pop h2 { font-family: var(--font-sans); font-size: 1rem; margin-bottom: 6px; }
.chat-pop p { color: var(--ink-700); font-size: 0.875rem; }
.chat-pop .chat-pop__actions { display: flex; gap: 8px; margin-top: 10px; }
.chat-pop__close {
  position: absolute; top: 8px; right: 8px;
  width: 32px; height: 32px;
  border: 0; background: transparent; border-radius: 8px; cursor: pointer;
  display: grid; place-items: center;
}
.chat-pop__close:hover { background: var(--green-50); }
.chat-pop__close svg { width: 16px; height: 16px; }

/* Live chat (built by main.js when _server/chat_server.py answers) */
.chat-pop--live {
  width: 340px;
  height: min(520px, calc(100vh - 140px));
  display: flex; flex-direction: column;
  padding: 16px 14px 12px;
}
.chat-pop--live[hidden] { display: none; }
.chat-pop--live h2 { padding-right: 128px; line-height: 32px; margin-bottom: 2px; }
.chat-pop__end {
  position: absolute; top: 12px; right: 10px;
  width: 84px; height: 28px; padding: 0 8px;
  border: 1px solid #e3b3b3; background: #fff; color: #b42318; border-radius: 14px;
  font: inherit; font-size: 0.75rem; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.chat-pop__end:hover { background: #fdecec; }
.chat-pop__close.chat-pop__close--min { top: 10px; right: 98px; }
.chat-log {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 8px;
  padding: 6px 2px 10px;
}
.chat-intro { margin: 0 0 4px; }
.chat-msg { display: flex; flex-direction: column; max-width: 85%; }
.chat-msg__bubble {
  padding: 8px 11px; border-radius: 12px;
  font-size: 0.875rem; line-height: 1.45;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.chat-msg--visitor { align-self: flex-end; }
.chat-msg--visitor .chat-msg__bubble { background: var(--green-700); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg--staff { align-self: flex-start; }
.chat-msg--staff .chat-msg__bubble { background: var(--green-50); color: var(--ink-900); border: 1px solid var(--green-100); border-bottom-left-radius: 4px; }
.chat-msg__by { font-size: 0.6875rem; color: var(--ink-500); margin: 0 0 2px 4px; }
.chat-msg--system { align-self: center; max-width: 95%; }
.chat-msg--system .chat-msg__bubble { background: transparent; color: var(--ink-500); font-size: 0.75rem; text-align: center; padding: 2px 6px; }
.chat-msg--warn { align-self: center; max-width: 95%; }
.chat-msg--warn .chat-msg__bubble { background: #fff4e5; color: #8a4b00; border: 1px solid #f3c98b; font-size: 0.75rem; text-align: center; padding: 5px 9px; }
.chat-form { border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 6px; }
.chat-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.chat-meta[hidden] { display: none; }
.chat-form input, .chat-form textarea {
  width: 100%; font: inherit; font-size: 0.875rem; color: var(--ink-900);
  border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; background: #fff;
}
.chat-form textarea { resize: none; }
.chat-form input:focus, .chat-form textarea:focus { outline: 2px solid var(--green-200); border-color: var(--green-500); }
.chat-row { display: flex; gap: 6px; align-items: flex-end; }
.chat-row textarea { flex: 1 1 auto; }
.rail__btn.has-unread { position: relative; } /* not .chat-bubble: relative would override its position:fixed and drop it off-screen (Sean 2026-10-17) */
.rail__btn.has-unread::after, .chat-bubble.has-unread::after {
  content: ""; position: absolute; top: 6px; right: 6px;
  width: 10px; height: 10px; border-radius: 50%; background: #d64545; border: 2px solid #fff;
}
.chat-bubble {
  display: none;
  position: fixed; right: 16px; bottom: calc(var(--mobile-bar-h) + 14px); z-index: 47;
  width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--green-700); color: #fff; box-shadow: var(--shadow-md);
  place-items: center;
  -webkit-transform: translateZ(0); transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.chat-bubble svg { width: 26px; height: 26px; }

/* ---------- 8. Home sections ---------- */
.section-head { max-width: 780px; margin-bottom: clamp(24px, 3.5vh, 44px); }
.section-head .lead { margin-top: 12px; margin-bottom: 0; }

/* Hero */
.hero {
  color: #fff;
  background:
    radial-gradient(1100px 560px at 85% 115%, rgba(201, 162, 75, .26), transparent 62%),
    radial-gradient(900px 520px at -8% -15%, rgba(34, 132, 95, .5), transparent 60%),
    linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 55%, #123b2e 100%);
  overflow: hidden;
}
.hero .eyebrow { color: var(--gold-300); }
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
  background: url(../img/hero-poster.jpg) center/cover;
}
.hero__video {   /* background video: George Washington Bridge at dusk (Mixkit free license) */
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__media::after {   /* brand-green dim so the headline stays readable */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11, 46, 34, .6) 0%, rgba(11, 46, 34, .38) 42%, rgba(15, 61, 46, .08) 100%),
    linear-gradient(0deg, rgba(11, 46, 34, .3), transparent 40%);
}
#home .hero__deco { display: none; }   /* rings clutter the video */
/* Background video on sections 2-6 (Mixkit free license; same green dim as the hero).
   Video files load only when the section comes on screen (main.js), the rest stay paused. */
.has-video { color: #fff; background: var(--green-900); }
.section-media {
  position: absolute; inset: 0;
  z-index: 0;
  background: var(--green-900) center/cover;
  pointer-events: none;
}
.section-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.section-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11, 46, 34, .62) 0%, rgba(11, 46, 34, .42) 50%, rgba(15, 61, 46, .2) 100%),
    linear-gradient(0deg, rgba(11, 46, 34, .28), transparent 45%);
}
.has-video .section-inner { position: relative; z-index: 1; }
.hero h1, .hero .lead, .has-video h2, .has-video .lead, .has-video .about-line { text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }   /* lighter dim -> shadow keeps text readable */
.has-video .eyebrow { color: var(--gold-300); }
.has-video .lead, .has-video .about-line, .has-video .fineprint { color: rgba(255, 255, 255, .82); }
.has-video .about-line { border-top-color: rgba(255, 255, 255, .22); }
.has-video .about-line strong { color: var(--gold-300); }
.has-video .card .fineprint { color: var(--ink-500); }
.has-video .card { color: var(--ink-900); border-color: transparent; }
.has-video .field label { color: rgba(255, 255, 255, .92); }
.has-video .field label .fineprint { color: rgba(255, 255, 255, .65); }
.has-video .field--consent label, .has-video .form__status { color: rgba(255, 255, 255, .85); }
.has-video .form__status.is-error { color: #ffb4ab; }
.has-video .form__status.is-ok { color: var(--gold-300); }
.has-video .info-card { background: rgba(7, 34, 25, .72); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.has-video .site-footer { color: rgba(255, 255, 255, .75); border-top-color: rgba(255, 255, 255, .22); }
.has-video .site-footer a { color: #fff; }
.has-video .todo-link { color: var(--gold-300); }

.hero__deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__deco .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
}
.hero__deco .ring--1 { width: 46vw; height: 46vw; right: -12vw; top: 50%; transform: translateY(-50%); }
.hero__deco .ring--2 { width: 30vw; height: 30vw; right: -4vw; top: 50%; transform: translateY(-50%); border-color: rgba(227, 201, 135, .35); }
.hero__deco .ring--3 { width: 14vw; height: 14vw; right: 4vw; top: 50%; transform: translateY(-50%); background: radial-gradient(circle at 35% 35%, rgba(227, 201, 135, .55), rgba(201, 162, 75, .08) 70%); border: 0; }
.hero .section-inner { position: relative; z-index: 1; }
.hero__title {
  font-size: clamp(2.5rem, 1.6rem + 3.9vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: none;            /* the <br> in the headline controls the line break */
  margin-bottom: 24px;
}
html[lang="ko"] .hero__title { line-height: 1.2; font-size: clamp(2rem, 1.4rem + 2.9vw, 3.8rem); }
.hero__sub {
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .84);
  max-width: 58ch;
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .05);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, .86);
}
.chip svg { width: 14px; height: 14px; color: var(--gold-300); }
.todo-link { text-decoration: none; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .7);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}
html.fp-on .scroll-hint { display: flex; }
.scroll-hint svg { width: 18px; height: 18px; animation: hint-bounce 1.8s ease-in-out infinite; }
@keyframes hint-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Cards (shared) */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-200); }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-50);
  color: var(--green-700);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }

/* What we do */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card--service { padding: clamp(26px, 3vw, 40px); }
.card--service h3 { font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.9rem); margin-bottom: 12px; }
.card--service p { font-size: 1.0625rem; color: var(--ink-700); margin: 0; }
.card--service .card__icon { width: 60px; height: 60px; }
.card--service .card__icon svg { width: 30px; height: 30px; }
.about-line {
  margin: clamp(20px, 3vh, 36px) 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-700);
  font-size: 0.9875rem;
}
.about-line strong { color: var(--green-800); margin-right: 8px; }

/* Insurance lines */
.lines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
}
.card--line {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  text-decoration: none;
  min-height: 150px;
}
.card--line .card__icon { width: 42px; height: 42px; border-radius: 11px; margin-bottom: 14px; }
.card--line .card__icon svg { width: 22px; height: 22px; }
.card--line h3 { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 650; margin-bottom: 4px; letter-spacing: -0.005em; }
.card--line p { font-size: 0.875rem; color: var(--ink-500); margin: 0; padding-right: 28px; }
.card--line .card__arrow {
  position: absolute; right: 18px; bottom: 18px;
  width: 30px; height: 30px; border-radius: 999px;
  display: grid; place-items: center;
  color: var(--green-700);
  background: var(--green-50);
  transition: background-color .2s, color .2s, transform .2s;
}
.card--line .card__arrow svg { width: 16px; height: 16px; }
.card--line:hover .card__arrow { background: var(--green-700); color: #fff; transform: translateX(2px); }

/* Carriers */
.carrier-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  list-style: none;
}
.carrier-tile {
  aspect-ratio: 5 / 3;
  border: 1.5px dashed var(--ink-300);
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink-500);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: border-color .2s, color .2s;
}
.carrier-tile:hover { border-color: var(--green-500); color: var(--green-700); }
.carriers .fineprint { margin: 18px 0 0; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
}
.card--quote { padding: 30px 28px 26px; }
.card--quote .quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  line-height: .6;
  color: var(--gold-500);
  margin-bottom: 14px;
}
.card--quote blockquote { margin: 0; }
.card--quote blockquote p { font-size: 1.0625rem; color: var(--ink-700); font-style: italic; }
.card--quote figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--ink-500); }

/* ---------- 9. Contact / form / footer ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.contact .section-head { margin-bottom: 20px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form .field--full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.field label .req { color: #b4423a; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink-900);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; min-height: 92px; padding: 12px 14px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2366746e' stroke-width='2'><path d='M4 6l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(34, 132, 95, .18);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b4423a; }
.field--consent { display: flex; align-items: flex-start; gap: 10px; }
.field--consent input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--green-700); }
.field--consent label { margin: 0; font-weight: 400; color: var(--ink-700); font-size: 0.875rem; line-height: 1.5; }
.form__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.form__status { font-size: 0.875rem; color: var(--ink-700); margin: 0; min-height: 1.2em; }
.form__status.is-error { color: #b4423a; }
.form__status.is-ok { color: var(--green-700); }
/* honeypot */
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.info-card {
  background: var(--green-900);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 26px 20px;
  box-shadow: var(--shadow-md);
}
.info-card h3 { font-size: 1.25rem; margin-bottom: 14px; }
.info-list { list-style: none; display: grid; gap: 12px; font-size: 0.9375rem; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--gold-300); }
.info-list a { color: #fff; text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
.info-list .label { display: block; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 2px; }
html[lang="ko"] .info-list .label { letter-spacing: 0.02em; text-transform: none; }
.info-card .todo { background: rgba(227, 201, 135, .15); color: var(--gold-300); border-color: rgba(227, 201, 135, .6); }

.map-wrap {
  position: relative;
  margin-top: 18px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--green-800);
  aspect-ratio: 16 / 9;
  max-height: 210px;
}
.map-wrap iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
  pointer-events: none;      /* click to activate (prevents scroll-wheel capture) */
  filter: saturate(.85);
}
.map-wrap.is-active iframe { pointer-events: auto; }
.map-wrap__hint {
  position: absolute; left: 0; right: 0; bottom: 0;
  text-align: center;
  font-size: 0.6875rem;
  padding: 5px;
  background: rgba(11, 46, 34, .75);
  color: rgba(255, 255, 255, .85);
  pointer-events: none;
}
.map-wrap.is-active .map-wrap__hint { display: none; }
.map-link { display: inline-block; margin-top: 10px; font-size: 0.8125rem; color: rgba(255, 255, 255, .8); }

.site-footer {
  margin-top: clamp(22px, 3.5vh, 40px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-500);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--ink-700); }
.site-footer .sep { margin: 0 8px; opacity: .5; }

/* ---------- 10. Detail (insurance line) pages ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: calc(var(--header-h) + 56px) 0 56px;
  background:
    radial-gradient(800px 400px at 90% 120%, rgba(201, 162, 75, .22), transparent 60%),
    linear-gradient(135deg, var(--green-900), var(--green-800));
}
.page-hero .eyebrow { color: var(--gold-300); }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); letter-spacing: -0.02em; max-width: 18ch; margin-bottom: 16px; }
.page-hero .lead { color: rgba(255, 255, 255, .84); margin-bottom: 0; }
.page-hero .section-inner { position: relative; z-index: 1; }
.page-hero .hero__deco .ring--1 { width: 34vw; height: 34vw; right: -10vw; }
.page-hero .hero__deco .ring--2 { width: 20vw; height: 20vw; right: -2vw; }
.page-hero .hero__deco .ring--3 { display: none; }

.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.8125rem; color: rgba(255, 255, 255, .7); margin-bottom: 22px; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }

.page-body { padding: 56px 0 64px; }
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0 0 14px; }
.prose h2 + .fineprint { margin-top: -6px; margin-bottom: 14px; }
.prose > * + h2 { margin-top: 40px; }
.prose p { color: var(--ink-700); font-size: 1.0625rem; }
.checklist { list-style: none; display: grid; gap: 10px; margin-bottom: 1em; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.0625rem; color: var(--ink-700); }
.checklist svg { width: 20px; height: 20px; flex: none; color: var(--green-600); margin-top: 4px; }

.cta-box {
  margin-top: 40px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--green-900);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}
.cta-box h2 { font-size: 1.5rem; margin: 0 0 6px; }
.cta-box p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 0.9875rem; }
.cta-box .cta-box__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.sidebar__box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.sidebar__title { font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 12px; }
html[lang="ko"] .sidebar__title { letter-spacing: 0.02em; text-transform: none; }
.sidebar__links { list-style: none; display: grid; }
.sidebar__links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 6px;
  text-decoration: none;
  font-size: 0.9375rem;
  color: var(--ink-700);
  border-bottom: 1px solid var(--line);
}
.sidebar__links li:last-child a { border-bottom: 0; }
.sidebar__links a:hover, .sidebar__links a[aria-current="page"] { color: var(--green-800); font-weight: 600; }
.sidebar__links svg { width: 14px; height: 14px; opacity: .5; }
.sidebar .info-card { padding: 22px; }
.sidebar .info-card h3 { font-size: 1.0625rem; margin-bottom: 10px; }

.page .site-footer { margin: 0; padding: 20px var(--gutter) calc(20px + var(--mobile-bar-h)); }
@media (min-width: 900px) { .page .site-footer { padding-bottom: 20px; } }

/* ---------- 11. Mobile menu & sticky bottom bar ---------- */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: var(--paper);
  padding: 24px var(--gutter) 120px;
  overflow-y: auto;
  display: none;
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; display: grid; }
.mobile-menu li a {
  display: block;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-900);
}
.mobile-menu__extra { margin-top: 22px; display: grid; gap: 12px; font-size: 0.9375rem; color: var(--ink-700); }
.mobile-menu__extra .lang-switch { justify-self: start; }
body.menu-open { overflow: hidden; }
html.menu-open .site-header { background: var(--paper); color: var(--ink-900); border-color: var(--line); }

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 48;
  height: var(--mobile-bar-h);
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 250, 247, .95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn { height: 46px; font-size: 0.9375rem; }

/* Compact vertical rhythm for shorter desktop viewports (e.g. 1280x720) so every
   section still fits one screen instead of falling back to inner scrolling */
@media (min-width: 900px) and (max-height: 800px) {
  html.fp-on .fp-section > .section-inner { padding-top: calc(var(--header-h) + 8px); padding-bottom: 20px; }
  h2 { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.25rem); }
  .eyebrow { margin-bottom: 8px; }
  .section-head { margin-bottom: 18px; }
  .section-head .lead { margin-top: 6px; font-size: 1rem; }
  .hero__title { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.6rem); margin-bottom: 16px; }
  .hero__sub { margin-bottom: 24px; }
  .hero__chips { margin-top: 22px; }
  .card--service { padding: 24px 28px; }
  .card--service h3 { font-size: 1.4rem; margin-bottom: 8px; }
  .card--service p { font-size: 1rem; }
  .card--service .card__icon { width: 48px; height: 48px; margin-bottom: 12px; }
  .about-line { margin-top: 18px; padding-top: 14px; }
  .lines-grid { gap: 12px; }
  .card--line { min-height: 0; padding: 16px 18px 14px; }
  .card--line .card__icon { width: 36px; height: 36px; margin-bottom: 10px; }
  .card--line h3 { font-size: 1rem; }
  .card--line p { font-size: 0.8125rem; }
  .card--line .card__arrow { right: 14px; bottom: 14px; width: 26px; height: 26px; }
  .carrier-grid { gap: 10px; }
  .carrier-tile { aspect-ratio: 2 / 1; }
  .card--quote { padding: 22px 22px 18px; }
  .contact .section-head { margin-bottom: 12px; }
  .form { gap: 10px 14px; }
  .field label { margin-bottom: 4px; }
  .field input, .field select { height: 40px; }
  .field textarea { min-height: 64px; }
  .form__actions .btn { height: 44px; }
  .info-card { padding: 18px 20px 14px; }
  .info-card h3 { margin-bottom: 8px; }
  .info-list { gap: 8px; font-size: 0.875rem; }
  .map-wrap { max-height: 150px; margin-top: 12px; }
  .map-link { margin-top: 6px; }
  .site-footer { margin-top: 14px; padding-top: 12px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .lines-grid { grid-template-columns: repeat(3, 1fr); }
  .carrier-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .main-nav, .header-actions .lang-switch, .header-actions .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .brand__tag { display: none; }
  .brand__name { font-size: 1rem; }
  .rail, .fp-nav { display: none !important; }
  .mobile-bar { display: grid; }
  body { padding-bottom: var(--mobile-bar-h); }
  .chat-pop { right: 16px; left: 16px; width: auto; top: auto; bottom: calc(var(--mobile-bar-h) + 12px); transform: none; }
  .chat-bubble { display: grid; }
  .chat-pop--live { height: min(520px, calc(100vh - var(--mobile-bar-h) - 110px)); height: min(520px, calc(100svh - var(--mobile-bar-h) - 110px)); bottom: calc(var(--mobile-bar-h) + 80px); }

  .fp-section { padding: 72px 0; }
  .hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 32px); }
  .hero__title { max-width: none; }
  .hero__deco .ring--1 { width: 120vw; height: 120vw; right: -60vw; top: 30%; }
  .hero__deco .ring--2 { width: 80vw; height: 80vw; right: -40vw; top: 30%; }
  .hero__deco .ring--3 { width: 36vw; height: 36vw; right: -8vw; top: 30%; }
  .hero__actions .btn { flex: 1 1 auto; }

  .services, .lines-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .carrier-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .page-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .site-footer { flex-direction: column; }
}
@media (max-width: 480px) {
  .carrier-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 2rem; letter-spacing: -0.03em; }
  html[lang="ko"] .hero__title { font-size: 1.75rem; }
  .hero .eyebrow { font-size: 0.75rem; letter-spacing: 0.08em; }
  .eyebrow__loc { display: none; }
}

/* ---------- 12. Motion / a11y / print ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--d, 0ms);
}
.fp-section.is-active .reveal,
.fp-section.in-view .reveal,
html.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint svg { animation: none; }
  .hero__video, .section-video { display: none; }
  .card, .btn, .rail__btn, .fp-nav .dot { transition: none; }
}

@media print {
  .site-header, .fp-nav, .rail, .mobile-bar, .scroll-hint, .chat-pop, .chat-bubble, .mobile-menu { display: none !important; }
  html.fp-on, html.fp-on body { overflow: visible; height: auto; }
  html.fp-on .fp { position: static; transform: none !important; }
  html.fp-on .fp-section { height: auto; }
}

/* real Prime logo (primeiservices.com) — color on light header, white on dark hero */
.brand__logo { display: block; height: 44px; width: auto; }
.brand__logo--white { display: none; }
html.on-dark .brand__logo--color { display: none; }
html.on-dark .brand__logo--white { display: block; }
@media (max-width: 640px) { .brand__logo { height: 36px; } }

/* ---------- live chat hint + blinking light ---------- */
.rail__btn.chat-blink { position: relative; }
.chat-blink::before {
  content: ""; position: absolute; inset: 3px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(255, 196, 64, .9); animation: chat-blink 1.1s ease-in-out infinite;
}
.chat-blink > svg { animation: chat-blink-icon 1.1s ease-in-out infinite; }
@keyframes chat-blink {
  0%, 100% { background: rgba(255, 196, 64, 0); box-shadow: 0 0 0 0 rgba(255, 196, 64, 0); }
  50% { background: rgba(255, 196, 64, .35); box-shadow: 0 0 14px 4px rgba(255, 196, 64, .85); }
}
@keyframes chat-blink-icon { 0%, 100% { color: inherit; } 50% { color: #ffd166; } }
.chat-blink .chat-hint {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  white-space: nowrap; pointer-events: auto; cursor: pointer;
  background: #fff; color: #1b1917; font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; opacity: 1;
  line-height: 1.2; padding: 9px 13px; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.28);
  animation: chat-hint-nudge 1.1s ease-in-out infinite;
}
.chat-hint::after { content: ""; position: absolute; top: 50%; margin-top: -6px; border: 6px solid transparent; }
.chat-hint--rail { right: calc(100% + 12px); }
.chat-hint--rail::after { left: 100%; border-left-color: #fff; }
@keyframes chat-hint-nudge { 0%, 100% { margin-right: 0; } 50% { margin-right: 4px; } }
.chat-hint--bubble { right: calc(100% + 12px); }
.chat-hint--bubble::after { left: 100%; border-left-color: #fff; }
.chat-bubble.chat-blink::before { inset: 0; }
@media (prefers-reduced-motion: reduce) { .chat-blink::before, .chat-blink > svg, .chat-hint { animation-duration: 2.4s; } }

/* FAQ block on line pages (job 4250, _tools/geo_patch.py) */
.prose .faq { margin-top: 2.5rem; }
.prose .faq h3 { font-size: 1.05rem; margin: 1.25rem 0 .35rem; }
.prose .faq p { margin: 0; }

/* job 4272: chat hint fades out after 6s (main.js) */
.chat-hint { transition: opacity .5s ease; }
.chat-hint.is-gone { opacity: 0; pointer-events: none; }

/* GEO pass (job 4385): area text line in page footers */
.site-footer--page .footer-area { flex-basis: 100%; font-size: 0.75rem; line-height: 1.6; }

/* SEO7906 (2026-11-08): new line/local pages, guides TOC, footer link row */
.prose ul:not(.checklist):not(.guide-toc):not(.sidebar__links) { margin: 0 0 1em 1.2em; color: var(--ink-700); font-size: 1.0625rem; display: grid; gap: 6px; }
.prose .guide-toc { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.5rem; padding: 0; }
.prose .guide-toc li a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; text-decoration: none; color: var(--green-800); background: #fff; }
.prose .guide-toc li a:hover { border-color: var(--green-600); }
.prose h2 a { text-decoration: none; color: inherit; }
.prose h2 a:hover { text-decoration: underline; }
.site-footer--page .footer-hubs { flex-basis: 100%; line-height: 1.9; }
.site-footer--page .footer-hubs .sep { margin: 0 6px; }
.page-local .page-hero h1 { max-width: 22ch; }

/* SEO7906 (2026-11-08): new line/local pages, guides TOC, footer link row */
.prose ul:not(.checklist):not(.guide-toc):not(.sidebar__links) { margin: 0 0 1em 1.2em; color: var(--ink-700); font-size: 1.0625rem; display: grid; gap: 6px; }
.prose .guide-toc { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.5rem; padding: 0; }
.prose .guide-toc li a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; text-decoration: none; color: var(--green-800); background: #fff; }
.prose .guide-toc li a:hover { border-color: var(--green-600); }
.prose h2 a { text-decoration: none; color: inherit; }
.prose h2 a:hover { text-decoration: underline; }
.site-footer--page .footer-hubs { flex-basis: 100%; line-height: 1.9; }
.site-footer--page .footer-hubs .sep { margin: 0 6px; }
.page-local .page-hero h1 { max-width: 22ch; }

/* SEO7906 (2026-11-08): new line/local pages, guides TOC, footer link row */
.prose ul:not(.checklist):not(.guide-toc):not(.sidebar__links) { margin: 0 0 1em 1.2em; color: var(--ink-700); font-size: 1.0625rem; display: grid; gap: 6px; }
.prose .guide-toc { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.5rem; padding: 0; }
.prose .guide-toc li a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; text-decoration: none; color: var(--green-800); background: #fff; }
.prose .guide-toc li a:hover { border-color: var(--green-600); }
.prose h2 a { text-decoration: none; color: inherit; }
.prose h2 a:hover { text-decoration: underline; }
.site-footer--page .footer-hubs { flex-basis: 100%; line-height: 1.9; }
.site-footer--page .footer-hubs .sep { margin: 0 6px; }
.page-local .page-hero h1 { max-width: 22ch; }

/* desktop (fine pointer): no tel/sms links (Sean 2026-11-09) */
@media (hover:hover) and (pointer:fine) {
  a[href^="sms:"], .m-call, .chat-pop .chat-pop__actions, .rail__btn[href^="tel:"] { display: none !important; }
  a[href^="tel:"] { pointer-events: none; cursor: text; text-decoration: none; }
}
