/* Landing page only. Legal pages keep assets/css/home.css. */

.page-landing {
  --bg: #1c1814;
  --card: #2a241c;
  --text: #f4efe6;
  --muted: #a89880;
  --accent: #c6a066;
  --accent-hover: #e0bc7a;
  --accent-press: #9e7e43;
  --on-accent: #060505;
  --line: rgb(244 239 230 / 14%);
  --font-display: "Frank Ruhl Libre", serif;
  --font-body: "IBM Plex Sans Hebrew", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header: 5rem;
  --page: 72rem;

  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.65;
}

.page-landing h1,
.page-landing h2,
.page-landing h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.12;
}

.page-landing p { margin: 0; }

.page-landing a { color: inherit; text-decoration: none; }

.section,
.pricing,
.final,
#top { scroll-margin-top: calc(var(--header) + 12px); }

.page-landing :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: 8px;
  z-index: 80;
  transform: translateY(-140%);
  padding: 8px 16px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}

.skip:focus { transform: none; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--accent);
}

.balance { text-wrap: balance; }

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* Header */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  height: var(--header);
  border-bottom: 1px solid transparent;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgb(28 24 20 / 88%);
  backdrop-filter: blur(12px);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: 24px;
}

.mark {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.mark__name {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.mark__sub {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.menu-toggle,
.header-tools a {
  color: rgb(244 239 230 / 75%);
}

.site-nav a {
  font-size: 14px;
  transition: color 80ms linear;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] { color: var(--accent); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-price {
  display: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  white-space: nowrap;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle svg { width: 20px; height: 20px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  background: rgb(28 24 20 / 97%);
  backdrop-filter: blur(16px);
}

.mobile-menu.is-open { display: block; }

.mobile-menu__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
  padding-inline: 24px;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 40px;
}

.mobile-menu nav a {
  border-bottom: 1px solid var(--line);
  padding-block: 16px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
}

.mobile-menu .btn { margin-top: 32px; }

/* Buttons */

.page-landing a.btn,
.btn {
  color: var(--on-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 16px 32px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 80ms linear, border-color 80ms linear, color 80ms linear, transform 80ms linear;
}

.btn svg { width: 16px; height: 16px; flex: none; }

.btn:hover { background: var(--accent-hover); }

.btn:active {
  background: var(--accent-press);
  transform: translateY(1px);
}

.page-landing a.btn--ghost,
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: rgb(244 239 230 / 90%);
  font-weight: 500;
}

.page-landing a.btn--ghost:hover,
.btn--ghost:hover {
  background: transparent;
  border-color: rgb(198 160 102 / 60%);
  color: var(--accent);
}

.btn--block { width: 100%; }

.header-join { display: none; min-height: 44px; padding: 10px 20px; }

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header) + 48px) 0 64px;
}

.hero__glow {
  position: absolute;
  top: -8rem;
  inset-inline-end: -10%;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: rgb(198 160 102 / 10%);
  filter: blur(64px);
  pointer-events: none;
}

.wrap {
  position: relative;
  width: min(100% - 48px, var(--page));
  margin-inline: auto;
}

.hero__grid {
  display: grid;
  align-items: center;
  gap: 56px;
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
}

.hero h1 span { color: var(--accent); }

.hero__copy {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  color: rgb(244 239 230 / 80%);
  font-size: 17px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.hero__fine,
.fine {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.hero__fine { margin-top: 24px; }

/* Hero price anchor: price + comparison above the legal fine print */
.hero__price {
  margin-top: 32px;
  padding-inline-start: 16px;
  border-inline-start: 3px solid var(--accent);
}

.hero__price-amount {
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.hero__price-amount strong {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1;
}

.hero__price-compare {
  margin-top: 8px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.hero__price + .hero__fine { margin-top: 16px; }

.portrait { position: relative; }

.portrait__frame {
  position: relative;
  border: 1px solid rgb(244 239 230 / 16%);
  background: var(--card);
}

.portrait img {
  display: block;
  width: 100%;
  height: 26rem;
  object-fit: cover;
  object-position: center 12%;
}

.portrait__cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 64px 24px 24px;
  background: linear-gradient(to top, var(--bg), rgb(28 24 20 / 70%), transparent);
}

.portrait__cap p:first-child {
  font-family: var(--font-display);
  font-size: 18px;
}

.portrait__cap .eyebrow { margin-top: 4px; }

.corner {
  position: absolute;
  width: 64px;
  height: 64px;
  pointer-events: none;
  border-color: rgb(198 160 102 / 50%);
  border-style: solid;
}

.corner--tr {
  top: -12px;
  inset-inline-start: -12px;
  border-width: 1px 1px 0 0;
}

.corner--bl {
  bottom: -12px;
  inset-inline-end: -12px;
  border-width: 0 0 1px 1px;
}

/* Trust */

.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100% - 48px, var(--page));
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
}

.trust + .section { border-top: 0; }

.trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: rgb(244 239 230 / 85%);
}

.trust li:nth-last-child(-n + 1) { border-bottom: 0; }

.trust svg {
  width: 16px;
  height: 16px;
  flex: none;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
}

/* Sections */

.section {
  border-top: 1px solid var(--line);
  padding: 80px 0;
}

.section__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.section__label .eyebrow { letter-spacing: 0.3em; }

.section__rule {
  width: 40px;
  height: 1px;
  background: var(--line);
}

.section__name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.section h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.prose {
  display: grid;
  gap: 20px;
  margin-top: 32px;
  color: rgb(244 239 230 / 80%);
  font-size: 16px;
}

.split {
  display: grid;
  gap: 56px;
}

.pull {
  margin: 40px 0 0;
  padding-inline-start: 24px;
  border-inline-start: 2px solid var(--accent);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.45;
}

.facts { border-top: 1px solid var(--line); }

.facts div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.35;
}

.note {
  margin-top: 32px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.channels { margin-top: 32px; }

.channels__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.channels ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.channels a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  transition: border-color 80ms linear, color 80ms linear, background-color 80ms linear;
}

.channels a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.channels a:active { background: rgb(198 160 102 / 12%); }

.channels svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linejoin: round;
  stroke-linecap: round;
}

/* Video intro (#academy): click-to-play facade over a native <video> */

.section__mark {
  width: 0;
  height: 0;
  border-block: 5px solid transparent;
  border-left: 8px solid var(--accent); /* physical: a play mark points right in RTL too */
}

.film {
  position: relative;
  margin-top: 48px;
}

.film__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgb(244 239 230 / 16%);
  background: var(--card);
}

.film__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.film__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: linear-gradient(to top, rgb(28 24 20 / 0%) 60%, rgb(28 24 20 / 45%));
  color: var(--on-accent);
  cursor: pointer;
}

.film__play[hidden] { display: none; }

.film__icon {
  display: grid;
  place-items: center;
  width: clamp(64px, 9vw, 96px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 10px rgb(198 160 102 / 22%);
  transition: background-color 80ms linear, transform 200ms var(--ease);
}

.film__icon svg {
  width: 42%;
  height: 42%;
  fill: currentColor;
  transform: translateX(6%);
}

.film__play:hover .film__icon { background: var(--accent-hover); }

.film__play:focus-visible { outline: 0; }

.film__play:focus-visible .film__icon {
  outline: 2px solid var(--text);
  outline-offset: 14px;
}

.film__time {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  padding: 6px 12px;
  border: 1px solid rgb(198 160 102 / 50%);
  background: rgb(28 24 20 / 78%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.film__cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

@media (prefers-reduced-motion: no-preference) {
  .film__play:hover .film__icon { transform: scale(1.06); }
}

.gold-line {
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--accent);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  border: 1px solid var(--line);
  padding: 8px 16px;
  font-size: 14px;
  color: rgb(244 239 230 / 75%);
}

.chart {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 24px;
}

.chart svg { display: block; width: 100%; height: auto; }

.chart figcaption {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.lead {
  max-width: 46rem;
  margin-top: 24px;
  color: rgb(244 239 230 / 80%);
  font-size: 16px;
}

.rooms,
.steps {
  display: grid;
  gap: 1px;
  margin-top: 56px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.room,
.step {
  height: 100%;
  padding: 32px;
  background: var(--bg);
}

.room svg,
.step-icon {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
}

.room h3,
.step h3 {
  margin-top: 24px;
  font-size: 1.5rem;
}

.room p,
.step p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.step__n {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent);
}

.band {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  border: 1px solid rgb(198 160 102 / 30%);
  background: rgb(198 160 102 / 4%);
  padding: 32px;
}

.band p {
  color: rgb(244 239 230 / 85%);
  font-size: 14px;
  line-height: 1.65;
}

.band a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.checks {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.65;
  color: rgb(244 239 230 / 85%);
}

.checks li + li { margin-top: 20px; }

.checks svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex: none;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
}

.checks--muted li { color: var(--muted); }

.checks--muted svg { stroke: var(--muted); }

.house {
  margin-top: 40px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 24px;
}

.house h3 { margin-bottom: 16px; }

.house p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.quotes {
  display: grid;
  gap: 1px;
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.quote {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 32px;
  background: var(--bg);
}

.quote svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
}

.quote blockquote {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.55;
}

.quote figcaption {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* Pricing */

.pricing {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding: 80px 0;
}

.price-card {
  max-width: 40rem;
  margin-inline: auto;
  border: 1px solid var(--line);
  background: var(--card);
}

.price-card__head {
  padding: 48px 32px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.page-landing h2.price-card__title {
  font-size: clamp(1.5rem, 2.6vw, 1.85rem);
  line-height: 1.25;
  color: var(--accent);
}

.price-card__amount {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.price-card__amount strong {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
}

.price-card__amount span {
  padding-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
}

.price-card__head p { margin-top: 12px; color: var(--muted); font-size: 14px; }

.price-card__body { padding: 32px; }

.price-card .btn { margin-top: 40px; }

.price-card .fine { margin-top: 32px; text-align: center; }

/* FAQ */

.faq-grid {
  display: grid;
  gap: 48px;
}

.faq-intro p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding-block: 16px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-inline-end: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 160ms var(--ease);
}

.faq details[open] summary::after { transform: rotate(225deg); }

.faq details p {
  padding-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Wallet */

.wallet {
  display: grid;
  gap: 40px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 32px;
}

.wallet h2 { margin-top: 24px; font-size: clamp(1.8rem, 3vw, 2.4rem); }

.wallet > div > svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
}

.wallet__code {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 24px;
}

.copy-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid rgb(198 160 102 / 40%);
  background: transparent;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: border-color 80ms linear;
}

.copy-btn:hover { border-color: var(--accent); }

.copy-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.75; }

.wallet__code .fine { margin-top: 12px; }

.wallet__code .btn { margin-top: 24px; }

/* Final */

.final {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding: 96px 0 112px;
  text-align: center;
}

.final h2 {
  max-width: 16ch;
  margin: 24px auto 0;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.final .lead { margin-inline: auto; }

.final .btn { margin-top: 40px; }

.final .fine { max-width: 36rem; margin: 24px auto 0; }

/* Footer */

.site-foot {
  border-top: 1px solid var(--line);
  background: var(--card);
}

.site-foot__grid {
  display: grid;
  gap: 48px;
  max-width: var(--page);
  margin-inline: auto;
  padding: 64px 24px;
}

.site-foot__brand p {
  max-width: 24rem;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.site-foot h3 { margin-bottom: 20px; }

.site-foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-foot li + li { margin-top: 12px; }

.site-foot a {
  color: rgb(244 239 230 / 80%);
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 80ms linear, text-decoration-color 80ms linear;
}

.site-foot a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.site-foot__legal {
  border-top: 1px solid var(--line);
}

.site-foot__legal .wrap {
  display: grid;
  gap: 12px;
  width: min(100% - 48px, var(--page));
  padding-block: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.site-foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-foot__links a { font-size: 12px; }

/* Dock: mobile only, while the header join button is hidden */

.join-dock {
  position: fixed;
  z-index: 40;
  /* End side clears the 56px icon-only accessibility chip (a11y-widget.css, same edge offset) + 8px gap */
  inset-inline: 12px calc(max(12px, env(safe-area-inset-left)) + 56px + 8px);
  bottom: max(10px, env(safe-area-inset-bottom));
  display: flex;
}

.join-dock.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-landing { padding-bottom: 0; }

/* Reveal: hidden only after JS marks it, so no-JS stays readable */

.will-reveal {
  opacity: 0;
  transform: translateY(22px);
}

.will-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

@media (min-width: 640px) {
  .hero__actions { flex-direction: row; align-items: center; }
  .film__cta { align-items: flex-start; }
  .header-join { display: inline-flex; }
  .join-dock { display: none; }
  .portrait img { height: 34rem; }
  .trust { grid-template-columns: repeat(3, 1fr); }
  .trust li:nth-child(5) { grid-column: 1 / -1; }
  .rooms { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .facts div { flex-direction: row; align-items: baseline; gap: 32px; }
  .facts dt { width: 6rem; flex: none; }
  .facts dd { flex: 1; min-width: 0; }
  .price-card__head,
  .price-card__body,
  .chart,
  .wallet { padding: 48px; }
  .mark__text { display: block; }
}

@media (max-width: 639px) {
  .mark__text { display: none; }
  .page-landing main { padding-bottom: 84px; }
  .trust li:last-child { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .site-nav { display: flex; }
  .menu-toggle { display: none; }
  .header-price { display: block; }
  .hero { padding-bottom: 96px; }
  .hero__grid,
  .split,
  .faq-grid { grid-template-columns: 1.05fr 0.95fr; }
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
  .fit-grid { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .wallet { grid-template-columns: 1.2fr 0.8fr; }
  .trust {
    grid-template-columns: repeat(5, 1fr);
  }
  .trust li:nth-child(5) { grid-column: auto; }
  .trust li {
    border-bottom: 0;
    border-inline-start: 1px solid var(--line);
  }
  .trust li:first-child { border-inline-start: 0; }
  .section,
  .pricing { padding: 112px 0; }
  .site-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-foot__legal .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .trust li:nth-child(odd) { border-inline-end: 1px solid var(--line); }
  .trust li:nth-child(3),
  .trust li:nth-child(5) { border-inline-end: 0; }
  .split,
  .fit-grid { grid-template-columns: 1fr; }
}

/* Legal and policy pages. Same chrome as the landing page, narrower reading column. */

.page-doc {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-doc main { flex: 1; }

.doc {
  padding: calc(var(--header) + 48px) 0 80px;
}

.doc__sheet {
  width: min(100% - 48px, 46rem);
  margin-inline: auto;
}

.doc__back {
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc__back:hover { color: var(--accent); }

.doc__sheet h1 {
  margin-top: 20px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
}

.doc__prose {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  color: rgb(244 239 230 / 82%);
  font-size: 17px;
  line-height: 1.7;
}

.doc__prose h2 {
  margin-top: 20px;
  font-size: 1.55rem;
  line-height: 1.3;
}

.doc__prose ul {
  margin: 0;
  padding-inline-start: 1.25em;
}

.doc__prose li + li { margin-top: 8px; }

.doc__prose strong { color: var(--text); font-weight: 600; }

.page-doc .doc__prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-doc .doc__prose a:hover { color: var(--accent-hover); }

.doc-updated {
  color: var(--muted);
  font-size: 14px;
}

.site-foot__links a[aria-current="page"] { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .page-landing *,
  .page-landing *::before,
  .page-landing *::after {
    animation: none !important;
    transition: none !important;
  }
  .will-reveal { opacity: 1; transform: none; }
}
