/* Heliome site. The layout and look come from Wayan's "home advocate" site;
   colors and fonts are in tokens.css. */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.45;
  font-synthesis: none;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
p, h1, h2, h3, h4 { margin: 0; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.035em; }
h2 { font-size: 32px; font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; }
p { line-height: 1.42; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.container { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }

/* ---------- Shared pieces ---------- */

/* Icons are line drawings, defined once per page in the .svg-library sprite */
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
svg {
  width: 28px; height: 28px;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}

.skip { position: absolute; left: 20px; top: -80px; z-index: 10; background: var(--white); padding: 12px; }
.skip:focus { top: 10px; }

/* Brand — the house mark beside the Lora wordmark */
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font: 700 34px/1 var(--font-brand);
  letter-spacing: -1.2px;
  white-space: nowrap;
}
.brand svg { width: 31px; height: 31px; stroke: var(--pine-700); stroke-width: 2.7; }

/* Button — pine by default; .dark is the header's, .outline the invite band's */
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 24px;
  background: var(--pine-700);
  color: var(--white);
  border: 1px solid var(--pine-700);
  border-radius: 9px;
  padding: 12px 24px;
  font-weight: 600; font-size: 18px; line-height: 1.2;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.button:hover { background: var(--pine-900); transform: translateY(-1px); }
.button:disabled { opacity: .6; cursor: default; transform: none; }
.button .arrow { width: 24px; height: 24px; stroke-width: 1.9; flex-shrink: 0; }
.button.dark {
  background: var(--pine-900); border-color: var(--pine-900);
  font-size: 14px; padding: 13px 21px; border-radius: 6px;
}
.button.dark:hover { background: var(--pine-700); border-color: var(--pine-700); }
.button.outline { background: transparent; color: var(--pine-700); }
.button.outline:hover { background: var(--mint-hover); }

.text-link {
  border: 0; background: none; padding: 0;
  color: var(--link);
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.fine { font-size: 14px; line-height: 1.35; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px; font-weight: 700;
  color: var(--pine-700);
  margin-bottom: 15px;
}

/* Handwritten note, tilted */
.handwritten {
  font-family: var(--font-hand);
  font-size: 27px; line-height: 1.02;
  transform: rotate(-10deg);
  text-align: center;
}

/* ---------- Header ---------- */

.header { background: var(--white); }
.header-inner { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.header nav { display: flex; gap: 28px; font-size: 14px; }
.header nav a:hover, .footer a:hover { color: var(--pine-700); text-decoration: underline; text-underline-offset: 5px; }
nav a[aria-current="page"] {
  color: var(--pine-700); font-weight: 700;
  text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px;
}
/* The hamburger and its menu only appear on narrow screens (see below) */
.menu-toggle { display: none; }

/* ---------- Hero (home page) ---------- */

.hero { position: relative; overflow: hidden; min-height: 370px; background: var(--paper-warm); }
.hero-inner { position: relative; display: flex; min-height: 370px; align-items: center; }
.hero-copy { padding: 24px 0 30px; position: relative; z-index: 2; max-width: 660px; }
.hero h1 { font-family: var(--font-brand); font-size: 49px; line-height: 1.02; letter-spacing: -2.1px; font-weight: 700; }
.hero-copy > p:not(.fine) { font-size: 19px; margin: 15px 0; }
.hero-copy .fine { margin-top: 10px; }

/* The photo fills the right half and fades into the paper on its left edge */
.hero-scene { position: absolute; right: 0; top: 0; height: 100%; width: 50%; overflow: hidden; }
.hero-scene img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.hero-scene::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--paper-warm) 0%, rgba(248, 245, 240, .4) 14%, transparent 37%);
}
/* The handwritten note is centered in the space between the headline and
   the point where the photo has faded in. --photo-start is how far right of
   the container's middle that point is: the photo's left edge sits at (or a
   few vw past) the middle, and its fade takes about another 6vw. */
.hero-inner { container-type: inline-size; --photo-start: 6vw; }
.hero-title { position: relative; width: fit-content; }
.hero-note {
  position: absolute; top: 0; left: 100%;
  width: calc(50cqw + var(--photo-start) - 100%);
  min-width: max-content;
  font-size: 25px;
  /* A paper-colored glow, for where the note overlaps the photo's faded edge */
  text-shadow: 0 0 6px var(--paper-warm), 0 0 14px var(--paper-warm);
}

/* ---------- Examples ---------- */

.section { padding-block: 26px; }
.section-heading { margin-bottom: 18px; }
.section-heading p { font-size: 18px; margin-top: 6px; }

.example-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.example-photo {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 5 / 3; object-fit: cover;
  border-radius: 9px;
  background: var(--paper-deep);
}
.example-grid h3 { margin: 11px 0 5px; }
.example-grid p { font-size: 16px; line-height: 1.38; }

/* ---------- "They have systems" ---------- */

.systems { background: var(--paper); padding: 25px 0; }
.systems-grid { display: grid; grid-template-columns: 1.38fr 1fr 1px 1fr; gap: 30px; align-items: stretch; }
.systems-copy { padding: 6px 5px 0 0; }
.systems-copy h2 { font-size: 37px; line-height: 1.04; }
.systems-copy p { margin-top: 15px; font-size: 17px; max-width: 405px; }
.systems-copy strong { font-size: 16px; font-weight: 600; }

.system-card { padding: 20px 24px; border-radius: 12px; }
.theirs { background: var(--blue); }
.yours { background: var(--mint); }
.system-card h3 { margin-bottom: 13px; }
.system-card .brand { font-size: 31px; margin-bottom: 2px; }
.system-card .brand svg { width: 32px; height: 32px; }
.system-card ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 17px; }
.system-card li { display: flex; gap: 13px; align-items: center; font-size: 14px; line-height: 1.3; }
.system-card li svg { flex: 0 0 23px; width: 23px; height: 23px; }
.theirs ul { margin-top: 20px; }
.yours ul { gap: 12px; margin-top: 14px; }
.check {
  display: grid; place-items: center; flex-shrink: 0;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--pine-700); color: var(--white);
}
.system-card .check svg { flex: none; width: 12px; height: 12px; stroke-width: 3.6; }

/* The line between the two cards, with a balance-scale badge at its middle */
.divider { background: var(--line-strong); position: relative; }
.divider span {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: var(--paper);
  color: var(--pine-700);
}
.divider svg { width: 22px; height: 22px; stroke-width: 2.2; }

/* ---------- Values ---------- */

.values { text-align: center; }
.values > p { margin-top: 7px; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 22px; }
.value-grid svg { width: 43px; height: 43px; stroke-width: 1.7; margin-bottom: 7px; }
.value-grid h3 { font-size: 18px; margin-bottom: 8px; }
.value-grid p { font-size: 16px; line-height: 1.35; }
.value-link { display: inline-block; margin-top: 8px; }

/* ---------- "A calmer home" band ---------- */

.calm {
  display: grid; grid-template-columns: minmax(250px, 33%) minmax(400px, 1fr) 15%;
  align-items: center;
  position: relative;
  min-height: 225px;
  background: var(--paper);
  /* The tilted note's corner would otherwise poke past the right edge */
  overflow: hidden;
}
.calm-photo { position: relative; align-self: stretch; min-height: 225px; overflow: hidden; }
/* When the cell is taller than the photo, keep the right-hand side (the dog) in view */
.calm-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% top; }
.calm-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 80%, var(--paper)); }
.calm-copy { padding: 20px 20px 20px 35px; max-width: 650px; }
.calm-copy h2 { font-size: 29px; }
.calm-copy > p:not(.fine) { font-size: 17px; margin: 7px 0 12px; }
.calm-copy .button { font-size: 17px; padding: 10px 21px; }
.calm-copy .fine { margin-top: 8px; }
.calm-note { font-size: 27px; padding-right: 24px; }

/* ---------- Invite band ---------- */

.invite { background: var(--mint); padding: 20px 0; }
.invite-inner { display: flex; gap: 23px; align-items: center; }
.invite-inner > svg { width: 52px; height: 52px; stroke: var(--pine-700); flex-shrink: 0; }
.invite h3 { font-size: 18px; }
.invite p { font-size: 15px; margin-top: 5px; }
.invite .button { margin-left: auto; font-size: 14px; padding: 12px 21px; white-space: nowrap; }

/* ---------- Footer ---------- */

.footer { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; padding-top: 26px; padding-bottom: 20px; }
.footer .brand { font-size: 32px; }
.footer > p:not(.development) { font-size: 14px; }
.footer nav { display: flex; gap: 25px; margin-left: auto; font-size: 14px; }
.development { width: 100%; padding-top: 5px; font-size: 12px; color: var(--ink-secondary); }

/* ---------- Interior pages (about, privacy) ---------- */

.interior-hero { background: var(--paper); padding: 64px 0; }
.interior-hero h1 { font: 700 clamp(36px, 4.5vw, 57px)/1.08 var(--font-brand); letter-spacing: -1.8px; }
.interior-hero .lead { font-size: 20px; max-width: 640px; margin-top: 24px; line-height: 1.5; }
.hero-caption { font-size: 14px; margin-top: 25px; color: var(--ink-secondary); }

/* Closing band — a last call to action above the footer */
.closing-band { background: var(--mint); padding: 36px 0; }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: 45px; }
.closing-inner h2 { font-size: 30px; }
.closing-inner p { margin-top: 12px; max-width: 660px; font-size: 17px; }
.closing-actions { display: flex; flex-direction: column; gap: 16px; align-items: center; flex-shrink: 0; }
.closing-actions .button { font-size: 16px; }
.contact-email { display: inline-block; margin-top: 16px; font-size: 24px; font-weight: 600; color: var(--link); letter-spacing: -.02em; }
.contact-email:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- About page ---------- */

.privacy-prose a, .privacy-summaries a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }

/* The team — one card per founder, inside the About page's title band */
.about-intro { padding-bottom: 60px; }
/* With no photo beside it, the lead can run the full width */
.about-intro .lead { max-width: none; }
.bio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; margin-top: 44px; }
.bio-grid article { padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; align-items: flex-start; }
.bio-photo {
  width: 89px; height: 89px;
  margin-bottom: 23px;
  border-radius: 50%;
  border: 6px solid var(--mint);
  object-fit: cover;
  background: var(--paper-deep);
}
.bio-grid h3 { font-size: 23px; letter-spacing: -.035em; }
.bio-grid .role { font-size: 14px; color: var(--pine-700); font-weight: 600; margin: 7px 0 17px; }
.bio-grid p:not(.role) { font-size: 16px; line-height: 1.6; margin-bottom: 15px; }
.bio-grid .text-link { margin-top: auto; padding-top: 7px; }

/* ---------- Privacy page ---------- */

.privacy-hero { background: linear-gradient(115deg, var(--paper-warm) 30%, var(--mint)); padding-block: 55px; }
.privacy-hero .lead { max-width: 720px; }

/* Three at-a-glance points above the policy itself */
.privacy-summaries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-block: 35px; border-bottom: 1px solid var(--line); }
.privacy-summaries article { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; }
.privacy-summaries svg { grid-row: 1 / 3; stroke: var(--pine-700); height: 32px; width: 32px; margin-top: 2px; }
.privacy-summaries h2 { font-size: 21px; margin-bottom: 9px; }
.privacy-summaries p { font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }

/* Section list on the left, the policy on the right */
.privacy-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 75px; padding-block: 52px 65px; align-items: start; }
.privacy-toc { position: sticky; top: 30px; }
.privacy-toc nav { display: flex; flex-direction: column; gap: 15px; font-size: 15px; }
.privacy-toc nav a:hover { text-decoration: underline; color: var(--pine-700); }
.privacy-prose { max-width: 780px; }
.privacy-prose section + section { margin-top: 38px; padding-top: 35px; border-top: 1px solid var(--line); }
.privacy-prose h2 { font-size: 29px; margin-bottom: 17px; }
.privacy-prose p, .privacy-prose li { font-size: 17px; line-height: 1.7; }
.privacy-prose p + p { margin-top: 16px; }
.privacy-prose ul { margin: 0 0 16px; padding-left: 22px; }
.privacy-prose li + li { margin-top: 8px; }
.privacy-prose .colophon { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-secondary); }

/* ---------- Waitlist dialog (opened by every "founding household" button) ---------- */

.waitlist-dialog {
  width: min(500px, calc(100vw - 36px));
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(30, 42, 36, .28);
}
.waitlist-dialog::backdrop { background: rgba(30, 42, 36, .45); }
.waitlist-dialog__inner { position: relative; padding: 32px 34px 34px; }
.waitlist-dialog__title { font-size: 28px; margin-bottom: 10px; padding-right: 24px; }
.waitlist-dialog__body { font-size: 16px; margin-bottom: 22px; text-wrap: pretty; }
.waitlist-dialog__close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  border: none; border-radius: 50%;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 24px; line-height: 1;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.waitlist-dialog__close:hover { background: var(--paper); color: var(--ink); }
.waitlist-dialog__close:focus-visible { outline-offset: 0; }

.waitlist__form {
  display: flex; gap: 10px; align-items: center;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 6px 6px 6px 16px;
  margin: 0;
}
.waitlist__form:focus-within { border-color: var(--pine-700); box-shadow: 0 0 0 3px rgba(46, 74, 60, .18); }
.waitlist__input {
  flex: 1; min-width: 0;
  border: none; outline: none; background: transparent;
  font: inherit; color: var(--ink);
  padding: 0;
}
.waitlist__input::placeholder { color: var(--ink-secondary); opacity: .75; }
.waitlist__form .button { gap: 0; font-size: 15px; padding: 10px 18px; white-space: nowrap; }
.waitlist__form .button:hover { transform: none; }
.waitlist__joined { background: var(--mint); border-radius: 9px; padding: 14px 18px; font-weight: 600; }
.waitlist__error { margin-top: 10px; font-size: 14px; color: var(--concern); }
/* Honeypot — never shown to people; bots that fill it are ignored server-side */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Wide screens ---------- */

@media (min-width: 1450px) {
  .hero-scene { width: 49%; }
  .hero-inner { min-height: 410px; --photo-start: 7vw; }
}

/* ---------- Narrower desktops ---------- */

@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  .header nav { gap: 20px; }
  .brand { font-size: 30px; }
  .button.dark { font-size: 13px; }
  .hero, .hero-inner { min-height: 340px; }
  .hero h1 { font-size: 44px; }
  .hero-copy > p:not(.fine) { font-size: 17px; }
  .hero-scene { width: 47%; }
  .hero-inner { --photo-start: 9vw; }
  .example-grid { gap: 22px; }
  .systems-grid { gap: 25px; grid-template-columns: 1.4fr 1fr 1px 1fr; }
  .system-card { padding: 19px 20px; }
  .systems-copy h2 { font-size: 33px; }
  .systems-copy p { font-size: 16px; }
  .system-card li { font-size: 13px; gap: 10px; }
  .calm { grid-template-columns: 33% 1fr 14%; }
  .calm-copy { padding-left: 28px; }
  .calm-copy h2 { font-size: 26px; }
  .calm-copy > p:not(.fine) { font-size: 16px; }
  .calm-note { font-size: 25px; }
  .footer { gap: 25px; }
  .footer nav { gap: 20px; }
}

@media (max-width: 1000px) {
  /* No room left between the headline and the photo */
  .hero-note { display: none; }
  .bio-grid { gap: 20px; }
  .bio-grid article { padding: 22px; }
  .privacy-layout { gap: 45px; grid-template-columns: 205px minmax(0, 1fr); }
  .closing-inner { gap: 30px; }
  .closing-actions .button { max-width: 275px; text-align: center; }
  .privacy-summaries { gap: 20px; }
}

/* ---------- Tablets: the nav collapses behind the hamburger ---------- */

@media (max-width: 850px) {
  .container { width: calc(100% - 40px); }
  .header-inner { height: 68px; }
  .header-inner nav, .header-cta { display: none; }
  .menu-toggle { display: grid; gap: 5px; padding: 10px; background: none; border: 0; cursor: pointer; }
  .menu-toggle span { height: 2px; width: 23px; background: var(--ink); }
  .header .mobile-nav { flex-direction: column; gap: 0; padding: 0 20px 15px; }
  .mobile-nav a { padding: 12px 4px; border-top: 1px solid var(--line); }
  .hero h1 { font-size: 40px; }
  .hero-copy { max-width: 520px; }
  .hero-copy > p:not(.fine) { font-size: 16px; }
  .hero-scene { width: 44%; opacity: .6; }
  .hero-scene::after { background: linear-gradient(90deg, var(--paper-warm), rgba(248, 245, 240, .2)); }
  .hero, .hero-inner { min-height: 345px; }
  .section-heading p { font-size: 17px; }
  .example-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
  .systems-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .systems-copy { grid-column: 1 / -1; }
  .systems-copy p { max-width: 100%; }
  .divider { display: none; }
  .system-card { padding: 24px; }
  .system-card li { font-size: 15px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .values { padding-block: 30px; }
  .calm { grid-template-columns: 34% 1fr; }
  .calm-note { display: none; }
  .calm-photo { min-height: 285px; }
  .calm-copy { padding: 25px; }
  .invite-inner { flex-wrap: wrap; gap: 15px; }
  .invite-inner > div { flex: 1; }
  .invite .button { margin-left: 67px; }
  .footer nav { margin-left: 0; }
}

@media (min-width: 851px) {
  .mobile-nav { display: none !important; }
}

@media (max-width: 760px) {
  .interior-hero { padding: 38px 0; }
  .interior-hero h1 { font-size: 42px; }
  .interior-hero .lead { font-size: 18px; margin-top: 18px; }
  .hero-caption { font-size: 13px; max-width: 330px; }
  .about-intro { padding-bottom: 40px; }
  .bio-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 30px; }
  .bio-grid article { padding: 28px; }
  .bio-photo { width: 78px; height: 78px; margin-bottom: 16px; }
  .closing-inner { align-items: flex-start; flex-direction: column; gap: 25px; }
  .closing-inner h2 { font-size: 28px; }
  .contact-email { font-size: 21px; }
  .closing-actions { align-items: flex-start; }
  .closing-actions .button { max-width: none; }
  .privacy-hero h1 { font-size: 44px; }
  .privacy-summaries { grid-template-columns: 1fr; padding-block: 27px; gap: 25px; }
  .privacy-layout { grid-template-columns: 1fr; gap: 35px; padding-block: 30px 45px; }
  .privacy-toc { position: static; }
  .privacy-toc nav { flex-direction: row; flex-wrap: wrap; gap: 12px 20px; }
  .privacy-prose h2 { font-size: 27px; }
  .privacy-prose p, .privacy-prose li { font-size: 16px; }
}

/* ---------- Phones: the hero photo drops below the copy ---------- */

@media (max-width: 540px) {
  .container { width: calc(100% - 36px); }
  h2 { font-size: 28px; }
  .brand { font-size: 29px; }
  .hero { min-height: 0; }
  .hero-inner { align-items: flex-start; min-height: 0; }
  .hero-copy { padding: 29px 0 205px; max-width: 100%; width: 100%; }
  .hero h1 { font-size: 38px; letter-spacing: -1.6px; line-height: 1.06; }
  .hero-copy > p:not(.fine) { font-size: 17px; line-height: 1.43; max-width: 370px; margin-top: 17px; }
  .desktop-break { display: none; }
  .hero .button { font-size: 16px; padding: 13px 19px; gap: 16px; }
  .hero .fine { font-size: 13px; }
  .hero-scene { top: auto; bottom: 0; left: 0; width: 100%; height: 190px; opacity: 1; }
  .hero-scene::after { background: linear-gradient(180deg, var(--paper-warm), transparent 25%); }
  .section { padding-block: 25px; }
  .section-heading p { font-size: 16px; margin-top: 9px; }
  .example-grid { gap: 23px 16px; }
  .example-grid h3 { font-size: 18px; margin-top: 10px; }
  .example-grid p { font-size: 15px; line-height: 1.4; }
  .example-photo { border-radius: 7px; }
  .systems { padding-block: 25px; }
  .systems-grid { gap: 16px; }
  .systems-copy p { margin-top: 14px; }
  .system-card { padding: 18px 14px; }
  .system-card h3 { font-size: 17px; }
  .system-card .brand { font-size: 24px; gap: 5px; }
  .system-card .brand svg { width: 26px; height: 26px; }
  .system-card li { font-size: 13px; align-items: flex-start; gap: 7px; }
  .system-card li svg { flex-basis: 20px; width: 20px; height: 20px; }
  .theirs ul { gap: 18px; }
  .yours ul { gap: 14px; }
  .check { width: 18px; height: 18px; }
  .system-card .check svg { width: 10px; height: 10px; }
  .values h2 { font-size: 27px; }
  .values > p { font-size: 16px; margin-top: 9px; }
  .value-grid { gap: 27px 15px; }
  .value-grid h3 { font-size: 17px; }
  .value-grid p { font-size: 15px; }
  .value-grid p br { display: none; }
  .calm { display: flex; flex-direction: column; align-items: stretch; }
  .calm-photo { min-height: 0; aspect-ratio: 332 / 169; }
  .calm-photo::after { background: linear-gradient(180deg, transparent 85%, var(--paper)); }
  .calm-copy { padding: 15px 22px 27px; }
  .calm-copy h2 { font-size: 28px; }
  .calm-copy > p:not(.fine) { font-size: 17px; margin-top: 12px; }
  .calm-copy .button { font-size: 16px; gap: 15px; padding: 12px 17px; }
  .calm-copy .fine { font-size: 13px; }
  .invite-inner > svg { width: 42px; height: 42px; }
  .invite h3 { font-size: 17px; }
  .invite p { font-size: 14px; }
  .invite .button { margin-left: 57px; padding: 12px 16px; gap: 15px; font-size: 13px; }
  .footer { gap: 17px; padding-top: 24px; }
  .footer > p:not(.development) { width: 100%; }
  .footer nav { flex-wrap: wrap; gap: 23px; font-size: 13px; }
  .development { margin-top: 5px; }
  .waitlist-dialog__inner { padding: 28px 22px 24px; }
  .waitlist-dialog__title { font-size: 25px; }
  /* Stack the email field above the button so neither is cramped */
  .waitlist__form { flex-direction: column; align-items: stretch; gap: 10px; padding: 0; border: 0; }
  .waitlist__form:focus-within { box-shadow: none; }
  .waitlist__input { border: 1px solid var(--line-strong); border-radius: 9px; padding: 12px 14px; }
  .waitlist__input:focus { border-color: var(--pine-700); }
  .waitlist__form .button { padding: 12px 18px; }
}

@media (max-width: 380px) {
  .interior-hero h1 { font-size: 35px; }
  .privacy-hero h1 { font-size: 40px; }
  .bio-grid article { padding: 23px; }
  .closing-actions .button { font-size: 15px; padding: 13px 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .waitlist-dialog__close { transition: none; }
  .button:hover { transform: none; }
}
