:root {
  --ink: #151311;
  --ink-soft: rgba(21, 19, 17, 0.72);
  --paper: #fffdf9;
  --paper-warm: #f4f1e8;
  --line: rgba(21, 19, 17, 0.14);
  --teal: #177e89;
  --teal-dark: #0d5962;
  --coral: #d65a31;
  --gold: #c99700;
  --violet: #5e5ce6;
  --green: #2f8f5b;
  --shadow: 0 18px 55px rgba(21, 19, 17, 0.16);
  --max: 1160px;
  --hero-image: url("./assets/hero-practice-loop.png");
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body,
button,
input,
select {
  font: inherit;
}

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

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

.site-nav {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(18px, 4vw, 48px);
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.86);
}

.nav-links a,
.nav-cta,
.button {
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.nav-links a:hover,
.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: min(86vh, 820px);
  display: grid;
  align-items: end;
  padding: 130px clamp(18px, 5vw, 64px) 54px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 32, 31, 0.9) 0%, rgba(13, 32, 31, 0.62) 38%, rgba(13, 32, 31, 0.1) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.34)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0), var(--paper));
  pointer-events: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 22%, rgba(214, 90, 49, 0.26), transparent 31%),
    linear-gradient(180deg, transparent 65%, rgba(255, 253, 249, 0.7));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding-bottom: 26px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd166;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 4.8vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

body[data-hero-length="medium"] h1 {
  font-size: clamp(2.35rem, 4.2vw, 3.6rem);
  line-height: 0.96;
}

h1.hero-title-long,
body[data-hero-length="long"] h1 {
  font-size: clamp(2rem, 3.8vw, 3.05rem);
  line-height: 1;
}

h1.hero-title-medium {
  font-size: clamp(2.35rem, 4.2vw, 3.6rem);
  line-height: 0.96;
}

body[data-hero-length="long"] .hero-inner {
  width: min(900px, 100%);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4.2vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.62;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.12rem, 2.3vw, 1.45rem);
  line-height: 1.45;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.36);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  letter-spacing: 0;
}

.button-primary {
  background: var(--coral);
  color: #fff;
}

.button-primary:hover {
  background: #be4c27;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
}

.hero-proof div {
  width: 142px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.hero-proof dt {
  font-size: 1.7rem;
  font-weight: 820;
  line-height: 1;
}

.hero-proof dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.section-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.opening-band {
  padding: 70px 0 74px;
  background: var(--paper);
}

.split-tight {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.split-tight p:last-child {
  margin: 38px 0 0;
  font-size: 1.13rem;
}

.how-band {
  padding: 86px 0 92px;
  background: #eef7f3;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.steps-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card,
.trust-grid article,
.signup-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.step-card {
  min-height: 244px;
  padding: 24px;
}

.step-number {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 840;
}

.product-band {
  padding: 94px 0;
  background: var(--paper);
}

.video-band {
  padding: 92px 0;
  background: #eef7f3;
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 560px);
  gap: clamp(28px, 7vw, 88px);
  align-items: center;
}

.video-placeholder {
  min-height: 320px;
  padding: 28px;
  border: 1px solid rgba(23, 126, 137, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(21, 19, 17, 0.82), rgba(21, 19, 17, 0.42)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  color: #fff;
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 18px;
  text-align: left;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.video-placeholder strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.28rem;
}

.video-placeholder small {
  display: block;
  max-width: 390px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  line-height: 1.45;
}

.play-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  position: relative;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
}

.play-mark::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 20px;
  border-left: 18px solid var(--coral);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  line-height: 1.48;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--green);
}

.product-figure {
  margin: 0;
}

.product-figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-figure figcaption {
  margin-top: 12px;
  color: rgba(21, 19, 17, 0.58);
  font-size: 0.88rem;
}

.trust-band {
  padding: 90px 0;
  color: #fff;
  background: #1f1b17;
}

.trust-band p {
  color: rgba(255, 255, 255, 0.72);
}

.trust-band h2,
.trust-band h3 {
  color: #fff;
}

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

.trust-grid article {
  min-height: 230px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.trust-grid article:nth-child(1) {
  border-top: 4px solid var(--gold);
}

.trust-grid article:nth-child(2) {
  border-top: 4px solid var(--teal);
}

.trust-grid article:nth-child(3) {
  border-top: 4px solid var(--violet);
}

.trust-grid article:nth-child(4) {
  border-top: 4px solid var(--coral);
}

.signup-band {
  padding: 92px 0;
  background: var(--paper-warm);
}

.signup-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 520px);
  gap: clamp(28px, 7vw, 94px);
  align-items: start;
}

.signup-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 12px 44px rgba(21, 19, 17, 0.08);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 740;
}

.choice-note {
  margin: -6px 0 0;
  color: rgba(21, 19, 17, 0.58);
  font-size: 0.88rem;
  line-height: 1.45;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(23, 126, 137, 0.16);
}

.signup-form .button {
  width: 100%;
  margin-top: 4px;
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.form-note {
  color: rgba(21, 19, 17, 0.56);
}

.form-status {
  min-height: 1.3em;
  color: var(--teal-dark);
  font-weight: 740;
}

.site-footer {
  padding: 28px 0;
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .site-nav {
    min-height: 66px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 82vh;
    padding-top: 116px;
    background-position: 62% center;
  }

  .split-tight,
  .product-layout,
  .video-layout,
  .signup-layout {
    grid-template-columns: 1fr;
  }

  .split-tight p:last-child {
    margin-top: 0;
  }

  .steps-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-nav {
    padding-inline: 14px;
  }

  .brand {
    font-size: 0.96rem;
  }

  .nav-cta {
    padding: 9px 10px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: min(760px, 92vh);
    padding: 98px 18px 44px;
    background:
      linear-gradient(180deg, rgba(13, 32, 31, 0.92) 0%, rgba(13, 32, 31, 0.64) 48%, rgba(13, 32, 31, 0.38) 100%),
      var(--hero-image);
    background-position: center;
    background-size: cover;
  }

  .hero-inner {
    padding-bottom: 30px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 20px;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-proof div {
    width: 100%;
    min-height: 74px;
    padding: 10px 8px;
  }

  .hero-proof dt {
    font-size: 1.35rem;
  }

  .hero-proof dd {
    font-size: 0.76rem;
    line-height: 1.2;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 3.8rem);
  }

  body[data-hero-length="medium"] h1 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
    line-height: 1;
  }

  body[data-hero-length="long"] h1 {
    font-size: clamp(2rem, 8.6vw, 2.65rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .steps-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .opening-band,
  .how-band,
  .product-band,
  .video-band,
  .trust-band,
  .signup-band {
    padding: 64px 0;
  }

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