@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("fonts/lora-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("fonts/lora-600italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #FAF8F3;
  --paper-2: #F3EFE6;
  --ink: #201E1A;
  --muted: #6E6A60;
  --accent: #15694E;
  --accent-dark: #0E4E39;
  --line: #E3DED2;
  --footer: #17201C;

  --font-display: "Lora", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;

  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-h1: clamp(2.05rem, 1.3rem + 2.5vw, 2.95rem);
  --text-h2: clamp(1.6rem, 1.25rem + 1.4vw, 2.3rem);

  --space: clamp(4.5rem, 3.5rem + 4vw, 8rem);

  --dur: 260ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

h1, h2 { font-family: var(--font-display); font-weight: 600; line-height: 1.16; letter-spacing: -0.01em; }
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: 1.05rem; font-weight: 600; }

.fine { font-size: 0.8rem; color: var(--muted); }

.sec-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); max-width: 560px; }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -12px rgba(14, 78, 57, 0.55);
}

.btn-plain { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-plain:hover { border-color: var(--ink); }
.btn-plain::after {
  content: "\2192";
  display: inline-block;
  margin-left: 8px;
  transition: transform var(--dur) var(--ease);
}
.btn-plain:hover::after { transform: translateX(4px); }

.btn-light { background: #fff; color: var(--accent-dark); transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.btn-light:hover { background: #CDE8DA; transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.5); }

.btn:focus { outline: none; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.section-dark .btn:focus-visible { outline-color: #fff; }
.wa-link:focus-visible, .modal-close:focus-visible, .nav-toggle:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

.nav-wrap {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 40;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: min(720px, calc(100% - 28px));
  margin: 0 auto;
  padding: 8px 10px 8px 20px;
  display: flex; align-items: center; gap: 22px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 34px -20px rgba(32, 30, 26, 0.35);
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.37em;
}
.brand-mark { width: 1.05em; height: auto; flex: none; color: var(--accent); }
.brand-foot .brand-mark { color: inherit; }
.nav-links { display: flex; gap: 18px; list-style: none; margin-left: auto; }
.nav-links a {
  display: inline-block;
  position: relative;
  padding: 8px 2px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--dur);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 10px 18px; }
.nav-toggle { display: none; }

.hero { padding: clamp(6.5rem, 9vw, 9rem) 0 var(--space); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr auto auto 1fr;
  column-gap: clamp(2.5rem, 4vw, 4rem);
  row-gap: 0;
  align-items: center;
}
.hero-copy { grid-column: 1; grid-row: 2; }
.hero-cta { grid-column: 1; grid-row: 3; }
.hero .phone { grid-column: 2; grid-row: 1 / 5; align-self: center; }
.hero h1 { margin: 6px 0 22px; letter-spacing: -0.015em; }
.hero h1 em {
  font-style: italic;
  background-image: linear-gradient(rgba(233, 178, 48, 0.42), rgba(233, 178, 48, 0.42));
  background-repeat: no-repeat;
  background-size: 0% 52%;
  background-position: 0 68%;
}
.hero-copy.hl-go h1 em { animation: draw-hl 550ms var(--ease) forwards; }
.hero-copy.hl-go h1 em:nth-of-type(1) { animation-delay: 700ms; }
.hero-copy.hl-go h1 em:nth-of-type(2) { animation-delay: 1150ms; }
@keyframes draw-hl { to { background-size: 100% 52%; } }
.lede { color: var(--muted); font-size: 1.12rem; max-width: 500px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 0.85rem; color: var(--muted); }

.phone {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 12px;
  max-width: 380px;
  margin-left: auto;
  box-shadow: 0 18px 40px -26px rgba(32, 30, 26, 0.22);
}
.phone-head {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 10px 12px;
  border-bottom: 1px solid var(--line);
}
.phone-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.phone-avatar svg { display: block; }
.phone-avatar .avatar-m { display: none; }
.ph-id { line-height: 1.2; }
.ph-id strong { display: block; font-size: 0.92rem; }
.ph-id small { display: block; margin-top: 2px; color: var(--accent); font-weight: 500; font-size: 0.72rem; }
.chat {
  background: var(--paper-2);
  border-radius: 16px;
  padding: 13px;
  margin-top: 10px;
  display: flex; flex-direction: column; gap: 9px;
  max-height: min(560px, 64vh);
  overflow-y: auto;
}
.chat::-webkit-scrollbar { width: 8px; }
.chat::-webkit-scrollbar-track { background: #EAE5D8; border-radius: 99px; }
.chat::-webkit-scrollbar-thumb { background: #C6BFAE; border-radius: 99px; }
.chat::-webkit-scrollbar-thumb:hover { background: #AFA88F; }
@supports (-moz-appearance: none) {
  .chat { scrollbar-width: thin; scrollbar-color: #C6BFAE #EAE5D8; }
}
.chat-wrap { position: relative; }
.chat-cue {
  position: absolute;
  left: 50%; bottom: 12px;
  transform: translateX(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(32, 30, 26, 0.18);
  display: grid; place-items: center;
  color: var(--accent-dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease);
}
.chat-cue.show { opacity: 1; animation: cue-bob 1.5s ease-in-out infinite; }
@keyframes cue-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 5px); }
}
.chat-day {
  align-self: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 11px;
  margin: 4px 0 2px;
}
.chat .cal-chip, .svc-chat .cal-chip {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--accent);
  border: 0;
  color: #fff;
  padding: 5px 12px;
  margin: 2px 0;
}
.bubble {
  max-width: 88%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.84rem;
  line-height: 1.5;
}
.bubble time { display: block; font-size: 0.64rem; color: var(--muted); text-align: right; margin-top: 3px; }
.bubble.in  { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.bubble.out { background: #DCEFE4; align-self: flex-end; border-top-right-radius: 4px; }
.phone figcaption { font-size: 0.76rem; color: var(--muted); padding: 10px 6px 2px; }

.chat.play > *:not(.typing) { opacity: 0; transform: translateY(8px) scale(0.98); animation: pop 380ms var(--ease) forwards; }
@keyframes pop { to { opacity: 1; transform: none; } }
.chat.done > * { opacity: 1 !important; transform: none !important; animation: none !important; }
.chat.done .typing { display: none; }
.typing {
  align-self: flex-end;
  display: flex; gap: 4px; align-items: center;
  background: #DCEFE4;
  border-radius: 12px;
  border-top-right-radius: 4px;
  padding: 0 12px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
.typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted);
  animation: tdot 900ms infinite;
}
.typing i:nth-child(2) { animation-delay: 150ms; }
.typing i:nth-child(3) { animation-delay: 300ms; }
.chat.play .typing { animation: typing-cycle 1450ms var(--ease) 250ms forwards; }
@keyframes typing-cycle {
  0% { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
  18% { max-height: 34px; opacity: 1; padding-top: 9px; padding-bottom: 9px; }
  82% { max-height: 34px; opacity: 1; padding-top: 9px; padding-bottom: 9px; }
  100% { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
}
@keyframes tdot { 0%, 60%, 100% { transform: none; opacity: 0.4; } 30% { transform: translateY(-3px); opacity: 1; } }

.section { padding: var(--space) 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.problems { list-style: none; max-width: 860px; }
.problems li {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(240px, 330px) 1fr;
  gap: 18px 40px;
  align-items: center;
}
.problems li:last-child { border-bottom: 1px solid var(--line); }
.problems h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  transition: color var(--dur);
}
.problems li.reading h3 { color: var(--accent-dark); }
.problems .p-copy p { font-size: 0.94rem; color: var(--muted); }
.problems .mark {
  color: var(--ink);
  font-weight: 600;
  background-image: linear-gradient(rgba(214, 116, 92, 0.28), rgba(214, 116, 92, 0.28));
  background-repeat: no-repeat;
  background-size: 0% 52%;
  background-position: 0 68%;
  transition: background-size 600ms var(--ease) 250ms;
}
.problems li.reading .mark { background-size: 100% 52%; }
.problems + .fine { max-width: 860px; margin-top: 14px; }

.artifact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  font-size: 0.85rem;
  line-height: 1.55;
  transition: border-color var(--dur), transform var(--dur) var(--ease);
}
.problems li.reading .artifact {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  transform: translateY(-2px);
}
.art-label { font-size: 0.72rem; font-weight: 600; color: var(--muted); margin-bottom: 9px; }
.cal-row { display: flex; gap: 12px; padding: 8px 9px; border-radius: 8px; }
.cal-row span:first-child { font-variant-numeric: tabular-nums; color: var(--muted); flex-shrink: 0; }
.cal-row.empty {
  border: 1px dashed #D8A79B;
  background: #FBF1EE;
  color: #A03D2E;
  font-weight: 600;
}
.cal-row.empty span:first-child { color: #A03D2E; }
.p-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 9px; }
.p-row span:first-child { font-weight: 600; flex-shrink: 0; }
.p-row span:last-child { color: var(--muted); text-align: right; }
.p-row:nth-child(3) { opacity: 0.7; }
.p-row:nth-child(4) { opacity: 0.45; }
.bubs { display: flex; flex-direction: column; gap: 5px; }
.bub-tag { font-size: 0.7rem; font-weight: 600; color: var(--muted); margin-top: 7px; align-self: flex-end; }
.bub-tag:first-child { margin-top: 0; }
.bub { position: relative; padding: 9px 12px; border-radius: 11px; line-height: 1.5; align-self: flex-end; max-width: 94%; }
.bub.wrong { background: #FBF1EE; border-top-right-radius: 4px; }
.bub.right { background: #DCEFE4; border-top-right-radius: 4px; }
.bub-mark {
  position: absolute; top: -8px; right: -8px;
  width: 19px; height: 19px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 1px 5px rgba(32, 30, 26, 0.25);
}
.bub-mark.bm-x { background: #B4432C; }
.bub-mark.bm-v { background: var(--accent); }

.section-dark { background: var(--accent-dark); color: #fff; }
.section-dark h2 { color: #fff; }
.svc-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.svc-head h2 { margin-bottom: 10px; }
.svc-head p { color: #C7DCD2; max-width: 480px; }

.svc-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.svc-col { display: flex; flex-direction: column; gap: 20px; }
.svc-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur), transform var(--dur) var(--ease), background var(--dur);
}
.svc-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.svc-card h3 { font-size: 1.02rem; color: #fff; margin-bottom: 12px; }
.svc-chat {
  background: var(--paper-2);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
}
.svc-chat .bubble { font-size: 0.8rem; max-width: 82%; }

.tone-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; }
.tone-hint { font-size: 0.72rem; color: #A9C4B7; margin-right: 2px; }
.tone-pill {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: #C7DCD2;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.tone-pill:hover { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.tone-pill.active { background: #CDE8DA; color: var(--accent-dark); border-color: #CDE8DA; }
.tone-pill:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.tone-bubble #tone-text { transition: opacity 150ms ease; }
.tone-bubble.swap #tone-text { opacity: 0; }

.sheet {
  background: #fff;
  border: 1px solid #D9D4C8;
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.78rem;
  color: var(--ink);
}
.sheet-bar {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.74rem;
  padding: 7px 12px;
}
.sheet-grid { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 0.74rem; }
.sheet-grid th {
  background: #F1F3F4;
  color: #5F6368;
  font-weight: 500;
  font-size: 0.62rem;
  border: 1px solid #E0E3E7;
  padding: 3px 4px;
  text-align: center;
}
.sheet-grid th:first-child { width: 9%; }
.sheet-grid td { border: 1px solid #E9EBEE; background: #fff; padding: 4px 8px; height: 1.9em; }
.sheet-grid td:nth-child(2) { width: 52%; }
.sheet-grid td:nth-child(3) { width: 22%; }
.sheet-grid td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.sheet-tab {
  display: inline-block;
  margin: 8px 10px 10px;
  background: #E7F0EB;
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.68rem;
  border-radius: 6px;
  padding: 3px 10px;
}

.leak-calc {
  max-width: 860px;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 20px 22px 16px;
}
.leak-calc.reveal {
  transition: opacity 550ms var(--ease), transform 550ms var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.leak-calc.reveal.reading {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  transform: translateY(-2px);
}
.lc-title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 5px; }
.lc-hint { font-size: 0.83rem; color: var(--muted); margin-bottom: 15px; max-width: 62ch; }
.lc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lc-field > span:first-child { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; }
.lc-input {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 9px 12px;
  transition: border-color var(--dur);
}
.lc-input:focus-within { border-color: var(--accent); background: #fff; }
.lc-input:hover { border-color: #C9C3B4; }
.lc-rp { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.lc-input input {
  border: 0; background: none; outline: none;
  font: inherit; font-size: 0.95rem;
  width: 100%;
  font-variant-numeric: tabular-nums;
}
.lc-input input::placeholder { color: #C9C3B4; font-weight: 400; }
.lc-out { margin-top: 14px; font-size: 1.02rem; overflow-wrap: anywhere; }
.lc-out strong {
  font-weight: 600;
  background-image: linear-gradient(rgba(214, 116, 92, 0.28), rgba(214, 116, 92, 0.28));
  background-repeat: no-repeat;
  background-size: 0% 52%;
  background-position: 0 68%;
  transition: background-size 600ms var(--ease) 250ms;
}
.lc-out strong.lit { background-size: 100% 52%; }
.leak-calc .fine { margin-top: 10px; }

.svc-cap { font-size: 0.76rem; color: #A9C4B7; margin-top: 10px; line-height: 1.5; }
.cal-chip {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: #E7F0EB;
  border: 1px solid #CBDFD4;
  border-radius: 8px;
  padding: 5px 9px;
}

.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 28px; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; right: 6px; top: 6px;
  height: 1px;
  background: var(--line);
}
.timeline::after {
  content: "";
  position: absolute;
  left: 6px; right: 6px; top: 6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.timeline.go::after { transform: scaleX(1); transition: transform 3270ms linear 300ms; }
.timeline li { position: relative; padding-top: 28px; font-size: 0.92rem; color: var(--muted); }
.timeline li::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--accent);
  transform: scale(0.55);
}
.timeline.go li::before {
  background: var(--accent);
  transform: scale(1);
  transition: background 320ms var(--ease), transform 450ms var(--ease);
}
.timeline.go li:nth-child(1)::before { transition-delay: 300ms; }
.timeline.go li:nth-child(2)::before { transition-delay: 1150ms; }
.timeline.go li:nth-child(3)::before { transition-delay: 2000ms; }
.timeline.go li:nth-child(4)::before { transition-delay: 2850ms; }
.timeline .t-day { opacity: 0; transform: translateY(5px); }
.timeline.go .t-day { opacity: 1; transform: none; transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.timeline.go li:nth-child(1) .t-day { transition-delay: 450ms; }
.timeline.go li:nth-child(2) .t-day { transition-delay: 1300ms; }
.timeline.go li:nth-child(3) .t-day { transition-delay: 2150ms; }
.timeline.go li:nth-child(4) .t-day { transition-delay: 3000ms; }
.t-day {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: #E7F0EB;
  border: 1px solid #CBDFD4;
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 9px;
}
.timeline strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 6px;
}

.price-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
}
.price-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  padding: 26px 28px 24px;
}
.price-box h3 {
  font-size: 0.95rem; font-weight: 600; color: var(--muted);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.price-chip {
  font-size: 0.68rem; font-weight: 600;
  color: var(--accent-dark);
  background: #E7F0EB;
  border-radius: 999px;
  padding: 3px 10px;
}
.price-arrow { align-self: center; display: flex; color: var(--accent); }
.pa-v { display: none; }
.pb-list {
  list-style: none;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.pb-list li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
}
.pb-list li:last-child { margin-bottom: 0; }
.pb-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.price-num { font-family: var(--font-display); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.5rem); font-weight: 600; margin: 6px 0 0; }
.price-num span { display: block; font-family: var(--font-body); font-size: 0.82rem; font-weight: 500; color: var(--muted); margin-top: 2px; }
.price-fine { max-width: 780px; margin-top: 18px; }

.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-h { margin: 0; font-size: inherit; }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 19px 0;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: color var(--dur);
}
.faq-q:hover { color: var(--accent-dark); }
.faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.faq-ico {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  transition: transform 360ms var(--ease), color var(--dur),
              border-color var(--dur), background var(--dur);
}
.faq-q:hover .faq-ico { border-color: currentColor; }
.faq-q:active .faq-ico { transform: scale(0.86); }
.faq-item.open .faq-ico {
  transform: rotate(180deg);
  color: #A03D2E;
  border-color: #D8A79B;
  background: #FBF1EE;
}
.faq-item.open .faq-q:active .faq-ico { transform: rotate(180deg) scale(0.86); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 400ms var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner {
  overflow: hidden;
  max-width: 640px;
  padding: 2px 46px 22px 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.faq-item.open .faq-a-inner { opacity: 1; transform: none; transition-delay: 90ms; }
.faq-a p, .faq-a li { font-size: 0.94rem; color: var(--muted); }
.faq-a p, .faq-a ul { margin-bottom: 12px; }
.faq-a p + p { margin-top: 6px; }
.faq-a-inner > :last-child { margin-bottom: 0; }
.faq-a ul { list-style: none; }
.faq-a li { padding-left: 18px; position: relative; margin-bottom: 8px; }
.faq-a li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }

.cta-final { background: var(--paper); border-top: 1px solid var(--line); padding: calc(var(--space) * 0.7) 0 var(--space); overflow: hidden; }
.cta-lockup {
  display: flex;
  align-items: center;
  gap: 0.37em;
  font-size: min(145px, calc((100vw - 70px) / 7.11));
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.cta-mark { flex: none; line-height: 0; color: var(--accent); transform: translateY(0.016em); }
.cta-mark svg { display: block; width: 1.05em; height: auto; }
.cta-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1em;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  white-space: nowrap;
}
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-line { color: var(--muted); max-width: 430px; }
.cta-actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.wa-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--dur);
}
.wa-link:hover { color: var(--accent); }

.footer { background: var(--footer); color: #9BA69F; font-size: 0.9rem; padding: 48px 0 26px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; padding-bottom: 32px; flex-wrap: wrap; }
.footer-grid > div { max-width: 380px; }
.brand-foot { color: #fff; display: inline-flex; margin-bottom: 10px; }
.footer-links { list-style: none; display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.footer a { color: #9BA69F; text-decoration: none; transition: color var(--dur); }
.footer a:hover { color: #fff; }
.footer-base {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.78rem;
}

dialog {
  border: none;
  border-radius: 18px;
  padding: 0;
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop { background: rgba(23, 32, 28, 0.55); backdrop-filter: blur(3px); }
dialog[open] { animation: modal-in 260ms var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px); } }
#quiz-form { padding: clamp(20px, 4vw, 32px); overflow-y: auto; overscroll-behavior: contain; max-height: calc(100dvh - 48px); }
body.no-scroll { overflow: hidden; }
.modal-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.modal-head h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; margin-bottom: 6px; }
.modal-head p { font-size: 0.88rem; color: var(--muted); }
.modal-close {
  margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 34px; height: 34px;
  font-size: 1.1rem; color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: color var(--dur), border-color var(--dur);
}
.modal-close:hover { color: var(--ink); border-color: var(--ink); }

.fq { display: block; margin-bottom: 18px; }
fieldset.fq { border: 0; padding: 0; min-width: 0; }
.fq-label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 8px; }
.fq .opt { font-style: normal; font-weight: 400; font-size: 0.78rem; color: #A9A395; margin-left: 4px; }
.fq .req { color: #A03D2E; font-weight: 700; }
.fq-other { margin-top: 9px; }
.fq-text, .fq-other {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  font: inherit;
  font-size: 0.92rem;
  background: #fff;
  transition: border-color var(--dur);
}
.fq-text:focus-visible, .fq-other:focus-visible { border-color: var(--accent); outline: none; }
.fq-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.fpill {
  position: relative;
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.9rem; font-weight: 500;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: border-color var(--dur), background var(--dur), color var(--dur);
}
.fpill input { position: absolute; opacity: 0; pointer-events: none; }
.fpill:hover { border-color: var(--accent); }
.fpill.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.fpill:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.fq.missing .fpill { border-color: #D8A79B; background: #FBF1EE; }
.fq.missing .fq-text { border-color: #A03D2E; border-width: 2px; background-color: #FBF1EE; }
.fq-err { display: none; font-size: 0.8rem; font-weight: 600; color: #A03D2E; margin-top: 6px; }
.fq.missing .fq-err { display: block; }
.quiz-ok { font-size: 0.9rem; font-weight: 600; color: var(--accent-dark); }
@keyframes shake {
  20% { transform: translateX(-5px); }
  45% { transform: translateX(4px); }
  70% { transform: translateX(-3px); }
  90% { transform: translateX(2px); }
}
.btn-shake { animation: shake 340ms var(--ease); }
.modal-foot { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.quiz-warn {
  font-size: 0.86rem;
  font-weight: 500;
  color: #A03D2E;
  background: #FBF1EE;
  border: 1px solid #D8A79B;
  border-radius: 9px;
  padding: 11px 14px;
  margin-bottom: 18px;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 550ms var(--ease), transform 550ms var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.instant { transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .chat.play > *:not(.typing) { animation: none; opacity: 1; transform: none; }
  .typing, .chat.play .typing { display: none; }
  dialog[open] { animation: none; }
  .btn, .svc-card, .price-box, .artifact, .leak-calc.reveal, .nav-links a::after,
  .btn-plain::after { transition: none; }
  .leak-calc.reveal.reading { transform: none; }
  .hero h1 em, .hero-copy.hl-go h1 em { animation: none; background-size: 100% 52%; }
  .faq-a, .faq-a-inner, .faq-ico { transition: none; }
  .chat-cue.show { animation: none; }
  .timeline::after { transform: none; transition: none; }
  .timeline li::before { background: var(--accent); transform: scale(1); transition: none; }
  .timeline .t-day { opacity: 1; transform: none; transition: none; }
  .problems .mark { transition: none; background-size: 100% 52%; }
  .lc-out strong { transition: none; }
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: clamp(1.75rem, 5vw, 2.5rem); }
  .hero-copy, .hero-cta, .hero .phone { grid-column: 1; grid-row: auto; }
  .hero h1 { font-size: max(1.35rem, min(2.95rem, calc((100vw - 56px) / 12.19))); }
  .lede { margin-bottom: 0; }
  .phone { margin: 0 auto; }
  .svc-head { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .svc-head .btn { justify-self: start; }
  .problems li { grid-template-columns: 1fr; gap: 14px; }
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before, .timeline::after {
    left: 6px; right: auto; top: 6px; bottom: 6px;
    width: 1px; height: auto;
  }
  .timeline::after { transform: scaleY(0); transform-origin: top; }
  .timeline.go::after { transform: scaleY(1); }
  .timeline li { padding: 0 0 0 30px; }
  .timeline li::before { top: 3px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: block; margin-left: auto;
    width: 40px; height: 38px;
    background: none; border: 1px solid var(--line); border-radius: 9px;
    cursor: pointer; position: relative;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; position: absolute; height: 2px;
    background: var(--ink); border-radius: 2px;
    transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
  }
  .nav-toggle span { left: 10px; right: 10px; top: 18px; }
  .nav-toggle span::before, .nav-toggle span::after { left: 0; right: 0; }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
  .nav.open .nav-toggle span { background: transparent; }
  .nav.open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .nav.open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav.open { flex-wrap: wrap; border-radius: 24px; }
  .nav.open .nav-links { display: flex; flex-direction: column; width: 100%; gap: 2px; padding: 10px 0 4px; margin-left: 0; }
  .nav.open .nav-links a { display: block; font-size: 1rem; }
  .nav.open .nav-cta { display: inline-block; margin: 6px 0; }
}
@media (max-width: 640px) {
  .svc-gallery { display: flex; flex-direction: column; gap: 20px; }
  .svc-col { display: contents; }
  .svc-card { order: 99; }
  .svc-col:first-child .svc-card:nth-of-type(1) { order: 1; }
  .svc-col:first-child .svc-card:nth-of-type(2) { order: 3; }
  .svc-col:first-child .svc-card:nth-of-type(3) { order: 5; }
  .svc-col:first-child .svc-card:nth-of-type(4) { order: 7; }
  .svc-col:last-child .svc-card:nth-of-type(1) { order: 2; }
  .svc-col:last-child .svc-card:nth-of-type(2) { order: 4; }
  .svc-col:last-child .svc-card:nth-of-type(3) { order: 6; }
  .lc-grid { grid-template-columns: 1fr; }
  .price-flow { grid-template-columns: 1fr; }
  .price-arrow { justify-self: center; justify-content: center; align-items: center; }
  .pa-h { display: none; }
  .pa-v { display: block; }
  .cta-row { flex-direction: column; align-items: flex-start; }
  dialog {
    width: auto;
    max-width: none;
    height: auto;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }
  #quiz-form { max-height: 100%; padding-bottom: 40px; }
}

@media (min-width: 921px) and (max-width: 1128px) {
  .hero h1 { font-size: min(2.95rem, calc((100vw - 92px) / 20.32)); }
}

@media (pointer: coarse) {
  .fpill, .tone-pill { min-height: 44px; }
  .lc-input { padding-top: 12px; padding-bottom: 12px; }
  .modal-close { width: 44px; height: 44px; }
  .nav-toggle { width: 44px; height: 44px; }
  .nav-toggle span { top: 21px; }
}
