:root {
  --bone: #F4EFE6;
  --bone-deep: #ECE5D6;
  --bone-lift: #FBF8F1;
  --ink: #1E2330;
  --ink-soft: rgba(30, 35, 48, 0.72);
  --ink-faint: rgba(30, 35, 48, 0.55);
  --hairline: rgba(30, 35, 48, 0.16);
  --amber: #D97E24;
  --serif: Charter, "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  margin: 0.4rem 0 0;
}

section[id] { scroll-margin-top: 4.5rem; }

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

.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  background: var(--ink); color: var(--bone);
  padding: 0.6rem 1rem;
  border-radius: 3px;
  z-index: 100;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0.75rem; }

a { color: var(--ink); }

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

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 0.55rem;
  background: var(--amber);
  vertical-align: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.85rem 1.5rem;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--bone);
}
.btn-primary:hover { background: #2b3247; }
.btn-secondary {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--amber); }
.btn-on-dark {
  background: var(--bone);
  border: 1px solid var(--bone);
  color: var(--ink);
}
.btn-on-dark:hover { background: var(--bone-lift); }
.btn-small { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn:disabled { opacity: 0.6; cursor: default; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  background: rgba(244, 239, 230, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { width: 30px; height: 30px; display: block; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.site-nav {
  margin-left: auto;
  display: flex;
  gap: 1.3rem;
}
.site-nav a {
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: clamp(3rem, 8vw, 5.5rem) 1.25rem clamp(3rem, 7vw, 5rem);
  border-top: 3px double var(--hairline);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 70%;
  background: radial-gradient(60% 90% at 50% 0%, rgba(217, 126, 36, 0.09), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-mark {
  width: 68px;
  height: 68px;
  display: block;
  margin: 1.5rem auto 0;
}

.hero h1 {
  font-size: clamp(2.9rem, 9vw, 5rem);
  margin: 1.1rem 0 1rem;
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 auto 2.2rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ---------- shared section shell ---------- */

.features,
.how,
.skills,
.pricing,
.waitlist {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
}

.features h2,
.how h2,
.skills h2 {
  max-width: 24ch;
  margin-bottom: 2.6rem;
}
.pricing h2 { text-align: center; }
.waitlist h2 { text-align: center; }

.how { background: var(--bone-deep); max-width: none; }
.how .how-inner { max-width: 1080px; margin: 0 auto; }
.pricing { background: var(--bone-deep); max-width: none; }
.pricing .pricing-inner { max-width: 1080px; margin: 0 auto; }

/* ---------- features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border: 1px solid var(--hairline);
  background: var(--hairline);
}

.feature {
  background: var(--bone);
  padding: 1.9rem 1.7rem;
}

.feature h3 { font-size: 1.3rem; margin-bottom: 0.55rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; max-width: 38ch; }

.feature-ask { border-top: 2px solid var(--amber); }

/* ---------- how it works ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem 1.6rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--hairline);
}
.step:last-child { border-bottom: 1px solid var(--hairline); }

.step-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ink-faint);
  line-height: 1.3;
}

.step h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.step p { margin: 0; color: var(--ink-soft); max-width: 44ch; }

/* ---------- skills ---------- */

.skill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.skill {
  display: grid;
  grid-template-columns: minmax(0, 18rem) 1fr;
  gap: 0.4rem 2rem;
  align-items: baseline;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--hairline);
}

.skill h3 { font-size: 1.2rem; }
.skill p { margin: 0; color: var(--ink-soft); }

/* ---------- pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  max-width: 760px;
  margin: 2.6rem auto 0;
}

.plan {
  border: 1px solid var(--hairline);
  background: var(--bone);
  padding: 2.1rem 1.9rem;
}

.plan h3 { font-size: 1.3rem; }

.price {
  font-family: var(--serif);
  font-size: 2.7rem;
  font-weight: 600;
  line-height: 1;
  margin: 0.55rem 0 0.5rem;
}
.price span {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-soft);
  margin-left: 0.2rem;
}

.plan-note {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
  min-height: 2.7em;
}

.plan ul {
  list-style: none;
  margin: 1.5rem 0 1.9rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.plan li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.95rem;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  background: var(--ink);
  opacity: 0.55;
}

.plan-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}
.plan-dark h3 { color: var(--bone); }
.plan-dark .price span { color: rgba(244, 239, 230, 0.65); }
.plan-dark .plan-note { color: rgba(244, 239, 230, 0.78); }
.plan-dark li::before { background: var(--bone); opacity: 0.7; }

.plans-footnote {
  text-align: center;
  margin: 1.9rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- waitlist ---------- */

.waitlist {
  text-align: center;
  border-top: 3px double var(--hairline);
}

.waitlist-copy {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--ink-soft);
}

#waitlist-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  max-width: 34rem;
  margin: 1.9rem auto 0;
}

#waitlist-email {
  flex: 1 1 16rem;
  font: inherit;
  color: var(--ink);
  background: var(--bone-lift);
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 0.8rem 1rem;
}
#waitlist-email::placeholder { color: var(--ink-faint); }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.waitlist-status {
  max-width: 34rem;
  margin: 1.2rem auto 0;
  font-size: 0.95rem;
}

.waitlist-small {
  margin: 1.1rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* ---------- footer ---------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.2rem 1.25rem 3rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.site-footer p { margin: 0; }
.site-footer ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- responsive ---------- */

@media (min-width: 720px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-ask { border-top: none; border-left: 2px solid var(--amber); }
  .plans { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 719px) {
  .site-nav { display: none; }
  .skill { grid-template-columns: 1fr; gap: 0.3rem; }
  .plan-note { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
