/* ------------------------------------------------------------------
   Parcel — landing page
   One family (Inter, optical size on), one accent, a lot of air.
------------------------------------------------------------------- */

:root {
  --bg: #1D1C1A;
  --surface: #232220;
  --ink: #FFFFFF;
  --text-2: #777777;
  --text-3: #736E66;
  --quiet: #777777;
  --rule: #34322E;
  --rule-soft: #2A2926;
  --accent: #E46658;
  --accent-soft: rgba(228, 102, 88, .18);
  /* from button.svg: peach → coral → lavender, bottom-left to top-right */
  --btn-gradient: linear-gradient(103deg, #EFA568 -10%, #E46658 49%, #AD9BC3 105%);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  /* Header and page lines use motionfolios.com's container: 1920px incl. 20px padding */
  --wrap-wide: 1880px;
  --gutter-wide: 20px;
  --head-h: 80px;
  --section: 0;
  --ease: cubic-bezier(.22, .7, .3, 1);
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul { margin: 0; }
p { line-height: 130%; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin: 0 auto; }

/* ---------------------------------------------------------- type */

.stack {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}
.stack .quiet { color: var(--quiet); }

h1.stack { font-size: clamp(42px, 6.2vw, 76px); max-width: 18ch; line-height: 110%; }
h2.stack { font-size: clamp(32px, 4vw, 48px); max-width: 18ch; line-height: 110%; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }

.lede {
  margin-top: 28px;
  max-width: 52ch;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--text-2);
}
.sec-sub { margin-top: 18px; max-width: 54ch; color: var(--text-2); line-height: 1.6; }

/* ------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px;
  background: var(--btn-gradient); color: #FFFFFF;
  border: 0; border-radius: 10px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.005em;
  cursor: pointer;
  transition: filter .15s ease, transform .15s var(--ease);
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }

.link-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 0;
  font-weight: 600; font-size: 16px; color: var(--ink);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 6px;
  text-decoration-thickness: 1.5px;
  transition: text-decoration-color .15s ease;
}
.link-btn:hover { text-decoration-color: var(--ink); }

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

.site-head {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.head-wrap { width: min(var(--wrap-wide), calc(100% - var(--gutter-wide) * 2)); margin: 0 auto; }
.head-row {
  display: flex; align-items: stretch; justify-content: space-between;
  height: var(--head-h);
  border-left: 1px solid var(--rule); border-right: 1px solid var(--rule);
}
.brand { display: flex; align-items: center; padding: 0 28px; line-height: 0; }
.brand .logo { height: 34px; width: auto; display: block; }
.head-cta {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 270px;
  background: var(--btn-gradient); color: #FFFFFF;
  font-weight: 600; font-size: 17px; letter-spacing: -0.005em;
  transition: filter .15s ease;
}
.head-cta:hover { filter: brightness(1.08); }
@media (max-width: 720px) {
  :root { --head-h: 60px; --gutter-wide: 0px; }
  .brand { padding: 0 16px; }
  .brand .logo { height: 28px; }
  .head-cta { flex: 0 0 auto; padding: 0 18px; font-size: 15px; }
  .head-row, .page-lines { border-left: 0; border-right: 0; }
}

/* Vertical lines at the wide container's edges, the full height of the page */
[data-stretchy-page] { position: relative; }
.page-lines {
  position: absolute; top: 0; bottom: 0; left: 0; right: 0;
  width: min(var(--wrap-wide), calc(100% - var(--gutter-wide) * 2)); margin: 0 auto;
  border-left: 1px solid var(--rule); border-right: 1px solid var(--rule);
  pointer-events: none; z-index: 2;
}

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

.hero { padding: 100px 0; }
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-copy .lede { max-width: 52ch; }
.hero-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 28px; margin-top: 36px;
}

.seats { margin-top: 44px; max-width: 320px; width: 100%; }
.seats-bar { height: 4px; background: var(--rule-soft); border-radius: 2px; overflow: hidden; }
.seats-bar span {
  display: block; height: 100%; width: var(--pct);
  background: var(--btn-gradient); border-radius: 2px;
  transform-origin: left; transform: scaleX(0);
  animation: fill .9s var(--ease) forwards .3s;
}
.seats p { margin-top: 10px; font-size: 14px; color: var(--text-3); }
.seats p span { color: var(--ink); font-weight: 600; }
@keyframes fill { to { transform: scaleX(1); } }

.hero-image { margin-top: clamp(48px, 6vw, 80px); }
.hero-image img { width: 100%; max-width: 800px; height: auto; display: block; margin: 0 auto; }

/* ----------------------------------------------------- sections */

#top {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 100px;
}

.section { padding: 100px 0; }

.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: clamp(48px, 6vw, 80px);
}
.feature .glyph { width: 28px; height: 28px; color: var(--accent); display: block; }
.feature .glyph .knot { fill: var(--bg); }
.feature h3 { margin-top: 20px; max-width: 18ch; }
.feature p { margin-top: 12px; color: rgba(165, 160, 152, 1); line-height: 130%; max-width: 34ch; }
@media (max-width: 860px) { .three { grid-template-columns: 1fr; gap: 40px; } .feature p { max-width: 52ch; } }

/* ------------------------------------------------- support table */

.support { width: 100%; border-collapse: collapse; margin-top: clamp(40px, 5vw, 64px); }
.support th, .support td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--rule-soft); vertical-align: baseline; }
.support thead th { font-size: 14px; font-weight: 500; color: var(--text-3); padding: 0 0 12px; border-bottom: 1px solid var(--ink); }
.support thead th:last-child { text-align: right; }
.support tbody th[scope="colgroup"] {
  padding: 36px 0 10px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.support tbody:first-of-type th[scope="colgroup"] { padding-top: 22px; }
.support td.what { padding-right: 24px; }
.support td.state { white-space: nowrap; text-align: right; width: 1%; color: var(--text-2); font-size: 15px; }
.support td.state span { display: inline-flex; align-items: center; gap: 12px; }

.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; display: inline-block; border: 1.5px solid var(--accent); }
.dot.yes { background: var(--accent); }
.dot.part { background: linear-gradient(90deg, var(--accent) 50%, transparent 50%); }
.dot.no { border-color: var(--quiet); }

.table-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
.legend { display: flex; gap: 22px; font-size: 14px; color: var(--text-3); }
.legend li { display: inline-flex; align-items: center; gap: 10px; }

@media (max-width: 620px) {
  .support thead { position: absolute; left: -9999px; }
  .support tbody tr:not(.group) { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
  .support tbody tr:not(.group) td { display: block; border: 0; padding: 0; width: auto; }
  .support td.state { padding-top: 6px; font-size: 14px; text-align: left; width: auto; }
  .legend { gap: 16px; }
}

/* -------------------------------------------------------- price */

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.price { display: flex; align-items: baseline; gap: 14px; margin-top: 36px; }
.price b { font-size: clamp(56px, 7vw, 84px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.price-amount { background: var(--btn-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.price span { color: var(--text-2); font-size: 18px; }
.price-points { display: grid; gap: 22px; }
.price-points li { padding-top: 18px; border-top: 1px solid var(--rule); color: var(--text-2); line-height: 1.55; }
.price-points b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; gap: 40px; } }

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

#faq { padding-bottom: 200px; }

#join { padding-top: 200px; padding-bottom: 200px; }

.join { position: relative; margin-top: calc(var(--section) / 2); }
.join::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: 0;
  width: min(var(--wrap-wide), calc(100% - var(--gutter-wide) * 2)); margin: 0 auto;
  background: var(--surface); z-index: -1;
}
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .join-grid { grid-template-columns: 1fr; gap: 40px; } }

form { display: grid; gap: 16px; max-width: 540px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--text-2); }
input {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--rule); border-radius: 10px;
  background: var(--bg); color: var(--ink);
  font: 400 16px/1 var(--font);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input::placeholder { color: var(--text-3); }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[aria-invalid="true"] { border-color: var(--accent); }
.form-foot { display: flex; align-items: center; gap: 32px; margin-top: 8px; }
.btn-lg { height: auto; padding: 16px 28px; font-size: 17px; border-radius: 12px; flex: none; }
.note { flex: 1; font-size: 16px; line-height: 1.45; color: var(--text-3); }
@media (max-width: 520px) {
  .form-foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .btn-lg { padding: 14px 24px; font-size: 16px; }
}
.note span { color: var(--ink); font-weight: 600; }
.err { font-size: 14px; color: var(--accent); min-height: 0; }
.err:empty { display: none; }

.done { display: none; color: var(--ink); }
.done svg { color: var(--accent); display: block; margin-bottom: 14px; }
.done b { font-weight: 600; font-size: 20px; letter-spacing: -0.015em; }
.done p { color: var(--text-2); margin-top: 6px; line-height: 1.55; max-width: 40ch; }
.done #doneNext { margin-top: 12px; }
form.sent .field, form.sent .form-foot, form.sent .err { display: none; }
form.sent .done { display: block; animation: rise .4s var(--ease); }

/* ---------------------------------------------------------- faq */

.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }

details { border-bottom: 1px solid var(--rule); }
.faq-list details:first-child { border-top: 1px solid var(--rule); }
summary {
  display: flex; align-items: center; gap: 24px;
  cursor: pointer; list-style: none;
  padding: 22px 0;
  font-size: 18px; font-weight: 600; letter-spacing: -0.015em;
  transition: color .15s ease;
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--text-2); }
.sign { margin-left: auto; position: relative; width: 14px; height: 14px; flex: none; }
.sign::before, .sign::after {
  content: ""; position: absolute; background: var(--ink); border-radius: 1px;
  transition: transform .25s var(--ease);
}
.sign::before { left: 0; top: 6px; width: 14px; height: 2px; }
.sign::after { left: 6px; top: 0; width: 2px; height: 14px; }
details[open] .sign::after { transform: scaleY(0); }
.answer { overflow: hidden; }
.answer p { color: var(--text-2); line-height: 130%; padding: 0 48px 24px 0; max-width: 62ch; }


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

html { overscroll-behavior-y: none; }
[data-stretchy-page] { z-index: 1; background: var(--bg); }
.stretchy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; pointer-events: none; overflow: hidden;
  width: min(var(--wrap-wide), calc(100% - var(--gutter-wide) * 2)); margin: 0 auto;
}
.stretchy-field { position: absolute; inset: 0; transform-origin: 50% 100%; transform: scaleY(0); opacity: 0; will-change: transform, opacity; }
.stretchy-bars { position: absolute; inset: 0; display: flex; align-items: flex-end; transform: scaleY(1.08); transform-origin: 50% 100%; }
.stretchy-bars span { flex: 1 1 0; min-width: 0; }
.stretchy-glow { position: absolute; left: 0; right: 0; bottom: 0; height: 50%; }

.btn:disabled { opacity: .7; cursor: default; filter: none; }
