/* MarshallRegistry.com — site stylesheet
   Brand colours are placeholders: change the tokens below to rebrand the whole site. */
:root {
  --navy: #0b2340;
  --navy-2: #12325a;
  --ocean: #0a6e8a;
  --lagoon: #17a3a0;
  --lagoon-soft: #e3f4f3;
  --sand: #f7f3ea;
  --gold: #c8922a;
  --ink: #1b2533;
  --muted: #5a6779;
  --line: #e2e7ee;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --ok: #1d7a46;
  --err: #b42318;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 35, 64, .06), 0 8px 24px rgba(11, 35, 64, .08);
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.topbar { background: var(--navy); color: #cfdbe8; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; line-height: 1; }
.brand-name span { color: var(--lagoon); }
.brand-sub { display: block; white-space: nowrap; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; white-space: nowrap; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: .95rem; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--bg-alt); color: var(--ocean); }
.menu .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; }
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 18px; box-shadow: var(--shadow); }
  .menu.open { display: flex; }
  .menu .btn { margin: 8px 0 0; text-align: center; }
  .site-header { position: sticky; }
  .nav { position: relative; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; transition: transform .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #fff !important; }
.btn-primary:hover { background: #b07d1f; }
.btn-dark { background: var(--navy); color: #fff !important; }
.btn-dark:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; border-color: currentColor; color: var(--navy) !important; }
.btn-light { background: #fff; color: var(--navy) !important; }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, #1d5c86 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0d3253 55%, var(--ocean) 100%); color: #e8f1f8; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.18rem; color: #cfe0ee; max-width: 40em; }
.hero .eyebrow { color: #8fe0da; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; color: #cfe0ee; }
.hero-points li::before { content: "✓"; color: #8fe0da; font-weight: 800; margin-right: 7px; }
.hero-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 26px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.hero-card h2 { font-size: 1.15rem; margin-bottom: 4px; }
.hero-card .price { font-size: 2.6rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.hero-card .price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.hero-card ul { list-style: none; padding: 0; margin: 14px 0 18px; font-size: .95rem; }
.hero-card li { padding-left: 24px; position: relative; }
.hero-card li::before { content: "✓"; position: absolute; left: 0; color: var(--lagoon); font-weight: 800; }
.hero-card .btn { width: 100%; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; width: 100%; height: 70px; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 80px; } }

.page-hero { background: linear-gradient(160deg, var(--navy) 0%, #0d3253 60%, var(--ocean) 130%); color: #d6e4f0; padding: 54px 0 46px; }
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero .lead { font-size: 1.12rem; max-width: 46em; margin: 0; }
.breadcrumbs { font-size: .85rem; margin-bottom: 14px; color: #a9c2d8; }
.breadcrumbs a { color: #d6e4f0; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #7f9cb6; }

/* Sections */
.section { padding: 76px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--navy); color: #d6e4f0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ocean); margin-bottom: 10px; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #b8cadb; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 54px 0; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 2px rgba(11,35,64,.04); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--lagoon-soft); color: var(--ocean); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }
.section-dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #d6e4f0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--lagoon-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230a6e8a'%3E%3Cpath d='M8.1 13.6 4.6 10l-1.2 1.2 4.7 4.7 9-9-1.2-1.2z'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Facts table */
.facts { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.facts th, .facts td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .97rem; }
.facts th { width: 38%; background: var(--bg-alt); color: var(--navy); font-weight: 650; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; border: 1px solid var(--line); }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: .95rem; vertical-align: top; }
.compare thead th { background: var(--navy); color: #fff; font-weight: 700; }
.compare tbody th { background: var(--bg-alt); color: var(--navy); font-weight: 650; }
.compare .hl { background: #f1fbfa; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 18px; }
.steps > li { counter-increment: step; position: relative; padding: 22px 22px 22px 78px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.steps > li::before { content: counter(step); position: absolute; left: 22px; top: 20px; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps h3 { margin-bottom: .25em; font-size: 1.08rem; }
.steps p { margin: 0; color: var(--muted); }
.steps-h { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .steps-h { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps-h { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--lagoon); }
.plan .badge { position: absolute; top: -13px; left: 26px; background: var(--lagoon); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan .for { color: var(--muted); font-size: .94rem; min-height: 3em; }
.plan .amount { font-size: 2.7rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1; margin: 12px 0 4px; }
.plan .amount sup { font-size: 1.1rem; vertical-align: super; margin-right: 2px; }
.plan .renew { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: .95rem; flex: 1; }
.plan li { padding-left: 26px; position: relative; margin-bottom: .55em; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--lagoon); font-weight: 800; }
.plan li.no { color: #98a3b3; }
.plan li.no::before { content: "–"; color: #b8c0cc; }

.placeholder { background: #fff6d6; outline: 1px dashed #d9a400; padding: 0 3px; border-radius: 3px; }

/* FAQ */
.faq-group { margin-bottom: 40px; }
.faq-group h2 { font-size: 1.4rem; margin-bottom: 14px; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; list-style: none; padding: 17px 52px 17px 20px; font-weight: 650; color: var(--navy); position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--ocean); }
details.faq[open] summary::after { content: "−"; }
details.faq .answer { padding: 0 20px 18px; color: #303b4a; }
details.faq .answer p:last-child { margin-bottom: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.toc a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; font-size: .9rem; color: var(--navy); background: #fff; }
.toc a:hover { border-color: var(--lagoon); }

/* Callouts */
.callout { border-left: 4px solid var(--lagoon); background: var(--lagoon-soft); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 0 0 1.4em; }
.callout.warn { border-color: var(--gold); background: #fbf4e4; }
.callout p:last-child { margin: 0; }
.key-answer { font-size: 1.08rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 26px; }
.key-answer strong:first-child { color: var(--ocean); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 18px; }
.stat b { display: block; font-size: 2rem; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.cta-band { background: linear-gradient(120deg, var(--ocean), var(--navy)); color: #e4eef6; border-radius: 22px; padding: 44px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .25em; }
.cta-band p { margin: 0; }

.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose > :first-child { margin-top: 0; }
.updated { font-size: .85rem; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 18px; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 8px; margin: 0 0 8px; background: #fff; }
.form legend { font-weight: 800; color: var(--navy); padding: 0 8px; font-size: 1.05rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 700px) { .form .row, .form .row-3 { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label, .label { display: block; font-weight: 650; font-size: .93rem; margin-bottom: 6px; color: var(--navy); }
.field .hint { font-size: .84rem; color: var(--muted); margin-top: 5px; }
.req { color: var(--err); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 11px 13px; border: 1px solid #c9d2de; border-radius: 9px; background: #fff; color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--lagoon); outline: 2px solid rgba(23,163,160,.25); }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; cursor: pointer; background: #fff; }
.choice:hover { border-color: var(--lagoon); }
.choice input { margin-top: 5px; accent-color: var(--ocean); }
.choice b { color: var(--navy); }
.choice span.d { display: block; font-size: .88rem; color: var(--muted); }
.person { border: 1px dashed #c9d2de; border-radius: 12px; padding: 16px 16px 2px; margin-bottom: 14px; position: relative; background: var(--bg-alt); }
.person h4 { margin: 0 0 12px; font-size: 1rem; }
.person .remove { position: absolute; top: 12px; right: 12px; background: none; border: 0; color: var(--err); cursor: pointer; font-weight: 650; font-size: .88rem; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 10px; display: none; }
.form-status.show { display: block; }
.form-status.error { background: #fdecea; color: var(--err); border: 1px solid #f5c2bd; }
.form-status.ok { background: #e8f5ee; color: var(--ok); border: 1px solid #b7e0c7; }
.summary-box { position: sticky; top: 100px; }
.summary-box .facts th { width: auto; background: none; font-weight: 600; }
.summary-box .facts td { text-align: right; white-space: nowrap; }
.summary-box .total { font-size: 1.8rem; font-weight: 800; color: var(--navy); }
.signup-layout { display: grid; grid-template-columns: 1fr 330px; gap: 34px; align-items: start; }
@media (max-width: 980px) { .signup-layout { grid-template-columns: 1fr; } .summary-box { position: static; } }

/* Footer */
.site-footer { background: #081a30; color: #a9bbcd; font-size: .93rem; padding: 60px 0 28px; margin-top: 0; }
.site-footer a { color: #d6e4f0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-grid h3 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 7px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-sub { color: #8aa2ba; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
.disclaimer { font-size: .8rem; color: #7f95ab; margin-top: 16px; max-width: 60em; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.mt-0 { margin-top: 0; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; } .center { text-align: center; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media print { .site-header, .site-footer, .cta-band, .hero-wave { display: none; } }
@media (max-width: 640px) {
  .topbar .container > span:first-child { display: none; }
  .brand-sub { display: none; }
  .form fieldset { padding: 16px 14px 4px; }
  .cta-band { padding: 28px 22px; }
}
