/* ==========================================================================
   PILLARWHITE — LANDING PAGE
   Light theme: white + soft grey surfaces, brand blue, warm yellow.
   Self-hosted: fonts in assets/fonts, no third-party requests.
   ========================================================================== */
html, body { background: #ffffff; }

@font-face {
  font-family: "Inter Tight";
  src: url("../assets/fonts/inter-tight-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ----- Tokens ----- */
:root {
  /* Surfaces */
  --white: #ffffff;
  --soft: #f8f7f7;
  --soft-2: #f4f4f1;
  --line: #e6e6e6;
  --line-strong: #d9d9d9;

  /* Text */
  --ink: #0a0a0a;
  --text: #393939;
  --muted: #6b6b6b;

  /* Brand blue */
  --blue: #2b58bf;
  --blue-action: #1863dc;
  --blue-action-hover: #1453bd;
  --blue-deep: #1c3f8f;
  --blue-night: #0f1d3d;
  --sky: #a9c3f0;

  /* Warm yellow: what reaches you */
  --yellow: #f6dd78;
  --yellow-deep: #e2c255;
  --yellow-ink: #6b5310;

  --danger: #d93a3f;

  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1280px;
  --gutter: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (min-width: 1200px) { :root { --gutter: 80px; } }

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 16px; line-height: 1.55; font-weight: 400;
  color: var(--text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
::selection { background: rgba(24, 99, 220, 0.18); color: var(--ink); }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; }
em { font-style: normal; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.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; }

:focus-visible { outline: 2px solid var(--blue-action); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .faq :focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 300;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 6px; font-weight: 500;
}
.skip-link:focus { top: 12px; }
section[id], main[id] { scroll-margin-top: 80px; }

/* ----- Shared type ----- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; align-self: start; justify-self: start;
  padding: 5px 12px 5px 8px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink);
  background: var(--white);
}
.eyebrow .plus { color: var(--blue-action); font-weight: 700; font-size: 14px; line-height: 1; }
.eyebrow-light { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); color: var(--white); }
.eyebrow-light .plus { color: var(--yellow); }

.section-title {
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 350; line-height: 1.08; letter-spacing: -0.025em;
  color: var(--ink); max-width: 18ch; text-wrap: balance;
}
.section-title em { color: #8a8a8a; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 10px 18px;
  border-radius: 6px;
  font-size: 15px; font-weight: 500; line-height: 1.2; white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-blue { background: var(--blue-action); color: var(--white); }
.btn-blue:hover { background: var(--blue-action-hover); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: #f2f5fb; }
.btn-sm { min-height: 36px; padding: 8px 14px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 12px 22px; font-size: 16px; }
.btn:has(.btn-chip) { padding-right: 8px; }
.btn-chip {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 4px;
  background: var(--yellow); color: var(--ink);
  transition: transform 0.25s var(--ease);
}
.btn-lg .btn-chip { width: 36px; height: 36px; }
.btn:hover .btn-chip { transform: translateX(2px); }

/* Wipe button: a yellow copy of the face rises from the bottom on hover/focus */
.wipe-btn {
  display: inline-flex; height: 48px; padding: 0; border: 0; border-radius: 6px;
  background: none; font: inherit; cursor: pointer; text-decoration: none;
}
.wipe { pointer-events: none; flex: 1 1 auto; display: flex; position: relative; transition: scale 0.2s var(--ease); }
.wipe > * { flex: 1 1 auto; height: 100%; }
.wipe-face {
  display: flex; align-items: center; justify-content: center;
  padding: 0 22px; border: 1px solid var(--white); border-radius: 6px;
  background: var(--white); color: var(--ink);
  font-size: 16px; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; white-space: nowrap;
}
.wipe-face-over { background: var(--yellow); border-color: var(--yellow); }
.wipe-over {
  position: absolute; inset: 0; display: flex;
  clip-path: inset(120% 0 -20%);
  transition: clip-path 0.4s var(--ease);
}
.wipe-over > * { flex: 1 1 auto; }
.wipe-btn:focus-visible .wipe-over { clip-path: inset(-20% 0); }
@media (hover: hover) { .wipe-btn:hover .wipe-over { clip-path: inset(-20% 0); } }
.wipe-btn:active .wipe { scale: 0.97; }
.wipe-btn-lg { height: 48px; border-radius: 4px; }
.wipe-btn-lg .wipe-face { gap: 14px; padding: 0 8px 0 20px; border: 0; border-radius: 4px; font-size: 16px; line-height: 1.2; letter-spacing: normal; }
.arrow-go { display: grid; place-items: center; overflow: hidden; width: 32px; height: 32px; border-radius: 4px; background: var(--yellow); color: var(--ink); }
.wipe-face-over .arrow-go { background: var(--white); }
.arrow-go > svg { grid-area: 1 / 1; transition: translate 0.45s var(--ease); }
.wipe-over .arrow-go > svg { translate: -160%; }
.wipe-btn:focus-visible .arrow-go > svg { translate: 160%; }
.wipe-btn:focus-visible .wipe-over .arrow-go > svg { translate: 0; }
@media (hover: hover) {
  .wipe-btn:hover .arrow-go > svg { translate: 160%; }
  .wipe-btn:hover .wipe-over .arrow-go > svg { translate: 0; }
}
@media (max-width: 480px) { .hero-actions .wipe-btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .wipe, .wipe-over, .arrow-go > svg { transition: none; }
  .wipe-btn:active .wipe { scale: none; }
}

/* ==========================================================================
   NAV: glass bar over the hero, white tone once scrolled or with the menu open.
   Links centered with a sliding hover pill; mobile menu drapes down from the top.
   ========================================================================== */
@keyframes nav-in { 0% { opacity: 0.01; transform: translateY(-12px); } }
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 68px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  color: var(--white);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}
@media (prefers-reduced-motion: no-preference) { .site-nav { animation: nav-in 0.9s var(--ease) 0.1s both; } }
.site-nav.is-scrolled, .site-nav.menu-open {
  border-bottom-color: rgba(10, 10, 10, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
}
.nav-row {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 80px;
}
.brand { display: inline-flex; align-items: center; gap: 8px; color: inherit; transition: color 0.4s var(--ease); }
.brand-word { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }

.nav-links {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px;
  font-size: 14px; line-height: 1.3; letter-spacing: -0.01em;
}
.nav-link { position: relative; padding: 6px 10px; border-radius: 6px; }
.nav-pill {
  position: absolute; top: 0; left: 0; border-radius: 6px; pointer-events: none;
  background: rgba(255, 255, 255, 0.16); opacity: 0;
  transition: translate 0.4s var(--ease), width 0.4s var(--ease), height 0.4s var(--ease), opacity 0.4s var(--ease), background-color 0.4s var(--ease);
}
.site-nav.is-scrolled .nav-pill { background: rgba(10, 10, 10, 0.06); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.wipe-btn-nav { height: 36px; border-radius: 6px; }
.wipe-btn-nav .wipe-face, .menu-cta .wipe-face {
  border-radius: 6px; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.wipe-btn-nav .wipe-face { padding: 0 16px; font-size: 14px; }
.nav-cta-face { border-color: var(--white); background: var(--white); color: var(--ink); }
.site-nav.is-scrolled .nav-cta-face, .site-nav.menu-open .nav-cta-face { border-color: var(--blue); background: var(--blue); color: var(--white); }
.nav-cta-over { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }

.nav-toggle {
  position: relative; display: none; place-items: center; width: 36px; height: 36px; border-radius: 6px;
  border: 1px solid rgba(207, 205, 203, 0.37); color: inherit;
  transition: border-color 0.4s var(--ease);
}
.site-nav.is-scrolled .nav-toggle, .site-nav.menu-open .nav-toggle { border-color: rgba(10, 10, 10, 0.12); }
.nav-toggle i { position: absolute; left: 50%; top: 50%; width: 16px; height: 1px; margin: -0.5px 0 0 -8px; background: currentColor; transition: transform 0.4s var(--ease); }
.nav-toggle i:first-child { transform: translateY(-3px); }
.nav-toggle i:last-child { transform: translateY(3px); }
.site-nav.menu-open .nav-toggle i:first-child { transform: rotate(45deg); }
.site-nav.menu-open .nav-toggle i:last-child { transform: rotate(-45deg); }

/* Mobile menu */
.nav-overlay, .menu { display: none; }
.nav-overlay {
  position: absolute; left: 0; right: 0; top: 100%; z-index: -1; height: 100svh;
  background: rgba(10, 10, 10, 0.25); visibility: hidden; opacity: 0;
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}
.site-nav.menu-open .nav-overlay { visibility: visible; opacity: 1; transition-duration: 0.65s; }
.menu {
  --m-in: 0.65s; --m-out: 0.45s; --m-ease: cubic-bezier(0.32, 0.72, 0, 1); --m-drape: 40px; --m-row-at: 80ms; --m-row-step: 45ms;
  position: absolute; left: 0; right: 0; top: 0; z-index: -1; overflow: hidden;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08); background: var(--white); color: var(--ink);
  visibility: hidden; transform: translateY(-100%);
  transition: transform var(--m-out) var(--m-ease), visibility 0s linear var(--m-out);
}
.menu.is-open { visibility: visible; transform: none; transition: transform var(--m-in) var(--m-ease), visibility 0s; }
.menu-in {
  position: relative; padding: 76px 20px 24px;
  transform: translate3d(0, calc(100% - var(--m-drape)), 0);
  transition: transform var(--m-out) var(--m-ease);
}
.menu.is-open > .menu-in { transform: none; transition: transform var(--m-in) var(--m-ease); }
.menu-in::before { content: ""; position: absolute; left: 0; right: 0; top: 68px; height: 1px; background: rgba(10, 10, 10, 0.08); }
.menu-row { opacity: 0; transition: opacity 0.2s var(--m-ease); }
.menu.is-open .menu-row { opacity: 1; transition-delay: calc(var(--i, 0) * var(--m-row-step) + var(--m-row-at)); }
.menu li { border-bottom: 1px solid rgba(10, 10, 10, 0.06); }
.menu li a { display: flex; align-items: center; height: 52px; font-size: 18px; line-height: 1; font-weight: 350; }
.menu-cta { display: flex; width: 100%; height: 44px; margin-top: 20px; border-radius: 6px; }
.menu-cta .wipe-face { font-size: 16px; }
.menu-cta-face { border-color: rgba(10, 10, 10, 0.12); background: var(--white); color: var(--ink); }
.menu-cta-over { border-color: var(--ink); background: var(--ink); color: var(--white); }
@media (prefers-reduced-motion: reduce) {
  .menu, .menu.is-open, .menu *, .menu.is-open * { transition-duration: 0s !important; transition-delay: 0s !important; }
}

@media (max-width: 900px) {
  .nav-row { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .nav-overlay, .menu { display: block; }
}
@media (max-width: 420px) { .nav-cta { display: none; } }

/* ==========================================================================
   HERO: layered backdrop (settling gradient, bottom glow, plus grid, guide lines),
   centered copy at a fixed offset, the pillar object below
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  height: 1180px;
  background: var(--white);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -10; pointer-events: none; transform-origin: top;
  background-color: var(--white);
  background-image: linear-gradient(180deg, #17317c 0%, #274fa7 16.667%, #2f5ab9 37.5%, #426fd0 54.167%, #799ce8 66.667%, #abc1f2 75%, #e6ecf8 87.5%, #ffffff 100%);
  background-size: 100% 96%; background-repeat: no-repeat;
}
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(537px 203px at calc(50% - 21px) 100%, #fff 55%, rgba(255, 255, 255, 0));
}
.hero-grid {
  position: absolute; left: 0; right: 0; top: 0; z-index: -1; pointer-events: none;
  margin: 0 auto; height: 778px; max-width: 1440px;
}
.hero-grid i {
  position: absolute; left: 140px; right: 140px; top: 60px; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='58.08' height='58.08'%3E%3Cpath d='M4.63 0v9.27M0 4.63h9.27' stroke='%23d3d3d3' stroke-opacity='.07' stroke-width='1.47'/%3E%3C/svg%3E") 23.62px 43.68px / 58.08px 58.08px;
}
.hero-guides { position: absolute; inset: 0; margin: 0 auto; max-width: 1440px; pointer-events: none; }
.hero-guides i {
  position: absolute; top: 70px; height: 1196px; width: 1px; transform-origin: top;
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2) 40%, rgba(255, 255, 255, 0) 62%);
}
.guide-l { left: 140px; }
.guide-r { left: 1300px; }
@media (max-width: 1100px) {
  .hero-grid i { left: 20px; right: 20px; }
  .guide-l { left: 20px; }
  .guide-r { left: auto; right: 20px; }
}
@media (max-width: 767px) { .hero-grid, .hero-guides { display: none; } }

.hero-copy {
  position: absolute; top: 136px; left: 50%; transform: translateX(-50%);
  width: min(882px, calc(100% - 40px));
  display: flex; flex-direction: column; align-items: center; text-align: center;
  color: var(--white);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 4px 10px 4px 4px; border-radius: 49px;
  background: var(--blue); color: var(--white);
  font-size: 12px; line-height: 1; letter-spacing: -0.01em;
}
.hero-tag-chip {
  border-radius: 27px; background: var(--yellow); color: #161616;
  padding: 2px 8px; font-size: 10px; line-height: 1.4; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
}
.hero-title {
  margin: 16px 0 0;
  font-size: 72px; line-height: 1; font-weight: 350; letter-spacing: normal;
  text-wrap: balance; color: var(--white);
}
.hero-title .accent { color: var(--yellow); }
.hero-sub {
  margin: 16px 0 0; max-width: 590px;
  font-size: 18px; line-height: 1.5; font-weight: 350; text-wrap: pretty;
  opacity: 0.75;
}
.hero-actions { margin-top: 40px; display: flex; justify-content: center; gap: 14px; }

/* Hero image: rendered marble pillars (assets/media/hero-pillars-*.webp),
   nearly full width, clipped by the bottom of the hero */
.hero-pillar {
  position: absolute; top: 470px; left: 50%; transform: translateX(-50%);
  width: min(1440px, 100%); margin: 0; pointer-events: none;
}
.hero-pillar img {
  display: block; width: 100%; height: auto;
  transform: scale(var(--shrink, 1)); transform-origin: 50% 100%;
  will-change: transform;
}

@media (max-width: 1100px) { .hero-title { font-size: clamp(40px, 6.4vw, 72px); } }
@media (max-width: 900px) {
  .hero { height: auto; display: flex; flex-direction: column; align-items: center; padding: 112px 0 0; }
  .hero-copy { position: static; transform: none; width: 100%; padding: 0 24px; }
  .hero-title { font-size: clamp(34px, 8.8vw, 60px); line-height: 1.06; }
  .hero-sub { max-width: 520px; font-size: 16px; }
  .hero-actions { margin-top: 32px; }
  .hero-pillar { position: relative; top: auto; left: auto; transform: none; flex: none; margin: 24px 0 -6%; width: 125%; max-width: none; }
}
@media (max-width: 480px) {
  .hero-actions { width: 100%; max-width: 400px; flex-direction: column; gap: 12px; }
}

/* Entrance, staggered like the reference */
@keyframes hero-settle { 0% { opacity: 0.01; translate: 0 -4%; scale: 1.06; } }
@keyframes hero-draw-down { 0% { scale: 1 0; } }
@keyframes hero-rise { 0% { opacity: 0.01; translate: 0 28px; } }
@keyframes hero-fade { 0% { opacity: 0.01; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-bg { animation: hero-settle 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) both; }
  .hero-grid { animation: hero-fade 1.2s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero-guides i { animation: hero-draw-down 1.8s cubic-bezier(0.645, 0.045, 0.355, 1) both; }
  .guide-l { animation-delay: 0.2s; }
  .guide-r { animation-delay: 0.32s; }
  .hero-tag, .hero-title, .hero-sub, .hero-actions { animation: hero-rise 1.4s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero-tag { animation-delay: 0.35s; }
  .hero-title { animation-delay: 0.44s; }
  .hero-sub { animation-delay: 0.53s; }
  .hero-actions { animation-delay: 0.62s; }
  .hero-pillar { animation: hero-fade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both; }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 112px 0; background: var(--white); }
.section-soft { background: var(--soft); }
@media (min-width: 900px) { .section { padding: 144px 0; } }

.section-head { display: grid; gap: 20px; margin-bottom: 56px; }

/* ----- Problem: columns divided by hairlines ----- */
.col-grid { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .col-grid { grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); border-top: 0; }
  .col { border-right: 1px solid var(--line); }
}
.col { padding: 36px 32px 40px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .col { padding: 40px 32px 48px; border-bottom: 0; } }
.col-art { width: 52px; height: 52px; margin-bottom: 40px; }
.col:nth-child(2) .col-art { --p-top: #d8e4fa; --p-left: #a9c3f0; --p-right: #7fa3e6; }
.col:nth-child(3) .col-art { --p-top: #4a74d1; --p-left: #2b58bf; --p-right: #1c3f8f; }
.col-num { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.col h3 { font-size: clamp(22px, 2vw, 26px); font-weight: 400; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); max-width: 18ch; }
.col p { margin-top: 12px; color: var(--muted); max-width: 36ch; }

.leak-closer {
  margin-top: 72px;
  font-size: clamp(26px, 3vw, 40px); font-weight: 350; line-height: 1.2; letter-spacing: -0.025em;
  color: #8a8a8a; max-width: 24ch;
}
.leak-closer span { color: var(--ink); }

/* ----- Split layout (process, why) ----- */
.split { display: grid; gap: 8px; }
@media (min-width: 1000px) {
  .split { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .split-head { position: sticky; top: 112px; margin-bottom: 0; }
}
.split-head .btn { justify-self: start; margin-top: 8px; }

.steps { display: grid; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 8px;
  padding: 32px 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--mono); font-size: 13px; color: var(--blue-action); padding-top: 6px; }
.step h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
.step p { margin-top: 10px; color: var(--muted); max-width: 48ch; }

.feature-list { display: grid; }
.feature {
  display: grid; grid-template-columns: 28px 1fr; gap: 8px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.feature:first-child { border-top: 1px solid var(--line); }
.feature svg { color: var(--blue-action); margin-top: 3px; }
.feature h3 { font-size: 17px; font-weight: 500; color: var(--ink); }
.feature p { margin-top: 6px; color: var(--muted); max-width: 52ch; }

/* ----- Testimonials: dark cards ----- */
.quote-grid { display: grid; gap: 12px; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.quote-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 300px; padding: 32px;
  border-radius: 12px;
  background: linear-gradient(180deg, #1c1c1c, #0a0a0a);
  color: var(--white);
}
.quote-card:first-child { background: linear-gradient(180deg, var(--blue), var(--blue-deep)); }
.quote-card blockquote { font-size: 19px; line-height: 1.45; letter-spacing: -0.01em; }
.quote-card:first-child blockquote { font-size: clamp(20px, 1.8vw, 24px); font-weight: 350; }
.quote-card figcaption { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; }
.quote-card figcaption strong { font-weight: 500; }
.quote-card figcaption span { color: rgba(255, 255, 255, 0.6); }

/* ----- FAQ: full-bleed blue fading to white ----- */
.faq {
  padding: 120px 0 200px;
  color: var(--white);
  background: linear-gradient(180deg, #2d52a0 0%, #2d52a0 55%, #a8bfea 85%, #ffffff 100%);
}
.faq-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: 4fr 7fr; gap: 80px; align-items: start; } .faq-side { position: sticky; top: 112px; } }
.faq-side { display: grid; gap: 20px; }
.faq-title { font-size: clamp(36px, 4.4vw, 52px); font-weight: 350; letter-spacing: -0.025em; line-height: 1.05; }
.faq-card {
  display: grid; gap: 16px; margin-top: 12px; padding: 24px;
  border-radius: 10px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
}
.faq-card p { color: rgba(255, 255, 255, 0.85); }
.faq-card .btn { width: 100%; }

.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.faq-item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.22); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(18px, 1.7vw, 21px); font-weight: 400; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-right: 6px;
  border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq-item p { padding: 0 48px 24px 0; color: rgba(255, 255, 255, 0.85); max-width: 56ch; }

/* ----- Final CTA with floating pillars ----- */
.final { position: relative; overflow: hidden; padding: 64px 0 160px; background: var(--white); }
.final-inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 22px; }
.final-inner .eyebrow { justify-self: center; }
.final-title { font-size: clamp(38px, 5vw, 64px); font-weight: 350; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); max-width: 16ch; text-wrap: balance; }
.final-sub { max-width: 34rem; color: var(--muted); font-size: 17px; }
.final-inner .btn { margin-top: 8px; }

.final-art .pillar { position: absolute; pointer-events: none; filter: drop-shadow(0 18px 24px rgba(160, 130, 30, 0.18)); }
.final-art .p1 { width: 92px; height: 202px; left: 8%; top: 40px; transform: rotate(-14deg); }
.final-art .p2 { width: 120px; height: 120px; left: 15%; bottom: 40px; transform: rotate(18deg); }
.final-art .p3 { width: 80px; height: 176px; right: 10%; top: 70px; transform: rotate(16deg); }
.final-art .p4 { width: 96px; height: 96px; right: 16%; bottom: 60px; transform: rotate(-10deg); --p-top: #d8e4fa; --p-left: #a9c3f0; --p-right: #7fa3e6; }
@media (max-width: 900px) {
  .final-art .p1, .final-art .p3 { width: 56px; height: 124px; top: 12px; }
  .final-art .p2, .final-art .p4 { width: 64px; height: 64px; bottom: 16px; }
  .final-art .p1 { left: 4%; } .final-art .p3 { right: 4%; }
}

/* ----- Footer with giant wordmark ----- */
.site-footer { position: relative; overflow: hidden; padding-top: 80px; background: var(--white); border-top: 1px solid var(--line); }
.footer-top { display: grid; gap: 48px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr; } }
.site-footer .brand { color: var(--ink); }
.footer-line { margin-top: 24px; font-size: clamp(26px, 3vw, 40px); font-weight: 350; letter-spacing: -0.025em; line-height: 1.15; color: #8a8a8a; max-width: 20ch; }
.footer-line span { color: var(--ink); }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.footer-links div { display: grid; gap: 10px; align-content: start; }
.footer-head { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.footer-links a, .footer-cta { font-size: 15px; color: var(--ink); text-align: left; }
.footer-links a:hover, .footer-cta:hover { color: var(--blue-action); }
.footer-note { margin-top: 64px; font-size: 13.5px; color: var(--muted); }
.footer-wordmark {
  margin-top: 24px; margin-bottom: -0.2em;
  font-size: clamp(96px, 22vw, 340px); font-weight: 500; line-height: 0.8; letter-spacing: -0.05em;
  color: #f0f0f0; text-align: center; white-space: nowrap; user-select: none;
}

/* ==========================================================================
   MODAL + FORM (light)
   ========================================================================== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px;
  background: rgba(15, 29, 61, 0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.modal-backdrop.active { opacity: 1; visibility: visible; }
.modal-backdrop { overscroll-behavior: contain; touch-action: none; }
.modal { touch-action: auto; }
.modal {
  position: relative; width: 100%; max-width: 480px; max-height: calc(100dvh - 32px); overflow-y: auto;
  padding: 32px; border-radius: 12px;
  background: var(--white); color: var(--text);
  box-shadow: 0 32px 68px rgba(15, 29, 61, 0.3);
  transform: translateY(12px); transition: transform 0.35s var(--ease);
}
.modal-backdrop.active .modal { transform: none; }
.modal-close {
  position: absolute; top: 16px; right: 16px; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 6px; color: var(--ink);
  transition: background-color 0.2s var(--ease);
}
.modal-close:hover { background: var(--soft-2); }

/* Calendar popup */
.modal-cal { max-width: 1000px; padding: 0; overflow: hidden; display: flex; flex-direction: column; height: min(760px, calc(100dvh - 32px)); }
.modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line); }
.modal-bar-title { font-size: 15px; font-weight: 500; color: var(--ink); }
.modal-bar-title span { margin-left: 8px; font-weight: 400; color: var(--muted); }
.modal-cal .modal-close { position: static; }
.cal-wrap { position: relative; flex: 1 1 auto; background: #fafafa; }
.cal-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 0.3s var(--ease); }
.cal-ready .cal-wrap iframe { opacity: 1; }
.cal-loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; color: var(--muted); }
.cal-ready .cal-loading { display: none; }
.cal-fallback { padding: 10px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); text-align: center; }
.cal-fallback a { color: var(--blue-action); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 560px) {
  .modal-backdrop { padding: 0; }
  .modal-cal { height: 100dvh; max-height: none; border-radius: 0; }
  .modal-bar-title span { display: none; }
}


/* ==========================================================================
   MOTION: one short fade and rise (fail-safe: only hidden once JS is confirmed)
   ========================================================================== */
.js [data-enter] {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms + 100ms);
}
.js [data-enter="1"] { --i: 0; }
.js [data-enter="2"] { --i: 1; }
.js [data-enter="3"] { --i: 2; }
.js [data-enter="4"] { --i: 3; }
.js [data-enter="5"] { --i: 4; }
.js.is-loaded [data-enter] { opacity: 1; transform: none; }

.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-enter], .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
