:root {
  --paper: #f7f6f2;
  --paper-soft: #fffdfa;
  --ink: #171211;
  --ink-soft: #4f4240;
  --ink-faint: #7d706c;
  --rose: #b76567;
  --rose-dark: #713b3b;
  --burgundy: #2a0f10;
  --moss: #5d6756;
  --line: rgba(42, 15, 16, 0.16);
  --line-soft: rgba(42, 15, 16, 0.08);
  --shadow: 0 30px 70px rgba(23, 18, 17, 0.14);
  --content: min(1320px, calc(100vw - 80px));
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  text-rendering: geometricPrecision;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
ol,
ul {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 4px;
}

.site-header {
  align-items: center;
  color: #fffaf6;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto 1fr;
  left: 50%;
  padding: 28px 0;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: var(--content);
  z-index: 2;
}

.brand-link {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.nav-links,
.site-footer nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 4vw, 58px);
}

.nav-links {
  font-size: 1rem;
  justify-content: center;
}

.nav-links a,
.site-footer a,
.legal-header a,
.support-link {
  transition:
    color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover,
.legal-header a:hover {
  color: #fff;
  opacity: 0.72;
}

.header-action,
.primary-link,
.secondary-link {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0;
  min-height: 48px;
  padding: 0 22px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.header-action {
  background: var(--rose);
  color: #fff7f4;
  justify-self: end;
}

.primary-link {
  background: var(--rose);
  border: 1px solid var(--rose);
  box-shadow: 0 16px 34px rgba(113, 59, 59, 0.22);
  color: #fffaf7;
}

.secondary-link {
  background: rgba(10, 8, 8, 0.16);
  border: 1px solid rgba(255, 250, 246, 0.72);
  color: #fffaf6;
}

.header-action:hover,
.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-2px);
}

.primary-link:hover,
.header-action:hover {
  background: #c87575;
  box-shadow: 0 18px 40px rgba(113, 59, 59, 0.26);
}

.secondary-link:hover {
  background: rgba(255, 250, 246, 0.12);
  border-color: #fffaf6;
}

.hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(6, 5, 5, 0.92) 0%, rgba(13, 9, 8, 0.78) 34%, rgba(13, 9, 8, 0.18) 64%, rgba(13, 9, 8, 0.08) 100%),
    url("/assets/hero-keepsake-table.png") center / cover no-repeat;
  color: #fffaf6;
  display: grid;
  min-height: 88svh;
  padding: 118px clamp(24px, 5vw, 72px) 72px;
}

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

.hero h1 {
  font-size: clamp(5rem, 8.4vw, 8.2rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.86;
  max-width: none;
}

.hero-subhead {
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin-top: 32px;
  max-width: 10ch;
}

.hero-lede {
  color: rgba(255, 250, 246, 0.86);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.36;
  margin-top: 26px;
  max-width: 24ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.reveal {
  animation: rise-in 760ms ease both;
}

.pause-band {
  background: var(--paper-soft);
  padding: clamp(64px, 9vw, 108px) max(24px, calc((100vw - 1120px) / 2)) clamp(56px, 7vw, 86px);
}

.section-heading {
  margin: 0 auto clamp(44px, 6vw, 70px);
  max-width: 720px;
  text-align: center;
}

h2 {
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h3 {
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.pause-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 980px;
}

.pause-points article {
  align-items: center;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 0 clamp(20px, 4vw, 48px);
  text-align: center;
}

.pause-points article + article {
  border-left: 1px solid var(--line-soft);
}

.point-icon {
  align-items: center;
  border: 1px solid var(--rose);
  border-radius: 999px;
  color: var(--rose-dark);
  display: inline-flex;
  height: 64px;
  justify-content: center;
  margin-bottom: 24px;
  width: 64px;
}

.point-icon svg {
  fill: none;
  height: 32px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  width: 32px;
}

.pause-points p,
.timeline-copy p,
.moment-list p,
.legal-page p,
.legal-page li,
.support-page p,
.support-list li {
  color: var(--ink-soft);
  font-family: var(--sans);
  line-height: 1.58;
}

.pause-points p {
  font-size: 0.98rem;
  margin-top: 14px;
  max-width: 23ch;
}

.timeline-section {
  column-gap: clamp(34px, 7vw, 94px);
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(260px, 0.9fr) minmax(260px, 0.8fr);
  overflow: hidden;
  padding: clamp(58px, 8vw, 96px) max(24px, calc((100vw - 1120px) / 2)) clamp(74px, 11vw, 138px);
  position: relative;
}

.timeline-section::before {
  background:
    radial-gradient(circle at 18% 80%, rgba(93, 103, 86, 0.09), transparent 30%),
    linear-gradient(180deg, #f7f6f2 0%, #fbfaf8 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -2;
}

.keepsake-media {
  align-self: end;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(180deg, rgba(247, 246, 242, 0) 56%, rgba(247, 246, 242, 0.92) 100%),
    url("/assets/hero-keepsake-table.png") 65% center / cover no-repeat;
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 420px;
}

.timeline-copy {
  align-self: start;
  padding-top: clamp(8px, 4vw, 42px);
}

.timeline-copy h2 {
  max-width: 11ch;
}

.timeline-copy p {
  font-size: 1.05rem;
  margin-top: 24px;
  max-width: 38ch;
}

.moment-list {
  counter-reset: moments;
  display: grid;
  gap: 28px;
  list-style: none;
  padding: 0 0 0 36px;
  position: relative;
}

.moment-list::before {
  background: var(--rose);
  content: "";
  height: calc(100% - 40px);
  left: 8px;
  position: absolute;
  top: 20px;
  width: 1px;
}

.moment-list li {
  position: relative;
}

.moment-list li::before {
  background: var(--rose-dark);
  border: 6px solid var(--paper);
  border-radius: 999px;
  content: "";
  height: 12px;
  left: -34px;
  position: absolute;
  top: 4px;
  width: 12px;
}

.moment-list span {
  color: var(--rose-dark);
  display: block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.moment-list strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.moment-list p {
  font-size: 0.95rem;
  margin-top: 3px;
}

.final-cta {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(42, 15, 16, 0.96), rgba(68, 23, 24, 0.96)),
    var(--burgundy);
  color: #fff7f4;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  overflow: hidden;
  padding: 58px 24px 70px;
  position: relative;
  text-align: center;
}

.final-cta::before,
.final-cta::after {
  border: 1px solid rgba(183, 101, 103, 0.28);
  border-radius: 999px;
  content: "";
  height: 340px;
  position: absolute;
  top: 42px;
  width: 180px;
}

.final-cta::before {
  left: -72px;
  transform: rotate(-18deg);
}

.final-cta::after {
  right: -72px;
  transform: rotate(18deg);
}

.heart-mark {
  font-family: var(--sans);
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 22px;
}

.final-cta h2 {
  max-width: 700px;
}

.final-cta .primary-link {
  margin-top: 30px;
  min-width: 280px;
  position: relative;
  z-index: 1;
}

.site-footer {
  align-items: center;
  background: #090707;
  color: rgba(255, 250, 246, 0.72);
  display: flex;
  font-family: var(--sans);
  font-size: 0.88rem;
  justify-content: space-between;
  padding: 24px max(24px, calc((100vw - 1120px) / 2));
}

.site-footer nav {
  gap: 36px;
}

.fallback-page {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(6, 5, 5, 0.94), rgba(13, 9, 8, 0.62)),
    url("/assets/hero-keepsake-table.png") center / cover no-repeat;
  color: #fffaf6;
  display: flex;
  min-height: 100vh;
}

.fallback-shell {
  margin: 0 auto;
  max-width: 1120px;
  padding: 40px 24px;
  width: 100%;
}

.fallback-card {
  max-width: 640px;
}

.eyebrow,
.section-kicker {
  color: rgba(255, 250, 246, 0.72);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.fallback-card h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
  max-width: 10ch;
}

.lede {
  color: rgba(255, 250, 246, 0.82);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.4;
  margin-top: 22px;
  max-width: 34ch;
}

.fallback-card .primary-link {
  margin-top: 32px;
}

.legal-page,
.support-page {
  background:
    radial-gradient(circle at 12% 10%, rgba(183, 101, 103, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfaf8 0%, var(--paper) 100%);
  min-height: 100vh;
}

.legal-header {
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  font-family: var(--sans);
  justify-content: space-between;
  margin: 0 auto;
  max-width: 900px;
  padding: 22px 24px;
}

.legal-header .brand-link {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.7rem;
}

.legal-header a:not(.brand-link) {
  color: var(--ink-faint);
  font-size: 0.92rem;
  font-weight: 700;
}

.legal-shell,
.support-shell {
  margin: 0 auto;
  max-width: 900px;
  padding: clamp(54px, 8vw, 92px) 24px;
}

.legal-intro,
.support-intro {
  border-bottom: 1px solid var(--line);
  margin-bottom: 42px;
  padding-bottom: 34px;
}

.legal-intro h1,
.support-intro h1 {
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.updated {
  color: var(--rose-dark);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.legal-intro p:not(.updated),
.support-intro p {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 1.12rem;
  line-height: 1.58;
  margin-top: 24px;
  max-width: 680px;
}

.legal-content {
  display: grid;
  gap: 30px;
}

.legal-content section {
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 30px;
}

.legal-content h2,
.support-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 14px;
}

.legal-page p,
.legal-page li,
.support-page p,
.support-list li {
  font-size: 0.98rem;
}

.legal-page ul,
.support-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-content a,
.support-section a,
.support-panel a:not(.primary-link) {
  color: var(--rose-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.support-layout {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
}

.support-section {
  border-bottom: 1px solid var(--line-soft);
  padding: 0 0 30px;
}

.support-section + .support-section {
  padding-top: 30px;
}

.support-panel {
  align-self: start;
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 26px;
}

.support-panel h2 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}

.support-panel p {
  margin-bottom: 22px;
}

.support-link {
  color: var(--rose-dark);
  display: inline-flex;
  font-family: var(--sans);
  font-weight: 800;
  margin-top: 16px;
}

.support-link:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 900px) {
  .hero {
    background-position: 58% center;
    min-height: 86svh;
  }

  .pause-points,
  .timeline-section,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .pause-points {
    gap: 34px;
  }

  .pause-points article {
    min-height: auto;
  }

  .pause-points article + article {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    padding-top: 34px;
  }

  .keepsake-media {
    min-height: 360px;
    order: 2;
  }

  .timeline-copy {
    order: 1;
  }

  .moment-list {
    order: 3;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --content: min(100vw - 32px, 1120px);
  }

  .site-header {
    padding-top: 22px;
  }

  .brand-link {
    font-size: 1.75rem;
  }

  .header-action {
    font-size: 0.82rem;
    min-height: 42px;
    padding: 0 14px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(6, 5, 5, 0.52) 0%, rgba(6, 5, 5, 0.78) 48%, rgba(6, 5, 5, 0.94) 100%),
      url("/assets/hero-keepsake-table.png") 62% top / cover no-repeat;
    align-items: end;
    min-height: 88svh;
    padding: 96px 16px 44px;
  }

  .hero h1 {
    font-size: clamp(4.6rem, 26vw, 7rem);
    max-width: 6ch;
  }

  .hero-subhead {
    font-size: clamp(2rem, 12vw, 3.1rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .pause-band,
  .timeline-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 24px 16px;
  }

  .site-footer nav {
    gap: 22px;
  }

  .legal-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .legal-shell,
  .support-shell {
    padding-left: 16px;
    padding-right: 16px;
  }
}
