/* Palette from website-color.jpg: #20212B #2D4354 #73766A #FED7A5 #9E6752 #534145 */
:root {
  --ink: #20212b;
  --navy: #2d4354;
  --sage: #73766a;
  --cream: #fed7a5;
  --cream-dim: #e7d7bc;
  --terra: #9e6752;
  --terra-deep: #865846;
  --brown: #534145;
  --paper: #f7f4ef;
  --white: #fffdfb;
  --line: rgba(83, 65, 69, 0.14);
  --header: 4.5rem;
  --max: 1120px;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(32, 33, 43, 0.08);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Bahnschrift, "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--brown);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 4.35rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  font-weight: 650;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
}

::selection {
  background: var(--cream);
  color: var(--ink);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--cream);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
}

.skip:focus {
  top: 0.6rem;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header);
  padding: 0 1.25rem;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-solid {
  background: rgba(32, 33, 43, 0.92);
  border-bottom-color: rgba(254, 215, 165, 0.14);
  backdrop-filter: blur(16px);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  display: block;
  height: 46px;
  width: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  border: 1px solid #e7c48a;
  background: var(--cream);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(32, 33, 43, 0.12);
  transition: transform 0.2s var(--ease), background 0.2s ease;
}

.btn:hover {
  background: #ffe6c2;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--brown);
  border-color: rgba(83, 65, 69, 0.28);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.45);
}

.header-cta {
  display: none;
}

.section {
  padding: clamp(4.25rem, 8vw, 7rem) 0;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--terra-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.band .eyebrow,
.hero .eyebrow,
.final .eyebrow,
.trust .eyebrow {
  color: var(--cream);
}

.band .num {
  color: var(--cream);
}

.lede {
  max-width: 40rem;
  margin-top: 1rem;
  font-size: 1.125rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.js .reveal {
  opacity: 0;
  transform: rotateX(14deg) translateY(40px);
  transform-origin: 50% 0;
  transition: opacity 0.7s ease, transform 0.85s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.grid .reveal:nth-child(4) { transition-delay: 0.24s; }

.hero {
  position: relative;
  color: var(--cream);
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(158, 103, 82, 0.38), transparent 60%),
    radial-gradient(700px 480px at 0% 90%, rgba(45, 67, 84, 0.95), transparent 70%),
    var(--ink);
}

.hero-sticky {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header) + 1.5rem) 0 3rem;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero h1,
.hero .lede,
.hero .fine {
  color: var(--cream);
}

.hero .lede {
  color: var(--cream-dim);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.fine {
  color: var(--cream-dim);
  font-size: 0.95rem;
}

.stage {
  perspective: 1400px;
  display: grid;
  place-items: center;
  min-height: 260px;
}

.screen {
  width: min(100%, 580px);
  aspect-ratio: 16 / 11;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--navy);
  border: 1px solid rgba(254, 215, 165, 0.35);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: rotateY(-16deg) rotateX(8deg);
  transform-style: preserve-3d;
  will-change: transform;
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.2), transparent 42%);
  pointer-events: none;
}

.screen figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  z-index: 1;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(32, 33, 43, 0.78);
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.floor {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -8%;
  height: 46%;
  background-image:
    linear-gradient(rgba(254, 215, 165, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(254, 215, 165, 0.16) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: rotateX(72deg) translateY(var(--shift, 0px));
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, #000 10%, transparent 78%);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.orb-a {
  width: 220px;
  height: 220px;
  right: 8%;
  top: 18%;
  background: rgba(158, 103, 82, 0.35);
}

.orb-b {
  width: 180px;
  height: 180px;
  left: 6%;
  bottom: 18%;
  background: rgba(45, 67, 84, 0.8);
}

.trust {
  background: var(--navy);
  color: var(--cream);
  padding: 1.4rem 0;
}

.trust ul {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust li {
  margin: 0;
  padding: 0.35rem 0;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.grid {
  display: grid;
  gap: 1rem;
  perspective: 1200px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 3px 0 0 var(--terra), var(--shadow);
  padding: 1.35rem 1.3rem 1.35rem 1.25rem;
}

.card p {
  margin-top: 0.55rem;
}

.bridge {
  margin-top: 2rem;
  max-width: 36rem;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 650;
}

.define {
  margin-top: 1.5rem;
  max-width: 40rem;
  font-size: 1.125rem;
  color: var(--ink);
}

.center-cta {
  margin-top: 2rem;
}

.num {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--terra);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.shot {
  margin: 0;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: #ece7e0;
  aspect-ratio: 4 / 3;
  transform: rotateX(var(--rx, 0deg));
  transform-style: preserve-3d;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.proof-card {
  padding: 0 0 1.2rem;
  overflow: hidden;
}

.proof-card .shot {
  box-shadow: none;
  border-radius: 16px 16px 0 0;
}

.proof-copy {
  padding: 1.1rem 1.2rem 0 1.25rem;
}

.proof-copy h3 {
  margin-bottom: 0.35rem;
}

.role {
  color: var(--brown);
}

.placeholder {
  color: var(--terra-deep);
  border-bottom: 1px dashed var(--terra);
}

.final .placeholder {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

#request {
  scroll-margin-top: var(--header);
}

.text-btn {
  margin-top: 1.4rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  cursor: pointer;
}

.more-panel {
  margin-top: 1.25rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 650;
}

.fit {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 36rem;
}

.fit li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.1rem;
  border-top: 1px solid var(--line);
}

.fit li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--terra);
}

.fit li:last-child {
  border-bottom: 1px solid var(--line);
}

.band {
  background: var(--ink);
  color: var(--cream-dim);
}

.band h2,
.band h3 {
  color: var(--cream);
}

.pin-sticky {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  padding: 4.5rem 0 3rem;
}

.track {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.track li {
  background: rgba(247, 244, 239, 0.05);
  border: 1px solid rgba(254, 215, 165, 0.16);
  border-radius: var(--radius);
  box-shadow: inset 3px 0 0 var(--terra);
  padding: 1.2rem 1.15rem;
}

.track h3 {
  margin-top: 0.35rem;
}

.tech {
  margin: 0 auto;
  padding: 0 0 4rem;
  width: min(var(--max), calc(100% - 2.5rem));
  color: var(--cream);
  font-weight: 650;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: inset 3px 0 0 var(--terra);
  padding: 0.2rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.6rem 0.95rem 0;
  font-weight: 700;
  color: var(--ink);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0.85rem;
  color: var(--terra-deep);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 0 1rem;
  max-width: 44rem;
}

.final {
  background:
    radial-gradient(700px 420px at 90% 0%, rgba(158, 103, 82, 0.35), transparent 60%),
    var(--ink);
  color: var(--cream-dim);
}

.final h2 {
  color: var(--cream);
}

.form-card {
  margin-top: 2rem;
  background: var(--white);
  color: var(--brown);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  position: relative;
}

.form-card h3,
.step-label {
  color: var(--ink);
}

.step-label {
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.meter {
  height: 6px;
  border-radius: 999px;
  background: #efe8df;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.meter span {
  display: block;
  height: 100%;
  width: 33%;
  background: var(--terra);
  border-radius: inherit;
  transition: width 0.3s var(--ease);
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field span,
.choice-legend {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(83, 65, 69, 0.28);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 0.85rem 0.9rem;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.choices {
  display: grid;
  gap: 0.6rem;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(83, 65, 69, 0.22);
  background: #fff;
  cursor: pointer;
}

.choice input {
  width: 1.05rem;
  height: 1.05rem;
}

.choice:has(input:checked) {
  border-color: var(--terra);
  background: #fbf6ee;
  box-shadow: inset 3px 0 0 var(--terra);
}

.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 0.4rem;
}

.check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.25rem;
  flex: none;
}

.hint,
.privacy {
  color: #5c534c;
  font-size: 0.92rem;
}

.field-error,
.form-error {
  color: #7a2e2e;
  font-size: 0.92rem;
  font-weight: 650;
}

.form-error {
  margin: 0 0 0.8rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: space-between;
  margin-top: 1.2rem;
}

.form-actions .btn {
  flex: 1 1 10rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.contacts a {
  color: var(--cream);
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(32, 33, 43, 0.94);
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease);
}

.sticky-cta .btn {
  width: 100%;
}

.sticky-cta.is-hidden {
  transform: translateY(120%);
}

body {
  padding-bottom: 5.5rem;
}

.thanks {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: calc(var(--header) + 2rem) 0 3rem;
  background:
    radial-gradient(700px 420px at 90% 0%, rgba(158, 103, 82, 0.35), transparent 60%),
    var(--ink);
  color: var(--cream-dim);
}

.thanks-card {
  background: var(--white);
  color: var(--brown);
  border-radius: 24px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  box-shadow: inset 3px 0 0 var(--terra), 0 30px 70px rgba(0, 0, 0, 0.28);
}

.thanks-card h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.thanks-card p {
  margin-top: 1rem;
  max-width: 38rem;
}

.thanks-card .btn {
  margin-top: 1.4rem;
}

.back-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 899px) {
  .hero {
    overflow: clip;
  }

  .hero-sticky {
    overflow: visible;
    min-height: 0;
    padding-top: calc(var(--header) + 0.85rem);
    padding-bottom: 2.25rem;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 8.6vw, 2.8rem);
  }

  .screen {
    width: min(100%, 460px);
    transform: rotateY(-8deg) rotateX(4deg);
  }
}

@media (min-width: 720px) {
  .trust ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .trust li {
    padding: 0.2rem 1.25rem;
    text-align: center;
  }

  .trust li + li {
    border-left: 1px solid rgba(254, 215, 165, 0.22);
  }

  .grid.two {
    grid-template-columns: 1fr 1fr;
  }

  .grid.three,
  .grid.steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }

  .choices {
    grid-template-columns: 1fr 1fr;
  }

  .form-card {
    padding: 1.75rem;
  }
}

@media (min-width: 900px) {
  .header-cta {
    display: inline-flex;
  }

  .sticky-cta {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  .hero {
    height: 172vh;
  }

  .hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
  }

  .grid.four {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 900px) and (min-height: 720px) {
  .pin {
    height: 210vh;
  }

  .pin-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    padding: 0;
  }

  .pin-head {
    width: min(var(--max), calc(100% - 2.5rem));
    margin-inline: auto;
  }

  .track {
    flex-direction: row;
    width: max-content;
    max-width: none;
    margin: 0;
    padding-left: max(1.25rem, calc((100vw - var(--max)) / 2));
    padding-right: 12vw;
    perspective: 1200px;
  }

  .track li {
    width: min(320px, 70vw);
    flex: none;
    transform: rotateY(-12deg);
  }
}

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

  .js .reveal,
  .js .reveal.in,
  .screen,
  .track li,
  .shot {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero {
    height: auto;
  }

  .hero-sticky,
  .pin-sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .pin {
    height: auto;
  }

  .btn:hover {
    transform: none;
  }
}
