:root {
  --night: #101628;
  --night-soft: #1b2338;
  --paper: #f4efe6;
  --card: #fffaf3;
  --ink: #16181f;
  --muted: #5b6170;
  --line: #d8d0c4;
  --copper: #c45c26;
  --copper-hover: #a64b1d;
  --ok: #1f6b45;
  --bad: #9a3412;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
  --narrow: 720px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 0.85rem;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }

p { margin: 0 0 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(var(--narrow), calc(100% - 2rem));
  margin-inline: auto;
}

.mast {
  background: var(--night);
  color: #f3ebe1;
}

.mast-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 4px;
}

.brand span b {
  color: #f3ebe1;
  font-weight: 700;
}

.brand span i {
  font-style: normal;
  color: #e8a077;
}

.menu summary {
  list-style: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.menu summary::-webkit-details-marker { display: none; }
.menu nav { display: none; }

.menu[open] nav {
  display: grid;
  position: absolute;
  right: 1rem;
  margin-top: 0.5rem;
  min-width: 200px;
  padding: 0.7rem;
  background: var(--night-soft);
  z-index: 30;
}

.menu nav a {
  text-decoration: none;
  padding: 0.4rem 0.2rem;
  color: #c9c3b8;
  font-size: 0.92rem;
}

.menu nav a:hover,
.menu nav a.is-on { color: #fff; }

@media (min-width: 900px) {
  .menu summary { display: none; }
  .menu nav,
  .menu[open] nav {
    display: flex;
    position: static;
    min-width: 0;
    padding: 0;
    background: none;
    gap: 1.35rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.55rem 1.15rem;
  border: 0;
  background: var(--copper);
  color: #fffaf3;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover { background: var(--copper-hover); }

.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}

.btn-ghost:hover {
  background: #fff;
  color: var(--night);
}

.hero {
  background: var(--night);
  color: #f3ebe1;
  padding: 4.2rem 0 3.6rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.35fr 0.75fr;
    align-items: end;
  }
}

.kicker {
  margin: 0 0 0.9rem;
  color: #e8a077;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
}

.lede {
  max-width: 38rem;
  color: #c9c3b8;
  font-size: 1.08rem;
}

.hero .lede { color: #c9c3b8; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.tile {
  padding: 1.3rem 1.2rem;
  background: var(--night-soft);
  border-left: 4px solid var(--copper);
}

.tile p { margin: 0; color: #d8d2c8; }

.stats {
  display: grid;
  background: #efe7db;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 760px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
}

.stats div {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 760px) {
  .stats div {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .stats div:last-child { border-right: 0; }
}

.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
}

.band { padding: 3rem 0; }

.steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.steps article {
  padding: 1.3rem;
  background: var(--card);
  border-top: 5px solid var(--night);
}

.steps span {
  display: block;
  color: var(--copper);
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.steps p { color: var(--muted); margin: 0; }

.page { padding: 3.2rem 0 4rem; }

.prose { max-width: 40rem; }
.prose h2 { margin-top: 1.8rem; }

.cards {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.cards a {
  display: block;
  padding: 1.15rem 1.2rem;
  background: var(--card);
  text-decoration: none;
  border-left: 4px solid var(--copper);
}

.cards a:hover { background: #fff; }
.cards p { color: var(--muted); margin: 0; }

.form { display: grid; gap: 0.95rem; margin-top: 1.2rem; }

label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  height: 3rem;
  padding: 0 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input:focus {
  outline: 2px solid var(--copper);
  outline-offset: 1px;
}

.offer {
  min-height: 100vh;
  display: grid;
  background: var(--paper);
}

@media (min-width: 960px) {
  .offer { grid-template-columns: 1fr 1fr; }
}

.offer-copy {
  background: var(--night);
  color: #f3ebe1;
  padding: clamp(1.6rem, 5vw, 3.6rem);
}

.offer-form {
  padding: clamp(1.6rem, 5vw, 3.6rem);
  background: var(--card);
}

.offer-copy .lede { color: #c9c3b8; }

.status.is-error { color: var(--bad); }
.status.is-success { color: var(--ok); }
.fine { color: var(--muted); font-size: 0.82rem; }
.fine a { color: var(--ink); }

.foot {
  background: var(--night);
  color: #c9c3b8;
  padding: 2.4rem 0 1.5rem;
  font-size: 0.9rem;
}

.foot-grid {
  display: grid;
  gap: 1.3rem;
  margin-bottom: 1.4rem;
}

@media (min-width: 840px) {
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.foot h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f3ebe1;
}

.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li + li { margin-top: 0.3rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid #2a3348;
}

.float {
  position: fixed;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  text-align: center;
  z-index: 10;
}

@media (min-width: 860px) { .float { display: none; } }
