/* Liberty Studio — styles.css (no build step) */
:root {
  --navy: #12304A;
  --navy-900: #0B2033;
  --navy-700: #1D4262;
  --green: #1E4D3F;
  --green-600: #2A6552;
  --accent: #C98A3E;
  --accent-600: #B07530;
  --accent-soft: #F6EBDC;
  --ink: #1B2430;
  --muted: #55606E;
  --line: #E3DED5;
  --bg: #FFFFFF;
  --bg-warm: #FAF7F2;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 36, 56, .06), 0 8px 24px rgba(16, 36, 56, .07);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-600); text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, .h3 { font-family: var(--serif); color: var(--navy); line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.01em; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.6rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); }
h3, .h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; justify-content: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -48px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border-radius: 10px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-700); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-ghost { color: var(--navy); border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-accent { background: var(--accent); color: var(--navy-900); }
.btn-accent:hover { background: #D89B50; color: var(--navy-900); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin: 0; }
.brand:hover { color: var(--navy); }
.brand-small { font-size: 1.05rem; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--green-600); }
.nav-toggle { display: none; }

/* Hero */
.hero {
  padding: 88px 0 96px;
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(201,138,62,.10), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(30,77,63,.07), transparent 60%),
    var(--bg-warm);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); margin-bottom: 14px; }
.eyebrow-light { color: var(--accent); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.hero-note { margin-top: 22px; font-size: .95rem; color: var(--muted); }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px;
  box-shadow: 0 2px 4px rgba(16,36,56,.04), 0 24px 48px rgba(16,36,56,.10);
  position: relative;
}
.hero-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px; background: var(--accent); border-radius: 0 0 3px 3px; }
.hero-card-head { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.doc-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; flex: none; }
.hero-card-kicker { margin: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.hero-card-title { margin: 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--navy); }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 10px 0 10px 36px; border-bottom: 1px dashed var(--line); font-weight: 500; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Sections */
.section { padding: 96px 0; scroll-margin-top: 68px; }
.section-tint { background: var(--bg-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.aside-note { margin: 32px 0 0; color: var(--muted); font-size: .98rem; padding-left: 16px; border-left: 3px solid var(--accent); }

.cards { display: grid; gap: 24px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card-compact { padding: 24px; }
.card-compact h3 { font-size: 1.12rem; }
.card-feature { border-top: 4px solid var(--green); padding: 32px; }
.card-feature h3 { font-size: 1.5rem; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-600); margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; position: relative; }
.step { position: relative; padding: 0 4px; }
.step-num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; margin-bottom: 20px;
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line); position: relative; z-index: 1;
}
.steps::before { content: ""; position: absolute; top: 26px; left: 30px; right: 23%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.step:nth-child(3) .step-num { background: var(--green); }
.step:nth-child(4) .step-num { background: var(--accent); color: var(--navy-900); }
.step p { color: var(--muted); margin: 0; }

/* Dark pricing section */
.section-dark { background: linear-gradient(160deg, var(--navy-900), var(--navy) 55%, #163C3A); color: #DCE4EC; }
.section-dark h2 { color: #fff; }
.section-dark p { color: #C5D0DB; font-size: 1.08rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.points li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 18px 20px 18px 52px; position: relative; color: #C5D0DB; }
.points li::before { content: ""; position: absolute; left: 20px; top: 24px; width: 14px; height: 14px; border-radius: 4px; background: var(--accent); }
.points strong { color: #fff; font-weight: 600; }

/* Pilot */
.pilot { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 56px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.pilot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--navy), var(--green) 60%, var(--accent)); }
.pilot > * { position: relative; z-index: 1; }
.pilot-copy p:not(.eyebrow) { color: var(--muted); }
.pilot-list { list-style: none; margin: 0; padding: 0; background: var(--bg-warm); border: 1px solid var(--line); border-radius: 16px; }
.pilot-list li { display: flex; gap: 16px; align-items: baseline; padding: 16px 22px; border-bottom: 1px solid var(--line); font-weight: 500; }
.pilot-list li:last-child { border-bottom: 0; }
.pilot-list span { font-family: var(--serif); font-weight: 700; color: var(--accent-600); font-size: .95rem; min-width: 22px; }

/* Founder */
.founder { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start; }
.founder-mark { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-family: var(--serif); font-size: 2rem; font-weight: 600; box-shadow: 0 0 0 6px var(--accent-soft); }
.founder blockquote { margin: 0 0 20px; padding: 0; font-family: var(--serif); font-size: 1.22rem; line-height: 1.6; color: var(--ink); }
.founder .founder-sign { margin: 0; display: flex; flex-direction: column; font-size: .98rem; }
.founder .founder-sign strong { color: var(--navy); }
.founder .founder-sign span { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; color: var(--navy); position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--accent-600); border-bottom: 2px solid var(--accent-600); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); margin: 0 0 20px; }

/* Contact */
.contact { background: linear-gradient(160deg, var(--green), #173E34 60%, var(--navy-900)); color: #D7E3DD; }
.contact h2 { color: #fff; }
.contact p { color: #CFDDD6; font-size: 1.1rem; }
.contact-links { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.contact-links a { color: #fff; font-weight: 500; }
.contact-links a:hover { color: var(--accent); }

/* Footer */
.site-footer { background: var(--navy-900); color: #9FB0C0; padding: 32px 0; font-size: .92rem; }
.site-footer p { margin: 0; }
.site-footer .brand { color: #fff; }
.site-footer a { color: #DCE4EC; }
.site-footer .brand img { border-radius: 6px; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }

/* Privacy page */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal p, .legal li { color: #333D49; }
.legal .meta { color: var(--muted); }

/* Responsive */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .site-nav { gap: 18px; }
}
@media (max-width: 880px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid, .split, .pilot { grid-template-columns: 1fr; gap: 40px; }
  .cards-3 { grid-template-columns: 1fr; }
  .pilot { padding: 36px 28px; }
  .section { padding: 72px 0; }

  .js .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
  }
  .nav-toggle .bar, .nav-toggle .bar::before, .nav-toggle .bar::after { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; content: ""; transition: transform .2s; }
  .nav-toggle .bar::before { position: absolute; top: -6px; }
  .nav-toggle .bar::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar::after { transform: translateY(-6px) rotate(-45deg); }

  .header-inner { flex-wrap: wrap; }
  .site-nav { flex-wrap: wrap; gap: 8px 18px; padding-bottom: 12px; width: 100%; }
  .js .site-nav { display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 16px; }
  .js .site-nav.open { display: flex; }
  .js .site-nav a:not(.btn) { padding: 12px 2px; border-bottom: 1px solid var(--line); }
  .js .site-nav .btn { margin-top: 14px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container { padding: 0 20px; }
  .cards-2, .cards-4, .steps { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .hero-card { padding: 22px; }
  .card, .card-feature { padding: 24px; }
  .founder { grid-template-columns: 1fr; gap: 20px; }
  .founder-mark { width: 72px; height: 72px; font-size: 1.5rem; }
  .founder blockquote { font-size: 1.1rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .lead { font-size: 1.1rem; }
}
