:root {
  --cream: #f7f0e2;
  --paper: #fffdf8;
  --ink: #172c2b;
  --forest: #173f36;
  --forest-deep: #0f302b;
  --navy: #122a3b;
  --olive: #74805a;
  --olive-soft: #a4ac81;
  --sand: #d9c5a0;
  --terracotta: #b75c47;
  --muted: #5f6b67;
  --line: rgba(23, 63, 54, .16);
  --shadow: 0 24px 70px rgba(24, 47, 40, .14);
  --sans: "DM Sans", system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.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: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 14px; color: white; background: var(--forest); border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }
.preview-ribbon { background: var(--navy); color: #fff; text-align: center; padding: 7px 20px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.site-header { position: sticky; z-index: 40; top: 0; background: rgba(255, 253, 248, .93); border-bottom: 1px solid rgba(23, 63, 54, .1); backdrop-filter: blur(16px); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 58px; height: 58px; border: 1px solid rgba(23, 63, 54, .18); border-radius: 50%; object-fit: cover; object-position: center; box-shadow: 0 5px 16px rgba(23, 63, 54, .12); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.nav-links > a:not(.button):hover { color: var(--olive); }
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--forest); }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; padding: 13px 22px; border: 1px solid transparent; border-radius: 3px; font-size: 15px; font-weight: 700; line-height: 1.15; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(23, 63, 54, .17); }
.button-small { min-height: 42px; padding: 10px 17px; }
.button-dark { color: white; background: var(--forest); }
.button-outline { border-color: rgba(23, 63, 54, .35); background: rgba(255,255,255,.35); }
.button-quiet { padding-inline: 10px; color: var(--forest); }
.button-cream { color: var(--forest); background: var(--cream); }

.hero { position: relative; overflow: hidden; padding: 70px 0 78px; background: var(--cream); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--sand), transparent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(400px, .82fr); align-items: center; gap: clamp(42px, 7vw, 100px); }
.eyebrow { margin: 0 0 15px; color: var(--olive); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero h1, .section-heading h2, .final-cta h2 { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -.035em; line-height: 1.03; }
.hero h1 { max-width: 700px; font-size: clamp(46px, 6vw, 78px); }
.hero h1 em { display: block; color: var(--forest); font-weight: 600; }
.hero-intro { max-width: 650px; margin: 27px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 20px; margin: 25px 0 0; padding: 0; color: var(--muted); list-style: none; font-size: 13px; }
.trust-list li { display: flex; align-items: center; gap: 7px; }
.trust-list span { display: grid; width: 18px; height: 18px; place-items: center; color: white; background: var(--olive); border-radius: 50%; font-size: 11px; }

.hero-art { position: relative; min-height: 550px; }
.arch-card { position: absolute; inset: 18px 24px 30px 45px; overflow: hidden; border: 9px solid rgba(255,255,255,.7); border-radius: 220px 220px 16px 16px; box-shadow: var(--shadow); background: #ede3cf; }
.arch-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.paper-note { position: absolute; right: -5px; bottom: 55px; transform: rotate(3deg); padding: 18px 24px; color: var(--forest); background: #fffaf0; border: 1px solid #d9c7a5; box-shadow: 0 18px 45px rgba(24,47,40,.16); font-family: var(--serif); font-size: 17px; line-height: 1.25; }
.paper-note span { display: block; }
.wax-seal { position: absolute; right: 44px; bottom: 27px; display: grid; width: 50px; height: 50px; place-items: center; color: #f2d6c6; background: var(--terracotta); border: 4px double rgba(255,255,255,.5); border-radius: 50%; box-shadow: 0 8px 16px rgba(68,33,25,.25); }
.olive { position: absolute; z-index: 2; width: 210px; overflow: visible; fill: #7c885e; stroke: #52623f; stroke-width: 3; stroke-linecap: round; }
.olive-top { top: -15px; right: -65px; transform: rotate(8deg); }
.olive-bottom { bottom: -8px; left: -68px; transform: rotate(183deg); }
.hero-leaf { position: absolute; width: 350px; height: 350px; border: 1px solid rgba(116,128,90,.18); border-radius: 50%; }
.hero-leaf-one { top: -210px; left: -100px; }
.hero-leaf-two { right: 38%; bottom: -280px; }

.section-pad { padding: 112px 0; }
.section-heading { max-width: 760px; margin: 0 auto 58px; text-align: center; }
.section-heading h2 { display: block; overflow: visible; padding: .06em 0 .12em; font-size: clamp(38px, 5vw, 58px); line-height: 1.12; }
.section-heading > p:last-child { max-width: 600px; margin: 18px auto 0; color: var(--muted); font-size: 18px; }
.features { scroll-margin-top: 100px; background: #fbfaf6; }
.editorial-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 26px; max-width: 1100px; margin-inline: auto; }
.feature { position: relative; grid-column: span 4; aspect-ratio: 3 / 4; overflow: hidden; padding: 6px; background: #0d2230; border: 1px solid rgba(114,128,91,.48); border-radius: 8px; box-shadow: 0 20px 55px rgba(15,48,43,.14); transition: transform .35s ease, box-shadow .35s ease; }
.feature:nth-child(4) { grid-column: 3 / span 4; }
.feature:nth-child(5) { grid-column: 7 / span 4; }
.feature::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(217,197,160,.16); border-radius: 4px; pointer-events: none; }
.feature img { width: 100%; height: 100%; object-fit: contain; background: #0d2230; border-radius: 4px; }
.feature:hover { transform: translateY(-5px); box-shadow: 0 28px 68px rgba(15,48,43,.2); }

.how { position: relative; overflow: hidden; background: var(--cream); }
.how-leaf { position: absolute; top: 260px; right: -210px; width: 520px; height: 520px; border: 1px solid rgba(116,128,90,.18); border-radius: 50%; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; top: 41px; right: 16%; left: 16%; height: 1px; background: var(--olive-soft); }
.step { position: relative; padding: 0 36px; text-align: center; }
.step-mark { position: relative; z-index: 1; width: 84px; height: 84px; margin: 0 auto 28px; padding: 9px; background: var(--cream); border: 1px solid var(--olive-soft); border-radius: 50%; }
.step-mark span { display: grid; width: 100%; height: 100%; place-items: center; color: white; background: var(--forest); border-radius: 50%; font-family: var(--serif); font-size: 28px; }
.step:nth-child(2) .step-mark span { background: var(--olive); }
.step:nth-child(3) .step-mark span { background: var(--terracotta); }
.step h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 25px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.security { display: grid; grid-template-columns: 130px 1fr; gap: 38px; align-items: center; margin-top: 75px; padding: 48px 55px; color: #f8f1df; background: var(--navy); box-shadow: var(--shadow); }
.security-symbol { display: grid; width: 116px; height: 116px; place-items: center; border: 1px solid rgba(216,196,159,.5); border-radius: 50%; }
.security svg { width: 58px; fill: none; stroke: var(--sand); stroke-width: 3; }
.security h3 { margin: 3px 0 12px; font-family: var(--serif); font-size: clamp(30px, 4vw, 43px); }
.security p:not(.eyebrow) { margin: 8px 0; color: rgba(255,253,248,.75); }

.final-cta { position: relative; overflow: hidden; color: white; background: var(--forest-deep); }
.final-cta-inner { position: relative; z-index: 2; max-width: 800px; text-align: center; }
.final-cta img { width: 150px; max-height: 64px; margin: 0 auto 26px; object-fit: contain; }
.final-cta h2 { font-size: clamp(42px, 6vw, 68px); }
.final-cta p { max-width: 620px; margin: 22px auto 32px; color: rgba(255,255,255,.75); font-size: 18px; }
.cta-branch { position: absolute; width: 300px; fill: #7d8f66; stroke: #9aaa7d; stroke-width: 3; opacity: .55; }
.cta-branch-left { bottom: -42px; left: -45px; transform: rotate(8deg); }
.cta-branch-right { top: -35px; right: -40px; transform: rotate(188deg); }
.legal { padding: 34px 0; background: #eeece5; }
.legal-inner { display: grid; grid-template-columns: 36px 1fr; gap: 20px; align-items: start; max-width: 900px; }
.legal-inner > span { color: var(--olive); font-size: 28px; }
.legal h3 { margin: 0 0 5px; font-size: 16px; }
.legal p { margin: 0; color: var(--muted); font-size: 13px; }
footer { padding: 28px 0; background: var(--paper); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 150px 1fr 1.5fr; gap: 24px; align-items: center; }
.footer-inner img { width: 68px; height: 68px; border: 1px solid rgba(23, 63, 54, .18); border-radius: 50%; object-fit: cover; object-position: center; box-shadow: 0 5px 16px rgba(23, 63, 54, .1); }
.footer-inner p { margin: 0; color: var(--muted); font-size: 12px; text-align: center; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 510px; width: min(500px, 100%); margin: 0 auto; }
  .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
  .feature, .feature:nth-child(4) { grid-column: auto; }
  .feature:nth-child(5) { grid-column: 1 / -1; width: calc((100% - 26px) / 2); justify-self: center; }
  .steps { grid-template-columns: 1fr; gap: 35px; }
  .steps::before { top: 38px; bottom: 38px; right: auto; left: 41px; width: 1px; height: auto; }
  .step { display: grid; grid-template-columns: 84px 1fr; gap: 24px; padding: 0; text-align: left; }
  .step-mark { margin: 0; }
  .security { grid-template-columns: 100px 1fr; padding: 40px; }
  .security-symbol { width: 96px; height: 96px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1180px); }
  .site-header { top: 0; }
  .nav { min-height: 66px; }
  .brand img { width: 52px; height: 52px; }
  .menu-button { display: block; }
  .nav-links { position: absolute; top: 66px; right: 14px; left: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; text-align: center; }
  .preview-ribbon { font-size: 10px; }
  .hero { padding: 52px 0 58px; }
  .hero-grid { gap: 45px; }
  .hero h1 { font-size: clamp(42px, 13vw, 61px); }
  .hero-intro { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .button, .button-quiet { width: 100%; }
  .trust-list { flex-direction: column; gap: 10px; }
  .hero-art { min-height: 430px; }
  .arch-card { inset: 15px 18px 25px 26px; }
  .paper-note { right: 0; bottom: 28px; padding: 14px 18px; font-size: 15px; }
  .wax-seal { right: 22px; bottom: 3px; width: 43px; height: 43px; }
  .olive { width: 160px; }
  .olive-top { right: -45px; }
  .olive-bottom { left: -44px; }
  .section-pad { padding: 78px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading > p:last-child { font-size: 16px; }
  .editorial-grid { grid-template-columns: 1fr; gap: 18px; max-width: 520px; }
  .feature, .feature:nth-child(4), .feature:nth-child(5) { grid-column: 1; width: 100%; }
  .step { grid-template-columns: 70px 1fr; gap: 18px; }
  .step-mark { width: 70px; height: 70px; padding: 7px; }
  .steps::before { left: 34px; }
  .step h3 { font-size: 22px; }
  .security { grid-template-columns: 1fr; gap: 25px; margin-top: 55px; padding: 32px 27px; }
  .security-symbol { width: 85px; height: 85px; }
  .security h3 { font-size: 34px; }
  .final-cta img { width: 135px; }
  .cta-branch { width: 190px; opacity: .35; }
  .legal-inner { grid-template-columns: 28px 1fr; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
