:root {
  color: #111611;
  background: #f7f3ea;
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --paper: #f7f3ea;
  --ink: #111611;
  --muted: #6b655a;
  --line: rgba(17, 22, 17, 0.14);
  --cream: rgba(247, 243, 234, 0.82);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 26px 42px;
  color: #fbf6eb;
  font-size: 15px;
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    padding 220ms ease;
}

.site-header.is-past-hero {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 234, 0.88);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(17, 22, 17, 0.07);
  backdrop-filter: blur(18px);
}

.brand,
.header-link {
  font-weight: 700;
}

.site-header nav,
footer nav {
  display: flex;
  gap: 28px;
}

.header-link {
  justify-self: end;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: end start;
  overflow: hidden;
  padding: 132px 42px 66px;
  color: #fffaf0;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  filter: blur(4px) contrast(0.9);
  object-fit: cover;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.22) 48%, rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 34%, rgba(0, 0, 0, 0.5));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.78;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 500;
  line-height: 0.91;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin-top: 28px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.22;
  opacity: 0.88;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.primary {
  background: #fff8e8;
  color: #111611;
}

.secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff8e8;
}

.intro,
.columns,
.privacy,
.pricing,
.final {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.content-reveal {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(28px);
  transition:
    opacity 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, filter, transform;
}

.content-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.columns.content-reveal article {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 620ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.columns.content-reveal.is-visible article {
  opacity: 1;
  transform: translateY(0);
}

.columns.content-reveal.is-visible article:nth-child(2) {
  transition-delay: 90ms;
}

.columns.content-reveal.is-visible article:nth-child(3) {
  transition-delay: 180ms;
}

.intro {
  padding: 112px 0;
}

.intro p {
  max-width: 980px;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
}

.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.columns article {
  min-height: 360px;
  padding: 34px;
  background: var(--paper);
}

.columns span {
  color: var(--muted);
  font-size: 14px;
}

.columns h2,
.privacy h2,
.pricing h2,
.final h2 {
  margin-top: 28px;
  font-size: clamp(36px, 4.5vw, 68px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.columns p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.48;
}

.privacy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: start;
  padding: 124px 0 90px;
  border-bottom: 1px solid var(--line);
}

.privacy p:last-child {
  color: var(--muted);
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.28;
}

.pricing {
  padding: 90px 0;
  text-align: center;
}

.pricing .eyebrow {
  color: #356d53;
}

.coming-soon {
  max-width: 560px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.32;
}

.price-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  margin: 46px auto 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 252, 244, 0.72);
  text-align: left;
}

.regular {
  display: block;
  color: var(--muted);
  font-size: 18px;
  text-decoration: line-through;
}

.price-card strong {
  display: block;
  margin-top: 4px;
  font-size: 52px;
  font-weight: 500;
  line-height: 1;
}

.price-card p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.42;
}

.price-card .primary,
.final .primary {
  background: #111611;
  color: #fff8e8;
}

.final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.final h2 {
  max-width: 680px;
  margin-top: 0;
}

.legal-page {
  min-height: 100svh;
  padding: 132px 24px 84px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 252, 244, 0.9), transparent 34%),
    var(--paper);
}

.legal-card {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 252, 244, 0.72);
  box-shadow: 0 28px 80px rgba(17, 22, 17, 0.08);
  backdrop-filter: blur(18px);
}

.markdown-body {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.72;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  margin: 1.6em 0 0.55em;
  font-weight: 500;
  line-height: 1.08;
}

.markdown-body h1 {
  margin-top: 0;
  font-size: clamp(42px, 5vw, 68px);
}

.markdown-body h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.markdown-body p,
.markdown-body ul,
.markdown-body ol,
.markdown-body table {
  margin: 0 0 1.1em;
}

.markdown-body ul,
.markdown-body ol {
  padding-left: 1.25em;
}

.markdown-body li + li {
  margin-top: 0.35em;
}

.markdown-body a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  font-size: 16px;
}

.markdown-body th,
.markdown-body td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.markdown-body th {
  background: rgba(17, 22, 17, 0.04);
  font-weight: 700;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 34px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer > span:first-child {
  color: var(--ink);
  font-weight: 700;
}

footer > span:last-child {
  justify-self: end;
}

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

  .site-header nav {
    display: none;
  }

  .hero {
    padding: 112px 22px 42px;
  }

  .columns,
  .privacy,
  .price-card,
  .final,
  footer {
    grid-template-columns: 1fr;
  }

  .columns {
    display: grid;
  }

  .columns article {
    min-height: auto;
  }

  .privacy {
    gap: 28px;
  }

  .price-card,
  .final,
  footer {
    text-align: center;
  }

  .price-card {
    justify-items: center;
  }

  .final {
    align-items: stretch;
  }

  footer nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  footer > span:last-child {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .intro {
    padding: 72px 0;
  }
}

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

  .content-reveal,
  .columns.content-reveal article {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}
