@font-face {
  font-family: "Archivo";
  src: url("/fonts/Archivo-Variable.ttf") format("truetype-variations"),
       url("/fonts/Archivo-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --steel: #E8EBEE;
  --steel-deep: #DCE1E6;
  --rule: #C6CDD5;
  --rule-soft: #D3D9DF;
  --ink: #16233F;
  --ink-soft: #24345A;
  --slate: #4B5666;
  --white: #FFFFFF;
  --brass: #A9844F;
  --brass-light: #C9A46B;
  --open: #2F7A57;
  --danger: #A33A2E;
  --on-ink: #C9D1DC;
  --ink-rule: #34466E;

  --font: "Archivo", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wide: 125%;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--steel);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; color: var(--ink); }
h1, h2 { font-weight: 800; font-stretch: var(--wide); letter-spacing: -0.015em; overflow-wrap: break-word; }
h1 { font-size: clamp(36px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.02em; max-width: 14ch; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; max-width: 22ch; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
a { color: var(--ink); text-underline-offset: 0.18em; }
a:hover { color: var(--brass); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: 1rem; top: -3rem; z-index: 20; background: var(--ink); color: var(--white); padding: 0.5rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 22px; font-weight: 800; font-stretch: var(--wide); letter-spacing: -0.01em; }
.brand-mark { width: 32px; height: 32px; }
.m-arcs { fill: none; stroke: var(--ink); stroke-width: 13; }
.m-key { fill: var(--brass); }
.brand-reversed { color: var(--white); font-size: 20px; }
.brand-reversed .m-arcs { stroke: var(--white); }
.brand-reversed .m-key { fill: var(--brass-light); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--steel); border-bottom: 1px solid var(--rule-soft); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 16px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 24px; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 0; }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta { color: var(--white); background: var(--ink); padding: 11px 18px; border-radius: 8px; font-weight: 600; }
.site-nav .nav-cta:hover { background: var(--ink-soft); color: var(--white); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; font: inherit; font-weight: 600; border-radius: 8px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--ink-soft); color: var(--white); }
.btn-primary[disabled] { opacity: .7; cursor: progress; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-quiet { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: 5px; padding: 12px 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-rings { position: absolute; right: -14vw; top: -6vw; width: 62vw; max-width: 900px; opacity: .07; pointer-events: none; will-change: transform; }
.hero-rings circle { fill: none; stroke: var(--ink); stroke-width: 2; }
.hero-rings .dash { stroke-width: .6; stroke-dasharray: 1 2; }
.hero-rings .thin { stroke-width: .6; }
.hero-grid { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 8vw, 112px) clamp(56px, 9vw, 128px); }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-soft); max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.hero-mark { flex: 1 1 340px; min-width: 0; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.shares { width: 100%; max-width: 440px; height: auto; overflow: visible; }
.share { transform-origin: 50px 50px; will-change: transform; }
.share path { fill: none; stroke: var(--ink); stroke-width: 12; }
.share-key { fill: var(--brass); transition: fill .3s ease; }
.shares.is-together .share-key { fill: var(--open); }
.shares-caption { font-size: 15px; font-weight: 600; color: var(--slate); min-height: 1.6em; text-align: center; transition: color .3s ease; }
.shares-caption.is-together { color: var(--open); }

/* ---------- Facts strip ---------- */
.facts-strip { background: var(--white); border-block: 1px solid var(--rule-soft); }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 48px; padding-block: 32px; }
.facts-grid div { display: flex; flex-direction: column; gap: 4px; }
.facts-grid strong { font-size: 18px; }
.facts-grid span { color: var(--slate); font-size: 15px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.intro { margin-top: 16px; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 46ch; line-height: 1.5; }
.section-steel { background: var(--steel-deep); }

.steps { list-style: none; counter-reset: step; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; padding: 24px 24px 24px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step); display: block; font-size: 34px; font-weight: 800; font-stretch: var(--wide); color: var(--brass); line-height: 1; margin-bottom: 16px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: 16px; }

.protect { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.protect article { background: var(--white); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.protect svg { width: 36px; height: 36px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.protect p { color: var(--ink-soft); font-size: 16px; }

.uses { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px 48px; }
.uses div { border-top: 3px solid var(--brass); padding-top: 20px; }
.uses h3 { margin-bottom: 10px; }
.uses p { color: var(--ink-soft); }

.section-ink { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.section-ink h2 { color: var(--white); }
.section-ink .intro { color: var(--on-ink); max-width: 34ch; }
.ink-mark { position: absolute; left: -18vw; bottom: -30vw; width: 70vw; max-width: 980px; opacity: .08; pointer-events: none; fill: none; stroke: var(--white); stroke-width: 10; will-change: transform; }
.trust-grid { position: relative; display: flex; flex-wrap: wrap; gap: 40px 72px; }
.trust-grid > div { flex: 1 1 320px; min-width: 0; }
.facts { flex: 2 1 480px; min-width: 0; margin: 0; }
.facts div { padding: 22px 0; border-bottom: 1px solid var(--ink-rule); }
.facts div:first-child { padding-top: 0; }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { font-weight: 700; font-size: 20px; }
.facts dd { margin: 6px 0 0; color: var(--on-ink); }

.packages { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.package { background: var(--white); border: 1px solid var(--rule); border-radius: 16px; padding: 32px 28px 28px; display: flex; flex-direction: column; gap: 12px; }
.package-mid { border: 2px solid var(--ink); }
.package .size { font-size: 16px; color: var(--slate); }
.package .size span { display: block; font-size: 44px; font-weight: 800; font-stretch: var(--wide); color: var(--ink); line-height: 1.05; }
.package p:not(.size) { color: var(--ink-soft); flex: 1; }
.package .btn { margin-top: 8px; width: 100%; }
.included-title { margin: 48px 0 16px; }
.included { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px 40px; color: var(--ink-soft); }
.included li { position: relative; padding-left: 24px; }
.included li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border: 2px solid var(--brass); border-radius: 50%; }

/* ---------- Contact ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: flex-start; }
.contact-grid > div:first-child { flex: 1 1 300px; min-width: 0; }
.contact-alt { margin-top: 24px; color: var(--ink-soft); }
.contact-form, .form-done { flex: 1.4 1 420px; min-width: 0; background: var(--white); border: 1px solid var(--rule); border-radius: 16px; padding: clamp(20px, 3vw, 32px); }
.form-done h3 { margin-bottom: 8px; color: var(--open); }
.form-done:focus { outline: none; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 18px; }
label { font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--slate); }
input, select, textarea { font: inherit; color: var(--ink); background: var(--steel); border: 2px solid transparent; border-radius: 8px; padding: 0 14px; min-height: 48px; width: 100%; }
textarea { padding: 12px 14px; resize: vertical; min-height: 8rem; line-height: 1.5; }
input:hover, select:hover, textarea:hover { border-color: var(--rule); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
::placeholder { color: #7F8896; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0 0 16px; padding: 12px 16px; border-radius: 8px; background: #F6E6E4; color: var(--danger); font-weight: 500; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-note { font-size: 14px; color: var(--slate); max-width: 34ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-block: 48px; }
.footer-brand-block { display: flex; flex-direction: column; gap: 14px; }
.footer-line { font-size: 18px; font-weight: 600; }
.footer-small { font-size: 14px; color: #B8C2CF; }
.footer-details { font-style: normal; display: flex; flex-direction: column; gap: 3px; font-size: 15px; color: #D5DCE5; }
.footer-company { font-weight: 600; color: var(--white); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--brass-light); }

/* Phones: keep the sticky header to one line; sections stay reachable by scrolling */
@media (max-width: 560px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .brand { font-size: 20px; }
}
