:root {
  --bg: #f6f2ec;
  --bg-2: #efe8de;
  --paper: #fffdfa;
  --ink: #1d2520;
  --ink-2: #33403a;
  --muted: #66706a;
  --line: rgba(29, 37, 32, 0.1);
  --line-strong: rgba(29, 37, 32, 0.2);
  --accent: #c2603a;
  --accent-dark: #a44c2a;
  --accent-soft: #f3dfd3;
  --sage: #7e9a83;
  --sage-soft: #dfe7df;
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1200px;
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  font-variation-settings: 'opsz' 120;
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
}

h3 {
  font-size: 1.45rem;
  font-variation-settings: 'opsz' 40;
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--accent);
}

p {
  margin: 0;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

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

/* ——— Buttons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.3s, border-color 0.3s;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ease);
}

.btn .wa-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn .wa-icon,
.btn:hover .wa-icon {
  transform: none;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(194, 96, 58, 0.7);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -16px rgba(194, 96, 58, 0.8);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--accent);
}

.btn-line {
  border-color: var(--line-strong);
  background: transparent;
}

.btn-line:hover {
  border-color: var(--ink);
  background: var(--paper);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.4);
}

.btn-sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

/* ——— Demo ribbon ——— */

.demo-ribbon {
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 48px 8px 16px;
  background: var(--ink);
  color: #efe8de;
  font-size: 0.82rem;
  text-align: center;
}

.demo-ribbon-cta {
  border: 0;
  background: none;
  padding: 0;
  font-weight: 700;
  color: #f0a27f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.demo-ribbon-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 1.3rem;
  line-height: 1;
}

.demo-ribbon-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.is-solid {
  background: rgba(246, 242, 236, 0.86);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
}

.brand-mark circle {
  fill: var(--accent);
}

.brand-mark path {
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: #fff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

.brand-text small {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.93rem;
  font-weight: 600;
}

.nav a:not(.btn) {
  color: var(--ink-2);
  position: relative;
  transition: color 0.3s;
}

.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.35s var(--ease);
}

.nav a:not(.btn):hover {
  color: var(--accent);
}

.nav a:not(.btn):hover::after {
  transform: scale(1);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}

.menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* ——— Hero ——— */

.hero {
  position: relative;
  padding: clamp(30px, 5vw, 60px) 0 clamp(70px, 9vw, 120px);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 760px;
  height: 760px;
  right: -220px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 96, 58, 0.14), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-title {
  font-size: clamp(3.1rem, 7.2vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}

.hero-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-2);
  max-width: 33rem;
  margin-bottom: 34px;
}

.rotator {
  position: relative;
  display: inline-grid;
  justify-items: start;
  vertical-align: bottom;
  overflow: hidden;
  height: 1.65em;
  color: var(--accent);
  font-weight: 700;
  transition: width 0.45s var(--ease);
}

.rotator span {
  grid-area: 1 / 1;
  display: inline-block;
  white-space: nowrap;
  border-bottom: 2px solid rgba(194, 96, 58, 0.35);
  line-height: 1.5;
  transition:
    opacity 0.35s ease,
    transform 0.45s var(--ease),
    filter 0.35s ease;
}

.rotator span.is-out {
  opacity: 0;
  transform: translateY(-45%);
  filter: blur(4px);
}

.rotator span.is-enter {
  opacity: 0;
  transform: translateY(45%);
  filter: blur(4px);
  transition: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 46px;
}

.hero-stats {
  list-style: none;
  margin: 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: clamp(24px, 4vw, 52px);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1.1;
}

.hero-stats small {
  font-size: 0.6em;
  color: var(--accent);
  margin-left: 2px;
}

.hero-stats span {
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.hero-arch {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(29, 37, 32, 0.45);
}

.hero-arch img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 62% 50%;
  transform: translateY(var(--parallax, 0px)) scale(1.04);
  will-change: transform;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -18px rgba(29, 37, 32, 0.35);
  font-size: 0.86rem;
  animation: float 6s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-size: 0.95rem;
}

.float-card span {
  color: var(--muted);
}

.float-card-a {
  left: -34px;
  top: 22%;
}

.float-card-b {
  right: -24px;
  bottom: 12%;
  animation-delay: -3s;
}

.float-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--sage-soft);
  flex: none;
}

.float-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.float-ring {
  position: relative;
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
}

.float-ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.float-ring circle {
  fill: none;
  stroke: var(--accent-soft);
  stroke-width: 4;
}

.float-ring .ring-fill {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 94.25;
  stroke-dashoffset: 94.25;
  animation: ring 1.8s 0.9s var(--ease) forwards;
}

.float-ring b {
  font-size: 0.72rem;
  color: var(--accent);
}

.hero-in {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1s var(--ease) forwards;
  animation-delay: calc(0.12s + var(--d, 0) * 0.12s);
}

/* ——— Sections ——— */

.section {
  padding: clamp(80px, 10vw, 130px) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head.split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section-lede {
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--muted);
}

/* ——— Fears ——— */

.fears {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.fear-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.fear {
  position: relative;
  padding: 34px 30px 32px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s;
}

.fear:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 30px 60px -36px rgba(29, 37, 32, 0.35);
}

.fear-q {
  display: inline-block;
  margin-bottom: 22px;
  padding: 8px 14px;
  border-radius: 14px 14px 14px 4px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
}

.fear h3 {
  margin-bottom: 12px;
}

.fear p {
  color: var(--muted);
}

/* ——— Tabs ——— */

.tabs {
  display: inline-flex;
  padding: 5px;
  gap: 4px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.tab {
  border: 0;
  background: transparent;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  transition: background 0.4s var(--ease), color 0.3s;
}

.tab.is-active {
  background: var(--ink);
  color: #fff;
}

/* ——— Before / after ——— */

.ba {
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: 78vh;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(29, 37, 32, 0.5);
  user-select: none;
  touch-action: pan-y;
  background: var(--bg-2);
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s var(--ease);
}

.ba.is-switching .ba-img {
  opacity: 0;
}

.ba-before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-label {
  position: absolute;
  top: 20px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(29, 37, 32, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.ba-label-before {
  left: 20px;
}

.ba-label-after {
  right: 20px;
  background: rgba(194, 96, 58, 0.9);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.ba-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--ease);
}

.ba.is-dragging .ba-handle span {
  transform: scale(1.1);
}

.ba-handle svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}

.ba-range:focus-visible + .ba-handle,
.ba:focus-within .ba-handle span {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.ba-caption {
  margin-top: 18px;
  text-align: center;
  color: var(--muted);
}

.ba-caption strong {
  color: var(--ink);
}

/* ——— Services bento ——— */

.services {
  background: var(--bg-2);
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 18px;
}

.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease);
}

.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(20, 26, 22, 0.85) 0%, rgba(20, 26, 22, 0.15) 55%, transparent 100%);
  transition: opacity 0.5s;
}

.tile:hover img {
  transform: scale(1.07);
}

.tile-lg {
  grid-column: span 2;
  grid-row: span 2;
}

.tile:nth-child(2) {
  grid-column: span 2;
}

.tile-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 26px;
}

.tile-body p {
  margin-top: 6px;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 28rem;
}

.tile-lg h3 {
  font-size: 2rem;
}

.tile-text {
  background: var(--accent);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tile-text::after {
  display: none;
}

.tile-text p {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.88);
}

.tile-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  margin-bottom: 6px;
}

.tile-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.tile-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.92rem;
}

/* ——— How ——— */

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}

.how-media {
  position: sticky;
  top: calc(var(--header-h) + 30px);
}

.how-media img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  width: 100%;
}

.how-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 253, 250, 0.94);
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
  box-shadow: 0 20px 40px -20px rgba(29, 37, 32, 0.4);
}

.how-note strong {
  display: block;
}

.how-note span {
  color: var(--muted);
}

.dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.2);
  flex: none;
  animation: pulse 2s infinite;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: 8px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--line-strong);
}

.timeline::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 24px;
  width: 2px;
  height: calc((100% - 48px) * var(--progress, 0));
  background: var(--accent);
}

.timeline li {
  position: relative;
  display: flex;
  gap: 22px;
  padding: 14px 0;
}

.t-num {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 2px solid var(--line-strong);
  font-family: var(--serif);
  font-size: 1.25rem;
  transition: background 0.5s var(--ease), border-color 0.5s, color 0.5s;
}

.timeline li.is-active .t-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.timeline h3 {
  margin: 8px 0 6px;
}

.timeline p {
  color: var(--muted);
}

/* ——— Simulator ——— */

.simulator {
  background: var(--ink);
  color: #f3eee6;
}

.simulator h2 em {
  color: #f0a27f;
}

.simulator .eyebrow {
  color: #f0a27f;
}

.simulator .section-lede {
  color: rgba(243, 238, 230, 0.7);
}

.sim-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.sim-points {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.sim-points li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  color: rgba(243, 238, 230, 0.86);
}

.sim-points li::before {
  content: '✓';
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(240, 162, 127, 0.45);
  color: #f0a27f;
  font-weight: 700;
}

.sim-points strong {
  display: block;
  color: #fff;
}

.sim {
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: calc(var(--radius) + 4px);
  background: var(--paper);
  color: var(--ink);
  display: grid;
  gap: 26px;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.6);
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

legend {
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 0.95rem;
}

legend output {
  color: var(--accent);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.choice-grid input,
.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-grid span {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.choice-grid span:hover {
  border-color: var(--ink);
}

.choice-grid input:checked + span {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.choice-grid input:focus-visible + span,
.segmented input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.slider {
  width: 100%;
  height: 28px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 10%), var(--bg-2) var(--fill, 10%));
}

.slider::-moz-range-track {
  height: 6px;
  border-radius: 6px;
  background: var(--bg-2);
}

.slider::-moz-range-progress {
  height: 6px;
  border-radius: 6px;
  background: var(--accent);
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -10px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 4px 12px rgba(194, 96, 58, 0.4);
}

.slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 5px;
  gap: 4px;
  border-radius: 999px;
  background: var(--bg-2);
}

.segmented span {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0 6px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  white-space: nowrap;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.segmented input:checked + span {
  background: var(--ink);
  color: #fff;
}

.sim-result {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-soft), #f8ece4);
}

.sim-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 4px;
}

.sim-price {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  display: block;
  white-space: nowrap;
}

.sim-price.is-updating {
  animation: bump 0.45s var(--ease);
}

.sim-meta {
  text-align: right;
}

.sim-meta strong {
  font-size: 1.1rem;
}

.sim-note {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  margin-top: -10px;
}

/* ——— Reviews ——— */

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review {
  margin: 0;
  padding: 34px 30px 28px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.review::before {
  content: '“';
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--accent-soft);
}

.review:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -36px rgba(29, 37, 32, 0.35);
}

.review blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.45;
  flex: 1;
  position: relative;
}

.review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.review figcaption strong {
  display: block;
  color: var(--ink);
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sage-soft);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  flex: none;
}

/* ——— FAQ ——— */

.faq-area {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 6vw, 80px);
}

.areas {
  margin-top: 34px;
}

.areas-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-chips span {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--sage-soft);
  font-weight: 600;
  font-size: 0.9rem;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: background 0.3s;
}

.faq details[open] {
  background: #fff;
  box-shadow: 0 20px 40px -30px rgba(29, 37, 32, 0.35);
}

.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 60px 20px 24px;
  font-weight: 700;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--accent);
  transition: transform 0.4s var(--ease);
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq details p {
  padding: 0 24px 22px;
  color: var(--muted);
}

/* ——— CTA band ——— */

.cta-band {
  padding: clamp(70px, 9vw, 110px) 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.14), transparent 40%),
    var(--accent);
  color: #fff;
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.cta-inner h2 {
  max-width: 16ch;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

/* ——— Footer ——— */

.site-footer {
  padding: 40px 0 110px;
  background: var(--ink);
  color: rgba(243, 238, 230, 0.7);
  font-size: 0.88rem;
}

.site-footer .brand-text {
  color: #fff;
}

.site-footer .brand-text small {
  color: rgba(243, 238, 230, 0.55);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 30px;
}

.footer-inner strong {
  color: #fff;
}

/* ——— WhatsApp float ——— */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.55);
  transition: transform 0.4s var(--ease);
}

.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: ping 2.4s var(--ease) infinite;
}

.wa-float:hover {
  transform: scale(1.08) rotate(-6deg);
}

.wa-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ——— Demo modal ——— */

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(29, 37, 32, 0.55);
  backdrop-filter: blur(6px);
  animation: fade 0.3s var(--ease);
}

.demo-modal[hidden] {
  display: none;
}

.demo-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 36px 30px 28px;
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 50px 100px -30px rgba(29, 37, 32, 0.6);
  animation: pop 0.45s var(--ease);
}

.demo-dialog h2 {
  font-size: 1.9rem;
  margin-bottom: 12px;
  padding-right: 40px;
}

.demo-dialog > p {
  color: var(--muted);
  margin-bottom: 14px;
}

.demo-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
}

.wa-bubble {
  max-width: 92%;
  margin: 0 0 18px auto;
  padding: 10px 14px 12px;
  border-radius: 14px 3px 14px 14px;
  background: #d9fdd3;
  color: #111b21;
  font-size: 0.93rem;
  line-height: 1.5;
  white-space: pre-line;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.demo-dialog .demo-pitch {
  color: var(--ink);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* ——— Reveal ——— */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 0.1s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ——— Keyframes ——— */

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

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

@keyframes ring {
  to {
    stroke-dashoffset: 2.83;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  80%,
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes bump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.05);
    color: var(--accent);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

/* ——— Responsive ——— */

@media (max-width: 1080px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .tile:nth-child(2) {
    grid-column: span 1;
  }

  .float-card-a {
    left: -12px;
  }

  .float-card-b {
    right: -8px;
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    background: rgba(246, 242, 236, 0.98);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav .nav-cta {
    font-family: var(--sans);
    font-size: 1rem;
    margin-top: 8px;
  }

  .hero-grid,
  .how-grid,
  .sim-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .how-media {
    position: relative;
    top: 0;
  }

  .fear-grid,
  .reviews {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 70px;
  }

  .demo-ribbon {
    font-size: 0.76rem;
    flex-direction: column;
    gap: 2px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-arch {
    aspect-ratio: 4 / 4.2;
  }

  .float-card {
    padding: 10px 14px;
    font-size: 0.78rem;
  }

  .float-card-a {
    left: 8px;
    top: auto;
    bottom: 24%;
  }

  .float-card-b {
    right: 8px;
    bottom: 6%;
  }

  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .tile-lg {
    grid-column: auto;
    grid-row: span 1;
  }

  .tile-lg h3 {
    font-size: 1.6rem;
  }

  .tile-text {
    grid-row: span 1;
  }

  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sim-result {
    flex-direction: column;
    align-items: flex-start;
  }

  .sim-meta {
    text-align: left;
  }

  .ba {
    aspect-ratio: 4 / 4;
  }

  .ba-handle span {
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
  }
}

@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,
  .hero-in {
    opacity: 1;
    transform: none;
  }
}
