:root {
  --paper: #e4e6e3;
  --ink: #161816;
  --muted: #4a524e;
  --forest: #16352d;
  --signal: #c5dc4a;
  --line: #b7bbb4;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --pad: clamp(1.1rem, 4vw, 2.4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem var(--pad);
  mix-blend-mode: difference;
  color: #f3f4f1;
  pointer-events: none;
}
.top a { pointer-events: auto; text-decoration: none; }
.brand {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.05rem;
}
.top-cta { font-size: 0.85rem; font-weight: 600; }

.hero {
  position: relative;
  min-height: 100svh;
  color: #f4f5f2;
  overflow: hidden;
  display: grid;
  align-items: end;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: drift 28s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 22, 20, 0.15) 30%, rgba(14, 22, 20, 0.72) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: calc(var(--pad) + 3rem) var(--pad) 3.2rem;
  max-width: 38rem;
}
.brand-lock {
  font-family: var(--display);
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 0.9;
  margin: 0 0 0.7rem;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.65rem;
}
.lede { margin: 0 0 1.3rem; max-width: 28rem; font-size: 1.05rem; }
.cta {
  display: inline-block;
  background: var(--signal);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  padding: 0.85rem 1.2rem;
  animation: rise 1.1s ease both 0.2s;
}
.cta:hover { filter: brightness(1.05); }

.block {
  padding: 4.2rem var(--pad) 3.4rem;
  max-width: 40rem;
}
.block h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 0.55rem;
  line-height: 1;
}
.one { margin: 0 0 1.6rem; color: var(--muted); }

form {
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
}
label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
input {
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  padding: 0.45rem 0;
  color: var(--ink);
}
input:focus { outline: none; border-bottom-color: var(--forest); }
button[type=submit] {
  justify-self: start;
  margin-top: 0.4rem;
  font: inherit;
  font-weight: 700;
  background: var(--forest);
  color: var(--paper);
  border: 0;
  padding: 0.85rem 1.2rem;
  cursor: pointer;
}
button[type=submit]:disabled { opacity: 0.55; cursor: wait; }
.status { min-height: 1.2em; font-size: 0.9rem; color: var(--muted); }

.weeks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.weeks li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 0.8rem; align-items: start; }
.weeks span {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--forest);
}

.plans { display: grid; gap: 0; border-top: 1px solid var(--line); }
.plan {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  text-decoration: none;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease;
}
.plan:hover { background: rgba(22, 53, 45, 0.05); }
.plan-name { margin: 0; font-weight: 700; }
.plan-price {
  margin: 0;
  font-family: var(--display);
  font-size: 1.8rem;
  grid-row: 1 / span 2;
  align-self: center;
}
.plan-note { margin: 0; grid-column: 1; color: var(--muted); font-size: 0.92rem; }
.fine { margin: 1.2rem 0 0; font-size: 0.85rem; color: var(--muted); }

.foot {
  padding: 2.2rem var(--pad) 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.foot a { color: var(--forest); }

@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .plan { grid-template-columns: 1fr; }
  .plan-price { grid-row: auto; }
}
