:root {
  --stone: #f4f4f1;
  --ink: #262420;
  --ink2: #5b5548;
  --ink3: #6f6656;
  --em: #1f7a4c;
  --em2: #175f3b;
  --ems: #e3efe6;
  --b1: #ece7dd;
  --b2: #ddd6c8;
  --muted: #5b5548;
  --line: rgba(38, 36, 32, 0.14);
  --peach: #fde8db;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html, body {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--stone);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

button {
  cursor: pointer;
}

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

[hidden] {
  display: none !important;
}

/* =============== PAGE CONTAINER & NAVIGATION =============== */
.v1 {
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 clamp(20px, 5vw, 64px);
  max-width: 1440px;
  margin: 0 auto;
}

.v1 nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  font-size: 14px;
}

.v1 nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  border: 0;
}

.v1 nav .brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.v1 nav b {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.va-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 26px 0;
  font-size: 13px;
  opacity: 0.82;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

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

.v1 .fine {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 12px;
}

.v1 .copy, .v1 .art {
  min-width: 0;
}

/* =============== HERO MASTHEAD & WAITLIST FORM =============== */
.va h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(36px, 7.1vw, 102px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.va h1 em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--em);
}

.va .body {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 4.5vw, 68px);
  align-items: start;
  margin-top: clamp(22px, 3.2vw, 46px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.va .sub {
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.5;
  color: var(--ink2);
  max-width: 38ch;
  margin-bottom: 24px;
  text-wrap: pretty;
}

.va .sub b {
  color: var(--ink);
  font-weight: 600;
}

/* Example plan readout: same numbers as the phone mock-up */
.va .macros {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 500px;
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.va .macros div {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  padding: 14px 0 14px 16px;
}

.va .macros div:first-child {
  padding-left: 0;
}

.va .macros div + div {
  border-left: 1px solid var(--line);
}

.va .macros dd {
  font-family: var(--serif);
  font-size: clamp(21px, 2.1vw, 28px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.va .macros dd small {
  font-family: var(--sans);
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink3);
  margin-left: 2px;
}

.va .macros .kcal dd {
  color: var(--em);
}

.va .macros dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink3);
}

.va .ea {
  max-width: 500px;
  display: block;
}

.va .ea-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 22px;
  background: #fff;
  border: 1px solid var(--b2);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(38, 36, 32, 0.06);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.va .ea-pill:hover {
  border-color: rgba(38, 36, 32, 0.3);
}

.va .ea-pill:focus-within {
  border-color: var(--em);
  box-shadow: 0 0 0 3px rgba(31, 122, 76, 0.16);
}

.va .ea-pill input[type="email"] {
  flex: 1 1 170px;
  min-width: 0;
  padding: 11px 6px 11px 0;
  border: 0 !important;
  background: transparent !important;
  outline: 0 !important;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: none !important;
}

.va .ea-pill input[type="email"]::placeholder {
  color: #8a8275;
  font-weight: 400;
}

.va .btn-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  background: var(--em);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.va .btn-cta:hover {
  background: var(--em2);
}

.va .btn-cta:active {
  transform: scale(0.98);
}

.va .btn-cta svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.va .btn-cta:hover svg {
  transform: translateX(3px);
}

.msg {
  width: 100%;
  font-size: 13.5px;
  min-height: 20px;
  padding-left: 14px;
  margin-top: 8px;
}

.msg.err {
  color: #b4442a;
  font-weight: 600;
}

.msg.ok {
  color: var(--em);
  font-weight: 600;
}

.va-ch--cta .msg.err {
  color: #ffd3c8;
}

.va-ch--cta .msg.ok {
  color: #ffffff;
}

.roles-label {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink3);
}

.roles {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.role {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--b2);
  background: #fff;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink2);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.role:hover {
  border-color: rgba(38, 36, 32, 0.3);
  color: var(--ink);
}

.role[aria-pressed="true"] {
  background: var(--ems);
  border-color: var(--em);
  color: var(--em2);
}

.role[aria-pressed="true"]::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--em);
}

.va .pull {
  margin-top: 30px;
  border-top: 1.5px solid var(--ink);
  padding-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1.3;
  max-width: 32ch;
}

.va .pull small {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-top: 10px;
}

.va .art {
  background: #f6efe2;
  border: 1px solid var(--b2);
  border-radius: 30px;
  padding: clamp(14px, 2.2vw, 32px) clamp(14px, 2.2vw, 32px) clamp(12px, 1.6vw, 20px);
  margin: -4px 0 0;
  box-shadow: 0 30px 60px -40px rgba(38, 36, 32, 0.45);
}

/* =============== VECTOR ILLUSTRATIONS & SHEET =============== */
.sv {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
}

.sv text {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
}

.sv .cap {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  fill: #6f6656;
}

.sv .mono {
  font-family: var(--mono);
}

.sv [role="button"], .sv [role="slider"] {
  cursor: pointer;
}

.sv [role="button"]:focus-visible, .sv [role="slider"]:focus-visible {
  outline: 3px solid #1f7a4c;
  outline-offset: 3px;
  border-radius: 12px;
}

.sv [role="slider"] {
  cursor: ew-resize;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.22, 1.55); opacity: 0; }
}

.sv .ping {
  transform-box: fill-box;
  transform-origin: center;
  animation: ping 1.8s ease-out infinite;
}

.sv-hint {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink3);
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.sv-hint::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.phs {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.phs .ph {
  flex: 0 1 auto;
  width: min(100%, 350px);
}

.phs .sheet {
  flex: 0 1 auto;
  width: min(100%, 300px);
  margin: 0 0 6px -12px;
  position: relative;
  z-index: 2;
}

.q-in {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  outline: 0;
  padding: 0 14px;
  box-sizing: border-box;
  font: 600 17px/44px var(--sans);
  color: #262420;
}

.q-in::placeholder {
  color: #8a8070;
  font-weight: 400;
}

/* =============== SCROLL SHOWCASE CHAPTERS (№ 02 – № 05) =============== */
.va-ch {
  margin: 0 calc(-1 * clamp(20px, 5vw, 64px));
  padding: clamp(68px, 8.5vw, 124px) clamp(20px, 5vw, 64px);
  position: relative;
}

.va-ch--pro {
  background: #161f1b;
  color: #f2efe8;
  --line: rgba(242, 239, 232, 0.14);
}

.va-ch--ai {
  background: #eae4d7;
  color: var(--ink);
}

.va-ch--trn {
  background: var(--stone);
  color: var(--ink);
}

.va-ch--rec {
  background: #f6efe2;
  color: var(--ink);
}

.va-ch--cta {
  background: #1f7a4c;
  color: #f6efe2;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 64px);
}

.va-kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--em);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.va-kicker::after {
  content: "";
  height: 1px;
  background: currentColor;
  opacity: 0.25;
  flex: 1;
}

.va-ch--pro .va-kicker {
  color: #7fd0a4;
}

.va-ch--cta .va-kicker {
  color: #d8f3e3;
}

.va-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.va-grid--rev {
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
}

.va-h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(34px, 5.1vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.va-h2 em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--em);
  margin-top: 4px;
}

.va-ch--pro .va-h2 em {
  color: #7fd0a4;
}

.va-ch--cta .va-h2 em {
  color: #fde8db;
}

.va-lead {
  font-size: clamp(16px, 1.65vw, 19.5px);
  line-height: 1.52;
  max-width: 34ch;
  opacity: 0.88;
  margin-bottom: 24px;
}

.va-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.va-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: rgba(31, 122, 76, 0.09);
  color: var(--em);
  border: 1px solid rgba(31, 122, 76, 0.2);
}

.va-TagDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.va-ch--pro .va-tag {
  background: rgba(127, 208, 164, 0.12);
  color: #8ce0b2;
  border-color: rgba(127, 208, 164, 0.25);
}

.va-stage {
  border-radius: 32px;
  padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 38px) 0;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(38, 36, 32, 0.1);
}

.va-stage .sv {
  display: block;
  width: 100%;
  max-width: 460px;
  margin: 0 auto -2px;
  height: auto;
}

.va-stage-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: clamp(16px, 2.2vw, 26px);
}

.va-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 16px;
  background: #262420;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  line-height: 1.15;
}

.va-ch--pro .va-chip--dark {
  background: #111915;
  border-color: rgba(127, 208, 164, 0.45);
}

.va-chip--em {
  background: #1f7a4c;
  color: #fff;
  border-color: rgba(155, 230, 190, 0.35);
  border-radius: 999px;
  padding: 10px 18px;
}

.va-chip-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.va-chip-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #7fd0a4;
}

.va-chip--em .va-chip-kicker {
  color: #d3f5e2;
}

.va-chip-val {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.va-chip-val.mono {
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.14em;
}

.va-chip-sub {
  font-size: 11.5px;
  font-weight: 700;
  color: #d9d1c2;
}

.va-chip--em .va-chip-sub {
  color: #d3f5e2;
  font-weight: 600;
}

.va-chip-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: #1f7a4c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.va-chip-check svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.6;
  fill: none;
}

.va-ch--pro .va-stage {
  background: radial-gradient(110% 90% at 50% 100%, rgba(44, 158, 99, 0.28) 0%, rgba(29, 40, 34, 0.95) 68%), #1d2722;
  border-color: rgba(127, 208, 164, 0.18);
  box-shadow: 0 36px 72px -36px rgba(0, 0, 0, 0.65);
}

.va-ch--ai .va-stage {
  background: radial-gradient(110% 90% at 50% 100%, rgba(31, 122, 76, 0.14) 0%, rgba(247, 243, 234, 0) 70%), #f7f3ea;
  border-color: #dcd4c4;
  box-shadow: 0 32px 64px -38px rgba(38, 36, 32, 0.35);
}

.va-ch--trn .va-stage {
  background: radial-gradient(110% 90% at 50% 100%, rgba(31, 122, 76, 0.13) 0%, rgba(236, 231, 221, 0) 70%), #ece7dd;
  border-color: #dcd4c4;
  box-shadow: 0 32px 64px -38px rgba(38, 36, 32, 0.35);
}

.va-ch--rec .va-stage {
  background: radial-gradient(110% 90% at 50% 100%, rgba(31, 122, 76, 0.14) 0%, rgba(239, 232, 216, 0) 70%), #efe8d8;
  border-color: #dcd4c4;
  box-shadow: 0 32px 64px -38px rgba(38, 36, 32, 0.35);
}

/* =============== SCROLL REVEAL MOTION =============== */
@media (prefers-reduced-motion: no-preference) {
  .va-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .va-reveal.in {
    opacity: 1;
    transform: translateY(0);
  }
  .va-reveal-d1 {
    transition-delay: 0.1s;
  }
  .va-reveal-d2 {
    transition-delay: 0.2s;
  }
  .va-stage .ph-zoom {
    transform: translateY(42px) scale(0.97);
    transform-origin: 50% 100%;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .va-stage.in .ph-zoom {
    transform: translateY(0) scale(1);
  }
  .va-stage .ph-float {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
  }
  .va-stage .ph-float-2 {
    transition-delay: 0.38s;
  }
  .va-stage.in .ph-float {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============== RESPONSIVE BREAKPOINTS =============== */
@media (max-width: 820px) {
  .va .body {
    grid-template-columns: minmax(0, 1fr);
  }
  .va-grid, .va-grid--rev {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .phs {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .phs .sheet {
    margin: 0;
  }
}

@media (max-width: 520px) {
  .va .ea-pill {
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
    padding: 10px 12px;
    gap: 8px;
  }
  .va .ea-pill input[type="email"] {
    flex: none;
    padding: 10px 8px;
  }
  .va .btn-cta {
    width: 100%;
    padding: 14px 20px;
  }
}
