:root {
  --navy: #16255a;
  --navy-deep: #0e1940;
  --ink: #1c2233;
  --muted: #5a6275;
  --line: #e3e6ee;
  --paper: #ffffff;
  --tint: #f5f6fa;
  --serif: "Cormorant Garamond", Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand .logo { height: 50px; width: auto; }
.brand span { font: 600 20px/1 var(--serif); color: var(--navy); letter-spacing: .02em; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--muted); }
nav a:hover, nav a[aria-current] { color: var(--navy); }
nav .nav-cta { color: var(--navy); border: 1px solid var(--navy); padding: 9px 16px; border-radius: 4px; }
nav .nav-cta:hover, nav .nav-cta[aria-current] { background: var(--navy); color: #fff; }

/* Type */
.display { font: 600 clamp(40px, 6vw, 66px)/1.05 var(--serif); color: var(--navy-deep); margin: 0 0 24px; max-width: 18ch; letter-spacing: -.01em; }
.h2 { font: 600 clamp(30px, 4vw, 42px)/1.15 var(--serif); color: var(--navy-deep); margin: 0 0 20px; max-width: 26ch; }
.lead { font-size: 19px; color: var(--muted); max-width: 40em; margin: 0 0 36px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin: 0 0 12px; }
.muted { color: var(--muted); }

/* Sections */
section { padding: 96px 0; }
.hero { padding: 112px 0 104px; }
.page-hero { padding: 96px 0 72px; border-bottom: 1px solid var(--line); }
.tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 48px; }
.section-head p { color: var(--muted); max-width: 40em; margin: 0; }

/* Buttons */
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; background: var(--navy); color: #fff; font: 500 16px/1 Inter, system-ui, sans-serif; padding: 15px 24px; border-radius: 4px; border: 1px solid var(--navy); cursor: pointer; }
.btn:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--tint); }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
.card .num { font: 600 28px/1 var(--serif); color: var(--navy); margin-bottom: 16px; }
.card h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* Questions list */
.questions { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.questions li { font: 500 clamp(22px, 2.6vw, 28px)/1.3 var(--serif); color: var(--navy-deep); padding: 24px 0; border-bottom: 1px solid var(--line); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: step; border-top: 2px solid var(--navy); padding-top: 20px; }
.steps li::before { content: "0" counter(step); display: block; font: 600 24px/1 var(--serif); color: var(--navy); margin-bottom: 12px; }
.steps h3 { font-size: 18px; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* Long-form steps (product page) */
.flow { display: grid; gap: 0; border-top: 1px solid var(--line); }
.flow-item { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.flow-item .n { font: 600 44px/1 var(--serif); color: var(--navy); }
.flow-item h3 { font: 600 28px/1.2 var(--serif); color: var(--navy-deep); margin: 0 0 8px; }
.flow-item p { margin: 0; color: var(--muted); max-width: 44em; }

/* Prose */
.prose { max-width: 42em; }
.prose p { font-size: 18px; margin: 0 0 20px; }

/* CTA band */
.cta { text-align: center; }
.cta .h2 { margin: 0 auto 16px; }
.cta p { color: var(--muted); margin: 0 auto 32px; max-width: 34em; }
.cta .actions { justify-content: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #c9cedb; border-radius: 4px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border: 1px solid var(--line); border-left: 3px solid var(--navy); background: var(--tint); padding: 20px 24px; border-radius: 4px; }
.notice h2 { font: 600 26px/1.2 var(--serif); color: var(--navy-deep); margin: 0 0 6px; }
.notice p { margin: 0; color: var(--muted); }
.notice.error { border-left-color: #a3292b; }
.aside h3 { font-size: 16px; margin: 0 0 6px; }
.aside p { margin: 0 0 24px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: 14px; color: var(--muted); }
.site-footer .wrap:first-child { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand { display: flex; gap: 16px; align-items: center; max-width: 360px; }
.foot-brand .logo { height: 40px; width: auto; flex: none; }
.foot-brand p { margin: 0; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--navy); }
.foot-legal { margin-top: 32px; }

@media (max-width: 860px) {
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .brand span { display: none; }
  nav { gap: 18px; }
  nav a { font-size: 14px; }
  nav .nav-cta { padding: 8px 12px; }
  section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
  .page-hero { padding: 64px 0 48px; }
  .grid-3, .grid-2, .steps, .row-2 { grid-template-columns: 1fr; }
  .flow-item { grid-template-columns: 1fr; gap: 8px; }
}
