:root {
  --bg: #f1ece4;
  --bg-raised: #faf7f2;
  --bg-sunk: #e6dfd3;
  --ink: #1c2420;
  --muted: #3f4a44;
  --faint: #5c675f;
  --line: #d9d0c2;
  --forest: #1c3832;
  --forest-deep: #102420;
  --brass: #6e522c;
  --cream: #f4efe6;
  --danger: #6e2c2c;
  --serif: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: 1080px;
  --shadow: 0 18px 40px rgba(16, 36, 32, 0.05);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

img { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

p { margin: 0 0 0.8rem; }

a { color: var(--forest); text-underline-offset: 0.16em; }
a:visited { color: var(--forest); }

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

::selection { background: #e3d2ae; color: var(--ink); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: white;
  color: var(--ink);
  padding: 0.45rem 0.7rem;
  z-index: 20;
}

.skip:focus { top: 0.5rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 6;
  background: rgba(241, 236, 228, 0.94);
  backdrop-filter: blur(12px);
}

.topline {
  background: var(--forest-deep);
  color: var(--cream);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.topline-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.42rem 0;
}

.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.6rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1;
  padding-top: 0.12rem;
  flex: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.01em;
}

.brand-sub {
  display: block;
  margin-top: 0.18rem;
  color: var(--faint);
  font-size: 0.82rem;
}

.nav-toggle {
  display: none;
  font: inherit;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}

.nav a:hover,
.nav a.is-active { box-shadow: inset 0 -1px 0 var(--forest); }

.lang {
  display: flex;
  gap: 0.15rem;
  margin-left: 0.35rem;
}

.lang button {
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  background: transparent;
  border: 1px solid transparent;
  color: var(--faint);
  padding: 0.25rem 0.4rem;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  color: var(--ink);
  border-color: var(--line);
  background: var(--bg-raised);
  font-weight: 700;
}

.hero { padding: 4.2rem 0 3.2rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 3.5rem;
  align-items: end;
}

.kicker, .slip-kicker, .footer-label, .section-index {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

h1 {
  margin: 0.45rem 0 1rem;
  font-size: clamp(2.7rem, 5.4vw, 4.45rem);
  max-width: 11ch;
  color: var(--forest-deep);
}

.lead {
  max-width: 38rem;
  font-size: 1.18rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.1rem;
  background: var(--forest);
  color: var(--cream);
  text-decoration: none;
  font-weight: 650;
  font-weight: 600;
  border: 1px solid var(--forest);
  border-radius: 2px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

a.btn, a.btn:visited { color: var(--cream); text-decoration: none; }

.btn:hover { background: var(--forest-deep); border-color: var(--forest-deep); }

.btn-ghost {
  background: transparent;
  color: var(--forest);
}

a.btn-ghost, a.btn-ghost:visited { color: var(--forest); }

.btn-ghost:hover { background: rgba(28, 56, 50, 0.06); }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.2rem;
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.facts li { display: flex; align-items: center; gap: 0.5rem; }

.facts li::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  background: var(--brass);
  flex: none;
}

.slip {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-top: 3px solid var(--forest);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.35rem 1.15rem;
}

.slip dl { margin: 0.8rem 0 0; }

.slip dl div {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.slip dt { margin: 0; color: var(--faint); font-size: 0.92rem; }
.slip dd { margin: 0; font-weight: 650; font-weight: 600; }

.slip-note {
  margin: 1rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.28rem;
  line-height: 1.35;
  color: var(--forest);
}

.section { padding: 4.2rem 0; }
.section-alt { background: var(--bg-sunk); }

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  margin-bottom: 1.8rem;
  max-width: 44rem;
}

.section-index { padding-top: 0.35rem; }

.section-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.section-head p:last-child { margin: 0; color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  padding: 1.3rem 1.2rem 1.15rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.section-alt .card { background: var(--bg); }

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.55rem;
}

.card p { margin: 0 0 1.1rem; flex: 1; color: var(--muted); }

.card a { font-weight: 700; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.steps li {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.num {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--forest);
}

.steps h3 { margin: 0 0 0.45rem; font-size: 1.45rem; }
.steps p { margin: 0; color: var(--muted); }

.id-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.id-grid div {
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid var(--line);
}

.id-grid dt {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

.id-grid dd {
  margin: 0.25rem 0 0;
  font-family: var(--serif);
  font-size: 1.4rem;
}

.id-actions { margin-top: 1.3rem; }

.band {
  background: var(--forest-deep);
  color: var(--cream);
  padding: 3.2rem 0;
}

.band-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
}

.band h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: white;
}

.band p { margin: 0; max-width: 38rem; color: #e4dccb; }

.band .btn {
  background: var(--cream);
  color: var(--forest-deep);
  border-color: var(--cream);
  flex: none;
}

.band a.btn, .band a.btn:visited { color: var(--forest-deep); }
.band .btn:hover { background: white; }

.site-footer {
  background: #0c1c19;
  color: #e7e0d2;
  padding: 2.6rem 0 1.3rem;
  font-size: 0.98rem;
  border-top: 1px solid rgba(226, 196, 138, 0.35);
}

.site-footer a { color: #f4efe6; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 0.9fr;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin: 0 0 0.4rem;
  color: white;
}

.footer-label { color: #d9c08a; margin: 0 0 0.45rem; }

.footer-grid a { display: block; text-decoration: none; margin: 0.2rem 0; }
.footer-grid a:hover { text-decoration: underline; }

address { font-style: normal; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(244, 239, 230, 0.16);
  color: #cbbfaa;
  font-size: 0.9rem;
}

.footer-bottom p { margin: 0; }
.footer-bottom a { color: #f4efe6; }

.page-head { padding: 3.2rem 0 0.4rem; }

.page-head h1 {
  max-width: 16em;
  font-size: clamp(2.4rem, 5vw, 3.7rem);
}

.crumb { margin: 0 0 0.8rem; color: var(--faint); font-size: 0.92rem; }
.crumb a { color: inherit; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1.2rem 0 0.4rem;
}

.subnav a { font-weight: 650; font-weight: 600; }

.offer {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.5rem 1rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.offer h2 { margin: 0 0 0.45rem; font-size: 1.85rem; }
.offer p:last-child { margin: 0; color: var(--muted); }

.ticks { margin: 0.4rem 0 0; padding: 0; list-style: none; }
.ticks li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.15rem;
  border-bottom: 1px solid var(--line);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.45rem;
  height: 1px;
  background: var(--forest);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.notice, .panel {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-left: 3px solid var(--forest);
  padding: 1.1rem 1.15rem;
}

.notice h2, .panel h2 { margin: 0 0 0.4rem; font-size: 1.45rem; }
.notice p:last-child, .panel p:last-child { margin: 0; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin: 1.4rem 0 2rem;
}

.principles article {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  padding: 1.1rem;
}

.principles h2 { margin: 0 0 0.4rem; font-size: 1.4rem; }
.principles p { margin: 0; color: var(--muted); }

.sheet {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-top: 3px solid var(--forest);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.4rem 1rem;
}

.sheet-kicker { margin: 0; }
.sheet h2 { margin: 0.3rem 0 0.8rem; font-size: 2rem; }

.sheet dl { margin: 0; }
.sheet dl div {
  display: grid;
  grid-template-columns: 13.5rem 1fr;
  gap: 1rem;
  padding: 0.72rem 0;
  border-top: 1px solid var(--line);
}
.sheet dt { margin: 0; color: var(--faint); }
.sheet dd { margin: 0; font-weight: 650; font-weight: 600; }
.sheet-source { margin: 0.9rem 0 0; color: var(--faint); font-size: 0.92rem; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: 2rem;
  align-items: start;
  padding-bottom: 4rem;
}

.contact-card {
  background: var(--forest-deep);
  color: var(--cream);
  padding: 1.3rem 1.25rem 1.15rem;
}

.contact-card h2 {
  margin: 0.2rem 0 0.8rem;
  color: white;
  font-size: 1.8rem;
}

.contact-card a { color: var(--cream); }
.contact-card p { color: #e6dccb; }
.contact-card .lbl {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e2c48a;
}

.form-panel {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  padding: 1.25rem;
}

.form-panel h2 { margin: 0 0 0.35rem; font-size: 1.7rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
  margin-top: 1rem;
}

.span-2 { grid-column: span 2; }

.field .lbl {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 650;
  font-weight: 600;
  font-size: 0.95rem;
}

.field.req .lbl::after { content: " *"; color: var(--forest); }

input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fffdf9;
  border: 1px solid #cfc6b8;
  border-radius: 2px;
  padding: 0.65rem 0.7rem;
}

textarea { min-height: 8.5rem; resize: vertical; }

.check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.98rem;
}

.check input { width: auto; margin-top: 0.3rem; }

.form-note, .fine {
  color: var(--faint);
  font-size: 0.92rem;
}

.form-error {
  background: #f8ece8;
  color: var(--danger);
  border: 1px solid #e4c8c2;
  padding: 0.6rem 0.7rem;
  margin: 0.8rem 0 0;
}

.form-actions { margin-top: 0.3rem; }

.sent h2 { margin: 0 0 0.4rem; }
.sent textarea {
  margin-top: 0.7rem;
  min-height: 16rem;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92rem;
  line-height: 1.45;
}
.sent-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.75rem; }
.copied { margin: 0.55rem 0 0; color: var(--forest); font-weight: 650; font-weight: 600; }

.prose { max-width: 42rem; padding-bottom: 4rem; }
.prose h2 { margin: 1.8rem 0 0.45rem; font-size: 1.55rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0.3rem 0 0.8rem; padding-left: 1.1rem; }
.prevail {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--faint);
}

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .steps,
  .principles,
  .footer-grid,
  .split,
  .contact-grid,
  .band-inner {
    grid-template-columns: 1fr;
  }

  .band-inner { align-items: start; }
  h1 { max-width: 12ch; }
  .id-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #f7f3ec;
    border-bottom: 1px solid var(--line);
    padding: 0.3rem 1.25rem 0.9rem;
  }

  .nav.is-open { display: flex; }
  .nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .lang { margin: 0.7rem 0 0; }
}

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .sheet dl div, .slip dl div, .offer { grid-template-columns: 1fr; }
  .topline-inner { flex-direction: column; gap: 0.1rem; }
  .wrap { width: min(var(--max), calc(100% - 1.6rem)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .topbar, .actions, .band, .nav-toggle, .lang, .form-panel, .skip { display: none !important; }
  body { background: white; color: black; }
  .site-footer { background: white; color: black; }
  .site-footer a { color: black; }
  .slip, .sheet, .card { box-shadow: none; }
}
