:root {
  color-scheme: light;
  --bg: #f7f3ee;
  --paper: #fffaf4;
  --ink: #242126;
  --muted: #696168;
  --plum: #4a263f;
  --coral: #c85b4f;
  --teal: #1c7772;
  --sage: #dce9dd;
  --line: rgba(74, 38, 63, 0.14);
  --shadow: 0 22px 80px rgba(48, 31, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 7vw;
  background: rgba(247, 243, 238, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, var(--paper) 0 17%, transparent 18%),
    linear-gradient(135deg, var(--coral), var(--plum));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.nav-links {
  gap: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

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

.hero-section {
  position: relative;
  display: grid;
  min-height: 92vh;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 40px;
  align-items: center;
  padding: 120px 7vw 64px;
  background:
    linear-gradient(120deg, rgba(255, 250, 244, 0.72), rgba(220, 233, 221, 0.86)),
    var(--bg);
}

.hero-section::after {
  position: absolute;
  left: 7vw;
  right: 7vw;
  bottom: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-copy h1,
.section-heading h2,
.closing-panel h2 {
  margin: 0;
  color: var(--plum);
  font-weight: 500;
  line-height: 1.08;
}

.hero-copy h1 {
  max-width: 680px;
  font-size: 4.6rem;
}

.hero-text {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 34px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: var(--plum);
  color: #fffaf4;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-action:hover,
.secondary-action:hover {
  background: #351a2d;
  transform: translateY(-1px);
}

.hero-visual {
  justify-self: end;
  width: min(100%, 500px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.66);
  box-shadow: var(--shadow);
}

.letter-section,
.promises-section,
.closing-section {
  padding: 84px 7vw;
}

.letter-section {
  background: var(--bg);
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 38px;
}

.section-heading h2,
.closing-panel h2 {
  font-size: 2.6rem;
}

.section-heading.compact {
  margin-left: 0;
}

.letter-paper {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  font-size: 1.12rem;
}

.letter-paper p {
  margin: 0 0 22px;
}

.letter-paper p:last-child {
  margin-bottom: 0;
}

.signature {
  color: var(--plum);
  font-style: italic;
}

.promises-section {
  background: var(--sage);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.promise-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(28, 119, 114, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.82);
}

.promise-number {
  display: block;
  color: var(--coral);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.promise-card h3 {
  margin: 18px 0 12px;
  color: var(--plum);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.18;
}

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

.closing-section {
  background:
    linear-gradient(rgba(255, 250, 244, 0.9), rgba(255, 250, 244, 0.9)),
    var(--paper);
}

.closing-panel {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.closing-panel p {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.secondary-action {
  margin-top: 30px;
  background: var(--teal);
}

.secondary-action:hover {
  background: #145653;
}

.hidden-note {
  padding-top: 8px;
  color: var(--plum) !important;
  font-style: italic;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    padding: 14px 20px;
  }

  .hero-section {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 52px 20px 56px;
  }

  .hero-copy h1 {
    font-size: 3.2rem;
  }

  .hero-visual {
    justify-self: start;
    width: min(100%, 420px);
  }

  .letter-section,
  .promises-section,
  .closing-section {
    padding: 64px 20px;
  }

  .section-heading h2,
  .closing-panel h2 {
    font-size: 2rem;
  }

  .promise-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero-copy h1 {
    font-size: 2.45rem;
  }

  .hero-text,
  .letter-paper,
  .closing-panel p {
    font-size: 1rem;
  }

  .letter-paper {
    padding: 28px 22px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .primary-action,
  .secondary-action {
    transition: none;
  }
}
