:root {
  --ink: #1b2333;
  --navy: #14213d;
  --gold: #b8893b;
  --gold-soft: #e9dcc4;
  --cream: #faf7f2;
  --muted: #5f6675;
  --line: #e5dfd3;
  --white: #fff;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: Inter, system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, .logo, .price { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.08; color: var(--navy); }
h1 em { font-style: italic; color: var(--gold); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.15; color: var(--navy); margin-bottom: 1.6rem; }
h3 { font-size: 1.08rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.band { background: var(--cream); }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--gold); margin-bottom: .8rem; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 1.2rem 0 1.8rem; max-width: 34em; }
.fine { font-size: .88rem; color: var(--muted); margin-top: 1rem; }

/* Buttons */
.btn { display: inline-block; background: var(--navy); color: var(--white); text-decoration: none; padding: 14px 26px; border-radius: 999px; font-weight: 600; transition: background .2s, transform .2s; }
.btn:hover { background: #22345c; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-small { padding: 9px 18px; font-size: .9rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-size: 1.45rem; text-decoration: none; color: var(--navy); white-space: nowrap; }
.nav .btn-small { white-space: nowrap; }
.logo span { color: var(--gold); }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: .93rem; }
.nav nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.nav nav a:not(.btn):hover { color: var(--navy); }

/* Hero */
.hero { padding: 80px 0 96px; background: linear-gradient(180deg, var(--white), var(--cream)); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
figure img { border-radius: var(--radius); box-shadow: 0 24px 60px -24px rgba(20, 33, 61, .35); border: 1px solid var(--line); }
figcaption { font-size: .8rem; color: var(--muted); margin-top: .6rem; text-align: center; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--white); font-weight: 600; margin-bottom: 1rem; }
.steps p, .card p { color: var(--muted); font-size: .97rem; }

/* Leak cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 26px; }
.card-dark { background: var(--navy); border-color: var(--navy); border-top-color: var(--gold); }
.card-dark h3 { color: var(--white); }
.card-dark p { color: #c9cfdb; }

/* Sample */
.sample-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.checks { list-style: none; }
.checks li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

/* Services */
.flagship { display: flex; justify-content: space-between; gap: 32px; align-items: center; background: var(--navy); color: #d7dce6; border-radius: var(--radius); padding: 34px 36px; margin-bottom: 28px; }
.flagship h3 { color: var(--white); font-size: 1.35rem; }
.price { font-size: 2.1rem; color: var(--gold-soft); white-space: nowrap; text-align: right; }
.price small { display: block; font-family: Inter, sans-serif; font-size: .8rem; color: #aab3c5; }
.price-table .row { display: flex; justify-content: space-between; gap: 24px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.price-table .row span:first-child { color: var(--muted); }
.price-table .row b { color: var(--navy); font-weight: 600; }
.price-table .row span:last-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.price-table details.included { background: none; border: 0; padding: 0; margin: .5rem 0 0; }
.price-table details.included summary { display: inline-flex; gap: 8px; font-size: .92rem; color: var(--navy); }
.price-table details.included summary::after { font-size: 1.1rem; }
.price-table details.included ul { margin: .6rem 0 0 1.1rem; display: grid; gap: .4rem; font-size: .95rem; }
.price-table details.included p { margin: .6rem 0 0; font-size: .95rem; }
.flagship details.included { background: none; border: 0; padding: 0; margin: 1rem 0 0; }
.flagship details.included summary { display: inline-flex; gap: 8px; font-size: .92rem; color: var(--gold-soft); }
.flagship details.included summary::after { font-size: 1.1rem; }
.flagship details.included p { color: #d7dce6; margin: .6rem 0 0; font-size: .95rem; }
.flagship details.included ul { margin: .6rem 0 0 1.1rem; display: grid; gap: .4rem; font-size: .95rem; }
.flagship details.included b { color: var(--white); }

/* FAQ */
.faq { max-width: 820px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: .7rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.founder { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; position: sticky; top: 96px; }
.founder-photo { width: 168px; height: 168px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-soft); font-family: "DM Serif Display", Georgia, serif; font-size: 3.2rem; border: 4px solid var(--white); box-shadow: 0 12px 30px -14px rgba(20, 33, 61, .45); overflow: hidden; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-name { font-family: "DM Serif Display", Georgia, serif; font-size: 1.45rem; color: var(--navy); }
.founder-title { color: var(--gold); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.founder-facts { list-style: none; border-top: 1px solid var(--line); padding-top: .8rem; font-size: .92rem; color: var(--muted); }
.founder-facts li { padding: 4px 0; }
.about-copy p { color: var(--muted); margin-bottom: 1rem; }
.about-copy .lead { color: var(--ink); }
.promise { border-left: 3px solid var(--gold); background: var(--cream); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.6rem 0; }
.promise h3 { margin-bottom: .4rem; }
.promise p { margin-bottom: 0; }
.industries { display: flex; flex-wrap: wrap; gap: 8px; }
.industries span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: .85rem; color: var(--navy); }

/* Contact */
.contact { background: var(--navy); color: var(--white); }
.contact h2 { color: var(--white); }
.contact .lead { color: #c9cfdb; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact .btn { background: var(--gold); text-align: center; }
.contact .btn:hover { background: #a37630; }
.contact-line { display: block; text-decoration: none; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); font-size: 1.05rem; }
.contact-line:hover { border-color: var(--gold); }
.contact-line small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-soft); }

footer { background: #0e182d; color: #8f99ad; font-size: .85rem; padding: 26px 0; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: #c9d0dc; }
.foot a:hover { color: var(--white); }

/* Privacy policy page */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { margin-bottom: .4rem; }
.legal h2 { font-size: 1.5rem; margin: 2.4rem 0 .7rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; display: grid; gap: .7rem; }
.legal a { color: var(--navy); }

/* Responsive */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder { position: static; }
  section { padding: 72px 0; }
  .hero { padding: 48px 0 72px; }
  .hero-grid, .sample-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps, .cards { grid-template-columns: 1fr; }
  .nav nav a:not(.btn) { display: none; }
  .flagship { flex-direction: column; align-items: flex-start; }
  .price { text-align: left; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .price-table .row { flex-direction: column; gap: 4px; }
  .cta-row .btn { width: 100%; text-align: center; }
  .logo { font-size: 1.15rem; }
  .nav .btn-small { padding: 8px 14px; font-size: .85rem; }
}

/* Website assistant (assistant.js) */
.ax-launch { position: fixed; right: 20px; bottom: 20px; z-index: 50; background: var(--navy); color: var(--white); border: 0; border-radius: 999px; padding: 14px 22px; font: 600 .95rem Inter, sans-serif; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(20, 33, 61, .55); }
.ax-launch::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin-right: 9px; vertical-align: 1px; }
.ax-launch:hover { background: #22345c; }
.ax-hide { display: none; }
.ax-panel { padding: 0 !important; position: fixed; right: 20px; bottom: 20px; z-index: 51; width: 370px; max-height: min(600px, calc(100vh - 40px)); display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px -20px rgba(20, 33, 61, .45); overflow: hidden; font-size: .93rem; }
.ax-panel[hidden] { display: none; }
.ax-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--navy); color: var(--white); padding: 14px 16px; }
.ax-head strong { display: block; font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 1.15rem; }
.ax-head span { font-size: .75rem; color: #c9cfdb; }
.ax-close { background: transparent; border: 0; color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.ax-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); }
.ax-msg { max-width: 88%; padding: 10px 13px; border-radius: 12px; line-height: 1.5; }
.ax-bot { background: var(--white); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.ax-user { background: var(--navy); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.ax-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.ax-chip, .ax-link { font: 500 .82rem Inter, sans-serif; padding: 7px 12px; border-radius: 999px; cursor: pointer; text-decoration: none; }
.ax-chip { background: var(--white); color: var(--navy); border: 1px solid var(--gold); }
.ax-chip:hover { background: var(--gold-soft); }
.ax-link { background: var(--gold); color: var(--white); border: 1px solid var(--gold); }
.ax-link:hover { background: #a37630; }
.ax-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.ax-form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; font: inherit; }
.ax-form input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.ax-form button { background: var(--navy); color: var(--white); border: 0; border-radius: 999px; padding: 0 16px; font: 600 .88rem Inter, sans-serif; cursor: pointer; }
@media (max-width: 520px) {
  .ax-panel { right: 0; bottom: 0; width: 100%; max-height: 85vh; border-radius: 14px 14px 0 0; }
  .ax-launch { right: 16px; bottom: 16px; }
}

/* Missed-appointment calculator */
.calc { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; align-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.calc-intro h3 { font-size: 1.35rem; }
.calc-intro p:last-child { color: var(--muted); font-size: .97rem; }
.calc-form { display: flex; flex-direction: column; gap: 14px; }
.calc-form label { font-size: .88rem; font-weight: 600; color: var(--navy); display: flex; flex-direction: column; gap: 6px; }
.field { display: flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; }
.field:focus-within { outline: 2px solid var(--gold); outline-offset: 1px; }
.field input { flex: 1; min-width: 0; border: 0; padding: 10px 0; font: inherit; font-size: 1rem; background: transparent; outline: none; }
.unit { color: var(--muted); font-weight: 500; }
.calc-result { background: var(--navy); color: #c9cfdb; border-radius: var(--radius); padding: 26px; text-align: center; }
.calc-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-soft); }
.calc-total { font-family: "DM Serif Display", Georgia, serif; font-size: 2.6rem; color: var(--white); line-height: 1.2; margin: 4px 0; }
.calc-note { font-size: .9rem; margin-bottom: 1rem; }
.calc-result .btn { background: var(--gold); }
.calc-result .btn:hover { background: #a37630; }
.calc-fine { font-size: .8rem; margin-top: .8rem; }
@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; padding: 24px; }
}
