:root {
  color-scheme: dark;
  --background: #0d0c0b;
  --background-soft: #141210;
  --surface: #1b1815;
  --surface-raised: #24201c;
  --paper: #f4ede4;
  --paper-soft: #e9ded2;
  --text: #f7f1ea;
  --text-secondary: #c9beb2;
  --text-muted: #94887d;
  --border: rgba(244, 237, 228, 0.16);
  --border-strong: rgba(244, 237, 228, 0.28);
  --warm: #b98a63;
  --warm-soft: #31261f;
  --calm: #91a49a;
  --calm-soft: #202a25;
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 360px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--background);
  background-size: auto, 96px 96px, auto;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--border);
  background: rgba(13, 12, 11, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid var(--paper);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, var(--paper) 48% 52%, transparent 52%),
    linear-gradient(180deg, var(--background) 0 50%, var(--warm) 50% 100%);
}

.nav {
  gap: 22px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--paper);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding: 72px 0 64px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--paper);
  font-size: clamp(3.15rem, 8.6vw, 7rem);
  font-weight: 760;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--paper);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 720;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 1.05rem;
  line-height: 1.25;
}

.lead {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--background);
}

.secondary {
  background: rgba(244, 237, 228, 0.06);
  color: var(--paper);
}

.secondary:hover {
  background: rgba(244, 237, 228, 0.1);
}

.microcopy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.hero-visual img {
  width: min(100%, 500px);
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.28));
}

.trust-strip {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-strip div {
  padding: 24px 22px;
  border-right: 1px solid var(--border);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.trust-strip strong {
  display: block;
  color: var(--paper);
  font-size: 1rem;
  line-height: 1.35;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 88px);
  padding: 112px 0;
}

.split p,
.closing p {
  color: var(--text-secondary);
  font-size: 1.04rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(27, 24, 21, 0.72);
  box-shadow: 0 18px 44px var(--shadow);
}

.steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 26px;
  border-bottom: 1px solid var(--border);
}

.steps li:last-child {
  border-bottom: 0;
}

.steps span {
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 800;
}

.steps p,
.principle-grid p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.letter-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 0 112px;
}

.letter-card,
.reply-card,
.principle-grid article {
  border: 1px solid var(--border);
  border-radius: 18px;
}

.letter-card,
.reply-card {
  min-height: 280px;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: 0 18px 44px var(--shadow);
}

.letter-card {
  background: var(--paper);
}

.reply-card {
  background: var(--calm-soft);
}

.letter-card .letter-label {
  color: #7c6f63;
}

.letter-card .letter-text {
  color: #201c18;
}

.letter-label {
  margin-bottom: 28px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.letter-text,
.reply-text {
  margin-bottom: 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.25;
}

.principles {
  padding: 0 0 112px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.principle-grid article {
  min-height: 220px;
  padding: 24px;
  background: rgba(27, 24, 21, 0.72);
}

.closing {
  width: min(100%, 1120px);
  margin-bottom: 80px;
  padding: clamp(34px, 7vw, 74px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.closing p {
  max-width: 660px;
  margin: 0 auto 28px;
}

.closing .button {
  margin: 0 auto;
}

.footer {
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .nav {
    display: none;
  }

  .hero,
  .split,
  .letter-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-visual {
    order: -1;
  }

  .trust-strip,
  .principle-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip div:nth-child(2) {
    border-right: 0;
  }

  .trust-strip div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 620px) {
  .section,
  .trust-strip {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding-inline: 14px;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: 3.05rem;
  }

  .trust-strip,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .letter-card,
  .reply-card {
    min-height: auto;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
