/*
 * Window Seat: components
 * Built only from tokens.css. Load tokens.css first.
 */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ws-cloud);
  color: var(--ws-ink);
  font-family: var(--ws-sans);
  font-size: var(--ws-text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.ws-container { width: min(100% - 40px, var(--ws-container)); margin-inline: auto; }
.ws-narrow { width: min(100% - 40px, var(--ws-narrow)); margin-inline: auto; }

/* ---------- Type ---------- */
.ws-display, .ws-h2, .ws-h3 { font-family: var(--ws-display); font-weight: 500; margin: 0; }
.ws-display { font-size: var(--ws-text-hero); line-height: .98; letter-spacing: var(--ws-tracking-hero); }
.ws-h2 { font-size: var(--ws-text-h2); line-height: 1.02; letter-spacing: var(--ws-tracking-h2); }
.ws-h3 { font-size: var(--ws-text-h3); line-height: 1.2; letter-spacing: -.02em; }
.ws-lead { font-size: var(--ws-text-lead); line-height: 1.5; color: var(--ws-slate); margin: 0; max-width: 34em; }
.ws-accent { color: var(--ws-sky); }
.ws-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ws-mono); font-size: var(--ws-text-micro); font-weight: 500;
  letter-spacing: var(--ws-tracking-label); text-transform: uppercase; color: var(--ws-slate);
  margin: 0 0 18px;
}
.ws-eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.ws-mono { font-family: var(--ws-mono); letter-spacing: .02em; }

/* ---------- Buttons ---------- */
.ws-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: var(--ws-radius-pill);
  font-family: var(--ws-sans); font-size: 15px; font-weight: 500; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: var(--ws-outline); background: transparent; color: inherit;
  transition: background .3s var(--ws-ease), color .3s var(--ws-ease), border-color .3s var(--ws-ease);
}
.ws-btn__arrow { font-size: 14px; transition: transform .3s var(--ws-ease); }
.ws-btn:hover .ws-btn__arrow { transform: translate(2px, -2px); }
.ws-btn--sky { background: var(--ws-sky); border-color: var(--ws-sky); color: var(--ws-cream); }
.ws-btn--sky:hover { background: var(--ws-sky-deep); border-color: var(--ws-sky-deep); }
.ws-btn--cream { background: var(--ws-cream); border-color: var(--ws-cream); color: var(--ws-ink); }
.ws-btn--cream:hover { background: var(--ws-white); }
.ws-btn--outline { color: var(--ws-cream); border-color: var(--ws-sky-line); }
.ws-btn--outline:hover { border-color: var(--ws-cream); background: rgba(255, 244, 223, .08); }
.ws-btn--ink { color: var(--ws-ink); border-color: var(--ws-ink); }
.ws-btn--ink:hover { background: var(--ws-ink); color: var(--ws-cream); }
.ws-btn--sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.ws-btn--block { width: 100%; }
.ws-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Nav ---------- */
.ws-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px clamp(20px, 3.4vw, 48px);
}
.ws-nav--over { position: absolute; inset: 0 0 auto 0; z-index: 3; color: var(--ws-cream); }
.ws-nav--light { color: var(--ws-ink); }
.ws-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ws-display); font-weight: 600; font-size: 22px; letter-spacing: -.03em; text-decoration: none; }
.ws-logo__mark { width: 26px; height: 18px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; border: 2px solid currentColor; border-bottom: 0; position: relative; }
.ws-logo__mark::after { content: ""; position: absolute; left: -5px; right: -5px; bottom: 0; height: 2px; background: currentColor; }
.ws-nav__links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.ws-nav__links a { text-decoration: none; opacity: .88; }
.ws-nav__links a:hover { opacity: 1; }
.ws-nav__actions { display: flex; gap: 10px; }
@media (max-width: 860px) { .ws-nav__links { display: none; } }
@media (max-width: 520px) { .ws-nav__actions .ws-btn:first-child { display: none; } }

/* ---------- The sky frame and hero card ---------- */
.ws-sky { background: var(--ws-sky); color: var(--ws-cream); }
.ws-sky .ws-lead, .ws-sky .ws-eyebrow { color: var(--ws-cream-dim); }
.ws-frame { background: var(--ws-sky); padding: 0 var(--ws-gutter) var(--ws-gutter); }
.ws-hero {
  position: relative; overflow: hidden;
  min-height: min(92vh, 860px);
  border-radius: var(--ws-radius-hero);
  background: var(--ws-cabin); color: var(--ws-cream);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  padding: 120px 20px clamp(40px, 6vw, 80px); text-align: center;
}
.ws-hero--article { min-height: 0; align-items: stretch; text-align: left; padding: clamp(48px, 6vw, 80px) 0 clamp(48px, 6vw, 72px); }
.ws-hero .ws-lead, .ws-hero .ws-meta { color: var(--ws-cream-dim); }
.ws-hero__copy { position: relative; z-index: 2; display: grid; justify-items: center; gap: 22px; }
.ws-hero__copy .ws-lead { color: var(--ws-cream-dim); margin-inline: auto; }
.ws-hero__meta {
  position: absolute; z-index: 2; left: clamp(20px, 3.4vw, 48px); right: clamp(20px, 3.4vw, 48px); bottom: 22px;
  display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--ws-mono); font-size: var(--ws-text-micro); letter-spacing: var(--ws-tracking-label); text-transform: uppercase; color: var(--ws-cream-dim);
}
@media (max-width: 640px) { .ws-hero__meta span:nth-child(2) { display: none; } }

/* The cabin: a dark interior holding an oval window. Sits behind the hero copy. */
.ws-cabin {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(242, 168, 79, .28), transparent 70%),
    linear-gradient(180deg, var(--ws-cabin-2), var(--ws-cabin) 70%);
  display: grid; place-items: center;
}
.ws-cabin__window {
  width: min(44vw, 520px); aspect-ratio: 4 / 5; margin-top: -8vh;
  border-radius: var(--ws-radius-window); overflow: hidden;
  box-shadow: var(--ws-inset), 0 0 0 clamp(14px, 2vw, 26px) var(--ws-cabin-2), 0 0 120px 30px rgba(242, 168, 79, .25);
}
.ws-cabin__window .ws-view { height: 100%; border-radius: 0; }
.ws-cabin::after { /* floor shade so the copy stays readable */
  content: ""; position: absolute; inset: auto 0 0 0; height: 55%;
  background: linear-gradient(180deg, transparent, var(--ws-cabin) 78%);
}
@media (max-width: 640px) {
  .ws-hero { padding-top: calc(110px + 52vw * 1.25 + 24px); padding-bottom: 72px; }
  .ws-cabin { place-items: start center; padding-top: 110px; }
  .ws-cabin__window { width: 52vw; margin-top: 0; }
  .ws-hero__meta span:last-child { display: none; }
  .ws-hero--article { padding: 48px 0; }
}

/* ---------- Drawn views (sky + skyline, CSS only) ---------- */
.ws-view { position: relative; overflow: hidden; border-radius: var(--ws-radius); background: var(--ws-view-dusk); aspect-ratio: 4 / 3; }
.ws-view--dawn { background: var(--ws-view-dawn); }
.ws-view--noon { background: var(--ws-view-noon); }
.ws-view--dusk { background: var(--ws-view-dusk); }
.ws-view__sun {
  position: absolute; left: 58%; bottom: 30%; width: 22%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #fff6e2 0 38%, rgba(255, 230, 180, .5) 55%, transparent 72%);
}
.ws-view--noon .ws-view__sun { bottom: 62%; left: 20%; width: 16%; }
.ws-view--dawn .ws-view__sun { left: 24%; bottom: 26%; }
.ws-view__haze { position: absolute; inset: auto 0 18% 0; height: 22%; background: linear-gradient(180deg, transparent, rgba(255, 235, 200, .55)); }
.ws-view__far, .ws-view__near { position: absolute; left: -2%; right: -2%; bottom: 0; }
.ws-view__far {
  height: 34%; background: var(--ws-roof-far); opacity: .7;
  clip-path: polygon(0 60%, 6% 60%, 6% 30%, 11% 30%, 11% 52%, 18% 52%, 18% 18%, 22% 10%, 26% 18%, 26% 48%, 34% 48%, 34% 36%, 41% 36%, 41% 58%, 50% 58%, 50% 22%, 56% 22%, 56% 44%, 63% 44%, 63% 30%, 70% 30%, 70% 54%, 78% 54%, 78% 26%, 84% 26%, 84% 46%, 92% 46%, 92% 34%, 100% 34%, 100% 100%, 0 100%);
}
.ws-view__near {
  height: 22%; background: var(--ws-roof);
  clip-path: polygon(0 50%, 8% 20%, 16% 50%, 16% 34%, 24% 34%, 24% 56%, 30% 56%, 38% 24%, 46% 56%, 52% 56%, 52% 40%, 60% 40%, 60% 60%, 66% 60%, 74% 28%, 82% 60%, 88% 60%, 88% 42%, 100% 42%, 100% 100%, 0 100%);
}
.ws-view--noon .ws-view__far { background: #7d8ba3; }
.ws-view--noon .ws-view__near { background: #39465c; }

/* ---------- Sections ---------- */
.ws-section { padding-block: var(--ws-section); }
.ws-section--white { background: var(--ws-white); }
.ws-section--sky { background: var(--ws-sky); color: var(--ws-cream); }
.ws-section--sky .ws-lead, .ws-section--sky .ws-eyebrow { color: var(--ws-cream-dim); }
.ws-section--sky .ws-accent { color: var(--ws-haze); }
.ws-section--cabin { background: var(--ws-cabin); color: var(--ws-cream); }
.ws-section--cabin .ws-lead, .ws-section--cabin .ws-eyebrow { color: var(--ws-cream-dim); }
.ws-section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.ws-section-head--split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; }
@media (max-width: 820px) { .ws-section-head--split { grid-template-columns: 1fr; gap: 18px; } }

/* A curved hand-off between sections: the next surface rises with a deep curve */
.ws-curve-top { border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; margin-top: calc(-1 * clamp(28px, 4vw, 56px)); position: relative; }

/* ---------- Chips and badges ---------- */
.ws-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px;
  border-radius: var(--ws-radius-pill); background: var(--ws-sky-soft); color: var(--ws-sky-deep);
  font-family: var(--ws-mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; white-space: nowrap;
}
.ws-chip--cream { background: rgba(255, 244, 223, .14); color: var(--ws-cream); }
.ws-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ws-green); }

/* ---------- Route steps (01 / 02 / 03) ---------- */
.ws-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid currentColor; }
.ws-step { padding: 26px 28px 8px 0; display: grid; gap: 12px; position: relative; }
.ws-step::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: currentColor; }
.ws-step__num { font-family: var(--ws-mono); font-size: var(--ws-text-small); letter-spacing: var(--ws-tracking-label); opacity: .7; }
.ws-step__text { margin: 0; opacity: .8; }
@media (max-width: 760px) {
  .ws-steps { grid-template-columns: 1fr; border-top: 0; border-left: 1.5px solid currentColor; }
  .ws-step { padding: 0 0 32px 28px; }
  .ws-step::before { top: 6px; left: -6px; }
}

/* ---------- Cards ---------- */
.ws-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.ws-card { background: var(--ws-white); border-radius: var(--ws-radius-lg); padding: 14px 14px 28px; display: grid; gap: 14px; align-content: start; }
.ws-card .ws-view { border-radius: calc(var(--ws-radius-lg) - 10px); }
.ws-card__title { font-family: var(--ws-display); font-weight: 500; font-size: 24px; letter-spacing: -.025em; line-height: 1.15; margin: 8px 12px 0; }
.ws-card__text { margin: 0 12px; color: var(--ws-slate); }
.ws-card--cloud { background: var(--ws-cloud); }

/* ---------- Window gallery (three oval windows in a row, like a cabin wall) ---------- */
.ws-windows { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); }
.ws-window { display: grid; gap: 16px; justify-items: center; text-align: center; }
.ws-window__frame { width: 100%; max-width: 300px; aspect-ratio: 4 / 5; border-radius: var(--ws-radius-window); overflow: hidden; box-shadow: var(--ws-inset); }
.ws-window__frame .ws-view { height: 100%; border-radius: 0; aspect-ratio: auto; }
.ws-window__label { font-family: var(--ws-mono); font-size: var(--ws-text-micro); letter-spacing: var(--ws-tracking-label); text-transform: uppercase; opacity: .75; }
@media (max-width: 640px) { .ws-windows { grid-template-columns: 1fr; } .ws-window__frame { max-width: 240px; } }

/* ---------- Stats and quote ---------- */
.ws-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px; }
.ws-stat__num { font-family: var(--ws-display); font-weight: 500; font-size: clamp(48px, 6vw, 76px); letter-spacing: -.05em; line-height: 1; }
.ws-stat__label { margin-top: 10px; opacity: .72; font-size: var(--ws-text-small); }
.ws-quote { margin: 0; display: grid; gap: 26px; }
.ws-quote__text { font-family: var(--ws-display); font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -.03em; margin: 0; }
.ws-quote__by { display: flex; align-items: center; gap: 14px; font-size: var(--ws-text-small); }
.ws-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ws-haze); color: var(--ws-cabin); font-weight: 600; flex: none; }

/* ---------- Pricing ---------- */
.ws-toggle { display: inline-flex; padding: 4px; border-radius: var(--ws-radius-pill); border: 1.5px solid var(--ws-line); background: var(--ws-white); }
.ws-toggle button { border: 0; background: none; font: inherit; font-size: 14px; font-weight: 500; padding: 9px 18px; border-radius: var(--ws-radius-pill); cursor: pointer; color: var(--ws-slate); white-space: nowrap; }
.ws-toggle button[aria-pressed="true"] { background: var(--ws-ink); color: var(--ws-cream); }
.ws-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 900px) { .ws-plans { grid-template-columns: 1fr; } }
.ws-plan { background: var(--ws-white); color: var(--ws-ink); border-radius: var(--ws-radius-lg); padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; }
.ws-plan--featured { background: var(--ws-sky); color: var(--ws-cream); box-shadow: inset 0 0 0 1.5px var(--ws-sky-line); }
.ws-plan__label { font-family: var(--ws-mono); font-size: var(--ws-text-micro); letter-spacing: var(--ws-tracking-label); text-transform: uppercase; opacity: .7; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ws-plan__name { font-family: var(--ws-display); font-size: 30px; font-weight: 500; letter-spacing: -.03em; margin: 0; }
.ws-plan__desc { margin: 0; opacity: .75; }
.ws-plan__price { font-family: var(--ws-display); font-size: 56px; letter-spacing: -.05em; line-height: 1; }
.ws-plan__price small { font-family: var(--ws-sans); font-size: 15px; letter-spacing: 0; opacity: .7; margin-left: 4px; }
.ws-plan__list { list-style: none; padding: 18px 0 0; margin: 0 0 auto; display: grid; gap: 10px; border-top: 1px solid var(--ws-line); }
.ws-plan--featured .ws-plan__list { border-color: var(--ws-sky-line); }
.ws-plan__list li { padding-left: 26px; position: relative; }
.ws-plan__list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }

.ws-table-wrap { overflow-x: auto; border-radius: var(--ws-radius); background: var(--ws-white); }
.ws-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.ws-table th, .ws-table td { padding: 16px 20px; text-align: left; border-bottom: var(--ws-border); }
.ws-table thead th { font-family: var(--ws-mono); font-size: var(--ws-text-micro); letter-spacing: var(--ws-tracking-label); text-transform: uppercase; color: var(--ws-slate); font-weight: 500; }
.ws-table tr:last-child td { border-bottom: 0; }
.ws-table__yes { color: var(--ws-sky); font-weight: 600; }
.ws-table__no { color: var(--ws-faint); }

.ws-faq { border-top: 1.5px solid var(--ws-ink); }
.ws-faq details { border-bottom: var(--ws-border); }
.ws-faq summary { list-style: none; cursor: pointer; display: block; position: relative; padding: 22px 36px 22px 0; font-family: var(--ws-display); font-size: 21px; letter-spacing: -.02em; }
.ws-faq summary::-webkit-details-marker { display: none; }
.ws-faq summary::after { content: "+"; position: absolute; right: 4px; top: 22px; font-family: var(--ws-mono); color: var(--ws-sky); transition: transform .3s var(--ws-ease); }
.ws-faq details[open] summary::after { transform: rotate(45deg); }
.ws-faq p { margin: 0 0 22px; color: var(--ws-slate); max-width: 60ch; }

/* ---------- Article ---------- */
.ws-article-head { display: grid; gap: 22px; justify-items: start; padding-top: 40px; }
.ws-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-family: var(--ws-mono); font-size: 13px; color: var(--ws-slate); }
.ws-meta span + span::before { content: "/"; margin-right: 14px; color: var(--ws-faint); }
.ws-author { display: flex; align-items: center; gap: 14px; }
.ws-author__name { font-weight: 600; }
.ws-author--card { background: var(--ws-white); border-radius: var(--ws-radius-lg); padding: 26px; align-items: flex-start; }
.ws-author--card p { margin: 4px 0 0; color: var(--ws-slate); }
.ws-cover { border-radius: var(--ws-radius-lg); overflow: hidden; }
.ws-cover .ws-view { aspect-ratio: 21 / 9; border-radius: 0; }
@media (max-width: 640px) { .ws-cover .ws-view { aspect-ratio: 4 / 3; } }

.ws-prose { font-size: 18px; line-height: 1.75; }
.ws-prose > * + * { margin-top: 1.2em; }
.ws-prose p { margin-bottom: 0; }
.ws-prose h2 { font-family: var(--ws-display); font-weight: 500; font-size: 36px; letter-spacing: -.03em; line-height: 1.1; margin: 1.8em 0 0; }
.ws-prose h3 { font-family: var(--ws-display); font-weight: 500; font-size: 24px; letter-spacing: -.02em; margin: 1.5em 0 0; }
.ws-prose a { color: var(--ws-sky); text-underline-offset: 3px; }
.ws-prose ul { padding-left: 0; list-style: none; }
.ws-prose ul li { padding-left: 28px; position: relative; margin-top: 8px; }
.ws-prose ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 14px; height: 1.5px; background: var(--ws-sky); }
.ws-prose blockquote { margin: 1.8em 0; padding: 0 0 0 26px; border-left: 3px solid var(--ws-sky); font-family: var(--ws-display); font-size: 28px; line-height: 1.25; letter-spacing: -.025em; }
.ws-prose code { font-family: var(--ws-mono); font-size: .86em; background: var(--ws-cloud-2); padding: 2px 7px; border-radius: 6px; }
.ws-prose figure { margin: 2em 0; }
.ws-prose figcaption { font-family: var(--ws-mono); font-size: 13px; color: var(--ws-slate); margin-top: 12px; }
.ws-callout { background: var(--ws-sky-soft); border-radius: var(--ws-radius); padding: 22px 24px; font-size: 16px; color: var(--ws-ink); }
.ws-callout strong { color: var(--ws-sky-deep); font-family: var(--ws-mono); font-size: 12px; letter-spacing: var(--ws-tracking-label); text-transform: uppercase; display: block; margin-bottom: 6px; }

.ws-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.ws-post { text-decoration: none; display: grid; gap: 12px; }
.ws-post .ws-view { aspect-ratio: 16 / 10; }
.ws-post__title { font-family: var(--ws-display); font-size: 22px; letter-spacing: -.02em; line-height: 1.2; margin: 0; }
.ws-post__text { margin: 0; color: var(--ws-slate); font-size: 15px; }

/* ---------- Forms ---------- */
.ws-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; background: var(--ws-sky); padding: var(--ws-gutter); gap: var(--ws-gutter); }
.ws-split__form { background: var(--ws-cloud); border-radius: var(--ws-radius-lg); display: flex; flex-direction: column; padding: 28px clamp(20px, 5vw, 72px) 40px; }
.ws-split__aside { border-radius: var(--ws-radius-lg); position: relative; overflow: hidden; color: var(--ws-cream); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 4vw, 48px); min-height: 520px; }
.ws-split__aside .ws-cabin__window { width: min(64%, 380px); margin-top: -34%; }
@media (max-width: 900px) { .ws-split { grid-template-columns: 1fr; } .ws-split__aside { min-height: 440px; } }

.ws-form { display: grid; gap: 18px; width: min(100%, 420px); }
.ws-field { display: grid; gap: 8px; }
.ws-label { font-size: 14px; font-weight: 500; }
.ws-input, .ws-select {
  width: 100%; height: 50px; padding: 0 18px; border-radius: var(--ws-radius-pill);
  border: 1.5px solid var(--ws-line); background: var(--ws-white); color: var(--ws-ink);
  font: inherit; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.ws-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ws-slate) 50%), linear-gradient(135deg, var(--ws-slate) 50%, transparent 50%); background-position: calc(100% - 24px) 50%, calc(100% - 19px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.ws-input:focus, .ws-select:focus { border-color: var(--ws-sky); box-shadow: 0 0 0 4px var(--ws-sky-soft); }
.ws-input-wrap { position: relative; }
.ws-input-wrap .ws-input { padding-right: 76px; }
.ws-input-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font: inherit; font-size: 13px; font-weight: 500; color: var(--ws-sky); padding: 8px 12px; cursor: pointer; }
.ws-help { font-size: 13px; color: var(--ws-slate); }
.ws-error { font-size: 13px; color: var(--ws-red); }
.ws-field--error .ws-input { border-color: var(--ws-red); }
.ws-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ws-slate); cursor: pointer; }
.ws-check input { appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid var(--ws-line); border-radius: 6px; background: var(--ws-white); display: grid; place-items: center; cursor: pointer; }
.ws-check input:checked { background: var(--ws-sky); border-color: var(--ws-sky); }
.ws-check input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--ws-cream); border-bottom: 2px solid var(--ws-cream); transform: rotate(-45deg) translate(1px, -1px); }
.ws-btn--social { background: var(--ws-white); border: 1.5px solid var(--ws-line); color: var(--ws-ink); }
.ws-btn--social:hover { border-color: var(--ws-ink); }
.ws-btn__letter { width: 22px; height: 22px; border-radius: 50%; background: var(--ws-cloud-2); display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.ws-divider-text { display: flex; align-items: center; gap: 14px; font-family: var(--ws-mono); font-size: 12px; letter-spacing: var(--ws-tracking-label); text-transform: uppercase; color: var(--ws-faint); }
.ws-divider-text::before, .ws-divider-text::after { content: ""; flex: 1; height: 1px; background: var(--ws-line); }

/* ---------- Boarding pass (a ticket-style summary card) ---------- */
.ws-pass { background: var(--ws-cream); color: var(--ws-ink); border-radius: var(--ws-radius); display: grid; grid-template-columns: 1fr auto; position: relative; z-index: 2; max-width: 420px; }
.ws-pass__main { padding: 20px 22px; display: grid; gap: 10px; }
.ws-pass__stub { padding: 20px 22px; border-left: 1.5px dashed var(--ws-line); display: grid; align-content: center; justify-items: center; gap: 4px; }
.ws-pass__route { display: flex; align-items: center; gap: 12px; font-family: var(--ws-display); font-size: 26px; letter-spacing: -.03em; }
.ws-pass__route i { flex: 1; height: 1.5px; min-width: 24px; background: repeating-linear-gradient(90deg, var(--ws-ink) 0 4px, transparent 4px 8px); }
.ws-pass__small { font-family: var(--ws-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ws-slate); }

/* ---------- Footer ---------- */
.ws-footer { background: var(--ws-sky); color: var(--ws-cream); padding: clamp(60px, 8vw, 100px) 0 28px; overflow: hidden; }
.ws-footer__cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.ws-footer__note { margin: 14px 0 0; max-width: 28ch; color: var(--ws-cream-dim); }
.ws-footer__cols h4 { font-family: var(--ws-mono); font-weight: 500; font-size: var(--ws-text-micro); letter-spacing: var(--ws-tracking-label); text-transform: uppercase; color: var(--ws-cream-dim); margin: 0 0 16px; }
.ws-footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ws-footer__cols a { text-decoration: none; }
.ws-footer__cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ws-footer__word { font-family: var(--ws-display); font-weight: 600; font-size: clamp(90px, 22vw, 320px); letter-spacing: -.07em; line-height: .8; margin: clamp(40px, 6vw, 80px) 0 24px; white-space: nowrap; }
.ws-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ws-cream-dim); border-top: 1px solid var(--ws-sky-line); padding-top: 22px; }
@media (max-width: 760px) { .ws-footer__cols { grid-template-columns: 1fr 1fr; } .ws-footer__cols > :first-child { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */
.ws-fade { animation: ws-rise var(--ws-slow) var(--ws-ease) both; }
.ws-fade--2 { animation-delay: .15s; }
.ws-fade--3 { animation-delay: .3s; }
@keyframes ws-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ws-fade { animation: none; } }

/* Sign-up aside on phones: the window sits on top, the pass and quote below it */
@media (max-width: 640px) {
  .ws-split__aside { padding-top: calc(40px + 44vw * 1.25 + 32px); min-height: 0; }
  .ws-split__aside .ws-cabin { padding-top: 40px; }
  .ws-split__aside .ws-cabin__window { width: 44vw; margin-top: 0; }
}
