:root {
  --pine-950: #071a16;
  --pine-900: #0c251f;
  --pine-800: #10372e;
  --pine-700: #164b3e;
  --cream: #f6eedf;
  --cream-muted: #cfc5b5;
  --gold: #d6aa25;
  --gold-light: #efcb58;
  --cranberry: #8f1e2c;
  --cranberry-dark: #4d111a;
  --ink: #170f0e;
  --line: rgba(246, 238, 223, 0.18);
  --header-height: 5.1rem;
  --max-width: 76rem;
  --display: Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  min-width: 20rem;
  color: var(--cream);
  background-color: var(--pine-950);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(7, 26, 22, 0.93), rgba(7, 26, 22, 0.93)),
    url("/assets/table-felt.webp") center / 48rem auto repeat;
}

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

a {
  color: inherit;
}

p,
li,
dd {
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.7;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3.7rem, 7vw, 6.8rem);
  line-height: 0.88;
}

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.05;
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--pine-950);
  background: var(--gold-light);
  border-radius: 0.35rem;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem max(1.25rem, calc((100vw - var(--max-width)) / 2));
  background: rgba(7, 26, 22, 0.84);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
  text-decoration: none;
}

.brand img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.65rem;
  box-shadow: 0 0.6rem 1.2rem rgba(0, 0, 0, 0.3);
}

.brand span {
  display: grid;
  gap: 0.08rem;
}

.brand strong {
  font-family: var(--display);
  font-size: 1.1rem;
}

.brand small {
  color: var(--cream-muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
}

.site-nav a,
.site-footer a {
  color: var(--cream-muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--cream);
}

.site-nav .nav-cta {
  padding: 0.65rem 1rem;
  color: var(--pine-950);
  background: var(--gold);
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6.5rem);
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7.5rem) max(1.5rem, calc((100vw - var(--max-width)) / 2));
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 26, 22, 0.98) 0 44%, rgba(7, 26, 22, 0.62) 72%, rgba(7, 26, 22, 0.25)),
    url("/assets/table-felt.webp") center / cover no-repeat;
  transform: scale(1.035);
}

.hero-wash {
  position: absolute;
  inset: 0 0 0 52%;
  z-index: -2;
  background:
    radial-gradient(circle at 55% 42%, rgba(214, 170, 37, 0.25), transparent 22%),
    radial-gradient(circle at 60% 50%, rgba(143, 30, 44, 0.46), transparent 55%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 38rem;
  margin-bottom: 1.7rem;
  color: #ddd3c2;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 3.45rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  font-size: 0.95rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--pine-950);
  background: var(--gold);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25);
}

.button-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.32);
}

.button-quiet {
  color: var(--cream);
  background: rgba(7, 26, 22, 0.45);
  border-color: var(--line);
}

.release-note {
  margin: 1rem 0 0;
  color: var(--cream-muted);
  font-size: 0.82rem;
}

.release-note span {
  color: #6cad65;
}

.hero-facts {
  display: flex;
  max-width: 33rem;
  margin: 2.3rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  flex: 1;
  padding: 0 1rem;
  border-left: 1px solid var(--line);
}

.hero-facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-facts dt {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
}

.hero-facts dd {
  margin-bottom: 0;
  color: var(--cream-muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-stage {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 41rem;
  perspective: 1000px;
}

.phone-frame {
  position: relative;
  width: min(100%, 22rem);
  margin: 0;
  padding: 0.48rem;
  overflow: hidden;
  background: #0a0b0b;
  border: 1px solid rgba(246, 238, 223, 0.28);
  border-radius: 2.8rem;
  box-shadow: 0 2.2rem 5rem rgba(0, 0, 0, 0.55), 0 0 0 0.35rem rgba(0, 0, 0, 0.3);
  transform: rotateY(var(--tilt-y)) rotateX(var(--tilt-x)) rotate(2.5deg);
  transition: transform 260ms ease;
}

.phone-frame img {
  width: 100%;
  border-radius: 2.35rem;
}

.camp-stamp {
  position: absolute;
  top: 7%;
  right: -1%;
  z-index: 3;
  display: grid;
  width: 8rem;
  height: 8rem;
  place-content: center;
  color: var(--gold-light);
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(10deg);
}

.camp-stamp::before {
  position: absolute;
  inset: 0.35rem;
  content: "";
  border: 1px dashed currentColor;
  border-radius: 50%;
}

.camp-stamp strong {
  margin-top: 0.18rem;
  font-family: var(--display);
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.stamp-pegs {
  position: relative;
  display: block;
  width: 2.8rem;
  height: 2.15rem;
  margin: 0.18rem auto 0;
}

.stamp-pegs b {
  position: absolute;
  top: 0.12rem;
  left: 50%;
  width: 0.24rem;
  height: 1.85rem;
  background: currentColor;
  border-radius: 999px;
  transform: translateX(-50%) rotate(42deg);
  transform-origin: center;
}

.stamp-pegs b::before {
  position: absolute;
  top: -0.2rem;
  left: 50%;
  width: 0.52rem;
  height: 0.52rem;
  content: "";
  background: currentColor;
  border-radius: 50%;
  transform: translateX(-50%);
}

.stamp-pegs b:last-child {
  transform: translateX(-50%) rotate(-42deg);
}

.hand-note {
  position: absolute;
  bottom: 5%;
  left: -2%;
  z-index: 3;
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.15;
  transform: rotate(-8deg);
}

.table-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.8rem);
  padding: 1rem 1.5rem;
  color: var(--cream);
  background: var(--cranberry-dark);
  border-block: 1px solid rgba(246, 238, 223, 0.16);
  text-align: center;
}

.table-ribbon p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(0.92rem, 1.5vw, 1.18rem);
  font-style: italic;
}

.table-ribbon span {
  color: var(--gold);
  font-size: 0.7rem;
}

.section-shell {
  width: min(var(--max-width), calc(100% - 3rem));
  margin-inline: auto;
  padding-block: clamp(5.5rem, 10vw, 9rem);
}

.section-heading {
  display: grid;
  max-width: 65rem;
  grid-template-columns: 0.75fr 1.6fr;
  column-gap: clamp(2rem, 6vw, 7rem);
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.section-heading .eyebrow {
  grid-row: 1 / span 2;
}

.section-heading h2 {
  max-width: 14ch;
}

.section-heading > p:last-child {
  max-width: 40rem;
  color: var(--cream-muted);
}

.feature-ledger {
  border-top: 1px solid var(--line);
}

.feature-ledger article {
  display: grid;
  grid-template-columns: minmax(6rem, 0.45fr) minmax(0, 1.55fr);
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3.2rem) 0;
  border-bottom: 1px solid var(--line);
}

.feature-ledger article > div {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(16rem, 1.2fr);
  align-items: baseline;
  gap: clamp(1.5rem, 5vw, 5rem);
}

.feature-number {
  color: var(--gold);
  font-family: var(--display);
  font-size: 1rem;
  font-style: italic;
}

.feature-ledger p {
  margin-bottom: 0;
  color: var(--cream-muted);
}

.proof {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(20rem, 1.2fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
  padding-inline: clamp(1.5rem, 5vw, 5rem);
  background:
    linear-gradient(125deg, rgba(143, 30, 44, 0.42), transparent 48%),
    var(--pine-900);
  border: 1px solid var(--line);
}

.proof-device {
  display: grid;
  place-items: center;
  max-height: 49rem;
  overflow: hidden;
}

.phone-frame-secondary {
  width: min(100%, 19rem);
  transform: rotate(-2.2deg) translateY(10%);
}

.guide-device {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  display: grid;
  place-items: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.guide-device .phone-frame {
  width: min(85vw, 19rem);
}

.proof-copy {
  padding-block: 2rem;
}

.proof-copy h2 {
  max-width: 10ch;
}

.proof-copy > p:not(.eyebrow) {
  max-width: 36rem;
  color: var(--cream-muted);
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.8rem 0 2rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
}

.check-list span {
  color: var(--gold-light);
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  gap: 0.45rem;
  color: var(--gold-light);
  font-weight: 800;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

.camp-callout {
  display: grid;
  width: min(66rem, calc(100% - 3rem));
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin: clamp(6rem, 12vw, 11rem) auto;
  padding: clamp(2rem, 5vw, 4.5rem);
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.28);
  transform: rotate(-0.4deg);
}

.camp-callout img {
  width: clamp(8rem, 18vw, 13rem);
  border-radius: 1.8rem;
  box-shadow: 0 1.4rem 3rem rgba(23, 15, 14, 0.25);
  transform: rotate(2.5deg);
}

.camp-callout .eyebrow {
  color: var(--cranberry);
}

.camp-callout h2 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.camp-callout p:last-child {
  max-width: 37rem;
  margin-bottom: 0;
  color: #4b403b;
}

.site-footer {
  display: grid;
  width: min(var(--max-width), calc(100% - 3rem));
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  margin-inline: auto;
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand img {
  border-radius: 0.8rem;
}

.footer-brand strong {
  font-family: var(--display);
  font-size: 1.2rem;
}

.footer-brand p,
.copyright {
  margin: 0;
  color: var(--cream-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.copyright {
  grid-column: 1 / -1;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 700ms ease, transform 700ms ease;
}

.motion-ready [data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Inner pages */
.inner-page main {
  width: min(70rem, calc(100% - 3rem));
  margin-inline: auto;
}

.page-hero {
  max-width: 64rem;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 13ch;
  font-size: clamp(3.4rem, 7vw, 6.5rem);
}

.page-lead {
  max-width: 47rem;
  color: var(--cream-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(11rem, 0.5fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-bottom: 1px solid var(--line);
}

.content-grid > h2 {
  color: var(--gold-light);
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.content-grid h3 {
  margin-top: 2.3rem;
}

.content-grid h3:first-child {
  margin-top: 0;
}

.content-grid p,
.content-grid li {
  color: var(--cream-muted);
}

.content-grid strong {
  color: var(--cream);
}

.content-grid ol,
.content-grid ul {
  display: grid;
  gap: 0.7rem;
  padding-left: 1.2rem;
}

.legal-stack {
  display: grid;
  gap: 0;
  padding-bottom: 6rem;
}

.legal-stack article {
  display: grid;
  grid-template-columns: minmax(13rem, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
}

.legal-stack h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.1;
}

.legal-stack p,
.legal-stack li {
  color: var(--cream-muted);
}

.support-panel {
  display: grid;
  max-width: 56rem;
  grid-template-columns: 1.3fr auto;
  align-items: center;
  gap: 2rem;
  margin: 4rem 0 7rem;
  padding: clamp(1.7rem, 4vw, 3rem);
  background: var(--pine-900);
  border: 1px solid var(--line);
}

.support-panel p {
  margin-bottom: 0;
  color: var(--cream-muted);
}

.not-found {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  place-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}

.not-found h1 {
  max-width: 12ch;
  margin-inline: auto;
}

.not-found p {
  color: var(--cream-muted);
}

@media (max-width: 56rem) {
  .site-header {
    align-items: flex-start;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    justify-content: flex-end;
    gap: 0.7rem 1rem;
    padding-top: 0.8rem;
  }

  .site-nav a:nth-child(1),
  .site-nav a:nth-child(4) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 4.5rem;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(7, 26, 22, 0.97) 0 50%, rgba(7, 26, 22, 0.56) 75%, rgba(7, 26, 22, 0.3)),
      url("/assets/table-felt.webp") center / cover no-repeat;
  }

  .hero-wash {
    inset: 50% 0 0;
  }

  .hero-copy {
    max-width: 46rem;
  }

  .hero-stage {
    min-height: auto;
    padding: 2rem 0;
  }

  .phone-frame {
    width: min(85vw, 21rem);
  }

  .camp-stamp {
    right: 5%;
  }

  .hand-note {
    left: 4%;
  }

  .section-heading,
  .feature-ledger article,
  .feature-ledger article > div,
  .proof,
  .content-grid,
  .legal-stack article {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow {
    grid-row: auto;
  }

  .feature-ledger article,
  .feature-ledger article > div {
    gap: 0.7rem;
  }

  .feature-number {
    margin-bottom: 0;
  }

  .proof {
    padding-block: 4rem;
  }

  .proof-device {
    max-height: 36rem;
    order: 2;
  }

  .camp-callout {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (max-width: 36rem) {
  :root {
    --header-height: 4.5rem;
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 5.2rem);
  }

  .site-header {
    min-height: var(--header-height);
    padding-block: 0.6rem;
  }

  .brand img {
    width: 2.65rem;
    height: 2.65rem;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .site-nav a {
    font-size: 0.78rem;
  }

  .hero {
    padding-inline: 1.25rem;
  }

  .hero-facts div {
    padding-inline: 0.65rem;
  }

  .hero-facts dd {
    font-size: 0.64rem;
  }

  .camp-stamp {
    width: 6.5rem;
    height: 6.5rem;
  }

  .camp-stamp strong {
    font-size: 1.02rem;
  }

  .hand-note {
    display: none;
  }

  .table-ribbon {
    justify-content: flex-start;
    overflow: hidden;
  }

  .table-ribbon p {
    min-width: max-content;
  }

  .table-ribbon p:last-child,
  .table-ribbon span:last-of-type {
    display: none;
  }

  .section-shell,
  .inner-page main,
  .camp-callout,
  .site-footer {
    width: min(100% - 2rem, var(--max-width));
  }

  .camp-callout {
    padding: 1.5rem;
  }

  .support-panel {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .phone-frame {
    transform: rotate(2.5deg);
  }
}
