:root {
  --ink: #16231e;
  --ink-soft: #3d4a44;
  --muted: #71807a;
  --paper: #f7f8f4;
  --surface: #ffffff;
  --surface-soft: #eef5f1;
  --line: #dbe5df;
  --brand: #216a4c;
  --brand-dark: #174b37;
  --cyan: #2a9d9a;
  --warn: #a96f19;
  --danger: #b64a42;
  --shadow: 0 16px 44px rgba(24, 55, 43, 0.08);
  --radius: 8px;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(231, 243, 238, 0.78) 0, rgba(247, 248, 244, 0) 260px),
    var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.55;
}

button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.access-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.access-header {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-dark);
  text-decoration: none;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(33, 106, 76, 0.28);
  border-radius: 50%;
  color: var(--cyan);
  background: var(--surface);
  font-size: 16px;
  line-height: 1;
}

.brand-symbol {
  width: 30px;
  height: 34px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.header-note {
  color: var(--muted);
  font-size: 13px;
}

.access-main {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 52px 0 72px;
}

.login-layout {
  min-height: min(620px, calc(100vh - 190px));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: 88px;
}

.intro-block { max-width: 570px; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: 52px; line-height: 1.12; letter-spacing: 0; }
.intro-block > p { max-width: 520px; margin-bottom: 30px; color: var(--ink-soft); font-size: 18px; line-height: 1.8; }

.module-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.module-label {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.access-panel {
  width: 100%;
  max-width: 440px;
  justify-self: end;
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.access-panel h2 { margin-bottom: 6px; font-size: 24px; }
.panel-subtitle { margin-bottom: 24px; color: var(--muted); font-size: 13px; }

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.auth-tab {
  min-height: 40px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}
.auth-tab.is-active { border-bottom-color: var(--brand); color: var(--brand-dark); }

.field { display: grid; gap: 7px; margin-bottom: 17px; }
.field label { color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #c9d8d0;
  border-radius: 6px;
  color: var(--ink);
  background: #fcfdfc;
  outline: none;
}
.field input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(42, 157, 154, 0.13); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field-link {
  justify-self: end;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 3px;
}

.password-control { position: relative; }
.password-control input { padding-right: 66px; }
.password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  min-width: 50px;
  min-height: 32px;
  padding: 4px 9px;
  border: 0;
  border-radius: 4px;
  color: var(--brand-dark);
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 800;
  transform: translateY(-50%);
}
.password-toggle:hover { background: #e1eee7; }
.password-toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.primary-button {
  width: 100%;
  border: 1px solid var(--brand);
  color: #fff;
  background: var(--brand);
}
.primary-button:hover { background: var(--brand-dark); }
.secondary-button { border: 1px solid var(--line); color: var(--brand-dark); background: var(--surface); }
.secondary-button:hover { border-color: var(--brand); background: var(--surface-soft); }
button:disabled { cursor: wait; opacity: 0.62; }

.form-status, .page-status {
  min-height: 22px;
  margin: 0 0 12px;
  color: var(--danger);
  font-size: 13px;
}
.form-status:empty, .page-status:empty { display: none; }
.form-status[data-kind="success"], .page-status[data-kind="success"] { color: var(--brand); }

.signup-confirmation {
  padding: 22px;
  border: 1px solid #c9ded3;
  border-left: 4px solid var(--brand);
  border-radius: 6px;
  background: #f3f8f5;
}
.signup-confirmation .confirmation-kicker,
.signup-confirmation strong,
.signup-confirmation p { display: block; }
.signup-confirmation .confirmation-kicker {
  margin-bottom: 7px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}
.signup-confirmation strong { margin-bottom: 8px; font-size: 20px; }
.signup-confirmation p { margin: 0 0 18px; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }

.panel-footnote { margin: 20px 0 0; color: var(--muted); font-size: 12px; }

.access-footer {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.portal-main { padding-top: 30px; }
.portal-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.portal-heading h1 { margin-bottom: 7px; font-size: 42px; }
.portal-heading p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.portal-actions { display: flex; gap: 10px; align-items: center; }
.portal-actions .secondary-button { min-width: 78px; }

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

.module-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 25px rgba(24, 55, 43, 0.045);
}
.module-card[data-product="climate"] { border-top-color: var(--cyan); }
.module-card.is-unavailable { background: #fbfcfa; }

.module-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.module-card h2 { margin: 0 0 5px; font-size: 23px; }
.module-card .module-description { margin: 0; color: var(--muted); font-size: 13px; }
.module-symbol { color: var(--cyan); font-size: 26px; line-height: 1; }
.module-card[data-product="nature"] .module-symbol { color: var(--brand); }

.access-state {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 800;
}
.access-state.is-locked { color: var(--warn); background: #faf3e5; }

.module-message { min-height: 45px; margin-bottom: 18px; color: var(--ink-soft); font-size: 14px; }
.module-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 21px;
}
.meta-item { padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: #fcfdfc; }
.meta-item strong { display: block; color: var(--muted); font-size: 11px; font-weight: 700; }
.meta-item span { display: block; margin-top: 4px; color: var(--ink); font-size: 15px; font-weight: 800; }

.module-actions { display: flex; align-items: center; gap: 10px; }
.module-actions .primary-button { width: auto; min-width: 106px; }

.invite-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.invite-form .field { margin: 0; }
.invite-form .primary-button { width: auto; min-width: 96px; }
.invite-help { grid-column: 1 / -1; margin: -2px 0 0; color: var(--muted); font-size: 12px; }

.portal-note {
  margin-top: 30px;
  padding: 16px 18px;
  border-left: 3px solid var(--cyan);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.loading-state { padding: 38px 0; color: var(--muted); }

.admin-main { padding-top: 30px; }
.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 20px;
  align-items: start;
}
.admin-panel {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 25px rgba(24, 55, 43, 0.045);
}
.admin-panel h2 { margin-bottom: 22px; font-size: 23px; }
.admin-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.module-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.module-choice legend { padding: 0 7px; color: var(--ink-soft); font-size: 13px; font-weight: 800; }
.module-choice label { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.module-choice input { width: 18px; height: 18px; accent-color: var(--brand); }
.result-panel { border-top-color: var(--cyan); }
.invite-results { display: grid; gap: 12px; }
.empty-result { margin: 0; padding: 24px 0; color: var(--muted); }
.invite-result-card { padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: #fcfdfc; }
.invite-result-card > strong { display: block; margin-bottom: 10px; font-size: 15px; }
.invite-result-card > p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.invite-code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.invite-code-row code {
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--brand-dark);
  background: var(--surface-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 800;
}
.copy-code-button { min-width: 72px; }

.admin-directory { padding-top: 10px; }
.admin-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.admin-section-heading .eyebrow { margin-bottom: 5px; }
.admin-section-heading h2 { margin-bottom: 0; font-size: 26px; }
.admin-summary { margin: 0; color: var(--muted); font-size: 13px; }
.admin-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 520px;
  margin-bottom: 22px;
}
.admin-search input {
  min-width: 0;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #c9d8d0;
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface);
}
.admin-search input:focus { border-color: var(--cyan); outline: 3px solid rgba(42, 157, 154, 0.13); }
.admin-user-columns,
.admin-user-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.15fr) repeat(2, minmax(210px, 1fr)) 116px;
  gap: 18px;
  align-items: center;
}
.admin-user-columns {
  padding: 0 18px 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.admin-user-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.admin-user-row { min-width: 0; padding: 18px; }
.admin-user-row + .admin-user-row { border-top: 1px solid var(--line); }
.admin-user-row > * { min-width: 0; }
.admin-user-identity { display: grid; gap: 5px; }
.admin-user-identity strong { overflow-wrap: anywhere; font-size: 14px; }
.admin-user-identity > span { color: var(--muted); font-size: 12px; }
.admin-badge {
  width: max-content;
  padding: 2px 7px;
  border-radius: 999px;
  color: var(--brand-dark) !important;
  background: var(--surface-soft);
  font-weight: 800;
}
.admin-product-access { display: grid; gap: 4px; }
.admin-product-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.admin-product-heading strong { font-size: 13px; }
.access-state { color: var(--muted); font-size: 11px; font-weight: 800; }
.access-state-active { color: var(--brand); }
.access-state-expired, .access-state-revoked { color: var(--danger); }
.admin-product-access p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.admin-product-access b { color: var(--ink); font-size: 14px; }
.admin-expiry { color: var(--muted); font-size: 11px; }
.admin-user-action { display: flex; justify-content: flex-end; }
.adjust-user-button { width: 100%; padding-inline: 10px; }
.admin-load-more { display: flex; margin: 18px auto 0; }
.admin-secondary {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.admin-secondary > summary {
  width: max-content;
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.admin-secondary > p { margin: 12px 0 20px; color: var(--muted); font-size: 13px; }
.admin-access-dialog {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(10, 38, 28, 0.24);
}
.admin-access-dialog::backdrop { background: rgba(10, 28, 22, 0.52); }
.admin-access-dialog form { padding: 28px; }
.dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.dialog-heading .eyebrow { margin-bottom: 4px; }
.dialog-heading h2 { margin-bottom: 3px; }
.dialog-email { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.dialog-close {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  background: var(--surface);
  font-size: 24px;
  line-height: 1;
}
.access-expiry-field { grid-column: 1 / -1; }
.form-help { margin: -2px 0 14px; color: var(--muted); font-size: 12px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; }
.dialog-actions .primary-button { width: auto; }

.recovery-main { display: grid; place-items: center; padding-top: 44px; }
.recovery-panel {
  width: min(100%, 520px);
  padding: 34px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.recovery-panel h1 { margin-bottom: 10px; font-size: 36px; }
.recovery-intro { margin-bottom: 26px; color: var(--ink-soft); font-size: 14px; }
.recovery-invalid { padding: 18px; border-left: 3px solid var(--warn); background: #fffaf0; }
.recovery-invalid p { margin: 5px 0 14px; color: var(--muted); font-size: 13px; }

.setup-main {
  display: grid;
  place-items: center;
  padding-top: 42px;
}
.setup-panel {
  width: min(100%, 560px);
  padding: 34px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.setup-panel h1 { margin-bottom: 12px; font-size: 34px; }
.setup-intro { margin-bottom: 26px; color: var(--ink-soft); font-size: 15px; }

@media (max-width: 800px) {
  .access-header, .access-main, .access-footer { width: min(100% - 32px, 620px); }
  .login-layout { min-height: 0; grid-template-columns: 1fr; gap: 34px; padding-top: 20px; }
  .access-panel { justify-self: stretch; max-width: none; }
  .intro-block > p { font-size: 16px; }
  h1 { font-size: 42px; }
  .portal-heading h1 { font-size: 36px; }
  .portal-heading { align-items: start; flex-direction: column; margin-bottom: 22px; }
  .portal-actions { width: 100%; }
  .portal-actions .secondary-button { flex: 1; }
  .module-grid { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-user-columns { display: none; }
  .admin-user-row { grid-template-columns: 1fr 1fr; align-items: start; }
  .admin-user-identity { grid-column: 1 / -1; }
  .admin-user-action { grid-column: 1 / -1; justify-content: start; }
  .adjust-user-button { width: auto; }
}

@media (max-width: 480px) {
  .access-header { gap: 12px; padding-top: 16px; }
  .header-note { display: none; }
  .portal-actions { width: auto; gap: 8px; }
  .portal-actions .secondary-button {
    flex: 0 0 auto;
    min-width: 0;
    padding-inline: 13px;
    white-space: nowrap;
  }
  .access-main { padding-top: 28px; }
  h1 { font-size: 34px; }
  .portal-heading h1 { font-size: 32px; }
  .access-panel, .module-card, .setup-panel { padding: 20px; }
  .module-card-header { gap: 10px; }
  .module-card h2 { font-size: 21px; }
  .module-meta { gap: 8px; }
  .module-actions { flex-wrap: wrap; }
  .invite-form { grid-template-columns: 1fr; }
  .invite-form .primary-button { width: 100%; }
  .admin-field-grid { grid-template-columns: 1fr; }
  .admin-section-heading { align-items: start; flex-direction: column; }
  .admin-search { grid-template-columns: 1fr; }
  .admin-user-row { grid-template-columns: 1fr; }
  .admin-user-identity, .admin-user-action { grid-column: auto; }
  .adjust-user-button { width: 100%; }
  .admin-access-dialog form, .recovery-panel { padding: 22px; }
  .access-expiry-field { grid-column: auto; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions .primary-button, .dialog-actions .secondary-button { width: 100%; }
  .invite-code-row { grid-template-columns: 1fr; }
  .copy-code-button { width: 100%; }
}

/* Public platform entrance */
.access-home {
  min-width: 320px;
  color: #f7fbf9;
  background: #f3f7f5;
}

.access-home main {
  min-width: 0;
}

.platform-hero {
  position: relative;
  height: 86svh;
  min-height: 620px;
  max-height: 920px;
  overflow: hidden;
  isolation: isolate;
  background: #10251f;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -3;
  display: block;
  object-fit: cover;
  object-position: center 48%;
  animation: hero-reveal 900ms ease-out both;
}

.hero-shade {
  z-index: -2;
  background: rgba(4, 19, 20, 0.54);
}

.hero-header {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  width: min(1440px, calc(100% - 80px));
  min-height: 96px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.hero-brand {
  gap: 12px;
  color: #ffffff;
}

.hero-brand .brand-symbol {
  width: 30px;
  height: 42px;
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  color: #ffffff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-word span:last-child {
  color: #79b779;
}

.hero-auth-actions {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.hero-auth-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trial-note {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.hero-auth-button {
  min-width: 108px;
  min-height: 44px;
  padding: 9px 20px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 4px;
  color: #ffffff;
  background: rgba(13, 38, 35, 0.58);
  font-weight: 800;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.hero-auth-button:hover,
.hero-auth-button:focus-visible {
  border-color: #ffffff;
  background: rgba(19, 56, 46, 0.86);
}

.hero-auth-button.is-primary {
  border-color: #5e9d68;
  background: rgba(36, 112, 64, 0.9);
}

.hero-auth-button.is-primary:hover,
.hero-auth-button.is-primary:focus-visible {
  border-color: #8bc58e;
  background: #2a704c;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 80px));
  height: 100%;
  margin: 0 auto;
  padding: 148px 0 54px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-version {
  position: absolute;
  z-index: 2;
  right: 40px;
  bottom: 17px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.hero-version span {
  margin-left: 6px;
  padding-left: 7px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-copy {
  max-width: 820px;
  animation: hero-copy-in 620ms 120ms ease-out both;
}

.release-teaser {
  width: fit-content;
  max-width: 100%;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 6px 10px 6px 7px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  color: #ffffff;
  background: rgba(5, 32, 28, 0.48);
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.release-teaser > span:first-child {
  padding: 3px 7px;
  border-radius: 3px;
  color: #102f26;
  background: #a9d3ad;
  font-size: 11px;
  font-weight: 800;
}

.release-teaser strong {
  font-size: 13px;
}

.release-teaser > span:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.release-teaser:hover,
.release-teaser:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(9, 56, 45, 0.7);
}

.hero-eyebrow {
  margin: 0 0 14px;
  color: #9ccca7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.access-home h1,
.access-home h2,
.access-home p {
  margin-top: 0;
}

.access-home h1 {
  max-width: 820px;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 58px;
  line-height: 1.12;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.8;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.24);
}

.capability-list {
  width: min(800px, 100%);
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability-list > div {
  min-width: 0;
  padding: 2px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.capability-list > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.capability-list dt {
  margin: 0 0 3px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.capability-list dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.hero-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
  animation: hero-copy-in 620ms 220ms ease-out both;
}

.hero-module {
  min-width: 0;
  min-height: 124px;
  padding: 22px 28px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  color: #ffffff;
  text-align: left;
  background: rgba(12, 62, 49, 0.78);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.hero-module.nature-module {
  background: rgba(4, 73, 82, 0.78);
}

.hero-module:hover,
.hero-module:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(20, 91, 65, 0.92);
}

.hero-module.nature-module:hover,
.hero-module.nature-module:focus-visible {
  background: rgba(7, 91, 98, 0.92);
}

.hero-module-kicker {
  font-size: 24px;
  font-weight: 800;
}

.hero-module-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.module-new-badge {
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  color: #d8f0df;
  background: rgba(8, 39, 42, 0.38);
  font-size: 11px;
  font-weight: 800;
}

.hero-module strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
}

.hero-module > span:last-child {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.release-section {
  scroll-margin-top: 20px;
  color: var(--ink);
  background: #e8f0ec;
}

.release-inner {
  width: min(1440px, calc(100% - 80px));
  margin: 0 auto;
  padding: 54px 0 58px;
}

.release-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: end;
  gap: 70px;
  padding-bottom: 34px;
  border-bottom: 1px solid #bfd0c7;
}

.release-heading p {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.release-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
  color: #15382d;
  font-size: 34px;
  line-height: 1.28;
  letter-spacing: 0;
}

.release-heading > p {
  margin: 0;
  color: #52635c;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}

.release-stats {
  margin: 0;
  padding: 28px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #bfd0c7;
}

.release-stats > div {
  min-width: 0;
  padding: 0 30px;
  border-left: 1px solid #bfd0c7;
}

.release-stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.release-stats dt,
.release-stats dd {
  display: inline;
  margin: 0;
}

.release-subheading {
  padding: 30px 0 0;
}

.release-subheading p,
.data-update-heading > div > p {
  margin-bottom: 5px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.release-subheading h3,
.data-update-heading h3 {
  margin: 0;
  color: #17382d;
  font-size: 24px;
  line-height: 1.35;
}

.release-stats dt {
  color: #176d57;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.release-stats dd {
  margin-left: 8px;
  color: #42564e;
  font-size: 14px;
  font-weight: 700;
}

.release-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.release-features article {
  min-width: 0;
  padding: 30px 28px 10px;
  border-left: 1px solid #bfd0c7;
}

.release-features article:first-child {
  padding-left: 0;
  border-left: 0;
}

.release-feature-index {
  display: block;
  margin-bottom: 18px;
  color: #378875;
  font-size: 12px;
  font-weight: 800;
}

.release-features h4 {
  margin-bottom: 10px;
  color: #17382d;
  font-size: 18px;
  line-height: 1.35;
}

.release-features p {
  margin: 0;
  color: #5c6d66;
  font-size: 13px;
  line-height: 1.75;
}

.data-update-panel {
  margin-top: 34px;
  padding: 32px;
  border: 1px solid #b7cbc0;
  border-top: 4px solid #247760;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.52);
}

.data-update-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: 54px;
  padding-bottom: 24px;
  border-bottom: 1px solid #c7d7cf;
}

.data-update-heading > p {
  margin: 0;
  color: #5c6d66;
  font-size: 13px;
  line-height: 1.7;
}

.data-update-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.data-update-grid article {
  min-width: 0;
  padding: 24px 26px 22px 0;
  border-bottom: 1px solid #c7d7cf;
}

.data-update-grid article:nth-child(even) {
  padding-right: 0;
  padding-left: 26px;
  border-left: 1px solid #c7d7cf;
}

.data-update-grid article:last-child {
  border-bottom: 0;
}

.data-update-grid article > span {
  display: block;
  margin-bottom: 6px;
  color: #32806d;
  font-size: 11px;
  font-weight: 800;
}

.data-update-grid h4 {
  margin: 0 0 8px;
  color: #17382d;
  font-size: 17px;
  line-height: 1.4;
}

.data-update-grid p {
  margin: 0;
  color: #5c6d66;
  font-size: 13px;
  line-height: 1.75;
}

.coverage-update {
  margin-top: 18px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 22px;
  border-left: 4px solid #438d78;
  color: #23473c;
  background: rgba(208, 228, 218, 0.72);
}

.coverage-update strong {
  font-size: 15px;
}

.coverage-update p {
  margin: 0;
  color: #4f645b;
  font-size: 13px;
  line-height: 1.75;
}

.release-actions {
  margin-top: 30px;
  display: flex;
  gap: 10px;
}

.release-primary-action,
.release-secondary-action {
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 4px;
  font-weight: 800;
}

.release-primary-action {
  border: 1px solid var(--brand);
  color: #ffffff;
  background: var(--brand);
}

.release-secondary-action {
  border: 1px solid #9fb8ab;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.48);
}

.release-primary-action:hover,
.release-primary-action:focus-visible {
  background: var(--brand-dark);
}

.release-secondary-action:hover,
.release-secondary-action:focus-visible {
  border-color: var(--brand);
  background: #ffffff;
}

.decision-section {
  color: var(--ink);
  background: #f4f7f5;
}

.decision-inner {
  width: min(1440px, calc(100% - 80px));
  margin: 0 auto;
  padding: 42px 0 62px;
}

.decision-heading {
  margin-bottom: 36px;
}

.decision-heading p {
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.decision-heading h2 {
  margin-bottom: 8px;
  color: #19372d;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: 0;
}

.decision-heading > span {
  color: var(--muted);
  font-size: 14px;
}

.decision-flow {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  counter-reset: decision-step;
}

.decision-flow li {
  min-width: 0;
  padding: 0 28px;
  border-left: 1px solid #cfdcd5;
  counter-increment: decision-step;
}

.decision-flow li:first-child {
  padding-left: 0;
  border-left: 0;
}

.decision-flow li::before {
  content: "0" counter(decision-step);
  display: block;
  margin-bottom: 10px;
  color: #2a8a77;
  font-size: 13px;
  font-weight: 800;
}

.decision-flow strong,
.decision-flow span {
  display: block;
}

.decision-flow strong {
  margin-bottom: 6px;
  color: #17382d;
  font-size: 17px;
}

.decision-flow span {
  color: var(--muted);
  font-size: 13px;
}

.auth-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  justify-items: end;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(5, 17, 15, 0.72);
  cursor: default;
}

.auth-modal .access-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  max-width: none;
  height: 100svh;
  overflow-y: auto;
  justify-self: end;
  padding: 36px 38px;
  border: 0;
  border-top: 4px solid var(--brand);
  border-radius: 0;
  color: var(--ink);
  background: #ffffff;
  box-shadow: -20px 0 54px rgba(0, 0, 0, 0.2);
  animation: auth-panel-in 220ms ease-out both;
}

.auth-panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.auth-panel-header > div {
  display: grid;
  gap: 3px;
}

.auth-panel-header > div > span:last-child {
  color: var(--muted);
  font-size: 12px;
}

.auth-brand {
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 800;
}

.auth-close {
  min-height: 36px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-soft);
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.auth-close:hover,
.auth-close:focus-visible {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: var(--surface-soft);
}

body.auth-modal-open {
  overflow: hidden;
}

@keyframes hero-reveal {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes auth-panel-in {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1100px) {
  .platform-hero {
    min-height: 600px;
  }

  .hero-header,
  .hero-inner,
  .release-inner,
  .decision-inner {
    width: min(100% - 48px, 960px);
  }

  .release-heading {
    gap: 40px;
  }

  .release-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-stats > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .release-stats > div:nth-child(n + 3) {
    margin-top: 20px;
  }

  .release-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-features article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .access-home h1 {
    font-size: 50px;
  }

  .hero-copy {
    max-width: 740px;
  }
}

@media (max-width: 800px) {
  .platform-hero {
    height: auto;
    min-height: calc(100svh - 84px);
    max-height: none;
  }

  .hero-media {
    object-position: 61% center;
  }

  .hero-header,
  .hero-inner,
  .release-inner,
  .decision-inner {
    width: min(100% - 36px, 620px);
  }

  .hero-header {
    min-height: 78px;
  }

  .hero-inner {
    height: auto;
    min-height: calc(100svh - 84px);
    padding: 112px 0 46px;
    justify-content: flex-start;
  }

  .hero-version {
    right: 18px;
    bottom: 13px;
  }

  .brand-word {
    font-size: 18px;
  }

  .hero-auth-actions {
    gap: 8px;
  }

  .hero-auth-buttons {
    gap: 8px;
  }

  .hero-auth-button {
    min-width: 78px;
    min-height: 40px;
    padding: 7px 12px;
    font-size: 13px;
  }

  .trial-note {
    display: none;
  }

  .access-home h1 {
    font-size: 42px;
  }

  .hero-lede {
    max-width: 560px;
    margin-bottom: 26px;
    font-size: 16px;
    line-height: 1.7;
  }

  .capability-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 0;
  }

  .capability-list > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .hero-modules {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .hero-module {
    min-height: 92px;
    padding: 16px 20px;
  }

  .hero-module-kicker {
    font-size: 20px;
  }

  .release-inner {
    padding: 38px 0 46px;
  }

  .release-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
    padding-bottom: 26px;
  }

  .data-update-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .coverage-update {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .release-heading h2 {
    font-size: 28px;
  }

  .release-stats {
    padding: 22px 0;
  }

  .release-stats > div {
    padding: 0 18px;
  }

  .release-stats dt {
    display: block;
    margin-bottom: 5px;
    font-size: 28px;
  }

  .release-stats dd {
    margin-left: 0;
    font-size: 12px;
  }

  .decision-inner {
    padding: 30px 0 54px;
  }

  .decision-heading h2 {
    font-size: 28px;
  }

  .decision-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 0;
  }

  .decision-flow li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 520px) and (max-height: 700px) {
  .hero-inner {
    padding-top: 96px;
  }

  .access-home h1 {
    margin-bottom: 12px;
    font-size: 30px;
  }

  .hero-lede {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.55;
  }

  .capability-list {
    gap: 10px 0;
  }

  .capability-list dd {
    display: none;
  }

  .hero-modules {
    margin-top: 18px;
  }

  .hero-module {
    min-height: 76px;
    padding: 12px 16px;
  }

  .hero-module-kicker {
    font-size: 18px;
  }
}

@media (max-width: 520px) {
  .hero-header,
  .hero-inner,
  .release-inner,
  .decision-inner {
    width: calc(100% - 28px);
  }

  .hero-brand .brand-symbol {
    width: 24px;
    height: 34px;
  }

  .brand-word {
    font-size: 15px;
  }

  .hero-auth-button {
    min-width: 64px;
    padding: 6px 9px;
    font-size: 12px;
  }

  .access-home h1 {
    font-size: 34px;
  }

  .hero-eyebrow {
    margin-bottom: 10px;
  }

  .release-teaser {
    gap: 7px;
  }

  .release-teaser strong {
    font-size: 12px;
  }

  .release-teaser > span:last-child {
    display: none;
  }

  .hero-lede {
    font-size: 15px;
  }

  .capability-list > div {
    padding-right: 10px;
    padding-left: 14px;
  }

  .capability-list dt {
    font-size: 13px;
  }

  .capability-list dd {
    font-size: 11px;
  }

  .hero-module strong {
    font-size: 13px;
  }

  .release-heading h2 {
    font-size: 25px;
  }

  .release-heading > p {
    font-size: 14px;
  }

  .release-features {
    grid-template-columns: 1fr;
  }

  .release-features article,
  .release-features article:nth-child(3) {
    padding: 22px 0;
    border-top: 1px solid #bfd0c7;
    border-left: 0;
  }

  .release-features article:first-child {
    border-top: 0;
  }

  .data-update-panel {
    margin-top: 24px;
    padding: 24px 18px;
  }

  .data-update-heading h3,
  .release-subheading h3 {
    font-size: 21px;
  }

  .data-update-grid {
    grid-template-columns: 1fr;
  }

  .data-update-grid article,
  .data-update-grid article:nth-child(even) {
    padding: 20px 0;
    border-bottom: 1px solid #c7d7cf;
    border-left: 0;
  }

  .data-update-grid article:last-child {
    border-bottom: 0;
  }

  .coverage-update {
    padding: 18px;
  }

  .release-feature-index {
    margin-bottom: 8px;
  }

  .release-actions {
    margin-top: 18px;
    flex-direction: column;
  }

  .release-primary-action,
  .release-secondary-action {
    width: 100%;
  }

  .decision-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .decision-flow li,
  .decision-flow li:nth-child(3) {
    padding: 20px 0;
    border-top: 1px solid #cfdcd5;
    border-left: 0;
  }

  .decision-flow li:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .auth-modal .access-panel {
    width: 100%;
    padding: 26px 22px 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .hero-copy,
  .hero-modules,
  .auth-modal .access-panel {
    animation: none;
  }

  .hero-auth-button,
  .hero-module {
    transition: none;
  }
}
