:root {
  --ink: #12100e;
  --ink-soft: #3a322c;
  --paper: #f6f1ea;
  --paper-deep: #e8dfd2;
  --copper: #a65b32;
  --copper-deep: #7e4222;
  --line: rgba(18, 16, 14, 0.12);
  --good: #2f6b4f;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--paper);
}

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

.site-top {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.1rem, 4vw, 2.5rem);
  color: #f7f1ea;
}

.site-top nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  font-size: 0.95rem;
}

.site-top nav a {
  opacity: 0.88;
}

.site-top nav a:hover {
  opacity: 1;
}

.nav-cta {
  border: 1px solid rgba(247, 241, 234, 0.45);
  padding: 0.45rem 0.8rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand span {
  color: var(--copper);
}

.hero-brand {
  font-size: clamp(2.6rem, 6.5vw, 3.8rem);
  margin: 0 0 0.45rem;
  color: #f7f1ea;
  animation: rise 700ms ease both;
}

.hero-brand span {
  color: #e2a078;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #f7f1ea;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 35%;
  transform: scale(1.04);
  animation: ken 18s ease-out both;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 9, 0.78) 0%, rgba(12, 10, 9, 0.45) 42%, rgba(12, 10, 9, 0.55) 100%),
    linear-gradient(to top, rgba(12, 10, 9, 0.4), transparent 40%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.95fr) minmax(15rem, 0.85fr);
  gap: clamp(0.65rem, 1.5vw, 1.25rem);
  align-items: center;
  padding: clamp(4.5rem, 9vh, 5.5rem) clamp(1rem, 3vw, 2rem) clamp(1.25rem, 3vh, 2rem);
}

.hero-hub {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  animation: fadeIn 800ms ease 120ms both;
}

.hub-panel {
  width: min(100%, 19rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0.4rem;
  background: rgba(12, 10, 9, 0.5);
  border: 1px solid rgba(247, 241, 234, 0.2);
  backdrop-filter: blur(10px);
}

.hub-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.spoke {
  cursor: pointer;
  outline: none;
}

.spoke-line {
  stroke: rgba(247, 241, 234, 0.38);
  stroke-width: 1.5;
  transition: stroke 180ms ease, stroke-width 180ms ease;
}

.spoke-node circle {
  fill: rgba(18, 16, 14, 0.86);
  stroke: rgba(247, 241, 234, 0.55);
  stroke-width: 1.25;
  transition: fill 180ms ease, stroke 180ms ease, transform 180ms ease;
  transform-box: fill-box;
  transform-origin: center;
}

.spoke-node text {
  fill: #f7f1ea;
  font-size: 11px;
  font-family: Figtree, "Avenir Next", sans-serif;
  text-anchor: middle;
  pointer-events: none;
  transition: fill 180ms ease;
}

.spoke:hover .spoke-line,
.spoke:focus-visible .spoke-line {
  stroke: #e2a078;
  stroke-width: 2.25;
}

.spoke:hover .spoke-node circle,
.spoke:focus-visible .spoke-node circle {
  fill: rgba(166, 91, 50, 0.92);
  stroke: #f3ebe2;
  stroke-width: 1.75;
  transform: scale(1.08);
}

.spoke:hover .spoke-node text,
.spoke:focus-visible .spoke-node text {
  fill: #fffdf9;
}

.hub-core circle {
  fill: rgba(18, 16, 14, 0.94);
  stroke: #e2a078;
  stroke-width: 1.85;
}

.hub-core .hub-name {
  fill: #f7f1ea;
  font-family: Fraunces, Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  text-anchor: middle;
}

.hub-core .hub-sub {
  fill: rgba(247, 241, 234, 0.72);
  font-family: Figtree, "Avenir Next", sans-serif;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-anchor: middle;
}

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

.hero-product {
  display: flex;
  justify-content: flex-end;
  animation: rise 800ms ease 180ms both;
}

.product-shell {
  width: min(100%, 20rem);
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(255, 252, 248, 0.94);
  color: var(--ink);
  border: 1px solid rgba(255, 252, 248, 0.35);
  backdrop-filter: blur(8px);
}

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--line);
}

.product-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.product-brand span {
  color: var(--copper-deep);
}

.product-meta {
  font-size: 0.72rem;
  color: var(--ink-soft);
  opacity: 0.8;
}

.product-thread {
  padding: 0.7rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
}

.bubble {
  max-width: 94%;
  padding: 0.55rem 0.65rem;
  font-size: 0.8rem;
  line-height: 1.35;
  animation: rise 700ms ease both;
}

.bubble.you {
  align-self: flex-end;
  background: var(--ink);
  color: #f3ebe2;
  animation-delay: 280ms;
}

.bubble.pea {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  animation-delay: 420ms;
}

.bubble .who {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 0.2rem;
}

.product-composer {
  margin: 0 0.65rem 0.65rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.78rem;
  background: #fffdf9;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 0.55rem;
  max-width: 20ch;
  animation: rise 700ms ease 80ms both;
}

.lede {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
  color: rgba(247, 241, 234, 0.88);
  max-width: 28rem;
  animation: rise 700ms ease 140ms both;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  animation: rise 700ms ease 200ms both;
}

.btn {
  display: inline-block;
  background: #f3ebe2;
  color: var(--ink);
  padding: 0.7rem 0.95rem;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease;
}

.btn:hover {
  background: #fff;
}

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

.btn.secondary {
  background: transparent;
  color: #f3ebe2;
  border-color: rgba(243, 235, 226, 0.4);
  font-weight: 500;
}

.btn.secondary:hover {
  background: rgba(243, 235, 226, 0.08);
}

.fine {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: rgba(247, 241, 234, 0.72);
  max-width: 26rem;
  animation: rise 700ms ease 260ms both;
}

.fine.ok {
  color: #b7d7c4;
}

.band {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.1rem, 4vw, 2.5rem);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.band.in {
  opacity: 1;
  transform: none;
}

.band-alt {
  background:
    radial-gradient(700px 280px at 0% 0%, rgba(166, 91, 50, 0.1), transparent 60%),
    linear-gradient(180deg, #efe7db 0%, var(--paper) 100%);
}

.band-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.band-head h2,
.close h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 550;
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
}

.band-head p,
.close > p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 1.05rem;
}

.does-list,
.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
  max-width: 46rem;
}

.does-list li,
.benefits li {
  display: grid;
  gap: 0.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.does-list strong,
.benefits strong,
.steps strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.does-list span,
.benefits span,
.steps span:not(.step-n) {
  color: var(--ink-soft);
  line-height: 1.5;
}

.lede strong {
  font-weight: 600;
  color: #fff;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
  max-width: 40rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step-n {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--copper-deep);
  line-height: 1.2;
}

.steps div {
  display: grid;
  gap: 0.3rem;
}

.price-block {
  max-width: 26rem;
  padding: 1.6rem 0 0;
  border-top: 2px solid var(--ink);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease 80ms, transform 600ms ease 80ms;
}

.price-block.in {
  opacity: 1;
  transform: none;
}

.price-label {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.price {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  line-height: 1;
}

.price .currency {
  font-size: 0.55em;
  margin-right: 0.08em;
}

.price .period {
  font-size: 0.35em;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin-left: 0.2em;
}

.price-includes {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  color: var(--ink-soft);
}

.price-includes li::before {
  content: "— ";
  color: var(--copper-deep);
}

.price-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.close {
  text-align: left;
  background: var(--ink);
  color: #f3ebe2;
}

.close h2 {
  color: #f3ebe2;
}

.close > p {
  color: rgba(243, 235, 226, 0.78);
  margin-bottom: 1.4rem;
  max-width: 30rem;
}

.close .btn {
  background: #f3ebe2;
  color: var(--ink);
}

.close .btn.secondary {
  background: transparent;
  color: #f3ebe2;
  border-color: rgba(243, 235, 226, 0.35);
}

.site-foot {
  padding: 1.5rem clamp(1.1rem, 4vw, 2.5rem) 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.brand.tiny {
  font-size: 1.35rem;
  color: var(--ink);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ken {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.02);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-areas:
      "copy product"
      "hub hub";
  }

  .hero-copy {
    grid-area: copy;
  }

  .hero-product {
    grid-area: product;
  }

  .hero-hub {
    grid-area: hub;
    padding-top: 0.25rem;
  }

  .hub-panel {
    width: min(100%, 20rem);
  }
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "hub"
      "product";
    align-content: center;
    padding-top: 5.5rem;
  }

  .hero-product {
    justify-content: stretch;
  }

  .product-shell {
    width: 100%;
    min-height: 18rem;
  }
}

@media (max-width: 720px) {
  .site-top nav a:not(.nav-cta) {
    display: none;
  }

  .hero-brand {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }
}
