:root {
  --teal: #0f4c5c;
  --teal-dark: #0a3540;
  --teal-soft: #e7f0f2;
  --gold: #f2c14e;
  --gold-dark: #c9971f;
  --ink: #1b2a30;
  --muted: #51656c;
  --line: #d7e2e5;
  --bg: #ffffff;
  --bg-alt: #f5f8f9;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 76, 92, 0.12);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img, svg { max-width: 100%; }
a { color: var(--teal); text-underline-offset: 2px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.5em; color: var(--teal-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 780px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--teal-dark); text-decoration: none; }
.menu-btn { display: flex; flex-direction: column; gap: 5px; padding: 12px 8px; background: none; border: 0; cursor: pointer; }
.menu-btn[hidden] { display: none; }
.menu-btn > span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--teal-dark); border-radius: 2px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a[aria-current="page"] { color: var(--teal); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 8px; }
@media (max-width: 799px) {
  .bar { flex-wrap: wrap; }
  .site-nav { width: 100%; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .js .site-nav.open { display: block; }
  .site-nav ul { padding: 8px 16px 16px; }
  .site-nav li a:not(.btn) { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav li .btn { margin-top: 14px; width: 100%; }
}
@media (min-width: 800px) {
  .menu-btn { display: none; }
  .site-nav ul { display: flex; align-items: center; gap: 28px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 600; text-decoration: none; border: 2px solid var(--teal); font-size: 1rem; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 0.95rem; }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--teal-soft); color: var(--teal-dark); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--teal-dark); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-ghost-light { background: transparent; border-color: #fff; color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 1em; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--teal-soft) 0%, #fff 70%); padding: 48px 0 40px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 80px 0 64px; } .hero-grid { grid-template-columns: 1.2fr 0.8fr; } }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 700; color: var(--gold-dark); margin-bottom: 0.8em; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 40em; }
.small { font-size: 0.9rem; color: var(--muted); }
.hero-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 18px; max-width: 380px; justify-self: center; width: 100%; }
.mock-top { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--teal-dark); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mock-list { list-style: none; margin: 0; padding: 6px 0; }
.mock-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.mock-list em { font-style: normal; color: var(--muted); }
.mock-list .gap em { color: var(--gold-dark); font-weight: 600; }
.mock-foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: 0.9rem; color: var(--muted); }
.mock-foot strong { color: var(--teal); }

/* Status note */
.status { margin: 28px 0 0; padding: 16px 18px; background: #fff8e6; border: 1px solid #f3dc9f; border-left: 5px solid var(--gold); border-radius: 10px; font-size: 0.97rem; }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); max-width: 46em; font-size: 1.07rem; }
.page-head { padding: 52px 0 12px; background: linear-gradient(160deg, var(--teal-soft) 0%, #fff 80%); }
.page-head + .wrap + .section, .page-head + .section { padding-top: 40px; }
.more { margin-top: 1.5em; font-weight: 600; }

.replace-grid { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 760px) { .replace-grid { grid-template-columns: repeat(4, 1fr); } }
.replace { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; }
.replace p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.replace .replace-name { font-weight: 700; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; text-decoration: line-through; text-decoration-color: rgba(201,151,31,0.7); }
.replace-ours { background: var(--teal); border-color: var(--teal); }
.replace-ours p { color: #d9e8eb; }
.replace-ours .replace-name { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 8px; }

.cards { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card, .feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p, .feature p { color: var(--muted); margin: 0; }
.ico { color: var(--teal); background: var(--teal-soft); border-radius: 10px; padding: 8px; width: 42px; height: 42px; margin-bottom: 12px; }

.features { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.feature .note { margin-top: 10px; font-size: 0.9rem; color: var(--teal); }
.badge { display: inline-block; font-size: 0.76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge.p1 { background: #dff2e7; color: #1d6b3f; }
.badge.p2, .badge.p3, .badge.p4, .badge.p5 { background: #eef1f2; color: #4a5c62; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; }

.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.3fr 0.7fr; } }
.price-teaser, .plan { background: #fff; border: 2px solid var(--teal); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.big { font-size: 2.8rem; font-weight: 800; color: var(--teal-dark); margin: 0 0 0.2em; line-height: 1; }
.big span { font-size: 1.1rem; font-weight: 600; color: var(--muted); margin-left: 4px; }

.ticks { list-style: none; padding: 0; margin: 1em 0 1.4em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.35em; width: 16px; height: 16px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5' fill='none' stroke='%230f4c5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

.pricing-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: 0.9fr 1.1fr; } }
.plan-alt { color: var(--muted); }
.facts dt { font-weight: 700; color: var(--teal-dark); margin-top: 1.1em; }
.facts dd { margin: 0.2em 0 0; color: var(--muted); }
.table-wrap { overflow-x: auto; margin-top: 20px; }
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.compare thead th { background: var(--teal); color: #fff; }
.compare tbody th { font-weight: 600; }
.compare td:nth-child(2) { color: var(--teal); font-weight: 600; }

.prose h2 { margin-top: 1.6em; font-size: 1.45rem; }
.prose h2:first-child { margin-top: 0; }
.phases { padding-left: 1.3em; }
.phases li { margin-bottom: 0.6em; }

/* Form */
.form-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .form-grid { grid-template-columns: 1.2fr 0.8fr; } }
.form { display: grid; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.form label { font-weight: 600; margin-top: 10px; font-size: 0.97rem; }
.form input:not([type=radio]), .form textarea { width: 100%; font: inherit; padding: 11px 13px; border: 1.5px solid #b9cbd0; border-radius: 10px; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus { border-color: var(--teal); outline: 3px solid rgba(242,193,78,0.5); outline-offset: 0; }
.req { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.choice legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.choice label { margin: 0; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.choice input { width: 18px; height: 18px; accent-color: var(--teal); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { font-size: 0.88rem; color: var(--muted); margin: 14px 0 8px; }
.form .btn { justify-self: start; margin-top: 4px; }
.contact-side h2 { font-size: 1.25rem; }

/* CTA band + footer */
.cta-band { background: var(--teal); color: #fff; padding: 52px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d9e8eb; margin: 0; }
.cta-inner { display: grid; gap: 18px; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; } }
.cta-band .btn:not(.btn-ghost-light) { background: var(--gold); border-color: var(--gold); color: var(--teal-dark); }
.cta-band .btn:not(.btn-ghost-light):hover { background: #fff; border-color: #fff; }
.site-footer { background: var(--teal-dark); color: #c5d8dc; padding: 44px 0 28px; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.brand-foot { color: #fff; margin-bottom: 10px; }
.foot { display: grid; gap: 24px; }
@media (min-width: 760px) { .foot { grid-template-columns: 1fr auto; } }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 8px 32px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; color: #fff; }
.legal { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 28px; padding-top: 18px; font-size: 0.82rem; color: #9fbac0; }
.legal p { margin: 0 0 0.4em; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
