:root {
  color-scheme: dark;
  --forest-950: #07100d;
  --forest-900: #0b1712;
  --forest-800: #12271d;
  --moss-500: #7fa66b;
  --moss-300: #b4cf9e;
  --ember-400: #d39a5b;
  --paper: #f4f1e8;
  --muted: #b8c1b9;
  --line: rgba(180, 207, 158, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { background: var(--forest-950); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 80% -10%, rgba(127, 166, 107, 0.18), transparent 34rem),
    linear-gradient(180deg, var(--forest-900), var(--forest-950));
  font-size: 1rem;
  line-height: 1.68;
}

a { color: var(--moss-300); text-underline-offset: 0.18em; }
a:hover { color: #d5e6c7; }
a:focus-visible { outline: 3px solid var(--ember-400); outline-offset: 4px; border-radius: 2px; }

.site-header,
.site-footer {
  width: min(100% - 2rem, 70rem);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--paper);
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  object-fit: cover;
}

.wordmark { color: var(--paper); font-weight: 750; }
.wordmark-iq { color: #6ddbd5; }

.beta-label {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.1rem 0.65rem;
  border: 1px solid rgba(211, 154, 91, 0.55);
  border-radius: 999px;
  color: #edc99e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

main {
  width: min(100% - 2rem, 52rem);
  margin-inline: auto;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.hero { max-width: 46rem; }

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--moss-300);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.16; }
h1 { margin: 0; font-size: clamp(2.55rem, 8vw, 4.8rem); letter-spacing: -0.035em; }
.hero-secondary { display: inline-block; margin-top: 0.08em; font-size: 0.72em; }
h2 { margin: 2.8rem 0 0.7rem; color: #e8eadf; font-size: clamp(1.35rem, 4vw, 1.75rem); }
p, li { color: var(--muted); }
.lede { max-width: 43rem; margin-top: 1.2rem; color: #d4d9d2; font-size: clamp(1.05rem, 2.8vw, 1.25rem); }
.updated { margin-top: 1.4rem; color: #909d92; font-size: 0.9rem; }

.notice {
  margin-block: 2.25rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--ember-400);
  border-radius: 0.65rem;
  background: rgba(18, 39, 29, 0.78);
  box-shadow: var(--shadow);
}

.notice strong { color: var(--paper); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.card {
  min-height: 13rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(18, 39, 29, 0.56);
  box-shadow: var(--shadow);
}

.card h2 { margin-top: 0; }
.card a { display: inline-block; min-height: 44px; padding-block: 0.55rem; font-weight: 700; }
.card-link-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; }
.card-link-card:hover { transform: translateY(-2px); border-color: rgba(109, 219, 213, 0.58); }
.card-link-card:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.card-link-card .card-link { display: block; margin-top: auto; min-height: 44px; padding-top: 0.7rem; color: var(--cyan); font-weight: 700; }

.card-featured {
  border-color: rgba(109, 219, 213, 0.38);
  background: linear-gradient(145deg, rgba(18, 56, 47, 0.92), rgba(18, 39, 29, 0.62));
}

.contact-grid .card { min-height: 16rem; }

.card-kicker,
.plan-level {
  margin: 0 0 0.35rem;
  color: #6ddbd5;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plans-main { width: min(100% - 2rem, 70rem); }
.plans-hero { max-width: 52rem; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.plan-card {
  display: flex;
  min-height: 27rem;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.35rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(18, 39, 29, 0.6);
  box-shadow: var(--shadow);
}

.plan-card-accent {
  border-color: rgba(109, 219, 213, 0.5);
  background: linear-gradient(160deg, rgba(18, 56, 47, 0.94), rgba(18, 39, 29, 0.65));
}

.plan-card h2 { margin: 0; font-size: clamp(2rem, 5vw, 2.8rem); }
.plan-tagline { margin: 0.7rem 0 1.4rem; color: #d4d9d2; }
.plan-benefits { margin: 0; padding-left: 1.25rem; }
.plan-benefits li::marker { color: #6ddbd5; }

.comparison-section { margin-top: 2.4rem; }
.comparison-heading { max-width: 48rem; margin-bottom: 1.25rem; }
.comparison-heading h2 { margin-top: 0; }
.comparison-heading p:last-child { margin-bottom: 0; }

.comparison-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(18, 39, 29, 0.62);
  box-shadow: var(--shadow);
  scrollbar-color: var(--moss-500) var(--forest-900);
}

.comparison-scroll:focus-visible {
  outline: 3px solid var(--ember-400);
  outline-offset: 4px;
}

.plan-matrix { min-width: 58rem; }

.matrix-row {
  display: grid;
  grid-template-columns: minmax(13rem, 1.5fr) repeat(4, minmax(9.5rem, 1fr));
}

.matrix-row > div {
  min-width: 0;
  padding: 0.85rem 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #d4d9d2;
  line-height: 1.35;
}

.matrix-row > div:last-child { border-right: 0; }
.matrix-row:last-child > div { border-bottom: 0; }
.matrix-row > div:first-child { color: var(--paper); font-weight: 700; }

.matrix-price-row {
  background: linear-gradient(90deg, rgba(109, 219, 213, 0.12), rgba(180, 207, 158, 0.05));
}

.matrix-price-row > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.plan-price {
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.matrix-price-row small { color: #a9b5ab; }

.matrix-head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #16362b;
}

.matrix-head > div {
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.matrix-row > div:nth-child(4) { background: rgba(109, 219, 213, 0.055); }
.matrix-head > div:nth-child(4) { background: rgba(109, 219, 213, 0.16); color: #a9efeb; }
.matrix-limit-start > div { border-top: 2px solid rgba(211, 154, 91, 0.5); }
.no { color: #87948a; }

.start-steps {
  display: grid;
  gap: 1rem;
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
}

.start-steps > li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(18, 39, 29, 0.56);
}

.step-number {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border: 1px solid rgba(109, 219, 213, 0.45);
  border-radius: 50%;
  color: #a9efeb;
  font-weight: 800;
}

.start-steps h2 { margin: 0; font-size: clamp(1.25rem, 4vw, 1.55rem); }
.start-steps p { margin: 0.45rem 0 0; }
.step-options { margin: 0.75rem 0 0.4rem; padding-left: 1.25rem; }
.step-options li { color: var(--muted); }
.step-options li::marker { color: #6ddbd5; }

.guide-links { margin-top: 3.25rem; }
.guide-links h2 { margin-top: 0; }
.guide-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; }

.guide-link-grid a {
  display: flex;
  min-height: 7.5rem;
  flex-direction: column;
  gap: 0.35rem;
  justify-content: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(18, 39, 29, 0.56);
  color: var(--paper);
  text-decoration: none;
}

.guide-link-grid a:hover { border-color: rgba(109, 219, 213, 0.45); }
.guide-link-grid span { color: var(--muted); font-size: 0.9rem; }

.faq-list { display: grid; gap: 0.8rem; margin-top: 2.4rem; }

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(18, 39, 29, 0.56);
}

.faq-list summary {
  min-height: 3.5rem;
  padding: 1rem 3rem 1rem 1.15rem;
  color: var(--paper);
  font-weight: 750;
  cursor: pointer;
}

.faq-list summary::marker { color: #6ddbd5; }
.faq-list details[open] { border-color: rgba(109, 219, 213, 0.38); }
.faq-list details p { margin: 0; padding: 0 1.15rem 1.15rem; }

.release-list { display: grid; gap: 1rem; margin-top: 2.4rem; }

.release-card,
.release-section {
  padding: clamp(1.3rem, 4vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(18, 39, 29, 0.56);
  box-shadow: var(--shadow);
}

.release-card h2,
.release-section h2 { margin-top: 0; }
.release-card ul,
.release-section ul,
.release-section ol { margin-bottom: 0; }
.release-date {
  margin: 0 0 0.35rem;
  color: #6ddbd5;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.release-section { margin-top: 1rem; }
.release-section .eyebrow { margin-bottom: 0.45rem; }

.status-summary {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2.25rem;
  padding: 1.35rem;
  border: 1px solid rgba(109, 219, 213, 0.38);
  border-radius: 0.85rem;
  background: linear-gradient(145deg, rgba(18, 56, 47, 0.92), rgba(18, 39, 29, 0.62));
  box-shadow: var(--shadow);
}
.status-summary strong { color: var(--paper); font-size: 1.1rem; }
.status-summary p { margin: 0.25rem 0 0; }
.status-dot {
  width: 0.85rem;
  height: 0.85rem;
  flex: 0 0 auto;
  margin-top: 0.38rem;
  border-radius: 50%;
  background: #6ddbd5;
  box-shadow: 0 0 0 0.32rem rgba(109, 219, 213, 0.14);
}
.status-list { display: grid; gap: 0.75rem; margin-top: 2.4rem; }
.status-row {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(18, 39, 29, 0.56);
}
.status-row h2 { margin: 0; font-family: inherit; font-size: 1.05rem; font-weight: 750; }
.status-row p { margin: 0.2rem 0 0; font-size: 0.92rem; }
.status-badge {
  flex: 0 0 auto;
  padding: 0.24rem 0.65rem;
  border: 1px solid rgba(180, 207, 158, 0.38);
  border-radius: 999px;
  color: var(--moss-300);
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}
.status-operational { border-color: rgba(109, 219, 213, 0.45); color: #a9efeb; }
.status-degraded, .status-limited { border-color: rgba(211, 154, 91, 0.55); color: #edc99e; }
.status-outage { border-color: rgba(235, 112, 112, 0.6); color: #f5adad; }
.status-unverified { border-color: rgba(184, 193, 185, 0.35); color: #b8c1b9; }
.status-result { display: grid; max-width: 19rem; justify-items: end; gap: 0.4rem; text-align: right; }
.status-result small { color: #909d92; font-size: 0.75rem; line-height: 1.35; }
.status-dot-loading { background: #909d92; box-shadow: 0 0 0 0.32rem rgba(144, 157, 146, 0.14); }
.status-dot-degraded { background: var(--ember-400); box-shadow: 0 0 0 0.32rem rgba(211, 154, 91, 0.14); }
.status-dot-outage { background: #eb7070; box-shadow: 0 0 0 0.32rem rgba(235, 112, 112, 0.14); }
.status-help { margin-top: 2.4rem; }

.plan-next-step {
  margin-top: 1.25rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 1px solid rgba(211, 154, 91, 0.45);
  border-radius: 0.9rem;
  background: rgba(18, 39, 29, 0.56);
}

.plan-next-step h2 { margin-top: 0; }

ul, ol { padding-left: 1.4rem; }
li + li { margin-top: 0.45rem; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.5rem 2.25rem;
  border-top: 1px solid var(--line);
  color: #909d92;
  font-size: 0.88rem;
}

.footer-links { display: flex; gap: 1.25rem; }

.help-main { width: min(100% - 2rem, 70rem); }
.help-hero { max-width: 52rem; }
.help-search { margin-top: 2rem; }
.help-search label { display: block; margin-bottom: 0.55rem; color: var(--paper); font-weight: 750; }
.help-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.65rem; }
.help-search input {
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(109, 219, 213, 0.42);
  border-radius: 0.7rem;
  color: var(--paper);
  background: rgba(18, 39, 29, 0.78);
  font: inherit;
}
.help-search input::placeholder { color: #909d92; }
.help-search input:focus-visible { outline: 3px solid var(--ember-400); outline-offset: 3px; }
.help-search button {
  min-height: 3.25rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid #6ddbd5;
  border-radius: 0.7rem;
  color: var(--forest-950);
  background: #6ddbd5;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.help-search button:focus-visible { outline: 3px solid var(--ember-400); outline-offset: 3px; }
.help-search-privacy { margin: 0.55rem 0 0; color: #909d92; font-size: 0.84rem; }
.help-privacy-notice { margin-bottom: 0; }
.help-section { margin-top: 4rem; }
.help-section > h2 { margin-top: 0; }
.help-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.help-catalog-toggle,
.help-catalog-hide { min-height: 44px; border: 1px solid rgba(109, 219, 213, 0.42); border-radius: 999px; background: rgba(109, 219, 213, 0.10); color: #a9efeb; font: inherit; font-weight: 800; cursor: pointer; }
.help-catalog-toggle { margin-top: 1.25rem; padding: 0.7rem 1.15rem; }
.help-catalog-hide { padding: 0.55rem 1rem; }
.help-catalog-header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.help-catalog-header h2 { margin-top: 0; }
.help-catalog[hidden] { display: none; }
.help-guide-card {
  display: flex;
  min-height: 13rem;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(18, 39, 29, 0.56);
  color: var(--paper);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.help-guide-card:hover { border-color: rgba(109, 219, 213, 0.48); }
.help-guide-card-featured { background: linear-gradient(145deg, rgba(18, 56, 47, 0.92), rgba(18, 39, 29, 0.62)); }
.help-guide-card strong { margin-top: 0.55rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; font-weight: 500; line-height: 1.18; }
.help-guide-card > span:not(.help-card-stage) { margin-top: 0.75rem; color: var(--muted); }
.help-guide-card small { margin-top: auto; padding-top: 1rem; color: #909d92; }
.help-card-stage { color: #6ddbd5; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.help-guide-card[hidden] { display: none; }
.help-empty { padding: 1rem; border-left: 4px solid var(--ember-400); background: rgba(18, 39, 29, 0.56); }
.help-stage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; }
.help-stage-card { min-height: 10rem; padding: 1.2rem; border: 0; border-top: 2px solid rgba(109, 219, 213, 0.4); background: rgba(18, 39, 29, 0.38); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; }
.help-stage-card:hover { transform: translateY(-2px); border-top-color: #6ddbd5; background: rgba(26, 58, 42, 0.62); }
.help-stage-card:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.help-stage-card[aria-pressed="true"] { border-top-color: var(--brass); background: rgba(26, 58, 42, 0.78); }
.help-stage-card > span { color: #6ddbd5; font-size: 0.75rem; font-weight: 800; }
.help-stage-grid h3 { margin: 0.5rem 0 0.4rem; color: var(--paper); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 500; }
.help-stage-grid p { margin: 0; font-size: 0.92rem; }
.help-stage-card small { display: block; margin-top: 1rem; color: #6ddbd5; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.03em; }
.help-reference { margin-bottom: 1rem; }
.help-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; }
.help-path-grid article { padding: 1.1rem; border-top: 2px solid rgba(109, 219, 213, 0.4); background: rgba(18, 39, 29, 0.38); }
.help-path-grid h3 { margin: 0 0 0.45rem; color: var(--paper); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-weight: 500; }
.help-path-grid p { margin: 0; font-size: 0.92rem; }

.help-guide-main { width: min(100% - 2rem, 52rem); }
.help-breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; color: #909d92; font-size: 0.9rem; }
.help-guide-hero { max-width: none; }
.help-guide-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.help-guide-meta span { padding: 0.3rem 0.65rem; border: 1px solid rgba(109, 219, 213, 0.3); border-radius: 999px; color: #a9efeb; font-size: 0.8rem; font-weight: 700; }
.help-guide-section { margin-top: 3rem; }
.help-guide-section h2 { margin-top: 0; }
.help-guide-section li::marker { color: #6ddbd5; }
.help-ote-steps { display: grid; gap: 1rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.help-ote-steps > li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 0.8rem; background: rgba(18, 39, 29, 0.56); }
.help-step-number { display: grid; width: 2.65rem; height: 2.65rem; place-items: center; border-radius: 50%; color: var(--forest-950); background: #6ddbd5; font-weight: 900; }
.help-ote-steps h3 { margin: 0 0 0.8rem; color: var(--paper); font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; font-weight: 500; }
.help-ote-steps dl { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 0.45rem 0.75rem; margin: 0; }
.help-ote-steps dt { color: #a9efeb; font-weight: 800; }
.help-ote-steps dd { margin: 0; color: var(--muted); }
.help-success { padding: 1.35rem; border: 1px solid rgba(109, 219, 213, 0.38); border-radius: 0.8rem; background: linear-gradient(145deg, rgba(18, 56, 47, 0.92), rgba(18, 39, 29, 0.62)); }
.help-success p, .help-privacy-section p { margin-bottom: 0; }
.help-privacy-section { padding: 1.35rem; border-left: 4px solid var(--ember-400); background: rgba(18, 39, 29, 0.56); }

/* Homepage redesign mockup: Wix-style hero, real app imagery, ordered resources. */
.home-page {
  background: #07110d;
}

.home-header {
  position: relative;
  z-index: 5;
  color: #263229;
  background: #f4f0e8;
  box-shadow: 0 1px 0 rgba(7, 16, 13, 0.14);
}

.home-header-inner {
  display: grid;
  width: min(100% - 2rem, 76rem);
  min-height: 4.8rem;
  margin-inline: auto;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #12271d;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.home-brand:hover { color: #12271d; }
.home-brand img { width: 2.4rem; height: 2.4rem; border-radius: 0.55rem; object-fit: cover; }
.home-brand b { color: #168f8b; }

.home-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.7rem);
}

.home-nav a {
  color: #47534b;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.home-nav a:hover { color: #0f706d; }

.home-beta-label {
  padding: 0.25rem 0.7rem;
  border: 1px solid #b98a53;
  border-radius: 999px;
  color: #725531;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-main {
  width: 100%;
  padding: 0;
}

.home-hero {
  display: grid;
  min-height: 39rem;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.76fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(4.5rem, 8vw, 7.5rem) max(2rem, calc((100vw - 76rem) / 2));
  background:
    radial-gradient(circle at 72% 32%, rgba(109, 219, 213, 0.12), transparent 26rem),
    linear-gradient(135deg, #07110d 0%, #0a1f17 56%, #10261a 100%);
  border-bottom: 0.7rem solid #668a14;
}

.home-hero-copy { max-width: 42rem; }
.home-eyebrow { margin: 0 0 0.7rem; color: #b4cf9e; font-size: 0.74rem; font-weight: 850; letter-spacing: 0.16em; text-transform: uppercase; }
.home-hero h1 { margin: 0; font-size: clamp(2.75rem, 4.4vw, 4.25rem); line-height: 1.02; letter-spacing: -0.04em; }
.home-hero h1 span { color: #6ddbd5; }
.home-tagline { max-width: 31rem; margin: 1.15rem 0 0; color: #6ddbd5; font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 800; line-height: 1.15; }
.home-intro { max-width: 42rem; margin: 1.35rem 0 0; color: #d4d9d2; font-size: 1.08rem; line-height: 1.55; }

.home-primary-action {
  display: inline-flex;
  min-height: 3rem;
  margin-top: 2rem;
  padding: 0.75rem 1.25rem;
  align-items: center;
  border-radius: 0.2rem;
  color: #f8f5eb;
  background: #647f11;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
}

.home-primary-action:hover { color: #fff; background: #75951b; }
.home-hero-art { max-width: 31rem; justify-self: end; }
.home-hero-art img { display: block; width: 100%; aspect-ratio: 0.76; border: 1px solid rgba(109, 219, 213, 0.28); border-radius: 0.9rem; object-fit: cover; box-shadow: 0 35px 80px rgba(0, 0, 0, 0.46); }

.home-section {
  padding: clamp(4.5rem, 8vw, 7rem) max(2rem, calc((100vw - 76rem) / 2));
}

.home-section-heading { max-width: 50rem; }
.home-section-heading h2 { margin: 0; color: #f4f1e8; font-size: clamp(2.45rem, 5vw, 4.25rem); letter-spacing: -0.035em; }
.home-section-heading > p:last-child { max-width: 44rem; margin: 1rem 0 0; color: #b8c1b9; font-size: 1.05rem; }
.home-resource-card > span { color: #6ddbd5; font-size: 0.7rem; font-weight: 850; letter-spacing: 0.13em; text-transform: uppercase; }
.home-resource-card h3 { margin: 0.35rem 0 0; color: #f4f1e8; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 500; line-height: 1.1; }

.home-resources {
  background:
    radial-gradient(circle at 14% 20%, rgba(127, 166, 107, 0.13), transparent 28rem),
    #07110d;
}

.home-resource-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
.home-resource-grid-primary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-resource-grid-secondary { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.2rem; }

.home-resource-card {
  display: flex;
  min-height: 15.5rem;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid rgba(180, 207, 158, 0.23);
  border-radius: 0.65rem;
  color: inherit;
  background: rgba(18, 39, 29, 0.66);
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease, border-color 160ms ease;
}

.home-resource-card:hover { color: inherit; transform: translateY(-2px); border-color: rgba(109, 219, 213, 0.58); }
.home-resource-featured { border-color: rgba(109, 219, 213, 0.55); background: linear-gradient(145deg, rgba(17, 66, 54, 0.96), rgba(18, 39, 29, 0.72)); }
.home-resource-card p { margin: 0.8rem 0 0; color: #b8c1b9; }
.home-resource-card strong { margin-top: auto; padding-top: 1rem; color: #6ddbd5; }
.home-resource-grid-secondary .home-resource-card { min-height: 12rem; }
.home-resource-grid-secondary .home-resource-card h3 { font-size: 1.45rem; }
.home-more-heading { margin: 3.5rem 0 0; color: #e8eadf; font-size: 1.65rem; }
.home-footer { width: min(100% - 4rem, 76rem); }

html.member-auth-loading body {
  visibility: hidden;
}

/* Member App Preview: the same primer, module videos, and screenshot sequences as the iPhone app. */
.app-preview-page { background: #07110d; }
.app-preview-main { width: 100%; padding: 0; }
.app-preview-hero {
  padding: clamp(4rem, 8vw, 7rem) max(1.25rem, calc((100vw - 76rem) / 2));
  background:
    radial-gradient(circle at 78% 16%, rgba(109, 219, 213, 0.14), transparent 30rem),
    linear-gradient(135deg, #07110d, #0d271c);
  border-bottom: 0.7rem solid #668a14;
}
.app-preview-hero-inner {
  display: grid;
  width: min(100%, 76rem);
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.app-preview-hero-copy { min-width: 0; }
.app-preview-hero h1 {
  max-width: 24ch;
  font-size: clamp(2.35rem, 3.5vw, 3.4rem);
  line-height: 1.05;
  text-wrap: balance;
}
.app-preview-hero .lede { max-width: 45rem; }
.app-preview-back { display: inline-block; margin-top: 1.5rem; font-weight: 800; }
.app-preview-architecture { margin: 0; }
.app-preview-architecture-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(109, 219, 213, 0.28);
  border-radius: 1rem;
  background: rgba(2, 8, 5, 0.72);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}
.app-preview-architecture-media img,
.app-preview-architecture-media video {
  display: block;
  width: 100%;
  max-height: 34rem;
  object-fit: contain;
}
.app-preview-architecture-media video { position: absolute; inset: 0; height: 100%; background: #020704; }
.app-preview-architecture-media video[hidden] { display: none; }
.app-preview-architecture figcaption {
  margin-top: 0.65rem;
  color: #91a096;
  font-size: 0.78rem;
  text-align: center;
}

.app-preview-content {
  padding: clamp(4rem, 7vw, 6.5rem) max(1.25rem, calc((100vw - 76rem) / 2));
  background: #10291d;
}
.app-preview-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(18rem, 1.2fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(109, 219, 213, 0.3);
  border-radius: 1rem;
  background: rgba(7, 20, 15, 0.66);
  box-shadow: var(--shadow);
}
.app-preview-intro h2,
.app-preview-section-heading h2 { margin: 0; color: var(--paper); font-size: clamp(1.85rem, 3.5vw, 2.8rem); }
.app-preview-intro p:last-child { margin-bottom: 0; }
.app-preview-video-shell {
  overflow: hidden;
  border: 1px solid rgba(109, 219, 213, 0.26);
  border-radius: 0.8rem;
  background: #030705;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
}
.app-preview-video-shell video {
  display: block;
  width: 100%;
  max-height: min(70vh, 44rem);
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #030705;
}
.app-preview-intro .app-preview-video-shell { max-width: 28rem; justify-self: center; }
.app-preview-intro video { aspect-ratio: 9 / 16; }

.app-preview-module-section { margin-top: clamp(4rem, 8vw, 7rem); }
.app-preview-section-heading { max-width: 49rem; }
.app-preview-section-heading > p:last-child { margin: 0.9rem 0 0; font-size: 1.05rem; }
.app-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.app-preview-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(180, 207, 158, 0.22);
  border-radius: 0.9rem;
  background: rgba(7, 20, 15, 0.58);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}
.app-preview-card-copy { padding: 0.95rem 0.2rem 0.15rem; }
.app-preview-card-copy span { color: #6ddbd5; font-size: 0.72rem; font-weight: 850; letter-spacing: 0.13em; text-transform: uppercase; }
.app-preview-card h3 { margin: 0.35rem 0 0; color: var(--paper); font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; font-weight: 500; line-height: 1.14; }
.app-preview-card p { margin: 0.65rem 0 0; line-height: 1.5; }
.app-preview-gallery {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(180, 207, 158, 0.18);
}
.app-preview-gallery-heading {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  justify-content: space-between;
}
.app-preview-gallery-heading h4 {
  margin: 0;
  color: var(--paper);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}
.app-preview-gallery-heading span { color: #91a096; font-size: 0.76rem; font-weight: 800; }
.app-preview-gallery-stage {
  display: grid;
  width: 100%;
  margin-top: 0.7rem;
  padding: 0;
  overflow: hidden;
  grid-template-rows: minmax(18rem, 24rem) auto;
  border: 1px solid rgba(109, 219, 213, 0.24);
  border-radius: 0.7rem;
  color: var(--paper);
  background: #020704;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}
.app-preview-gallery-stage:focus-visible,
.app-preview-gallery-controls button:focus-visible,
.app-preview-gallery-thumbnail:focus-visible,
.app-preview-lightbox-close:focus-visible { outline: 3px solid var(--ember-400); outline-offset: 3px; }
.app-preview-gallery-stage img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.app-preview-gallery-stage img.is-loading { opacity: 0; }
.app-preview-gallery-stage span {
  padding: 0.65rem 0.8rem;
  color: #d5ddd6;
  background: #0a1610;
  font-size: 0.82rem;
  font-weight: 750;
}
.app-preview-gallery-controls { display: flex; gap: 0.65rem; margin-top: 0.65rem; }
.app-preview-gallery-controls button {
  flex: 1;
  min-height: 2.7rem;
  border: 1px solid rgba(109, 219, 213, 0.3);
  border-radius: 0.45rem;
  color: #a9efeb;
  background: rgba(109, 219, 213, 0.08);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}
.app-preview-gallery-controls button:hover { background: rgba(109, 219, 213, 0.15); }
.app-preview-gallery-strip {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.65rem;
  padding-bottom: 0.25rem;
  overflow-x: auto;
  scrollbar-color: #6ddbd5 #07110d;
}
.app-preview-gallery-thumbnail {
  flex: 0 0 3.25rem;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 0.4rem;
  color: #a9efeb;
  background: #020704;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}
.app-preview-gallery-thumbnail[aria-current="true"] { border-color: #6ddbd5; }

.app-preview-primary-action {
  min-height: 3rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #8de3dc;
  border-radius: 0.45rem;
  color: #06100c;
  background: #8de3dc;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.app-preview-module-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2.5rem;
}
.app-preview-module-picker button {
  min-height: 5.5rem;
  padding: 0.85rem;
  border: 1px solid rgba(109, 219, 213, 0.3);
  border-radius: 0.75rem;
  color: #f4f1e8;
  background: rgba(7, 20, 15, 0.7);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
}
.app-preview-module-picker button:hover,
.app-preview-module-picker button[aria-pressed="true"] { border-color: #6ddbd5; background: rgba(109, 219, 213, 0.12); }
.app-preview-module-stage {
  display: grid;
  grid-template-columns: minmax(17rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  margin-top: 1.5rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid rgba(109, 219, 213, 0.3);
  border-radius: 1rem;
  background: rgba(7, 20, 15, 0.68);
  box-shadow: var(--shadow);
}
.app-preview-module-video-column { min-width: 0; }
.app-preview-module-video.is-square { aspect-ratio: 1; }
.app-preview-module-video.is-portrait { aspect-ratio: 9 / 16; }
.app-preview-module-video.is-landscape { aspect-ratio: 16 / 10; }
.app-preview-module-controls { display: flex; gap: 0.7rem; margin-top: 0.75rem; }
.app-preview-module-controls button {
  min-height: 2.8rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(109, 219, 213, 0.35);
  border-radius: 0.5rem;
  color: #a9efeb;
  background: rgba(109, 219, 213, 0.08);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}
.app-preview-module-story { min-width: 0; }
.app-preview-module-story h3 { margin: 0.35rem 0 0; color: var(--paper); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.12; }
.app-preview-module-story > p { max-width: 42rem; margin: 0.75rem 0 0; }
.app-preview-screenshot-stage {
  position: relative;
  display: block;
  width: 100%;
  height: min(34rem, 58vh);
  margin-top: 1.25rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(109, 219, 213, 0.28);
  border-radius: 0.75rem;
  background: #020704;
  cursor: zoom-in;
}
.app-preview-screenshot-stage img,
.app-preview-screenshot-stage video { display: block; width: 100%; height: 100%; object-fit: contain; }
.app-preview-screenshot-stage video { position: absolute; inset: 0; background: #020704; }
.app-preview-screenshot-stage video[hidden] { display: none; }
.app-preview-screenshot-stage img.is-loading { opacity: 0; }
.app-preview-screenshot-copy { padding: 0.9rem 0.2rem 0; }
.app-preview-screenshot-copy h4 { margin: 0; color: var(--paper); font-size: 1.15rem; }
.app-preview-screenshot-copy p { margin: 0.45rem 0 0; color: #b8c1b9; }
.app-preview-media-error { color: #ffd19a !important; font-weight: 800; }
.app-preview-pips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.8rem; }
.app-preview-pips span { width: 0.45rem; height: 0.45rem; border-radius: 999px; background: rgba(255, 255, 255, 0.2); transition: width 160ms ease, background 160ms ease; }
.app-preview-pips span.is-active { width: 1.4rem; background: #6ddbd5; }
.app-preview-module-picker button:focus-visible,
.app-preview-primary-action:focus-visible,
.app-preview-module-controls button:focus-visible,
.app-preview-screenshot-stage:focus-visible { outline: 3px solid var(--ember-400); outline-offset: 3px; }
.app-preview-lightbox {
  width: min(94vw, 72rem);
  max-height: 94vh;
  padding: 1rem;
  border: 1px solid rgba(109, 219, 213, 0.42);
  border-radius: 1rem;
  color: var(--paper);
  background: #06100c;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.72);
}
.app-preview-lightbox::backdrop { background: rgba(0, 0, 0, 0.86); }
.app-preview-lightbox img,
.app-preview-lightbox video { display: block; width: 100%; max-height: calc(94vh - 7rem); object-fit: contain; }
.app-preview-lightbox video[hidden],
.app-preview-lightbox img[hidden] { display: none; }
.app-preview-lightbox p { margin: 0.75rem 0 0; color: #d5ddd6; text-align: center; }
.app-preview-lightbox-close {
  display: block;
  min-height: 2.7rem;
  margin: 0 0 0.75rem auto;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(109, 219, 213, 0.4);
  border-radius: 999px;
  color: #a9efeb;
  background: rgba(109, 219, 213, 0.1);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 850;
  cursor: pointer;
}
.app-preview-footer { width: min(100% - 2.5rem, 76rem); }

@media (max-width: 48rem) {
  .app-preview-hero-inner { grid-template-columns: 1fr; }
  .app-preview-architecture { width: min(100%, 30rem); justify-self: center; }
  .app-preview-intro { grid-template-columns: 1fr; }
  .app-preview-grid { grid-template-columns: 1fr; }
  .app-preview-module-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-preview-module-stage { grid-template-columns: 1fr; }
  .app-preview-video-shell video { max-height: 74vh; aspect-ratio: auto; }
  .app-preview-intro video { aspect-ratio: 9 / 16; }
}

@media (max-width: 38rem) {
  .app-preview-main { padding: 0; }
  .app-preview-hero { padding: 3.5rem 1.25rem; }
  .app-preview-content { padding: 3.5rem 1rem; }
  .app-preview-hero h1 {
    max-width: 20ch;
    font-size: clamp(2rem, 8vw, 2.6rem);
    line-height: 1.06;
    overflow-wrap: break-word;
  }
  .app-preview-intro { padding: 1rem; }
  .app-preview-card { padding: 0.75rem; }
  .app-preview-gallery-stage { grid-template-rows: minmax(16rem, 70vh) auto; }
  .app-preview-module-controls { flex-direction: column; }
  .app-preview-screenshot-stage { height: min(30rem, 62vh); }
}

.member-session-bar {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  max-width: calc(100vw - 2rem);
  padding: 0.65rem 0.75rem 0.65rem 1rem;
  border: 1px solid rgba(109, 219, 213, 0.42);
  border-radius: 999px;
  color: #d9e2da;
  background: rgba(7, 22, 15, 0.94);
  box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, 0.4);
  font-size: 0.78rem;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.member-session-bar button {
  min-height: 2.15rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(109, 219, 213, 0.48);
  border-radius: 999px;
  color: #a9efeb;
  background: rgba(109, 219, 213, 0.08);
  font: inherit;
  cursor: pointer;
}

.member-session-bar button:hover { background: rgba(109, 219, 213, 0.16); }
.member-session-bar button:disabled { cursor: wait; opacity: 0.72; }

.member-login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  background:
    radial-gradient(circle at 78% 14%, rgba(50, 137, 114, 0.22), transparent 34rem),
    radial-gradient(circle at 12% 88%, rgba(185, 137, 77, 0.14), transparent 28rem),
    linear-gradient(145deg, #07160f 0%, #0b2118 52%, #07140f 100%);
}

.member-login-shell {
  display: grid;
  width: min(100%, 68rem);
  margin: 0;
  padding: clamp(1.25rem, 5vw, 3.5rem);
  grid-template-columns: minmax(16rem, 0.85fr) minmax(19rem, 1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
  border: 1px solid rgba(191, 211, 195, 0.24);
  border-radius: 1.5rem;
  background: rgba(8, 28, 19, 0.88);
  box-shadow: 0 2.5rem 7rem rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
}

.member-login-brand {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
  color: var(--paper);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 850;
  text-decoration: none;
}

.member-login-brand:hover { color: var(--paper); }
.member-login-brand img {
  width: clamp(8rem, 18vw, 13rem);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 241, 232, 0.72);
  border-radius: 1.35rem;
  object-fit: cover;
  filter: brightness(1.2) contrast(1.08);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.42);
}
.member-login-brand strong { color: #6ddbd5; }

.member-login-card {
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid rgba(191, 211, 195, 0.18);
  border-radius: 1rem;
  background: rgba(7, 20, 15, 0.72);
}

.member-login-eyebrow {
  margin: 0 0 0.65rem;
  color: #c69a5f;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.member-login-card h1 { font-size: clamp(2.8rem, 8vw, 4.4rem); }
.member-login-intro { margin: 1rem 0 0; color: #c5cec6; line-height: 1.55; }

.member-auth-modes {
  display: grid;
  margin-top: 1.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid rgba(191, 211, 195, 0.22);
}

.member-auth-modes button {
  min-height: 2.8rem;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #91a096;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.member-auth-modes button.is-active {
  border-bottom-color: #6ddbd5;
  color: #f4f1e8;
}

.member-approval-actions {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}
.member-approval-actions p { margin: 0; color: #e8eadf; line-height: 1.55; }

.member-auth-form { display: grid; gap: 1rem; margin-top: 1.4rem; }
.member-auth-form label { display: grid; gap: 0.4rem; color: #e8eadf; font-size: 0.84rem; font-weight: 750; }
.member-name-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.member-auth-form input {
  width: 100%;
  min-width: 0;
  min-height: 3.15rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(191, 211, 195, 0.34);
  border-radius: 0.65rem;
  color: #f4f1e8;
  background: #07140f;
  font: inherit;
}
.member-auth-form input:focus-visible { outline: 3px solid var(--ember-400); outline-offset: 3px; }

.member-auth-submit {
  min-height: 3.2rem;
  margin-top: 0.25rem;
  border: 0;
  border-radius: 0.65rem;
  color: #07160f;
  background: #6ddbd5;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}
.member-auth-submit:hover { background: #8ae9e3; }
.member-auth-submit:disabled { cursor: wait; opacity: 0.72; }

.member-auth-status {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid #6ddbd5;
  color: #d7e0d8;
  background: rgba(109, 219, 213, 0.09);
  line-height: 1.45;
}
.member-auth-status[data-kind="error"] { border-left-color: #c69a5f; color: #f4d9b5; background: rgba(198, 154, 95, 0.12); }
.member-auth-status[data-kind="success"] { border-left-color: #7fa66b; }
.member-login-note { margin: 1.25rem 0 0; color: #91a096; font-size: 0.82rem; line-height: 1.45; }
.member-login-back { display: inline-block; margin-top: 1.25rem; color: #c5cec6; font-size: 0.86rem; }

@media (max-width: 48rem) {
  .member-login-shell { grid-template-columns: 1fr; gap: 2rem; }
  .member-login-brand { grid-template-columns: auto 1fr; align-items: center; }
  .member-login-brand img { width: 6rem; border-radius: 0.85rem; }
}

@media (max-width: 64rem) {
  .home-header-inner { grid-template-columns: auto auto; }
  .home-nav { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; justify-content: flex-start; padding-bottom: 0.8rem; }
  .home-beta-label { justify-self: end; }
  .home-hero { grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.68fr); }
  .home-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-resource-grid-secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 38rem) {
  .site-header { align-items: flex-start; }
  .brand-name { max-width: 10rem; }
  .card-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: auto; }
  .comparison-scroll { margin-inline: -0.25rem; }
  .start-steps > li { grid-template-columns: 2.65rem minmax(0, 1fr); padding: 1rem; }
  .guide-link-grid { grid-template-columns: 1fr; }
  .status-row { align-items: flex-start; flex-direction: column; }
  .status-result { max-width: none; justify-items: start; text-align: left; }
  .footer-links { flex-wrap: wrap; }
  .help-search-row { grid-template-columns: 1fr; }
  .help-guide-grid, .help-stage-grid, .help-path-grid { grid-template-columns: 1fr; }
  .help-guide-card { min-height: 0; }
  .help-ote-steps > li { grid-template-columns: 2.65rem minmax(0, 1fr); padding: 1rem; }
  .help-ote-steps dl { grid-template-columns: 1fr; gap: 0.15rem; }
  .help-ote-steps dd { margin-bottom: 0.55rem; }
  main { width: 100%; max-width: 100%; padding: 3.5rem 1rem 0; }
  main > *, .hero, section, .notice { min-width: 0; max-width: 100%; }
  p, li { overflow-wrap: anywhere; }
  .home-main { padding-top: 0; }
  .home-header-inner { display: flex; width: min(100% - 1.25rem, 76rem); min-width: 0; flex-wrap: wrap; gap: 0.65rem 0.75rem; padding: 0.7rem 0; }
  .home-brand { min-width: 0; flex: 1 1 auto; }
  .home-brand span { display: none; }
  .home-beta-label { max-width: 100%; flex: 0 0 auto; padding-inline: 0.55rem; font-size: 0.58rem; letter-spacing: 0.08em; }
  .home-nav { order: 3; width: 100%; min-width: 0; flex: 1 0 100%; gap: 0.65rem 1.15rem; overflow-x: visible; flex-wrap: wrap; }
  .home-hero { min-height: 0; grid-template-columns: 1fr; padding: 3.75rem 1.25rem; }
  .home-hero-copy { width: 100%; min-width: 0; max-width: 100%; }
  .home-hero h1 { font-size: clamp(2.7rem, 13vw, 3.35rem); white-space: normal; overflow-wrap: break-word; }
  .home-intro { max-width: 100%; }
  .home-hero-art { width: min(100%, 22rem); justify-self: center; }
  .home-section { padding: 4rem 1.25rem; }
  .home-module-grid, .home-resource-grid-primary, .home-resource-grid-secondary { grid-template-columns: 1fr; }
  .home-module-card > img { height: auto; }
  .home-resource-card { min-height: 13rem; }
  .home-footer { width: min(100% - 2.5rem, 76rem); }
  .member-login-page { padding: 0; }
  .member-login-shell { min-height: 100vh; padding: 1.2rem; border: 0; border-radius: 0; align-content: start; }
  .member-login-brand { margin-top: 0.4rem; }
  .member-login-card { padding: 1.25rem; }
  .member-name-fields { grid-template-columns: 1fr; }
  .member-session-bar { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; justify-content: space-between; border-radius: 0.75rem; }
  .member-session-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  :root { color-scheme: light; }
  body { color: #111; background: #fff; }
  p, li, .lede { color: #222; }
  .site-header, .site-footer { border-color: #bbb; }
  .beta-label, .brand-mark { color: #333; border-color: #777; }
  .wordmark { color: #111; }
  .wordmark-iq { color: #087f7b; }
  .card-featured, .plan-card, .plan-card-accent, .plan-next-step, .comparison-scroll, .start-steps > li, .guide-link-grid a, .faq-list details, .release-card, .release-section, .status-summary, .status-row, .help-guide-card, .help-stage-card, .help-ote-steps > li, .help-success, .help-privacy-section { background: #fff; box-shadow: none; }
  .plan-level, .card-kicker { color: #087f7b; }
  .matrix-head { background: #e8efe9; }
  .plan-price, .matrix-price-row small { color: #111; }
  .matrix-head > div, .matrix-row > div, .matrix-row > div:first-child { color: #111; border-color: #bbb; }
  .matrix-row > div:nth-child(4), .matrix-head > div:nth-child(4) { background: #eef8f7; color: #111; }
  .no { color: #555; }
  .step-number { color: #087f7b; border-color: #087f7b; }
  .guide-link-grid a, .guide-link-grid span { color: #111; }
  .faq-list summary { color: #111; }
  .status-summary strong, .status-row h2 { color: #111; }
  .status-badge, .status-operational { color: #087f7b; border-color: #087f7b; }
}
