:root {
  --felt: #1b4332;
  --felt-mid: #2d6a4f;
  --felt-deep: #081c15;
  --gold: #c9a227;
  --gold-soft: rgba(201, 162, 39, 0.55);
  --ivory: #f7f1e5;
  --cream: #fff8ee;
  --ink: #1a120b;
  --ink-muted: #5c4e40;
  --wood: #6b4226;
  --success: #40916c;
  --max: 68rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ivory);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.55;
  background: var(--felt-deep);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Site chrome ——— */
.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.topbar a {
  text-decoration: none;
}

.topbar__mark {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.topbar__link {
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 160ms var(--ease);
}

.topbar__link:hover,
.topbar__link:focus-visible {
  opacity: 1;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__plane {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 70% at 70% 20%, rgba(45, 106, 79, 0.55), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 85%, rgba(107, 66, 38, 0.35), transparent 55%),
    linear-gradient(165deg, #123528 0%, var(--felt) 42%, var(--felt-deep) 100%);
}

.hero__plane::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(247, 241, 229, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 241, 229, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.hero__glow {
  position: absolute;
  width: min(42rem, 90vw);
  height: min(42rem, 90vw);
  right: -8%;
  top: 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.22), transparent 68%);
  animation: drift 14s var(--ease) infinite alternate;
}

.hero__content {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 7.5rem 1.5rem 3.5rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .hero__content {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
    padding-bottom: 4.5rem;
    gap: 3rem;
  }
}

.hero__copy {
  max-width: 34rem;
}

.brand {
  margin: 0 0 1rem;
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: clamp(3.4rem, 9vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-wrap: balance;
  animation: rise 900ms var(--ease) both;
}

.brand em {
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(247, 241, 229, 0.86);
  animation: rise 900ms var(--ease) 120ms both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: center;
  animation: rise 900ms var(--ease) 220ms both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms var(--ease),
    background 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease);
}

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

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn--gold {
  background: linear-gradient(180deg, #dbb84a, var(--gold));
  color: var(--felt-deep);
  box-shadow: 0 10px 30px rgba(8, 28, 21, 0.35);
}

.btn--gold:hover {
  background: linear-gradient(180deg, #e4c45a, #d0ab2f);
}

.btn--ghost {
  border-color: rgba(247, 241, 229, 0.35);
  color: var(--ivory);
  background: rgba(8, 28, 21, 0.25);
}

.btn--ghost:hover {
  border-color: rgba(247, 241, 229, 0.65);
  background: rgba(8, 28, 21, 0.4);
}

.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 22rem);
  aspect-ratio: 1;
  animation: float-in 1100ms var(--ease) 180ms both;
}

@media (min-width: 900px) {
  .hero__visual {
    width: min(100%, 26rem);
    justify-self: end;
  }
}

.hero__pegboard {
  position: absolute;
  inset: 8%;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 20% 25%, rgba(201, 162, 39, 0.18), transparent 35%),
    linear-gradient(145deg, rgba(45, 106, 79, 0.55), rgba(8, 28, 21, 0.7));
  border: 1px solid rgba(247, 241, 229, 0.12);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(247, 241, 229, 0.08);
  overflow: hidden;
}

.hero__pegboard::before {
  content: "";
  position: absolute;
  inset: 1.1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(201, 162, 39, 0.35);
  opacity: 0.7;
}

.hero__icon {
  position: absolute;
  inset: 18%;
  width: 64%;
  height: auto;
  margin: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.4));
  animation: soft-bob 6s ease-in-out infinite;
}

.fan {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fan__card {
  position: absolute;
  width: 3.4rem;
  height: 4.7rem;
  border-radius: 0.45rem;
  background: linear-gradient(180deg, var(--cream), var(--ivory));
  border: 1px solid rgba(26, 18, 11, 0.12);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  display: grid;
  place-content: center;
  transform-origin: 50% 120%;
}

.fan__card--a {
  left: 8%;
  bottom: 10%;
  transform: rotate(-18deg);
  color: #b91c1c;
  animation: deal-a 900ms var(--ease) 400ms both;
}

.fan__card--b {
  left: 22%;
  bottom: 6%;
  transform: rotate(-6deg);
  animation: deal-b 900ms var(--ease) 480ms both;
}

.fan__card--c {
  right: 22%;
  bottom: 6%;
  transform: rotate(8deg);
  color: #b91c1c;
  animation: deal-c 900ms var(--ease) 560ms both;
}

.fan__card--d {
  right: 8%;
  bottom: 10%;
  transform: rotate(20deg);
  animation: deal-d 900ms var(--ease) 640ms both;
}

/* ——— Sections ——— */
.section {
  position: relative;
  padding: 4.5rem 1.5rem;
}

.section--ivory {
  color: var(--ink);
  background:
    linear-gradient(180deg, #efe6d5 0%, var(--ivory) 35%, #ebe2d1 100%);
}

.section--felt {
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(45, 106, 79, 0.4), transparent 55%),
    linear-gradient(180deg, var(--felt-deep), #0d2a1f 60%, var(--felt-deep));
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__title {
  margin: 0 0 0.75rem;
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.section__support {
  margin: 0;
  max-width: 36rem;
  font-size: 1.08rem;
  color: var(--ink-muted);
}

.section--felt .section__support {
  color: rgba(247, 241, 229, 0.78);
}

.steps {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.step {
  position: relative;
  padding-top: 0.25rem;
}

.step__num {
  display: block;
  margin-bottom: 0.65rem;
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--wood);
}

.step h3 {
  margin: 0 0 0.4rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--ink-muted);
}

.feature-strip {
  margin-top: 2.25rem;
  display: grid;
  gap: 1.25rem 2.5rem;
}

@media (min-width: 800px) {
  .feature-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
}

.feature p {
  margin: 0;
  color: rgba(247, 241, 229, 0.75);
}

.feature__rule {
  width: 2.5rem;
  height: 2px;
  margin-bottom: 0.85rem;
  background: var(--gold-soft);
}

/* ——— Page (privacy) ——— */
.page-hero {
  padding: 7rem 1.5rem 2.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(45, 106, 79, 0.45), transparent 55%),
    linear-gradient(165deg, #123528, var(--felt-deep));
}

.page-hero__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.05;
}

.page-hero p {
  margin: 0;
  color: rgba(247, 241, 229, 0.75);
}

.prose {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4.5rem;
  color: var(--ink);
  background: var(--ivory);
}

.prose h2 {
  margin: 2rem 0 0.65rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  color: var(--felt);
}

.prose p,
.prose li {
  color: var(--ink-muted);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose a {
  color: var(--felt);
  font-weight: 600;
}

/* ——— Footer ——— */
.site-footer {
  padding: 2rem 1.5rem 2.5rem;
  background: #06150f;
  border-top: 1px solid rgba(247, 241, 229, 0.08);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  color: rgba(247, 241, 229, 0.65);
  font-size: 0.95rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
}

.site-footer a {
  text-decoration: none;
  font-weight: 600;
  color: rgba(247, 241, 229, 0.85);
}

.site-footer a:hover {
  color: var(--gold);
}

/* ——— Motion ——— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes soft-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-4%, 6%, 0) scale(1.06);
  }
}

@keyframes deal-a {
  from {
    opacity: 0;
    transform: translateY(24px) rotate(-18deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-18deg);
  }
}

@keyframes deal-b {
  from {
    opacity: 0;
    transform: translateY(24px) rotate(-6deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-6deg);
  }
}

@keyframes deal-c {
  from {
    opacity: 0;
    transform: translateY(24px) rotate(8deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(8deg);
  }
}

@keyframes deal-d {
  from {
    opacity: 0;
    transform: translateY(24px) rotate(20deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(20deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
