/* Local Stack VA — premium static styles (no build step) */

:root {
  --ink: #071617;
  --ink-2: #0e2a2b;
  --ink-soft: #1c3a3b;
  --muted: #455e5f;
  --muted-2: #5a7374;
  --line: #d5e4e2;
  --line-strong: #b7cbc8;
  --paper: #f4f8f7;
  --paper-2: #e8f1ef;
  --white: #ffffff;
  --brand: #0c3334;
  --brand-deep: #061c1d;
  --brand-mid: #134849;
  --accent: #0f6f64;
  --accent-bright: #1f9f90;
  --accent-2: #3de0cb;
  --accent-soft: #7fe0d2;
  --accent-wash: #ddf7f2;
  --gold: #e8c27a;
  --focus: #1a8a7d;
  --danger: #c45c4a;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow: 0 14px 40px rgba(6, 28, 29, 0.10);
  --shadow-lg: 0 28px 70px rgba(6, 28, 29, 0.22);
  --max: 1160px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 6.5rem;
}

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

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

a {
  color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
a:hover { color: var(--brand); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  background: var(--brand);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
  scroll-margin-top: 6.5rem;
}
.section--tight { padding: 3.25rem 0; }
.section--dark {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(61, 224, 203, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(31, 159, 144, 0.14), transparent 50%),
    linear-gradient(165deg, #041415 0%, var(--brand-deep) 40%, #0c3334 100%);
  color: #dceceb;
}
.section--muted { background: var(--paper-2); }
.section--ink {
  background: linear-gradient(180deg, #061c1d 0%, #0a2c2d 100%);
  color: #dceceb;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  border-radius: 2px;
}
.section--dark .eyebrow,
.section--ink .eyebrow { color: var(--accent-soft); }

/* Long plain-language eyebrows (not shouted ALL CAPS) */
.eyebrow--sentence {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: clamp(0.92rem, 2.8vw, 1.02rem);
  font-weight: 650;
  line-height: 1.45;
  max-width: 34rem;
  text-wrap: pretty;
}
@media (max-width: 400px) {
  .eyebrow--sentence {
    font-size: 0.9rem;
    max-width: 100%;
  }
}


.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--ink);
}
.section--dark .section-title,
.section--ink .section-title { color: var(--white); }

.section-lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 2.75rem;
}
.section--dark .section-lead,
.section--ink .section-lead { color: #a9c0bd; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 248, 247, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: rgba(183, 203, 200, 0.65);
  box-shadow: 0 10px 30px rgba(6, 28, 29, 0.07);
  background: rgba(244, 248, 247, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.35rem;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--ink); }
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-text { font-size: 1.05rem; }
.logo-text span { color: var(--accent); font-weight: 600; }

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.35rem;
  align-items: center;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 550;
}
.nav-links a:hover { color: var(--brand); }
.nav-links .btn { color: var(--white); }
.nav-links .btn:hover { color: var(--white); }

/* Current page in nav */
.nav-links a[aria-current="page"] {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}
.nav-links a.btn[aria-current="page"] {
  text-decoration: none;
  box-shadow: 0 0 0 2px var(--accent-2);
}
.nav-panel a[aria-current="page"] {
  border-color: var(--accent);
  background: var(--accent-wash);
}

/* Inner page hero */
.page-hero {
  padding-top: 2.5rem;
  padding-bottom: 0.5rem;
}
.page-hero .section-title {
  margin-bottom: 0.85rem;
}

.card-link {
  margin: 1rem 0 0;
  font-weight: 650;
}
.card-link a {
  text-decoration: none;
}
.card-link a:hover {
  text-decoration: underline;
}


.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.nav-toggle[aria-expanded="true"] {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.nav-panel { display: none; padding: 0 0 1.15rem; }
.nav-panel.is-open { display: block; }
.nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.nav-panel a {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
  background: var(--white);
  border: 1px solid var(--line);
}
.nav-panel a:hover {
  border-color: var(--accent-soft);
  background: var(--accent-wash);
}

@media (min-width: 960px) {
  .nav-toggle, .nav-panel { display: none !important; }
  .nav-links { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 48%, #178577 100%);
  color: #042221;
  box-shadow: 0 12px 32px rgba(31, 159, 144, 0.38);
}
.btn--primary:hover {
  color: #042221;
  box-shadow: 0 16px 40px rgba(31, 159, 144, 0.48);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}
.btn--ghost:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--outline {
  background: var(--white);
  color: var(--brand);
  border-color: var(--line);
}
.btn--outline:hover {
  color: var(--brand);
  border-color: var(--accent);
  background: var(--accent-wash);
}

.btn--dark {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(6, 28, 29, 0.18);
}
.btn--dark:hover {
  color: var(--white);
  background: var(--brand-deep);
}

.btn--gold {
  background: linear-gradient(135deg, #f0d399, var(--gold));
  color: #3a2a0c;
  box-shadow: 0 10px 28px rgba(232, 194, 122, 0.35);
}
.btn--gold:hover { color: #3a2a0c; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.btn--sm { min-height: 40px; padding: 0.45rem 1.05rem; font-size: 0.9rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.75rem 0 5rem;
  background:
    radial-gradient(ellipse 90% 70% at 85% -20%, rgba(61, 224, 203, 0.28), transparent 50%),
    radial-gradient(ellipse 55% 45% at -5% 90%, rgba(31, 159, 144, 0.22), transparent 45%),
    radial-gradient(circle at 50% 120%, rgba(232, 194, 122, 0.08), transparent 40%),
    linear-gradient(165deg, #020c0d 0%, #061c1d 42%, #0c3334 100%);
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent 75%);
  pointer-events: none;
  opacity: 0.7;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 96px;
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 2.75rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.5rem, 7.2vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 1.2rem;
}
.hero h1 .line { display: block; }
.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--accent-soft), var(--accent-2) 45%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1.05rem, 2.3vw, 1.28rem);
  color: #b9d0cd;
  max-width: 36rem;
  margin: 0 0 1.85rem;
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.85rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d5ebe7;
  font-size: 0.86rem;
  font-weight: 550;
}

.hero-visual {
  position: relative;
  min-height: 320px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.hero-orb--1 {
  width: 180px; height: 180px;
  right: 8%; top: 4%;
  background: radial-gradient(circle, rgba(61,224,203,0.45), transparent 70%);
  animation: floaty 9s ease-in-out infinite;
}
.hero-orb--2 {
  width: 120px; height: 120px;
  left: 4%; bottom: 12%;
  background: radial-gradient(circle, rgba(232,194,122,0.28), transparent 70%);
  animation: floaty 11s ease-in-out infinite reverse;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-panel {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 26px;
  padding: 1.55rem;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61,224,203,0.55), transparent);
}
.hero-panel h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 1rem;
  font-weight: 600;
}
.hero-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.hero-panel li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  color: #d2e6e3;
  font-size: 0.97rem;
}

.check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(61, 224, 203, 0.16);
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  border: 1px solid rgba(61, 224, 203, 0.28);
}

.stack-viz {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.45rem;
}
.stack-bar {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(61,224,203,0.15), rgba(61,224,203,0.55));
  transform-origin: left;
  animation: growBar 1.4s ease both;
}
.stack-bar:nth-child(1) { width: 62%; animation-delay: 0.1s; }
.stack-bar:nth-child(2) { width: 78%; animation-delay: 0.25s; }
.stack-bar:nth-child(3) { width: 94%; animation-delay: 0.4s; background: linear-gradient(90deg, rgba(61,224,203,0.25), rgba(232,194,122,0.7)); }

@keyframes growBar {
  from { transform: scaleX(0.35); opacity: 0.3; }
  to { transform: scaleX(1); opacity: 1; }
}

@media (min-width: 960px) {
  .hero { padding: 5.5rem 0 6.5rem; }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3.25rem;
  }
}

/* Cards */
.card-grid { display: grid; gap: 1.2rem; }
@media (min-width: 720px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem;
  box-shadow: 0 6px 20px rgba(6, 28, 29, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #c2d9d5;
}
.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent-wash), #c9efe8);
  color: var(--accent);
  margin-bottom: 1.05rem;
  border: 1px solid rgba(31, 159, 144, 0.15);
}
.card h3 {
  font-family: var(--display);
  font-size: 1.28rem;
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
}
.card p { margin: 0; color: var(--muted); }

/* AI services */
.ai-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .ai-grid { grid-template-columns: repeat(3, 1fr); }
}

.ai-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.ai-item:hover {
  background: rgba(61, 224, 203, 0.07);
  border-color: rgba(61, 224, 203, 0.28);
  transform: translateY(-2px);
}
.ai-item svg { color: var(--accent-2); margin-top: 2px; }
.ai-item strong {
  display: block;
  color: var(--white);
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}
.ai-item span {
  display: block;
  color: #93aba8;
  font-size: 0.88rem;
  line-height: 1.45;
}
.ai-item .tag {
  display: inline-flex;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #042221;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-2));
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}

.alacarte {
  margin-top: 2.25rem;
  display: grid;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(232,194,122,0.12), rgba(61,224,203,0.08)),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(232, 194, 122, 0.28);
}
@media (min-width: 800px) {
  .alacarte {
    grid-template-columns: 1.4fr auto;
    align-items: center;
  }
}
.alacarte h3 {
  font-family: var(--display);
  margin: 0 0 0.5rem;
  color: var(--white);
  font-size: 1.45rem;
}
.alacarte p { margin: 0; color: #b7cbc9; max-width: 38rem; }

/* Pricing */
.price-grid { display: grid; gap: 1.2rem; align-items: stretch; }
@media (min-width: 960px) {
  .price-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .price-grid--onetime { grid-template-columns: repeat(3, 1fr); }
  .price-grid--3 .price-card--featured {
    margin-top: -0.4rem;
    margin-bottom: -0.4rem;
    padding-top: 2.05rem;
    padding-bottom: 2.05rem;
  }
}

.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 8px 26px rgba(6, 28, 29, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.price-card--featured {
  background: linear-gradient(165deg, #071c1d 0%, #0f3d3e 55%, #155556 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 24px 55px rgba(6, 28, 29, 0.32);
}
.price-badge {
  position: absolute;
  top: -12px;
  right: 1.25rem;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #042221;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(31, 159, 144, 0.35);
}
.price-card h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  margin: 0;
  letter-spacing: -0.02em;
}
.price-card--featured h3 { color: var(--white); }

.price {
  display: flex;
  align-items: baseline;
  gap: 0.28rem;
  flex-wrap: wrap;
}
.price strong {
  font-family: var(--display);
  font-size: 2.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price span { color: var(--muted); font-size: 0.95rem; }
.price-card--featured .price span { color: #c5dbd8; }

.price-blurb { margin: 0; color: var(--muted); font-size: 0.97rem; }
.price-card--featured .price-blurb { color: #c9dedc; }

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  flex: 1;
}
.price-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.price-list li > span { min-width: 0; }
.price-card--featured .price-list li { color: #d5e6e4; }
.price-list svg { margin-top: 3px; color: var(--accent); }
.price-card--featured .price-list svg { color: var(--accent-soft); }

.price-note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.price-card--featured .price-note { color: #b7cecb; }
.price-card .btn { width: 100%; margin-top: 0.35rem; }


.subsection-title {
  font-family: var(--display);
  font-size: 1.55rem;
  margin: 3.1rem 0 1.3rem;
  letter-spacing: -0.02em;
}

/* Steps */
.steps { display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem 1.35rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-mid), var(--brand));
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px rgba(6, 28, 29, 0.18);
}
.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-family: var(--display);
}
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Area */
.area-chips { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.68rem 1.05rem;
  font-weight: 650;
  font-size: 0.94rem;
  color: var(--ink-soft);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.chip:hover {
  border-color: var(--accent-soft);
  background: var(--accent-wash);
}
.chip--accent {
  background: linear-gradient(135deg, var(--accent-wash), #c9efe8);
  border-color: #a7ddd4;
  color: var(--brand);
}

/* FAQ */
.faq { display: grid; gap: 0.75rem; max-width: 50rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.15rem 1.1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq details[open] {
  border-color: #b7dbd4;
  box-shadow: 0 8px 22px rgba(6, 28, 29, 0.05);
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: 1.05rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 1.05rem; color: var(--muted); }

/* About */
.about-grid { display: grid; gap: 1.5rem; }
@media (min-width: 860px) {
  .about-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
}
.about-panel {
  background: linear-gradient(145deg, #061c1d, #155253);
  color: #dceceb;
  border-radius: 24px;
  padding: 1.85rem;
  border: 1px solid rgba(61, 224, 203, 0.15);
  box-shadow: var(--shadow);
}
.about-panel h3 {
  font-family: var(--display);
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: 1.4rem;
}
.about-panel p { margin: 0 0 0.85rem; color: #b7cbc9; }
.about-panel p:last-child { margin-bottom: 0; }
.about-panel a { color: var(--accent-soft); }

/* Contact */
.contact-grid { display: grid; gap: 1.5rem; }
@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.85rem;
  box-shadow: var(--shadow);
}
.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 600px) {
  .form-row--2 { grid-template-columns: 1fr 1fr; }
}
label {
  display: grid;
  gap: 0.4rem;
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
input, select, textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.88rem 1rem;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(31, 159, 144, 0.28);
  border-color: var(--accent);
}
textarea { min-height: 140px; resize: vertical; }
.form-hint { font-size: 0.85rem; color: var(--muted); margin: 0; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.mailto-fallback { font-size: 0.9rem; color: var(--muted); }
.form-status {
  margin: 0;
  font-size: 0.95rem;
  color: var(--accent);
  min-height: 1.4em;
}

/* Footer */
.site-footer {
  background: #020c0d;
  color: #a9c0bd;
  padding: 3.25rem 0 2rem;
}
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.45fr 1fr 1fr; }
}
.site-footer a { color: #d5e6e4; text-decoration: none; }
.site-footer a:hover { color: var(--accent-soft); }
.site-footer h2, .site-footer h3 {
  color: var(--white);
  font-family: var(--display);
  font-size: 1.12rem;
  margin: 0 0 0.9rem;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.9rem;
}

/* Legal / 404 */
.legal { padding: 3rem 0 4rem; }
.legal h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.legal .updated { color: var(--muted); margin: 0 0 2rem; }
.legal h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2rem; }

.page-404 {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}
.page-404 h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 10vw, 5rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--brand), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Reveal — content stays visible by default (and during animation).
   JS may add html.reveal-ready for a gentle slide-up only; opacity is never
   forced to 0, so prices and copy remain readable if JS fails or a card is
   still below the fold on mobile. */
.reveal {
  opacity: 1;
  transform: none;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
html.reveal-ready .reveal:not(.is-visible) {
  opacity: 1;
  transform: translateY(18px);
}
html.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  html.reveal-ready .reveal:not(.is-visible),
  html.reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn, .card, .price-card, .step, .ai-item, .chip { transition: none; }
  .hero-orb, .stack-bar { animation: none; }
}

.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;
}

.divider-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.divider-label::before,
.divider-label::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}

.map-note {
  margin-top: 1.75rem;
  color: var(--muted);
  max-width: 42rem;
}


/* Site Launch pay-over-time alternative */
.pay-alt {
  margin: 0.15rem 0 0.25rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.pay-alt__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pay-alt__divider::before,
.pay-alt__divider::after {
  content: "";
  height: 1px;
  background: var(--line-strong);
  flex: 1;
}
.pay-alt__line {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.45;
  font-weight: 650;
}
.pay-alt__line strong {
  color: var(--brand);
  font-weight: 750;
}
.pay-alt__term {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}


/* Client reviews (hidden until real reviews exist) */
.review-grid {
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 800px) {
  .review-grid { grid-template-columns: repeat(2, 1fr); }
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem;
  box-shadow: 0 6px 20px rgba(6, 28, 29, 0.04);
}
.review-stars {
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}
.review-card blockquote {
  margin: 0 0 1rem;
}
.review-card blockquote p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
  font-family: var(--display);
  font-weight: 500;
}
.review-by {
  margin: 0;
  display: grid;
  gap: 0.15rem;
}
.review-by strong {
  color: var(--ink);
  font-size: 0.98rem;
}
.review-by span {
  color: var(--muted);
  font-size: 0.9rem;
}


.automation-how {
  margin-top: 2rem;
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(6, 28, 29, 0.04);
}
.automation-how h3 {
  font-family: var(--display);
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.automation-how ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
  color: var(--ink-soft);
}
.automation-how li { padding-left: 0.15rem; }

@media (min-width: 960px) {
  .price-grid--onetime {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* —— Audit polish —— */
.pricing-cta {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #071c1d 0%, #0f3d3e 100%);
  color: #e7f3f1;
  display: grid;
  gap: 0.85rem;
  justify-items: start;
  box-shadow: var(--shadow-lg);
}
.pricing-cta h3 {
  font-family: var(--display);
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--white);
}
.pricing-cta p {
  margin: 0;
  color: #c5dbd8;
  max-width: 38rem;
}
.pricing-cta .btn-row { margin-top: 0.35rem; }
.pricing-cta .btn--ghost {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.pricing-cta .btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.contact-promise {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.contact-promise li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
}
.contact-promise svg { margin-top: 0.2rem; color: var(--accent); }

.form-actions { display: grid; gap: 0.65rem; }
.form-actions .btn { width: 100%; }
@media (min-width: 560px) {
  .form-actions { grid-template-columns: 1fr; }
}
.mailto-fallback { margin: 0; color: var(--muted); font-size: 0.92rem; }
.form-hint { color: var(--muted); font-size: 0.88rem; }

/* Dark-section lead / muted copy need stronger contrast */
.section--dark .section-lead,
.section--ink .section-lead { color: #c9dedc; }
.section--dark .eyebrow { color: var(--accent-soft); }
.ai-item span:not(.tag) { color: #c5dbd8; }
.alacarte p { color: #d5e6e4; }

/* Mobile UX */
@media (max-width: 959px) {
  .container { width: min(100% - 1.5rem, var(--max)); }
  .section { padding: 3.75rem 0; }
  .hero { padding-top: 3.25rem; }
  .btn { min-height: 48px; width: 100%; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
  .nav-panel a { min-height: 48px; display: flex; align-items: center; }
  .price-card .btn { min-height: 48px; }
  .hero-meta { gap: 0.5rem; }
  .pill { font-size: 0.82rem; }
}
@media (max-width: 400px) {
  body { font-size: 1.02rem; }
  .logo-text { font-size: 0.98rem; }
  .price strong { font-size: 2.2rem; }
}

/* Focus for nav toggle & details */
.nav-toggle:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
details summary {
  cursor: pointer;
  list-style: none;
  min-height: 48px;
  display: flex;
  align-items: center;
}
details summary::-webkit-details-marker { display: none; }

/* Header CTA always tappable on small desktop gaps */
.nav-links .btn--sm { min-height: 44px; }


/* ========== Free site check ========== */
.check-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: var(--shadow);
  max-width: 720px;
}
.check-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--ink);
}
.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.check-input {
  flex: 1 1 220px;
  min-height: 50px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}
.check-input:focus {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--accent);
  background: var(--white);
}
.check-hint {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.check-status {
  margin: 0.85rem 0 0;
  font-weight: 600;
  color: var(--accent);
}
.check-status.is-error { color: var(--danger); }
.check-results { margin-top: 2rem; scroll-margin-top: 6rem; }
.check-report { display: grid; gap: 1.35rem; }

.check-overall {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(127, 224, 210, 0.22), transparent 55%),
    var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}
.check-overall h2 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 1.75rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.check-url-line { margin: 0; color: var(--muted); word-break: break-word; }
.check-note { margin: 0.45rem 0 0; font-size: 0.9rem; color: var(--muted-2); }

.check-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .check-grid { grid-template-columns: 1fr 1fr; }
}

.check-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: 0 8px 24px rgba(6, 28, 29, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
}
.check-card-top {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.check-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.check-summary {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 650;
}
.check-fix {
  margin: 0;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.5;
}

.grade-badge {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--brand-deep);
  background: var(--paper-2);
  border: 2px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}
.grade-badge--lg {
  width: 4.25rem;
  height: 4.25rem;
  font-size: 2rem;
  border-radius: 18px;
  border-width: 3px;
}
.grade--a {
  background: linear-gradient(160deg, #e6fbf5, #c9f3e9);
  border-color: #1f9f90;
  color: #0c3334;
}
.grade--b {
  background: linear-gradient(160deg, #eef8e4, #d7efc4);
  border-color: #6fa34e;
  color: #243416;
}
.grade--c {
  background: linear-gradient(160deg, #fff6e0, #ffe2a8);
  border-color: #d4a017;
  color: #5a4208;
}
.grade--d, .grade--f {
  background: linear-gradient(160deg, #fdeceb, #f7c9c2);
  border-color: #c45c4a;
  color: #5a2218;
}
.grade--na {
  background: var(--paper-2);
  border-color: var(--line-strong);
  color: var(--muted);
}

.check-card:has(.grade--a) { border-color: rgba(31, 159, 144, 0.35); }
.check-card:has(.grade--b) { border-color: rgba(111, 163, 78, 0.35); }
.check-card:has(.grade--c) { border-color: rgba(212, 160, 23, 0.4); }
.check-card:has(.grade--d),
.check-card:has(.grade--f) { border-color: rgba(196, 92, 74, 0.35); }

.check-cta {
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(61, 224, 203, 0.16), transparent 55%),
    linear-gradient(165deg, #041415 0%, var(--brand-deep) 40%, #0c3334 100%);
  color: #dceceb;
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.6rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(127, 224, 210, 0.18);
}
.check-cta h3 {
  font-family: var(--display);
  margin: 0 0 0.5rem;
  color: var(--white);
  font-size: clamp(1.45rem, 3vw, 1.7rem);
}
.check-cta > p { margin: 0 0 1.15rem; color: #b7cecb; font-size: 1.05rem; }
.check-cta .btn-row { margin-top: 0.25rem; }
.check-cta .btn--primary {
  box-shadow: 0 14px 36px rgba(61, 224, 203, 0.35);
}
.check-cta .btn--outline {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.check-cta .btn--outline:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--accent-soft);
}
.check-disclaimer {
  margin: 1.1rem 0 0 !important;
  font-size: 0.85rem !important;
  color: #8aa5a2 !important;
}
.check-error {
  background: #fde4df;
  border: 1px solid #c45c4a;
  color: #5a2218;
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}

@media (max-width: 959px) {
  .check-row .btn { width: 100%; }
  .check-form { padding: 1.25rem 1rem; }
  .check-overall { align-items: flex-start; }
}

/* ========== Before / after sample makeovers ========== */
.makeover-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .makeover-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.makeover-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.makeover-label {
  margin: 0;
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.makeover-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 210px;
}
.makeover-pane {
  padding: 0.85rem 0.75rem 1rem;
  position: relative;
}
.makeover-pane--before {
  background: #e8e4dc;
  border-right: 1px solid var(--line);
}
.makeover-pane--after {
  background: linear-gradient(180deg, #f4f8f7 0%, #e8f1ef 100%);
}
.makeover-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  color: var(--muted);
}
.makeover-pane--after .makeover-tag { color: var(--accent); }
.mock-site {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.12);
  font-size: 0.62rem;
  line-height: 1.25;
  background: #fff;
  min-height: 150px;
}
.mock-site--dated {
  background: #f3f0e8;
  font-family: "Times New Roman", Times, serif;
  color: #222;
}
.mock-site--dated .mock-top {
  background: #000080;
  color: #fff;
  padding: 0.35rem 0.4rem;
  font-size: 0.7rem;
}
.mock-site--dated .mock-body { padding: 0.45rem; }
.mock-site--dated .mock-blink {
  color: #c00;
  text-decoration: underline;
  font-weight: 700;
}
.mock-site--dated .mock-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.35rem;
  font-size: 0.58rem;
}
.mock-site--dated .mock-table td {
  border: 1px solid #999;
  padding: 0.2rem;
  background: #ffe;
}
.mock-site--modern {
  background: #fff;
  font-family: var(--font);
  color: var(--ink);
}
.mock-site--modern .mock-top {
  background: #0c3334;
  color: #7fe0d2;
  padding: 0.4rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.65rem;
}
.mock-site--modern .mock-hero {
  padding: 0.55rem 0.5rem 0.35rem;
  background: linear-gradient(135deg, #ddf7f2, #f4f8f7);
}
.mock-site--modern .mock-hero strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}
.mock-site--modern .mock-cta {
  display: inline-block;
  margin-top: 0.35rem;
  background: #1f9f90;
  color: #042221;
  font-weight: 800;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.58rem;
}
.mock-site--modern .mock-body { padding: 0.45rem 0.5rem 0.55rem; color: var(--muted); }
.makeover-card > p {
  margin: 0;
  padding: 0.85rem 1rem 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.makeover-disclaimer {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted-2);
  max-width: 40rem;
}

/* ========== Answer bot (chat) ========== */
.lsva-chat {
  position: fixed;
  right: max(0.85rem, env(safe-area-inset-right));
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  z-index: 80;
  font-family: var(--font);
}
.lsva-chat-toggle {
  border: none;
  cursor: pointer;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 55%, #178577 100%);
  color: #042221;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 12px 32px rgba(31, 159, 144, 0.42);
}
.lsva-chat-toggle:hover { filter: brightness(1.03); }
.lsva-chat-toggle:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.lsva-chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.65rem);
  width: min(360px, calc(100vw - 1.5rem));
  max-height: min(520px, calc(100vh - 6.5rem));
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
/* Author display:flex would otherwise override the HTML hidden attribute */
.lsva-chat-panel[hidden] {
  display: none !important;
}
.lsva-chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--brand);
  color: var(--white);
}
.lsva-chat-title {
  margin: 0;
  font-size: 1.05rem;
  font-family: var(--display);
  color: var(--white);
}
.lsva-chat-sub {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #a9c0bd;
}
.lsva-chat-close {
  border: 1px solid rgba(255,255,255,0.28);
  background: transparent;
  color: var(--white);
  border-radius: 999px;
  min-height: 36px;
  padding: 0.25rem 0.7rem;
  cursor: pointer;
  font-weight: 650;
  font-size: 0.82rem;
}
.lsva-chat-log {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: var(--paper);
  min-height: 180px;
}
.lsva-chat-msg p {
  margin: 0;
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 95%;
}
.lsva-chat-msg--bot p {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}
.lsva-chat-msg--user {
  display: flex;
  justify-content: flex-end;
}
.lsva-chat-msg--user p {
  background: var(--accent-wash);
  border: 1px solid var(--accent-soft);
  color: var(--brand);
  font-weight: 600;
}
.lsva-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.lsva-chat-chip {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
  min-height: 36px;
}
.lsva-chat-chip:hover {
  border-color: var(--accent);
  background: var(--accent-wash);
}
.lsva-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem 0.85rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.lsva-chat-label {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}
.lsva-chat-input {
  min-height: 44px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-size: 0.92rem;
}
.lsva-chat-send {
  min-height: 44px;
  min-width: 64px;
  border: none;
  border-radius: 12px;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 480px) {
  .lsva-chat {
    right: max(0.5rem, env(safe-area-inset-right));
    bottom: max(0.5rem, env(safe-area-inset-bottom));
  }
  .lsva-chat-panel {
    width: min(100vw - 1rem, 360px);
    max-height: min(70vh, 520px);
  }
  /* Keep bubble from covering primary CTAs too aggressively */
  .lsva-chat-toggle { font-size: 0.88rem; padding: 0.65rem 1rem; }
}

@media (max-width: 959px) {
  .check-row .btn { width: 100%; }
  .check-form { padding: 1.25rem 1rem; }
}
