:root {
  color-scheme: light;
  --paper: #fcf8ef;
  --paper-deep: #f1eadc;
  --ink: #1f2b22;
  --ink-soft: #5d6a61;
  --moss: #557561;
  --moss-deep: #2f4b3f;
  --accent: #cf7440;
  --accent-soft: #f1c7a6;
  --accent-wash: rgba(207, 116, 64, 0.12);
  --sage-wash: rgba(143, 169, 152, 0.18);
  --line: rgba(31, 43, 34, 0.1);
  --content-width: 1120px;
  --font-serif:
    'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype',
    'Book Antiqua', Georgia, serif;
  --font-sans:
    'Instrument Sans', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--font-sans);
  background:
    radial-gradient(
      circle at 18% 12%,
      rgba(143, 169, 152, 0.22),
      transparent 22%
    ),
    radial-gradient(
      circle at 86% 14%,
      rgba(207, 116, 64, 0.16),
      transparent 18%
    ),
    radial-gradient(
      circle at 18% 74%,
      rgba(241, 199, 166, 0.16),
      transparent 18%
    ),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(252, 248, 239, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.section,
.site-footer__inner,
.page-hero,
.legal-card {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__mark {
  width: 40px;
  height: 40px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 24px rgba(31, 43, 34, 0.06);
}

.brand__text {
  display: grid;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.brand__tag {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a,
.site-nav .button {
  font-size: 0.96rem;
}

.site-nav a:not(.button) {
  color: var(--ink-soft);
  position: relative;
}

.site-nav a:not(.button)::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: rgba(85, 117, 97, 0.3);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:not(.button):hover::after,
.site-nav a:not(.button):focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  transition:
    transform 140ms ease,
    background-color 140ms ease,
    box-shadow 140ms ease,
    color 140ms ease;
}

.button:hover,
.button:focus-visible,
.site-nav a:hover,
.site-nav a:focus-visible,
.feature-card:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--moss) 0%, var(--moss-deep) 100%);
  box-shadow:
    0 18px 34px rgba(47, 75, 63, 0.22),
    0 0 0 6px rgba(143, 169, 152, 0.12);
  font-weight: 700;
}

.button--secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(31, 43, 34, 0.06);
}

.hero {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: auto;
  padding: 56px 24px 40px;
  overflow: clip;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  left: 50%;
  pointer-events: none;
  transform: translateX(-50%);
}

.hero::before {
  top: 22px;
  width: min(76vw, 840px);
  height: min(76vw, 840px);
  border-radius: 999px;
  background:
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0) 58%
    ),
    radial-gradient(
      circle at 24% 28%,
      rgba(143, 169, 152, 0.22),
      transparent 34%
    ),
    radial-gradient(
      circle at 72% 24%,
      rgba(207, 116, 64, 0.16),
      transparent 28%
    );
}

.hero::after {
  top: 118px;
  width: min(14vw, 110px);
  height: min(20vw, 150px);
  border-radius: 30px 30px 18px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, rgba(85, 117, 97, 0.2), rgba(47, 75, 63, 0.08));
  box-shadow:
    inset 0 0 0 1px rgba(85, 117, 97, 0.14),
    0 24px 48px rgba(47, 75, 63, 0.08);
  transform: translateX(-50%) rotate(8deg);
  animation: bookmark-float 6.2s ease-in-out infinite;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
}

.hero__content > * {
  opacity: 0;
  animation: fade-up 680ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero__content > :nth-child(1) {
  animation-delay: 60ms;
}

.hero__content > :nth-child(2) {
  animation-delay: 140ms;
}

.hero__content > :nth-child(3) {
  animation-delay: 220ms;
}

.hero__content > :nth-child(4) {
  animation-delay: 300ms;
}

.hero__content > :nth-child(5) {
  animation-delay: 380ms;
}

.hero__kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__kicker::after {
  content: '';
  display: block;
  width: 92px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, #e4b95c 100%);
}

.hero h1,
.page-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero p,
.page-hero p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.68;
  text-wrap: pretty;
}

.hero > .hero__content > p:not(.hero__kicker):not(.hero__caption) {
  max-width: 40ch;
  margin-inline: auto;
  margin-top: 10px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.hero__caption {
  margin-top: 30px;
  font-size: 0.94rem;
}

.section {
  padding: 24px 0 72px;
}

.section--proof {
  position: relative;
  margin-top: 10px;
  padding: 36px 36px 74px;
}

.section--proof::before {
  content: '';
  position: absolute;
  inset: 0 0 0 0;
  background:
    linear-gradient(180deg, rgba(239, 231, 216, 0.5), rgba(248, 245, 239, 0)),
    radial-gradient(
      circle at 14% 18%,
      rgba(143, 169, 152, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 82% 22%,
      rgba(242, 211, 107, 0.16),
      transparent 26%
    ),
    radial-gradient(
      circle at 50% 70%,
      rgba(207, 116, 64, 0.08),
      transparent 30%
    );
  border-radius: 36px;
  pointer-events: none;
  animation: ambient-shift 14s ease-in-out infinite alternate;
}

.section-header {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}

.section-header h2,
.legal-card h2,
.legal-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote {
  margin: 0;
  padding-top: 10px;
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.8;
  text-wrap: pretty;
}

.quote strong {
  color: var(--ink);
}

.proof-note {
  margin: 14px 0 0;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  text-wrap: pretty;
}

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

.feature-card,
.legal-card {
  border-radius: 28px;
  border: 1px solid rgba(31, 43, 34, 0.08);
  box-shadow: 0 14px 36px rgba(31, 43, 34, 0.06);
}

.feature-card h3 {
  margin: 14px 0 8px;
  font-size: 1.18rem;
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.feature-card {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(255, 248, 238, 0.78)
  );
  border-color: rgba(207, 116, 64, 0.08);
  opacity: 0;
  animation: fade-up 720ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.feature-card:nth-child(1) {
  animation-delay: 120ms;
}

.feature-card:nth-child(2) {
  transform: translateY(10px);
  animation-delay: 220ms;
}

.feature-card:nth-child(3) {
  transform: translateY(-6px);
  animation-delay: 320ms;
}

.feature-card:hover {
  box-shadow:
    0 18px 44px rgba(31, 43, 34, 0.08),
    0 0 0 1px rgba(207, 116, 64, 0.06);
}

.feature-card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(207, 116, 64, 0.14),
    rgba(242, 211, 107, 0.24)
  );
  color: #9b5428;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

@keyframes bookmark-float {
  0%,
  100% {
    transform: translateX(-50%) rotate(8deg) translateY(0);
  }

  50% {
    transform: translateX(-50%) rotate(5deg) translateY(-10px);
  }
}

@keyframes ambient-shift {
  from {
    filter: saturate(100%) brightness(100%);
    transform: scale(1);
  }

  to {
    filter: saturate(108%) brightness(102%);
    transform: scale(1.015);
  }
}

.page-hero {
  padding: 72px 0 28px;
}

.page-hero h1 {
  max-width: 12ch;
}

.legal-card {
  margin-bottom: 80px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.62);
}

.legal-card > * + * {
  margin-top: 18px;
}

.legal-card p,
.legal-card li {
  color: var(--ink-soft);
  line-height: 1.8;
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

.site-footer {
  padding: 24px 0 38px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer__links a {
  text-decoration: underline;
  text-decoration-color: rgba(31, 43, 34, 0.18);
  text-underline-offset: 3px;
}

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

  .feature-card:nth-child(2),
  .feature-card:nth-child(3) {
    transform: none;
  }

  .section-header,
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .hero {
    min-height: auto;
    padding: 48px 20px 20px;
  }

  .hero::before {
    width: 120vw;
    height: 120vw;
    top: 18px;
  }

  .hero::after {
    top: 94px;
    width: 84px;
    height: 118px;
  }

  .page-hero {
    padding-top: 28px;
  }

  .legal-card {
    padding: 22px;
  }

  .section--proof {
    padding: 24px 20px 56px;
  }

  .hero__actions,
  .site-nav {
    width: 100%;
  }

  .button,
  .site-nav a {
    width: 100%;
  }
}

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

  .hero__content > *,
  .feature-card,
  .hero::after,
  .section--proof::before {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .button,
  .site-nav a {
    transition: none;
  }
}
