:root {
  --bg: #141c1a;
  --bg-alt: #1b2522;
  --bg-raise: #22302c;
  --ink: #ecefeb;
  --ink-soft: #a8b5ae;
  --muted: #768079;
  --accent: #7fc3a3;
  --accent-bright: #a5d8bf;
  --accent-deep: #2a3d35;
  --accent-glow: rgba(127, 195, 163, 0.18);
  --rose: #d98872;
  --rose-glow: rgba(217, 136, 114, 0.15);
  --line: #2c3a36;
  --line-soft: #253230;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.3);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1120px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent-bright); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #c6e5d4; text-decoration: underline; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(20, 28, 26, 0.6);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
  animation: headerDrop 0.6s var(--ease-out) both;
}
.site-header.is-scrolled {
  background: rgba(15, 22, 20, 0.88);
  border-bottom-color: var(--line);
}
@keyframes headerDrop {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: inline-flex;
  gap: 4px;
  align-items: baseline;
  transition: transform 0.2s var(--ease-out);
}
.brand:hover { transform: translateY(-1px); text-decoration: none; }
.brand-mark {
  background: var(--accent);
  color: var(--bg);
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 18px;
  letter-spacing: 0.02em;
  box-shadow: 0 0 24px var(--accent-glow);
}
.brand-name { font-weight: 500; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 15px;
}
.nav-links a {
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav-links a:not(.nav-cta):not(.nav-portal)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:not(.nav-cta):not(.nav-portal):hover { color: var(--ink); text-decoration: none; }
.nav-links a:not(.nav-cta):not(.nav-portal):hover::after { transform: scaleX(1); }
.nav-portal {
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-soft);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.nav-portal:hover { border-color: var(--accent); color: var(--accent-bright); background: var(--accent-deep); text-decoration: none; }
.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}
.nav-cta:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px var(--accent-glow);
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 96px;
  overflow: hidden;
  background: var(--bg);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 520px; height: 520px;
  left: -140px; top: -120px;
  background: radial-gradient(circle, rgba(127, 195, 163, 0.35), transparent 65%);
  animation: drift1 16s ease-in-out infinite;
}
.hero::after {
  width: 480px; height: 480px;
  right: -100px; top: 40px;
  background: radial-gradient(circle, rgba(217, 136, 114, 0.28), transparent 65%);
  animation: drift2 20s ease-in-out infinite;
}
@keyframes drift1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(40px, 30px); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-30px, 20px); }
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 18px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.1s forwards;
}
h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--ink);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.2s forwards;
}
.accent {
  color: var(--accent-bright);
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(120deg, var(--accent-bright), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 0 32px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.35s forwards;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.5s forwards;
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s var(--ease-out), background 0.2s ease,
              border-color 0.2s ease, box-shadow 0.25s ease, color 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px var(--accent-glow);
  text-decoration: none;
  color: var(--bg);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.6s var(--ease-out);
}
.btn-primary:hover::before { left: 140%; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  transform: translateY(-2px);
  text-decoration: none;
}

.hero-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--ink-soft);
  font-size: 14px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.65s forwards;
}
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges span {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-bright);
  font-weight: 700;
  transition: transform 0.3s var(--ease-spring), border-color 0.2s ease;
}
.hero-badges li:hover span {
  transform: scale(1.15) rotate(-5deg);
  border-color: var(--accent);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }
.reveal.delay-5 { transition-delay: 0.40s; }
.reveal.delay-6 { transition-delay: 0.48s; }

/* Sections */
.section {
  padding: 104px 0;
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
}
.section:nth-of-type(even) { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--ink);
}
.section-sub { color: var(--ink-soft); font-size: 17px; margin: 0; }

/* Services */
.grid { display: grid; gap: 22px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease,
              box-shadow 0.3s ease, background 0.3s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%),
              var(--accent-glow), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
  background: #28332f;
}
.card:hover::before { opacity: 1; }
.card-icon {
  position: relative;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-bright);
  margin-bottom: 20px;
  transition: transform 0.4s var(--ease-spring), background 0.3s ease,
              box-shadow 0.3s ease;
}
.card:hover .card-icon {
  transform: scale(1.1) rotate(-4deg);
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.card-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  color: var(--ink);
  position: relative;
}
.card p {
  margin: 0;
  color: var(--ink-soft);
  position: relative;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-text h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.15;
  margin: 0 0 22px;
  color: var(--ink);
}
.about-text p {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0 0 16px;
}
.about-card {
  background: linear-gradient(160deg, var(--accent-deep), var(--bg-raise));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.about-card h3 {
  margin: 0 0 16px;
  font-size: 17px;
  color: var(--accent-bright);
  position: relative;
}
.checklist { list-style: none; margin: 0; padding: 0; position: relative; }
.checklist li {
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink);
  font-size: 15px;
  transition: transform 0.3s var(--ease-out), color 0.2s ease;
}
.checklist li:hover {
  transform: translateX(4px);
  color: var(--accent-bright);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 12px;
  color: var(--accent);
  font-weight: 700;
  transition: transform 0.3s var(--ease-spring);
}
.checklist li:hover::before { transform: scale(1.3); }
.checklist li:last-child { border-bottom: 0; }

/* Community talks (tech literacy) */
.talks { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.talks-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.talks-text p {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0 0 16px;
}
.talks-topics {
  list-style: none;
  margin: 8px 0 22px;
  padding: 0;
}
.talks-topics li {
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}
.talks-topics li::before {
  content: "→";
  position: absolute;
  left: 0; top: 10px;
  color: var(--accent-bright);
  font-weight: 700;
}
.talks-topics li:last-child { border-bottom: 0; }
.talks-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.talks-cta-hint {
  color: var(--muted);
  font-size: 14px;
  max-width: 420px;
}
.talks-card {
  background: linear-gradient(160deg, var(--accent-deep), var(--bg-raise));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.talks-card::before {
  content: "";
  position: absolute;
  bottom: -80px; left: -80px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.talks-card h3 {
  margin: 0 0 16px;
  font-size: 17px;
  color: var(--accent-bright);
  position: relative;
}
.talks-card-note {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--muted);
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* Rates */
.rate-grid { grid-template-columns: repeat(3, 1fr); }
.rate-card {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease,
              box-shadow 0.3s ease;
}
.rate-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.rate-card.featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, var(--bg-raise), var(--accent-deep));
  box-shadow: 0 12px 40px rgba(127, 195, 163, 0.18);
}
.rate-card.featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(127, 195, 163, 0.25);
}
.rate-tag {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--accent);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px var(--accent-glow);
}
.rate-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--ink);
}
.rate-price {
  font-family: "Fraunces", Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 16px;
  color: var(--accent-bright);
  letter-spacing: -0.01em;
}
.rate-unit {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0;
}
.rate-card p:last-child {
  color: var(--ink-soft);
  margin: 0;
}
.rates-note {
  margin-top: 32px;
  color: var(--ink-soft);
  font-style: italic;
  text-align: center;
}

/* Contact */
.contact {
  background: #0f1614;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: -200px; left: 50%;
  width: 900px; height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.contact .section-head h2 { color: var(--ink); }
.contact .eyebrow { color: var(--accent-bright); }
.contact .section-sub { color: var(--ink-soft); }
.contact-inner { max-width: 760px; position: relative; z-index: 1; }
.contact-direct {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 8px 0 32px;
}
.contact-direct-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink) !important;
  transition: border-color 0.3s ease, background 0.3s ease,
              transform 0.3s var(--ease-out);
}
.contact-direct-item:hover {
  border-color: var(--accent);
  background: #28332f;
  transform: translateY(-2px);
  text-decoration: none;
}
.contact-direct-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  font-weight: 700;
}
.contact-direct-value {
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}
.field input, .field textarea {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 13px 15px;
  border-radius: 10px;
  font: inherit;
  resize: vertical;
  transition: border-color 0.2s ease, background 0.2s ease,
              box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #28332f;
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.form-note { margin: 0; color: var(--ink-soft); font-size: 14px; }
.form-note a { color: var(--accent-bright); }

/* Footer */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand p { margin: 0; color: var(--muted); font-size: 14px; }
.footer-meta p { margin: 0; color: var(--muted); font-size: 13px; }

/* Responsive */
@media (max-width: 900px) {
  .services-grid, .rate-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .talks-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 620px) {
  .nav-links a:not(.nav-cta):not(.nav-portal) { display: none; }
  .nav-portal { padding: 5px 11px; font-size: 13px; }
  .hero { padding: 80px 0 56px; }
  .section { padding: 72px 0; }
  .services-grid, .rate-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-direct { grid-template-columns: 1fr; }
}

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

/* ---------- additions for v2 (Flask app) ---------- */

.form-flash {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
}
.form-flash-error { background: var(--rose-glow); color: var(--rose); border: 1px solid rgba(217,136,114,0.3); }
.form-flash-ok    { background: var(--accent-glow); color: var(--accent-bright); border: 1px solid rgba(127,195,163,0.3); }

.footer-admin { margin-top: 4px !important; font-size: 12px; opacity: 0.7; }
.footer-admin a { color: var(--muted); text-decoration: none; }
.footer-admin a:hover { color: var(--accent-bright); }

.avail-now {
  color: var(--accent-bright);
  position: relative;
  padding-left: 14px;
}
.avail-now::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 8px;
  background: var(--accent-bright);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 0 rgba(127,195,163,0.6);
  animation: avail-pulse 2.4s ease-out infinite;
}
@keyframes avail-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(127,195,163,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(127,195,163,0); }
  100% { box-shadow: 0 0 0 0 rgba(127,195,163,0); }
}

.contact-form .hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}

.services-foot {
  margin: 40px auto 0;
  max-width: 640px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 17px;
  font-style: italic;
}

.service-area {
  margin: 32px auto 0;
  max-width: 760px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  padding: 24px 28px;
  background: var(--bg-raise);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.service-area .eyebrow {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent-bright);
  font-weight: 700;
}

.faq { background: var(--bg); }
.faq-list { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: var(--line); }
.faq-item[open] { border-color: var(--accent); }
.faq-item > summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 24px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding-right: 56px;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+";
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--accent-bright);
  transition: transform 0.2s ease;
}
.faq-item[open] > summary::after { content: "−"; }
.faq-item > summary:hover { color: var(--accent-bright); }
.faq-item > p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
}

.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.thanks-inner {
  max-width: 720px;
  text-align: center;
  padding: 80px 24px;
  margin: 0 auto;
}
.thanks-inner h1 { font-family: "Fraunces", Georgia, serif; font-size: clamp(2rem, 5vw, 3.4rem); margin: 12px 0 24px; }
.thanks-inner .lede { color: var(--ink-soft); margin-bottom: 32px; }
.thanks-inner a { color: var(--accent-bright); }

.quote-tool {
  margin-top: 32px;
  padding: 18px 22px;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quote-tool > summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--accent-bright);
  list-style: none;
  padding: 4px 0;
}
.quote-tool > summary::-webkit-details-marker { display: none; }
.quote-tool > summary::before { content: "+ "; }
.quote-tool[open] > summary::before { content: "− "; }

.quote-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 18px;
  align-items: end;
}
.quote-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; color: var(--ink-soft); }
.quote-form input[type="number"], .quote-form input[type="text"] {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}
.quote-form label.check { flex-direction: row; align-items: center; gap: 8px; }
.quote-form button { margin-top: 6px; }
.quote-disclaimer { color: var(--muted); font-size: 0.85rem; margin-top: 10px; }

.quote-breakdown {
  width: 100%;
  border-collapse: collapse;
  margin: 32px auto;
  max-width: 480px;
  font-size: 1rem;
}
.quote-breakdown td { padding: 8px 12px; border-bottom: 1px solid var(--line-soft); }
.quote-breakdown td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.quote-breakdown tr.total td { font-weight: 700; border-top: 2px solid var(--line); border-bottom: none; padding-top: 14px; color: var(--accent-bright); }

