/* Native anchor travel follows platform timing; reduced motion keeps instant navigation. */
@media (prefers-reduced-motion: no-preference) {
  html.marketing-page { scroll-behavior: smooth; }
}
/* Homepage presentation; shared brand and focus tokens come from styles.css. */
.marketing-home {
  --mkt-paper: #f7f6f1;
  --mkt-ink: #222824;
  --mkt-muted: #626a65;
  --mkt-line: #d9ded8;
  background: var(--mkt-paper);
  color: var(--mkt-ink);
  font-size: 16px;
  line-height: 1.6;
}
.marketing-home ::selection { background: #dbe4ff; color: var(--mkt-ink); }
.mkt-width { width: calc(100% - 96px); max-width: 1280px; margin-inline: auto; }
.mkt-opening { position: relative; isolation: isolate; overflow: clip; }
/* A stationary reading field sits above a continuously evolving tidal surface. */
.mkt-atmosphere { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(ellipse 78% 65% at 38% 28%, rgb(247 246 241 / 98%), rgb(247 246 241 / 85%) 65%, transparent), radial-gradient(ellipse 70% 105% at 0% 28%, rgb(78 116 231 / 30%), transparent 80%), radial-gradient(ellipse 60% 75% at 85% 8%, rgb(168 120 205 / 45%), transparent 85%), radial-gradient(ellipse 70% 70% at 100% 100%, rgb(132 206 195 / 61%), transparent 85%), #ececf3; }
.mkt-tides { position: absolute; inset: auto 0 0; height: 300px; z-index: -1; pointer-events: none; overflow: clip; }
/* SVG contours carry continuous currents; CSS owns their material and layout. */
.mkt-tide-field { display: block; width: 100%; max-width: none; height: 100%; }
.mkt-tide-crest { fill: none; stroke: url(#tide-crest); stroke-width: 1.4px; vector-effect: non-scaling-stroke; }
.mkt-tide-surface--0 .mkt-tide-crest,
.mkt-tide-surface--3 .mkt-tide-crest { opacity: .45; }
.mkt-tide-currents { fill: none; stroke: url(#tide-crest); stroke-width: .75px; opacity: .3; }
.mkt-tide-currents path { vector-effect: non-scaling-stroke; }
.mkt-header { position: absolute; inset: 0 0 auto; z-index: 2; width: 100%; padding-inline: 48px; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mkt-header .brand { font-size: 28px; letter-spacing: -1.4px; gap: 6px; }
.mkt-header .brand img { width: 32px; height: 32px; }
.mkt-header .brand .brand-wordmark { width: 145px; height: 30px; }
.mkt-header .brand { gap: 10px; }
.mkt-header nav { display: flex; gap: 32px; align-items: center; flex-shrink: 0; white-space: nowrap; }
.mkt-header nav>a:not(.mkt-button) { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; }
.mkt-header nav>a:not(.mkt-button):hover { text-decoration: underline; text-underline-offset: 5px; }
.mkt-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 112px; padding: 12px 24px; border: 1px solid var(--mkt-ink); border-radius: 4px; background: var(--mkt-ink); color: white; font-size: 14px; font-weight: 600; line-height: 22px; text-decoration: none; }
.marketing-home .mkt-button { cursor: pointer; transition: background-color var(--motion-control) var(--ease-out), border-color var(--motion-control) var(--ease-out), color var(--motion-control) var(--ease-out); }
.mkt-button:hover { background: var(--action-hover); border-color: var(--action-hover); }
.mkt-button-secondary { color: var(--accent); background: var(--mkt-paper); border-color: var(--accent); }
.mkt-button-secondary:hover { color: var(--accent-hover); background: #edf1fd; border-color: var(--accent-hover); }
.mkt-actions { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 12px; }
.mkt-header .mkt-button { min-height: 44px; min-width: 96px; padding: 10px 16px; }
/* A bounded desktop opening grows naturally when text needs more room. */
.mkt-hero { position: relative; isolation: isolate; overflow: clip; display: flex; align-items: center; min-height: clamp(640px, 86svh, 1040px); padding-block: 160px 320px; text-align: left; }
.mkt-hero-content { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: clamp(40px, 4.45vw, 64px); }
.mkt-hero h1 { max-width: 720px; margin: 0; text-wrap: balance; font-family: Georgia, "Times New Roman", serif; font-size: clamp(64px, 6.4vw, 92px); font-weight: 400; line-height: 1.02; letter-spacing: -.045em; }
.mkt-hero h1 em { font-weight: inherit; letter-spacing: -.045em; }
.mkt-hero-support { margin: 0 0 5px; max-width: 490px; padding-top: 24px; border-top: 1px solid rgb(34 40 36 / 32%); }
.mkt-lede { margin: 0 0 32px; font-size: 20px; line-height: 31px; letter-spacing: -.015em; }
.mkt-product { padding-block: 112px; background: var(--surface); scroll-margin-top: 24px; }
.mkt-product-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.mkt-product-intro { max-width: 780px; }
.mkt-product-label { margin-bottom: 20px; color: var(--accent); font-size: 14px; font-weight: 600; }
.mkt-product h2, .mkt-purpose h2 { margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 3.6vw, 54px); line-height: 1.1; letter-spacing: -.035em; font-weight: 400; text-wrap: balance; }
.mkt-product-intro>p:last-child { margin: 0; color: var(--mkt-muted); font-size: 17px; line-height: 28px; max-width: 640px; }
.mkt-product-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; list-style: none; padding: 0; margin: 0; }
.mkt-product-details li { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 20px; padding-top: 24px; border-top: 1px solid var(--mkt-line); }

.mkt-product-details li:last-child { padding-bottom: 0; }
.mkt-product-index { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-style: italic; padding-top: 1px; }
.mkt-product-details h3 { font-size: 20px; line-height: 28px; letter-spacing: -.02em; margin: 0 0 8px; }
.mkt-product-details p { margin: 0; color: var(--mkt-muted); font-size: 16px; line-height: 26px; }
.mkt-invitation { padding-block: 96px; background: #edf1f4; scroll-margin-top: 24px; }
.mkt-invitation-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 100px; align-items: start; }
.mkt-invitation h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 3.6vw, 54px); line-height: 1.1; font-weight: 400; letter-spacing: -.035em; margin: 0 0 24px; text-wrap: balance; }
.mkt-invitation-intro>p:last-child { margin: 0; max-width: 480px; color: var(--mkt-muted); font-size: 17px; line-height: 28px; }
.mkt-waitlist fieldset { display: grid; gap: 20px; border-top: 1px solid var(--mkt-ink); padding-top: 28px; }
.mkt-waitlist label { color: var(--mkt-ink); font-weight: 600; }
.mkt-waitlist label span { font-weight: 400; color: var(--mkt-muted); }
.mkt-waitlist input { min-height: 48px; border: 1px solid var(--control); border-radius: 4px; font-size: 16px; line-height: 24px; }
.mkt-waitlist input:hover { border-color: var(--mkt-muted); }
.mkt-waitlist input:focus { border-color: var(--accent); outline: 3px solid var(--accent); outline-offset: 3px; box-shadow: none; }
.mkt-waitlist .mkt-button { justify-self: start; background: var(--mkt-ink); border-color: var(--mkt-ink); border-radius: 4px; min-height: 48px; }
.mkt-waitlist .mkt-button:hover:not(:disabled) { background: var(--action-hover); border-color: var(--action-hover); }
.mkt-waitlist-consent { margin: 0; color: var(--mkt-muted); font-size: 13px; line-height: 21px; }
.mkt-waitlist-status { margin: 20px 0 0; padding: 16px; border-left: 3px solid var(--accent); background: white; font-size: 15px; line-height: 24px; }
.mkt-waitlist-status[data-state="success"] { color: var(--success); border-color: var(--success); background: var(--success-bg); }
.mkt-waitlist-status[data-state="error"] { color: var(--error); border-color: var(--error); background: var(--error-bg); }
.mkt-waitlist noscript p { color: var(--error); }
.mkt-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 12px; color: var(--mkt-muted); font-size: 13px; line-height: 20px; }
.mkt-footer a { display: inline-flex; min-height: 44px; align-items: center; text-underline-offset: 4px; }
/* Product purpose remains editorial while commissioned illustration is deferred. */
.mkt-purpose { padding-block: 96px; background: #f0ede6; scroll-margin-top: 24px; }
.mkt-purpose-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 100px; }
.mkt-purpose h2 { margin-bottom: 0; max-width: 560px; }
.mkt-purpose-copy { max-width: 600px; color: #59625c; font-size: 18px; line-height: 29px; }
.mkt-purpose-copy p { margin: 0; }
.mkt-purpose-copy p + p { margin-top: 20px; }
@media (max-width: 1000px) {
  .mkt-hero { min-height: 0; padding-block: 156px 320px; }
  .mkt-invitation-layout, .mkt-purpose-layout { gap: 48px; }
  .mkt-hero h1 { font-size: clamp(56px, 7.5vw, 76px); }
  .mkt-hero-content { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 900px) {
  .mkt-product-details { gap: 24px; }

  .mkt-hero-content { grid-template-columns: 1fr; gap: 32px; }
  .mkt-hero h1 { max-width: 700px; }
  .mkt-hero-support { max-width: 550px; }
  .mkt-product, .mkt-purpose, .mkt-invitation { padding-block: 64px; }
  .mkt-invitation-layout, .mkt-purpose-layout { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  .mkt-purpose-copy { font-size: 16px; line-height: 26px; }
  .mkt-product-layout { gap: 32px; }
  .mkt-product-details { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .mkt-product-details li { grid-template-columns: 24px minmax(0, 1fr); gap: 16px; }

  .mkt-width { width: calc(100% - 48px); }
  .mkt-product, .mkt-purpose, .mkt-invitation { padding-block: 52px; }
  .mkt-product h2, .mkt-purpose h2, .mkt-invitation h2 { font-size: 34px; }
  .mkt-actions .mkt-button { padding-inline: 20px; }
  .mkt-header { padding-inline: 24px; min-height: 76px; gap: 12px; }
  .mkt-header .brand { font-size: 24px; gap: 6px; }
  .mkt-header .brand img { width: 28px; height: 28px; }
  .mkt-header .brand .brand-wordmark { width: 123px; height: 26px; }
  .mkt-header nav { gap: 16px; }
  .mkt-header .mkt-button { min-width: 80px; padding: 10px 14px; }
  .mkt-hero { padding-block: 132px 220px; }
  .mkt-hero h1 { font-size: clamp(48px, 8.4vw, 64px); line-height: 1.04; }
  .mkt-tides { height: 200px; }
  .mkt-tide-currents { display: none; }
  .mkt-hero-support { margin: 0; max-width: 530px; padding-top: 20px; }
  .mkt-lede { font-size: 18px; line-height: 28px; margin-bottom: 24px; }
  .mkt-waitlist .mkt-button { width: 100%; }
}
@media (max-width: 480px) {
  .mkt-header nav>.mkt-button[href="#waitlist"] { display: none; }
}
