:root {
  --ink: #22231e;
  --charcoal: #1b1d19;
  --stone: #2b2e28;
  --moss: #4f5946;
  --sage: #8e987f;
  --ember: #c87038;
  --gold: #d6a15b;
  --parchment: #f0eadc;
  --paper: #f7f3e9;
  --line: rgba(39, 42, 35, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

.commercial {
  background: #f3eee3;
}

.commercial__heading {
  max-width: 820px;
}

.commercial__heading h2 {
  margin-bottom: 22px;
}

.commercial__intro {
  color: #55574e;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.65;
}

.commercial__acquisition {
  grid-column: 1 / -1;
  margin-top: 42px;
}

.beta-offer {
  align-items: center;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-top: 4px solid var(--ember);
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(28px, 4vw, 48px);
}

.beta-offer__copy {
  max-width: 680px;
}

.beta-offer h3 {
  color: var(--ember);
  font-size: clamp(52px, 7vw, 82px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 12px 0 18px;
}

.beta-offer p {
  color: #55574e;
  line-height: 1.7;
}

.beta-offer .eyebrow {
  margin-bottom: 0;
}

.beta-offer__lead {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  margin-bottom: 12px;
  margin-top: 0;
}

.beta-offer a:not(.button),
.commercial-alternative a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.beta-offer .button {
  white-space: nowrap;
}

.commercial-alternative {
  color: #66685f;
  font-size: 14px;
  line-height: 1.6;
  margin: 18px 0 0;
  text-align: center;
}

.commercial-reassurance {
  background: rgba(255, 253, 248, 0.58);
  border: 1px solid var(--line);
  grid-column: 1 / -1;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 40px);
}

.commercial-reassurance h3 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 24px;
}

.commercial-reassurance dl {
  display: grid;
  gap: 24px 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.commercial-reassurance dl > div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.commercial-reassurance dt {
  font-weight: 700;
  margin-bottom: 6px;
}

.commercial-reassurance dd {
  color: #55574e;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 760px) {
  .beta-offer {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .beta-offer .button {
    white-space: normal;
  }

  .commercial-reassurance dl {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--gold);
  color: var(--charcoal);
}

.site-header {
  align-items: center;
  background: rgba(21, 23, 20, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 80px;
  left: 0;
  padding: 0 clamp(24px, 4vw, 68px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  width: max-content;
}

nav {
  display: flex;
  font-size: 12px;
  gap: clamp(22px, 3vw, 48px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav a,
.header-cta,
footer a {
  transition: color 180ms ease, opacity 180ms ease;
}

nav a:hover,
nav a:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: #edc58f;
}

.header-cta {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  display: flex;
  font-size: 11px;
  gap: 14px;
  justify-self: end;
  letter-spacing: 0.11em;
  padding: 11px 15px;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-cta__label--mobile {
  display: none;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--parchment);
  color: var(--charcoal);
}

.hero {
  color: #fff;
  min-height: min(940px, 100svh);
  overflow: hidden;
  position: relative;
}

.hero__image,
.legacy__photo {
  background-color: #25261f;
  background-image: url("public/rootslanding-hearth-v2-lossless.webp?v=41bd9cc1b860");
  background-position: center;
  background-size: cover;
  inset: 0;
  position: absolute;
  transform: scale(1.01);
}

.hero__veil {
  background:
    linear-gradient(90deg, rgba(17, 19, 16, 0.93) 0%, rgba(17, 19, 16, 0.72) 38%, rgba(17, 19, 16, 0.18) 68%, rgba(17, 19, 16, 0.34) 100%),
    linear-gradient(0deg, rgba(12, 13, 11, 0.78), transparent 45%);
  inset: 0;
  position: absolute;
}

.hero__content {
  margin-left: clamp(24px, 8vw, 128px);
  max-width: 720px;
  padding-top: clamp(170px, 21vh, 220px);
  position: relative;
  z-index: 2;
}

.eyebrow {
  align-items: center;
  color: #6f765f;
  display: flex;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #d8d5c8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  font-size: clamp(54px, 6.4vw, 98px);
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-bottom: 30px;
}

h1 em,
h2 em {
  color: var(--gold);
  display: block;
  font-weight: 400;
}

.hero__intro {
  color: #e2e0d8;
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.55;
  max-width: 610px;
}

.hero__definition {
  border-left: 2px solid var(--gold);
  color: #c9cbc2;
  font-size: 14px;
  line-height: 1.65;
  margin: 24px 0 0;
  max-width: 620px;
  padding: 3px 0 3px 18px;
}

.hero__definition strong {
  color: white;
  font-weight: 600;
}

.hero__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
}

.button {
  align-items: center;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 30px;
  letter-spacing: 0.11em;
  padding: 18px 22px;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--ember {
  background: var(--ember);
  color: white;
}

.button--ember:hover,
.button--ember:focus-visible {
  background: #dd8147;
}

.text-link {
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding-bottom: 5px;
  text-transform: uppercase;
}

.text-link span {
  margin-left: 12px;
}

.text-link--light {
  color: #e4e0d5;
}

.hero__note {
  bottom: 42px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.04em;
  position: absolute;
  right: clamp(24px, 5vw, 76px);
  z-index: 2;
}

.section {
  padding: 104px clamp(24px, 8vw, 128px);
}

.section-label {
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: #747765;
  display: flex;
  font-size: 10px;
  font-weight: 700;
  gap: 22px;
  letter-spacing: 0.16em;
  margin-bottom: 60px;
  padding-bottom: 15px;
  text-transform: uppercase;
}

.section-label p {
  margin: 0;
}

.section-label span {
  color: var(--ember);
}

.section-label--dark {
  border-color: rgba(255, 255, 255, 0.15);
  color: #a8ab9f;
}

.problem {
  background:
    radial-gradient(circle at 82% 40%, rgba(197, 174, 132, 0.13), transparent 28%),
    var(--paper);
}

.problem__copy {
  margin-left: 8%;
  max-width: 780px;
}

.problem__subtitle {
  color: var(--ember);
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.45;
  margin: -8px 0 24px;
}

h2 {
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1.03;
  margin-bottom: 30px;
}

.lead {
  color: #55574e;
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.7;
  max-width: 680px;
}

.digital-home {
  background: #20221e;
  color: white;
  padding: 104px clamp(24px, 8vw, 128px) 116px;
  position: relative;
}

.digital-home::before {
  background-image:
    linear-gradient(30deg, rgba(255,255,255,.018) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.018) 87.5%),
    linear-gradient(150deg, rgba(255,255,255,.018) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.018) 87.5%);
  background-size: 34px 60px;
  content: "";
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  position: absolute;
}

.digital-home__inner {
  position: relative;
}

.digital-home__statement {
  margin-left: 8%;
  max-width: 800px;
}

.digital-home__statement h2 {
  color: #f0ede4;
  margin-bottom: 22px;
}

.digital-home__subtitle {
  color: #d9a154;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.25;
  margin-bottom: 26px;
}

.digital-home__subtitle em {
  display: block;
  font-weight: 400;
}

.digital-home__support {
  margin-bottom: 0;
}

.digital-home-proof {
  margin: 58px 0 0;
  min-width: 0;
}

.digital-home-proof__frame {
  background: #12130f;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  padding: clamp(7px, 1vw, 13px);
}

.digital-home-proof img {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.digital-home-proof__mobile {
  display: none;
}

.digital-home-proof figcaption {
  align-items: baseline;
  color: #c8c8bd;
  display: flex;
  gap: 16px 28px;
  justify-content: space-between;
  line-height: 1.55;
  margin-top: 18px;
}

.digital-home-proof figcaption strong {
  color: #f0ede4;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.digital-home-proof figcaption span {
  color: #a7a99f;
  font-size: 13px;
  text-align: right;
}

.digital-home__grid {
  display: grid;
  gap: clamp(45px, 7vw, 110px);
  grid-template-columns: 1.15fr 0.85fr;
  margin-top: 64px;
}

.hearth-window {
  align-items: flex-end;
  background:
    linear-gradient(0deg, rgba(21, 20, 16, 0.88), transparent 65%),
    url("public/rootslanding-hearth-v2-lossless.webp?v=41bd9cc1b860") center 66% / cover;
  display: flex;
  min-height: 600px;
  overflow: hidden;
  padding: 46px;
  position: relative;
}

.hearth-window::after {
  border: 1px solid rgba(255,255,255,.18);
  content: "";
  inset: 18px;
  position: absolute;
}

.hearth-window__glow {
  background: radial-gradient(circle, rgba(221, 119, 49, 0.35), transparent 65%);
  height: 380px;
  left: 50%;
  position: absolute;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 380px;
}

.hearth-caption {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.5;
  margin: 0;
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.home-copy {
  align-self: center;
}

.home-copy > p:first-child {
  color: #c8c8bd;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.75;
}

.preserves {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 44px;
}

.preserves span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #deddd5;
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 9px 12px;
  text-transform: uppercase;
}

.home-copy__footnote {
  border-left: 1px solid var(--ember);
  color: #a7a99f;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 4px 0 4px 18px;
}

.ownership-flow {
  border-top: 1px solid rgba(255, 255, 255, .16);
  margin-top: 78px;
  padding-top: 50px;
}

.ownership-flow h3 {
  color: #f0ede4;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 400;
  line-height: 1.22;
  margin: 0 0 38px;
  max-width: 900px;
}

.ownership-flow ol {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.ownership-flow li {
  border-top: 1px solid rgba(255, 255, 255, .18);
  min-height: 132px;
  padding: 22px 28px 18px 0;
  position: relative;
}

.ownership-flow li + li {
  padding-left: 28px;
}

.ownership-flow li:not(:last-child)::after {
  color: var(--gold);
  content: "→";
  font-size: 18px;
  position: absolute;
  right: -7px;
  top: 50%;
}

.ownership-flow li > span {
  color: var(--gold);
  display: block;
  font-size: 10px;
  letter-spacing: .14em;
  margin-bottom: 22px;
}

.ownership-flow li p {
  color: #d2d2c9;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
}

.comparison__heading {
  margin-left: 8%;
  max-width: 920px;
}

.comparison__subtitle {
  color: #9a5c32;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.5;
  margin-bottom: 0;
  max-width: 790px;
}

.comparison {
  background: #ede7d9;
}

.comparison-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 58px;
}

.comparison-card {
  background: rgba(255, 255, 255, .3);
  border: 1px solid rgba(46, 48, 40, .16);
  border-top: 3px solid rgba(74, 86, 66, .28);
  min-height: 225px;
  padding: 28px 26px 30px;
}

.comparison-card h3 {
  color: #30342d;
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 24px;
}

.comparison-card p {
  color: #696d62;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.comparison-card--roots {
  background: rgba(74, 86, 66, .1);
  border-color: rgba(57, 66, 53, .24);
  border-top-color: var(--ember);
}

.comparison-card--roots h3,
.comparison-card--roots p {
  color: #394235;
}

.comparison-card--roots h3 {
  font-weight: 600;
}

.legacy {
  color: white;
  min-height: 850px;
  overflow: hidden;
  padding: 120px clamp(24px, 8vw, 128px);
  position: relative;
}

.legacy__photo {
  background-position: 68% center;
  filter: saturate(.75);
}

.legacy__fade {
  background: linear-gradient(90deg, rgba(19,21,18,.96) 0%, rgba(19,21,18,.8) 45%, rgba(19,21,18,.2) 80%);
  inset: 0;
  position: absolute;
}

.legacy__content {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.legacy h2 {
  color: #f3f0e8;
  font-size: clamp(48px, 5.7vw, 82px);
}

.legacy__content > p:not(.eyebrow) {
  color: #d1d0c8;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.7;
  max-width: 600px;
}

.button--parchment {
  background: var(--parchment);
  color: var(--charcoal);
  margin-top: 30px;
}

.button--parchment:hover,
.button--parchment:focus-visible {
  background: white;
}

.legacy small {
  color: #aaa99f;
  display: block;
  font-size: 10px;
  letter-spacing: .08em;
  margin-top: 20px;
}

footer {
  align-items: center;
  background: #171916;
  color: white;
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr auto;
  padding: 52px clamp(24px, 8vw, 128px);
}

footer > * {
  min-width: 0;
}

.brand--footer {
  font-size: 19px;
}

footer > p {
  color: #989c90;
  font-family: var(--serif);
  font-size: 14px;
  margin: 0;
  text-align: center;
}

footer > div {
  display: flex;
  flex-wrap: wrap;
  font-size: 9px;
  gap: 25px;
  justify-content: center;
  letter-spacing: .12em;
  text-transform: uppercase;
}

footer > small {
  border-top: 1px solid rgba(255,255,255,.1);
  color: #777b71;
  font-size: 9px;
  grid-column: 1 / -1;
  letter-spacing: .09em;
  padding-top: 25px;
  text-align: center;
  text-transform: uppercase;
}

.footer__measurement {
  font-family: var(--sans);
  font-size: 10px;
  grid-column: 1 / -1;
  justify-self: center;
  line-height: 1.6;
  max-width: 920px;
}

.footer__measurement a {
  border-bottom: 1px solid currentColor;
  color: #c4c8bd;
}

@media (max-width: 1100px) {
  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer .brand,
  footer > div {
    justify-self: center;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .digital-home__grid {
    grid-template-columns: 1fr;
  }

  .comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-header {
    height: 70px;
  }

  .header-cta {
    font-size: 9px;
    gap: 8px;
    min-height: 44px;
    padding: 8px 10px;
  }

  .header-cta__label--desktop {
    display: none;
  }

  .header-cta__label--mobile {
    display: inline;
  }

  .header-cta__arrow {
    font-size: 14px;
  }

  .hero {
    min-height: 850px;
  }

  .hero__veil {
    background: linear-gradient(90deg, rgba(17,19,16,.92), rgba(17,19,16,.48)), linear-gradient(0deg, rgba(12,13,11,.85), transparent 50%);
  }

  .hero__content {
    margin: 0;
    padding: 160px 24px 110px;
  }

  .hero__intro {
    font-size: 18px;
  }

  .hero__definition {
    font-size: 13px;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__note {
    bottom: 24px;
    left: 24px;
    right: auto;
  }

  .section,
  .digital-home {
    padding: 68px 24px;
  }

  .section-label {
    margin-bottom: 40px;
  }

  .problem__copy,
  .digital-home__statement,
  .comparison__heading {
    margin-left: 0;
  }

  .comparison-grid {
    gap: 16px;
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .comparison-card {
    min-height: 0;
    padding: 24px 22px 26px;
  }

  .comparison-card h3 {
    font-size: 21px;
    margin-bottom: 18px;
  }

  .comparison-card p {
    font-size: 16px;
    line-height: 1.65;
  }

  .hearth-window {
    min-height: 440px;
    padding: 34px;
  }

  .digital-home-proof {
    margin-top: 38px;
  }

  .digital-home-proof figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-top: 14px;
  }

  .digital-home-proof figcaption span {
    text-align: left;
  }

  .digital-home-proof img.digital-home-proof__desktop {
    display: none;
  }

  .digital-home-proof__mobile {
    display: grid;
    gap: 8px;
  }

  .ownership-flow {
    margin-top: 50px;
    padding-top: 36px;
  }

  .ownership-flow h3 {
    font-size: 30px;
    margin-bottom: 26px;
  }

  .ownership-flow ol {
    grid-template-columns: 1fr;
  }

  .ownership-flow li,
  .ownership-flow li + li {
    min-height: auto;
    padding: 18px 0;
  }

  .ownership-flow li:not(:last-child)::after {
    display: none;
  }

  .ownership-flow li > span {
    margin-bottom: 8px;
  }

  .legacy {
    min-height: 760px;
    padding: 84px 24px;
  }

  .legacy__fade {
    background: rgba(19,21,18,.74);
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer .brand,
  footer > div {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
