:root {
  --ink-950: #07110f;
  --ink-900: #0b1714;
  --ink-850: #10201b;
  --ink-800: #142820;
  --jade-700: #17634f;
  --jade-600: #218067;
  --jade-500: #39a984;
  --jade-300: #8dd0b6;
  --jade-100: #d9eee5;
  --gold-600: #9d7633;
  --gold-500: #c19b55;
  --gold-300: #ddc78c;
  --paper: #f3efe3;
  --paper-deep: #e8e0cf;
  --paper-light: #fbf8ef;
  --paper-text: #22312d;
  --paper-muted: #66716c;
  --white: #fffdf7;
  --line-dark: rgba(197, 164, 91, 0.24);
  --line-paper: rgba(47, 76, 67, 0.16);
  --shadow-lg: 0 28px 80px rgba(4, 16, 12, 0.24);
  --font-ui: var(--font-geist), "Segoe UI", sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink-950);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--paper-text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.body-locked {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

::selection {
  background: var(--jade-600);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--gold-300);
  outline-offset: 3px;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink-950);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 1px;
  content: "";
  background: currentColor;
}

.status-strip {
  position: relative;
  z-index: 60;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #050b09;
  color: rgba(255, 255, 255, 0.74);
}

.status-strip__inner {
  display: flex;
  width: min(1240px, calc(100% - 48px));
  min-height: 35px;
  margin-inline: auto;
}

.status-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-item:first-child {
  padding-left: 0;
}

.status-item small {
  color: rgba(255, 255, 255, 0.42);
  font-size: inherit;
}

.status-item strong {
  color: rgba(255, 255, 255, 0.87);
  font-size: inherit;
  font-weight: 700;
}

.status-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-value i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 10px currentColor;
}

.status-value--online i {
  background: #54d49f;
}

.status-value--offline i {
  background: #d86258;
}

.status-item--accounts {
  margin-left: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 82px;
  border-bottom: 1px solid rgba(210, 181, 111, 0.18);
  background: rgba(7, 17, 15, 0.94);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__seal {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  transform: rotate(45deg);
  border: 1px solid rgba(221, 199, 140, 0.7);
  background: linear-gradient(135deg, rgba(50, 133, 103, 0.55), rgba(8, 25, 20, 0.9));
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.24), 0 0 22px rgba(64, 176, 137, 0.1);
}

.brand__seal::after {
  position: absolute;
  inset: 5px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.brand__seal span {
  transform: rotate(-45deg);
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.brand__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__wordmark strong {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.brand__wordmark small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 3px;
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.primary-nav a::after {
  position: absolute;
  right: 15px;
  bottom: 0;
  left: 15px;
  height: 2px;
  content: "";
  transform: scaleX(0);
  background: var(--gold-500);
  transition: transform 160ms ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--white);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
}

.login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin-left: 20px;
  padding: 0 18px;
  border: 1px solid rgba(221, 199, 140, 0.48);
  background: rgba(221, 199, 140, 0.07);
  color: var(--gold-300);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.login-button:hover {
  background: var(--gold-500);
  color: var(--ink-950);
}

.menu-toggle {
  display: none;
}

.dialog-layer {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(2, 8, 6, 0.84);
  backdrop-filter: blur(10px);
}

.dialog-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: default;
}

.auth-dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  padding: 48px;
  border: 1px solid rgba(221, 199, 140, 0.3);
  background:
    linear-gradient(140deg, rgba(49, 119, 94, 0.13), transparent 50%),
    var(--ink-900);
  color: var(--white);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.55);
}

.auth-dialog::before,
.auth-dialog::after {
  position: absolute;
  width: 26px;
  height: 26px;
  content: "";
  border-color: var(--gold-500);
}

.auth-dialog::before {
  top: 10px;
  left: 10px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.auth-dialog::after {
  right: 10px;
  bottom: 10px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 15px;
  right: 17px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-size: 1.6rem;
}

.auth-dialog h2,
.form-panel h2,
.portal-state h2 {
  margin: 14px 0 9px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.08;
}

.auth-dialog > p {
  color: rgba(255, 255, 255, 0.57);
}

.auth-form,
.register-form {
  display: grid;
  gap: 17px;
  margin-top: 28px;
}

.auth-form label,
.register-form label:not(.check-label) {
  display: grid;
  gap: 7px;
}

.auth-form label > span,
.register-form label > span {
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.auth-form input,
.register-form input:not([type="checkbox"]) {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  border: 1px solid rgba(221, 199, 140, 0.25);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.055);
  color: inherit;
  outline: 0;
}

.auth-form input:focus,
.register-form input:not([type="checkbox"]):focus {
  border-color: var(--jade-500);
  box-shadow: 0 0 0 3px rgba(57, 169, 132, 0.12);
}

.honeypot {
  position: absolute;
  left: -10000px;
  opacity: 0;
  pointer-events: none;
}

.auth-dialog__links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
}

.auth-dialog__links a {
  color: var(--gold-300);
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 27px;
  border: 1px solid transparent;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, var(--jade-500), var(--jade-700));
  color: var(--white);
  box-shadow: 0 12px 30px rgba(24, 112, 85, 0.25);
}

.button--ghost {
  border-color: rgba(221, 199, 140, 0.48);
  background: rgba(7, 17, 15, 0.28);
  color: var(--gold-300);
}

.button--light {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button--dark {
  background: var(--ink-900);
  color: var(--white);
}

.button--disabled,
.button:disabled {
  background: #c9c4b6;
  color: #6f716d;
  cursor: not-allowed;
  box-shadow: none;
}

.button--full {
  width: 100%;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button-row--center {
  justify-content: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--jade-700);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.text-link span {
  font-size: 1rem;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.form-message {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid;
  font-size: 0.82rem;
}

.form-message--error {
  border-color: rgba(218, 100, 87, 0.4);
  background: rgba(146, 47, 37, 0.12);
  color: #efb5ad;
}

.form-message--success {
  border-color: rgba(52, 151, 113, 0.35);
  background: rgba(52, 151, 113, 0.1);
  color: #216b53;
}

.home-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 34%, rgba(69, 163, 129, 0.19), transparent 24%),
    linear-gradient(105deg, rgba(5, 14, 12, 0.99) 0%, rgba(9, 25, 20, 0.96) 48%, rgba(14, 48, 37, 0.93) 100%);
  color: var(--white);
}

.home-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.34;
  background-image:
    repeating-radial-gradient(ellipse at 15% 110%, transparent 0 18px, rgba(221, 199, 140, 0.12) 19px 20px, transparent 21px 38px),
    linear-gradient(120deg, transparent 0 42%, rgba(255, 255, 255, 0.025) 42.2% 42.5%, transparent 42.7% 100%);
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

.home-hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 72px;
  content: "";
  background: linear-gradient(to bottom right, transparent 49%, var(--paper) 50%);
}

.home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 650px;
  align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 40px;
  padding: 76px 0 92px;
}

.home-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 670px;
}

.home-hero .eyebrow,
.section--ink .eyebrow,
.final-cta .eyebrow,
.page-hero .eyebrow {
  color: var(--gold-300);
}

.home-hero h1 {
  margin: 18px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 6.2vw, 6.9rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.home-hero h1 span {
  display: block;
  margin-top: 14px;
  color: var(--jade-300);
  font-style: italic;
}

.home-hero__copy > p {
  max-width: 610px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-proof {
  display: flex;
  max-width: 560px;
  margin-top: 43px;
  border-top: 1px solid rgba(221, 199, 140, 0.2);
}

.hero-proof > span {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 17px 20px 0 0;
}

.hero-proof small {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-proof strong {
  margin-top: 3px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
}

.realm-art {
  position: relative;
  height: 530px;
  isolation: isolate;
}

.realm-art::before {
  position: absolute;
  z-index: -1;
  inset: 9% 2% 2% 7%;
  content: "";
  border: 1px solid rgba(221, 199, 140, 0.17);
  border-radius: 50% 50% 46% 54% / 52% 45% 55% 48%;
  background:
    linear-gradient(to top, rgba(4, 16, 12, 0.74), transparent 46%),
    radial-gradient(circle at 54% 34%, rgba(179, 227, 209, 0.32), rgba(21, 84, 65, 0.16) 30%, transparent 61%);
  box-shadow: inset 0 -40px 100px rgba(0, 0, 0, 0.45);
}

.realm-art__sun {
  position: absolute;
  top: 70px;
  right: 63px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 237, 207, 0.68), rgba(120, 193, 164, 0.16) 54%, transparent 70%);
  filter: blur(0.2px);
}

.realm-art__mountain {
  position: absolute;
  right: 0;
  bottom: 82px;
  left: 35px;
  height: 210px;
  clip-path: polygon(0 87%, 9% 64%, 18% 72%, 30% 27%, 43% 67%, 55% 12%, 68% 62%, 76% 42%, 86% 66%, 100% 36%, 100% 100%, 0 100%);
}

.realm-art__mountain--back {
  bottom: 136px;
  background: rgba(83, 144, 119, 0.2);
  filter: blur(2px);
}

.realm-art__mountain--front {
  background: linear-gradient(to right, #0b211b, #123a2e 55%, #0b201a);
  box-shadow: inset 0 30px 60px rgba(89, 171, 138, 0.1);
}

.realm-art__gate {
  position: absolute;
  right: 126px;
  bottom: 102px;
  width: 210px;
  height: 220px;
}

.realm-art__gate i:nth-child(1),
.realm-art__gate i:nth-child(2) {
  position: absolute;
  bottom: 0;
  width: 16px;
  height: 184px;
  background: linear-gradient(to right, #101816, #35443c, #0b1311);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.38);
}

.realm-art__gate i:nth-child(1) { left: 38px; }
.realm-art__gate i:nth-child(2) { right: 38px; }

.realm-art__gate i:nth-child(3) {
  position: absolute;
  top: 25px;
  left: 0;
  width: 100%;
  height: 25px;
  border-top: 7px solid #202c28;
  background: linear-gradient(to bottom, #485a51, #17231f);
  clip-path: polygon(0 22%, 38% 22%, 42% 0, 58% 0, 62% 22%, 100% 22%, 89% 100%, 11% 100%);
}

.realm-art__badge {
  position: absolute;
  right: 5px;
  bottom: 8px;
  display: flex;
  width: 265px;
  min-height: 122px;
  flex-direction: column;
  justify-content: center;
  padding: 22px 26px;
  border: 1px solid rgba(221, 199, 140, 0.34);
  background: rgba(6, 19, 15, 0.88);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.realm-art__badge span,
.realm-art__badge small {
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.59rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.realm-art__badge strong {
  margin: 4px 0;
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
}

.home-hero__cloud {
  position: absolute;
  border: 1px solid rgba(193, 219, 206, 0.08);
  border-radius: 50%;
  filter: blur(3px);
}

.home-hero__cloud--one {
  top: 30%;
  left: -12%;
  width: 520px;
  height: 130px;
}

.home-hero__cloud--two {
  right: -8%;
  bottom: 22%;
  width: 630px;
  height: 180px;
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  bottom: 72px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-scroll span {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--gold-500), transparent);
}

.section {
  position: relative;
  padding: 108px 0;
}

.section--paper {
  background:
    radial-gradient(circle at 3% 4%, rgba(47, 110, 89, 0.05), transparent 26%),
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)),
    var(--paper);
}

.section-heading {
  max-width: 720px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading h2,
.news-preview__lead h2,
.final-cta h2,
.install-steps > h2,
.support-banner h2 {
  margin: 14px 0 17px;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.35rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.section-heading > p,
.news-preview__lead > p {
  color: var(--paper-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.pillar-grid {
  display: grid;
  margin-top: 64px;
  border-top: 1px solid var(--line-paper);
  border-left: 1px solid var(--line-paper);
  grid-template-columns: repeat(3, 1fr);
}

.pillar-card {
  position: relative;
  min-height: 310px;
  padding: 43px 38px 38px;
  overflow: hidden;
  border-right: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
  background: rgba(255, 255, 255, 0.23);
  transition: transform 180ms ease, background 180ms ease;
}

.pillar-card:hover {
  z-index: 2;
  transform: translateY(-7px);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 22px 50px rgba(28, 54, 45, 0.09);
}

.pillar-card__mark {
  color: rgba(32, 126, 97, 0.17);
  font-family: var(--font-display);
  font-size: 4.4rem;
  line-height: 1;
}

.pillar-card h3 {
  margin: 23px 0 13px;
  font-family: var(--font-display);
  font-size: 1.62rem;
  font-weight: 400;
}

.pillar-card p {
  color: var(--paper-muted);
  font-size: 0.92rem;
}

.pillar-card__line {
  position: absolute;
  right: 38px;
  bottom: 28px;
  left: 38px;
  height: 1px;
  background: linear-gradient(to right, var(--jade-600), transparent);
  opacity: 0.45;
}

.section--ink {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 60%, rgba(35, 128, 96, 0.15), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(191, 157, 85, 0.09), transparent 25%),
    var(--ink-900);
  color: var(--white);
}

.section--ink::after {
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 480px;
  height: 480px;
  content: "";
  border: 1px solid rgba(221, 199, 140, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(221, 199, 140, 0.025), 0 0 0 90px rgba(221, 199, 140, 0.018);
}

.section--ink .section-heading h2 {
  color: var(--white);
}

.section--ink .section-heading > p {
  color: rgba(255, 255, 255, 0.56);
}

.split-feature {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 90px;
}

.split-feature__visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(221, 199, 140, 0.16);
  background:
    linear-gradient(to top, #06110e, transparent 57%),
    radial-gradient(circle at 55% 30%, rgba(141, 208, 182, 0.22), transparent 29%),
    #0d211b;
  box-shadow: var(--shadow-lg);
}

.moon-disc {
  position: absolute;
  top: 56px;
  right: 70px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #d9e9d9, #88b8a6 48%, #386759 74%, transparent 75%);
  box-shadow: 0 0 70px rgba(127, 198, 170, 0.15);
  opacity: 0.72;
}

.ink-ridge {
  position: absolute;
  right: -5%;
  bottom: 0;
  left: -5%;
  clip-path: polygon(0 77%, 9% 60%, 17% 69%, 26% 35%, 34% 61%, 45% 16%, 56% 54%, 65% 28%, 74% 59%, 85% 41%, 100% 67%, 100% 100%, 0 100%);
}

.ink-ridge--one { height: 300px; background: rgba(40, 91, 74, 0.45); }
.ink-ridge--two { height: 240px; background: rgba(14, 49, 38, 0.9); transform: translateX(30px); }
.ink-ridge--three { height: 165px; background: #07120f; transform: translateX(-20px); }

.vertical-script {
  position: absolute;
  top: 30px;
  left: 28px;
  color: rgba(221, 199, 140, 0.34);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.35em;
  writing-mode: vertical-rl;
}

.feature-list {
  display: grid;
  gap: 5px;
  margin: 38px 0;
}

.feature-list > div {
  display: grid;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  grid-template-columns: 48px 1fr;
}

.feature-list > div > span {
  padding-top: 3px;
  color: var(--gold-500);
  font-size: 0.66rem;
  font-weight: 800;
}

.feature-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.88rem;
}

.feature-list p strong {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
}

.section--ink .text-link {
  color: var(--jade-300);
}

.section--journey {
  background:
    linear-gradient(rgba(243, 239, 227, 0.9), rgba(243, 239, 227, 0.9)),
    repeating-radial-gradient(ellipse at 50% 100%, transparent 0 22px, rgba(29, 100, 79, 0.12) 23px 24px, transparent 25px 48px);
}

.journey-grid {
  display: grid;
  margin-top: 62px;
  grid-template-columns: repeat(3, 1fr);
}

.journey-grid article {
  position: relative;
  padding: 28px 42px 38px;
  text-align: center;
}

.journey-grid article:not(:last-child)::after {
  position: absolute;
  top: 48px;
  right: -14%;
  width: 28%;
  height: 1px;
  content: "";
  background: var(--line-paper);
}

.journey-grid article > span {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 23px;
  place-items: center;
  transform: rotate(45deg);
  border: 1px solid rgba(23, 99, 79, 0.34);
  color: var(--jade-700);
  font-size: 0.65rem;
  font-weight: 850;
}

.journey-grid article > span::first-line {
  transform: rotate(-45deg);
}

.journey-grid h3 {
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
}

.journey-grid p {
  color: var(--paper-muted);
  font-size: 0.9rem;
}

.centered-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.section--news {
  background: var(--paper-deep);
}

.news-preview {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 78px;
}

.news-preview__lead {
  padding-top: 15px;
}

.news-preview__cards {
  display: grid;
  border-top: 1px solid var(--line-paper);
}

.news-card {
  position: relative;
  display: grid;
  padding: 32px 46px 32px 0;
  border-bottom: 1px solid var(--line-paper);
  grid-template-columns: 1fr auto;
  transition: padding-left 160ms ease;
}

.news-card:hover {
  padding-left: 12px;
}

.news-card small {
  grid-column: 1 / -1;
  color: var(--jade-700);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 8px 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
}

.news-card p {
  grid-column: 1;
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.87rem;
}

.news-card > span {
  grid-row: 2 / 4;
  grid-column: 2;
  align-self: center;
  color: var(--gold-600);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.final-cta {
  position: relative;
  padding: 118px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 100%, rgba(46, 135, 103, 0.22), transparent 45%),
    var(--ink-950);
  color: var(--white);
  text-align: center;
}

.final-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta p {
  max-width: 610px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.55);
}

.final-cta__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(221, 199, 140, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(221, 199, 140, 0.02), 0 0 0 110px rgba(221, 199, 140, 0.014);
}

.page-hero {
  position: relative;
  min-height: 355px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 36%, rgba(48, 139, 105, 0.24), transparent 27%),
    linear-gradient(110deg, #07110f, #0d2e23);
  color: var(--white);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.18;
  background: repeating-radial-gradient(ellipse at 85% 115%, transparent 0 24px, rgba(221, 199, 140, 0.2) 25px 26px, transparent 27px 52px);
}

.page-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42px;
  content: "";
  background: linear-gradient(to bottom right, transparent 49%, var(--paper) 50%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 79px;
  padding-bottom: 76px;
}

.page-hero h1 {
  margin: 12px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 6vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1rem;
}

.page-hero__mist {
  position: absolute;
  top: 30%;
  right: -5%;
  width: 55%;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  filter: blur(5px);
}

.article-list {
  display: grid;
  gap: 1px;
  background: var(--line-paper);
  border: 1px solid var(--line-paper);
}

.journal-entry {
  display: grid;
  align-items: start;
  padding: 46px;
  background: var(--paper-light);
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 28px;
}

.journal-entry__number {
  color: rgba(24, 112, 85, 0.2);
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
}

.journal-entry h2 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}

.journal-entry p {
  max-width: 780px;
  margin: 0;
  color: var(--paper-muted);
}

.journal-entry__state {
  padding: 6px 10px;
  border: 1px solid rgba(24, 112, 85, 0.22);
  color: var(--jade-700);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rankings-shell {
  max-width: 1120px;
}

.ranking-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--line-paper);
}

.ranking-tabs span,
.ranking-tabs a {
  flex: 0 0 auto;
  padding: 14px 20px;
  color: var(--paper-muted);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.ranking-tabs span.is-active,
.ranking-tabs a:hover,
.ranking-tabs a:focus-visible {
  border-bottom: 2px solid var(--jade-600);
  color: var(--jade-700);
}

.ranking-panel {
  display: grid;
  margin-top: 30px;
  padding: 46px;
  border: 1px solid var(--line-paper);
  background: rgba(255, 255, 255, 0.32);
  grid-template-columns: 0.7fr 1.3fr;
  gap: 54px;
}

.ranking-panel__intro h2 {
  margin: 10px 0;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.05;
}

.ranking-panel__intro p,
.data-note {
  color: var(--paper-muted);
}

.ranking-panel--summary {
  align-items: center;
}

.snapshot-state {
  display: grid;
  padding: 24px;
  border: 1px solid var(--line-paper);
  gap: 7px;
}

.snapshot-state strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.snapshot-state span,
.snapshot-state small {
  color: var(--paper-muted);
}

.snapshot-state--ready {
  border-left: 3px solid var(--jade-600);
  background: rgba(24, 112, 85, 0.05);
}

.snapshot-state--quiet {
  border-left: 3px solid rgba(34, 74, 61, 0.28);
  background: rgba(34, 74, 61, 0.035);
}

.ranking-board {
  margin-top: 54px;
  scroll-margin-top: 110px;
}

.ranking-board__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 20px;
}

.ranking-board__heading h2 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}

.ranking-table {
  border-top: 1px solid var(--line-paper);
  border-left: 1px solid var(--line-paper);
}

.ranking-row {
  display: grid;
  grid-template-columns: 0.55fr 1.7fr 0.7fr 1.2fr 0.9fr;
}

.ranking-row span {
  min-width: 0;
  padding: 13px 10px;
  border-right: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
  font-size: 0.78rem;
}

.ranking-row--head span {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ranking-row--empty span:nth-child(2) i {
  display: block;
  width: 68%;
  height: 8px;
  margin-top: 5px;
  background: rgba(34, 74, 61, 0.1);
}

.ranking-row--data span:nth-child(2) {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.ranking-row--community {
  grid-template-columns: 0.5fr 1.35fr 1.2fr 0.75fr 1.2fr 0.85fr;
}

.ranking-empty {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line-paper);
  color: var(--paper-muted);
  background: rgba(255, 255, 255, 0.25);
}

.data-note {
  margin: 18px 0 0;
  font-size: 0.78rem;
}

.fact-grid {
  display: grid;
  margin-bottom: 86px;
  border-top: 1px solid var(--line-paper);
  border-left: 1px solid var(--line-paper);
  grid-template-columns: repeat(4, 1fr);
}

.fact-grid article {
  padding: 30px;
  border-right: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
}

.fact-grid small {
  display: block;
  color: var(--paper-muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact-grid strong {
  display: block;
  margin: 8px 0 5px;
  color: var(--jade-700);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
}

.fact-grid p {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.78rem;
}

.content-split {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 90px;
}

.prose {
  max-width: 720px;
  color: var(--paper-muted);
}

.ink-note {
  position: relative;
  padding: 45px;
  overflow: hidden;
  background: var(--ink-900);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.ink-note > span {
  position: absolute;
  top: -15px;
  right: 17px;
  color: rgba(141, 208, 182, 0.08);
  font-family: var(--font-display);
  font-size: 8rem;
}

.ink-note h3 {
  position: relative;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
}

.ink-note p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

.security-section {
  position: relative;
  z-index: 2;
}

.security-grid {
  display: grid;
  margin-top: 55px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  grid-template-columns: repeat(2, 1fr);
}

.security-grid article {
  padding: 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.security-grid article > span {
  color: var(--gold-500);
  font-size: 0.65rem;
  font-weight: 800;
}

.security-grid h3 {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
}

.security-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.86rem;
}

.rules-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 75px;
}

.rule-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rule-list li {
  display: grid;
  padding: 20px 0;
  border-top: 1px solid var(--line-paper);
  grid-template-columns: 50px 1fr;
}

.rule-list li > span {
  color: var(--jade-700);
  font-size: 0.68rem;
  font-weight: 800;
}

.rule-list p {
  margin: 0;
}

.guide-grid {
  display: grid;
  border-top: 1px solid var(--line-paper);
  border-left: 1px solid var(--line-paper);
  grid-template-columns: repeat(3, 1fr);
}

.guide-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 35px;
  border-right: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
  background: rgba(255, 255, 255, 0.22);
  transition: background 160ms ease, transform 160ms ease;
}

.guide-card:hover {
  z-index: 2;
  transform: translateY(-4px);
  background: var(--paper-light);
  box-shadow: 0 18px 40px rgba(20, 54, 42, 0.08);
}

.guide-card__top {
  display: flex;
  justify-content: space-between;
  color: var(--jade-700);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-card__top small {
  color: rgba(24, 112, 85, 0.24);
}

.guide-card h2 {
  margin: 28px 0 10px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.12;
}

.guide-card p {
  color: var(--paper-muted);
  font-size: 0.88rem;
}

.guide-card footer {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 19px;
  border-top: 1px solid var(--line-paper);
  color: var(--paper-muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-card footer i {
  color: var(--gold-600);
  font-style: normal;
}

.support-banner {
  display: grid;
  align-items: center;
  margin-top: 60px;
  padding: 38px 42px;
  background: var(--paper-deep);
  grid-template-columns: 1fr 1fr auto;
  gap: 40px;
}

.support-banner h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.support-banner p {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.87rem;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 80px;
}

.download-card {
  position: relative;
  align-self: start;
  padding: 48px;
  overflow: hidden;
  border: 1px solid rgba(221, 199, 140, 0.2);
  background: var(--ink-900);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.download-card__seal {
  position: absolute;
  top: -32px;
  right: -8px;
  color: rgba(141, 208, 182, 0.07);
  font-family: var(--font-display);
  font-size: 10rem;
}

.download-card h2 {
  position: relative;
  margin: 10px 0 30px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
}

.download-card dl {
  position: relative;
  margin: 0 0 30px;
}

.download-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.78rem;
}

.download-card dt {
  color: rgba(255, 255, 255, 0.43);
}

.download-card dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  text-align: right;
}

.install-steps > h2 {
  font-size: 3.2rem;
}

.install-steps ol {
  margin: 35px 0 0;
  padding: 0;
  list-style: none;
}

.install-steps li {
  display: grid;
  padding: 21px 0;
  border-top: 1px solid var(--line-paper);
  grid-template-columns: 54px 1fr;
}

.install-steps li > span {
  color: var(--jade-700);
  font-size: 0.68rem;
  font-weight: 800;
}

.install-steps h3 {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
}

.install-steps p {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.86rem;
}

.register-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
}

.register-layout > aside h2 {
  margin: 12px 0 25px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.04;
}

.safety-list {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.safety-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
}

.safety-list li > span {
  color: var(--jade-600);
  font-weight: 900;
}

.safety-list p {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.86rem;
}

.safety-list strong {
  display: block;
  color: var(--paper-text);
}

.form-panel {
  padding: 48px;
  border: 1px solid var(--line-paper);
  background: var(--paper-light);
  box-shadow: 0 20px 55px rgba(24, 53, 44, 0.08);
}

.form-panel > p {
  color: var(--paper-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.register-form input:not([type="checkbox"]) {
  border-color: rgba(39, 78, 66, 0.2);
  background: #fff;
  color: var(--paper-text);
}

.register-form label small {
  color: var(--paper-muted);
  font-size: 0.7rem;
}

.check-label {
  display: grid;
  align-items: start;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  color: var(--paper-muted);
  font-size: 0.8rem;
}

.check-label input {
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  accent-color: var(--jade-600);
}

.check-label a {
  color: var(--jade-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.register-form .form-message--error {
  color: #8e3028;
}

.form-footnote {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.7rem;
  text-align: center;
}

.portal-state,
.narrow-state {
  max-width: 690px;
  margin-inline: auto;
  padding: 64px;
  border: 1px solid var(--line-paper);
  background: var(--paper-light);
  text-align: center;
  box-shadow: 0 20px 60px rgba(20, 54, 42, 0.07);
}

.portal-state__seal,
.narrow-state > span {
  display: block;
  color: rgba(24, 112, 85, 0.18);
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
}

.portal-state p,
.narrow-state p {
  color: var(--paper-muted);
}

.account-dashboard {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 38px;
}

.account-dashboard > aside,
.account-dashboard > section {
  padding: 35px;
  border: 1px solid var(--line-paper);
  background: var(--paper-light);
}

.account-dashboard h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dashboard-grid article {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  padding: 22px;
  background: var(--paper-deep);
}

.dashboard-grid small,
.dashboard-grid span {
  color: var(--paper-muted);
  font-size: 0.68rem;
}

.dashboard-grid strong {
  margin: auto 0 4px;
  color: var(--jade-700);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
}

.legal-copy {
  max-width: 840px;
}

.legal-copy h2 {
  margin: 36px 0 8px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p {
  color: var(--paper-muted);
}

.legal-warning {
  margin-top: 38px;
  padding: 18px 20px;
  border-left: 3px solid var(--gold-500);
  background: var(--paper-deep);
  color: #675a3d;
  font-size: 0.86rem;
}

.site-footer {
  position: relative;
  padding: 82px 0 0;
  background: #050b09;
  color: rgba(255, 255, 255, 0.56);
}

.site-footer__ornament {
  position: absolute;
  top: 0;
  left: 50%;
  width: 190px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to right, transparent, var(--gold-500), transparent);
}

.site-footer__ornament::after {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 9px;
  height: 9px;
  content: "";
  transform: translateX(-50%) rotate(45deg);
  border: 1px solid var(--gold-500);
  background: #050b09;
}

.site-footer__inner {
  display: grid;
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
  padding-bottom: 62px;
  grid-template-columns: 1.5fr repeat(3, 0.65fr);
  gap: 65px;
}

.footer-brand p {
  max-width: 310px;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.82rem;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-column h2 {
  margin-bottom: 11px;
  color: var(--gold-300);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-column a {
  font-size: 0.78rem;
  transition: color 150ms ease;
}

.footer-column a:hover {
  color: var(--white);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
  padding: 19px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.64rem;
  letter-spacing: 0.05em;
}

@media (max-width: 1100px) {
  .status-item--accounts,
  .status-item--time {
    display: none;
  }

  .status-item:first-child:not(.status-item--time) {
    padding-left: 0;
  }

  .primary-nav a {
    padding-inline: 9px;
    font-size: 0.66rem;
  }

  .login-button {
    margin-left: 11px;
    padding-inline: 13px;
  }

  .home-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
  }

  .realm-art {
    transform: scale(0.9);
    transform-origin: center right;
  }

  .support-banner {
    grid-template-columns: 1fr 1fr;
  }

  .support-banner .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 72px;
  }

  .menu-toggle {
    position: relative;
    display: block;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid rgba(221, 199, 140, 0.28);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle::before,
  .menu-toggle::after,
  .menu-toggle > span:first-child {
    position: absolute;
    left: 11px;
    width: 19px;
    height: 1px;
    content: "";
    background: var(--gold-300);
  }

  .menu-toggle::before { top: 13px; }
  .menu-toggle > span:first-child { top: 20px; }
  .menu-toggle::after { top: 27px; }

  .primary-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 15px 24px 24px;
    border-bottom: 1px solid rgba(221, 199, 140, 0.22);
    background: rgba(5, 13, 10, 0.99);
    flex-direction: column;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    min-height: 43px;
    padding-inline: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .primary-nav a::after {
    display: none;
  }

  .login-button {
    margin-left: 10px;
  }

  .home-hero__inner {
    display: block;
    padding-top: 74px;
  }

  .home-hero__copy {
    max-width: 720px;
  }

  .realm-art {
    position: absolute;
    z-index: -1;
    top: 50px;
    right: -160px;
    width: 600px;
    opacity: 0.46;
  }

  .pillar-grid,
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-feature,
  .content-split,
  .download-layout,
  .register-layout,
  .rules-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .split-feature__visual {
    min-height: 430px;
  }

  .news-preview {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ranking-panel {
    grid-template-columns: 1fr;
  }

  .fact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .register-layout > aside {
    max-width: 630px;
  }

  .account-dashboard {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1.4fr repeat(3, 0.7fr);
    gap: 30px;
  }
}

@media (max-width: 680px) {
  .container,
  .site-header__inner,
  .status-strip__inner,
  .site-footer__inner,
  .site-footer__bottom {
    width: min(100% - 28px, 1240px);
  }

  .status-item {
    flex: 1;
    justify-content: center;
    padding-inline: 8px;
  }

  .status-item--launch {
    display: none;
  }

  .brand__seal {
    width: 37px;
    height: 37px;
  }

  .brand__wordmark strong {
    font-size: 1.05rem;
  }

  .brand__wordmark small {
    display: none;
  }

  .login-button {
    width: 42px;
    padding: 0;
    font-size: 0;
  }

  .login-button span {
    font-size: 0.9rem;
  }

  .home-hero {
    min-height: 700px;
  }

  .home-hero__inner {
    min-height: 630px;
    padding-top: 60px;
  }

  .home-hero h1 {
    font-size: clamp(3.5rem, 17vw, 5.2rem);
  }

  .home-hero__copy > p {
    font-size: 0.94rem;
  }

  .hero-proof {
    margin-top: 32px;
  }

  .hero-proof > span {
    padding-right: 8px;
  }

  .realm-art {
    right: -265px;
    opacity: 0.28;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading h2,
  .news-preview__lead h2,
  .final-cta h2 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  .pillar-grid,
  .guide-grid,
  .journey-grid,
  .security-grid,
  .fact-grid,
  .form-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .pillar-card {
    min-height: 270px;
  }

  .journey-grid article:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -12px;
    width: 1px;
    height: 24px;
  }

  .split-feature__visual {
    min-height: 365px;
  }

  .moon-disc {
    right: 20px;
    width: 190px;
    height: 190px;
  }

  .news-card {
    display: block;
    padding-right: 0;
  }

  .news-card > span {
    display: inline-block;
    margin-top: 13px;
  }

  .page-hero {
    min-height: 315px;
  }

  .page-hero__content {
    padding-top: 68px;
  }

  .journal-entry {
    grid-template-columns: 40px 1fr;
    padding: 28px 22px;
    gap: 13px;
  }

  .journal-entry__number {
    font-size: 1.8rem;
  }

  .journal-entry__state {
    grid-column: 2;
    justify-self: start;
  }

  .ranking-panel {
    padding: 25px 18px;
  }

  .ranking-table {
    overflow-x: auto;
  }

  .ranking-row {
    min-width: 610px;
  }

  .ranking-row--community {
    min-width: 760px;
  }

  .support-banner {
    padding: 30px;
    grid-template-columns: 1fr;
  }

  .support-banner .button {
    grid-column: auto;
  }

  .download-card,
  .form-panel,
  .portal-state,
  .narrow-state {
    padding: 32px 24px;
  }

  .register-layout > aside h2 {
    font-size: 2.45rem;
  }

  .auth-dialog {
    padding: 42px 25px 30px;
  }

  .site-footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 5px;
  }
}

/* Authenticated catalog and account stash. */
.commerce-grid,
.stash-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.commerce-card,
.stash-card,
.stash-toolbar,
.stash-destroy {
  padding: 28px;
  border: 1px solid var(--line-paper);
  background: var(--paper-light);
}

.commerce-card > small,
.stash-card > small {
  color: var(--gold-600);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.commerce-card h2,
.stash-card h2 {
  margin: 9px 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
}

.commerce-card dl {
  margin: 22px 0;
}

.commerce-card dl > div {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-top: 1px solid var(--line-paper);
}

.commerce-card dd {
  margin: 0;
  color: var(--jade-700);
  font-weight: 800;
}

.register-form select,
.stash-toolbar select {
  width: 100%;
  min-height: 49px;
  padding: 0 14px;
  border: 1px solid rgba(39, 78, 66, 0.2);
  background: #fff;
  color: var(--paper-text);
}

.stash-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.stash-toolbar label {
  display: grid;
  min-width: min(420px, 100%);
  gap: 7px;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.stash-card {
  position: relative;
  min-height: 225px;
}

.stash-card__select {
  position: absolute;
  top: 18px;
  right: 18px;
}

.stash-card > strong,
.stash-card > time {
  display: block;
  color: var(--paper-muted);
  font-size: 0.72rem;
}

.stash-card > .text-link {
  margin-top: 20px;
  border: 0;
  background: transparent;
}

.stash-destroy {
  margin-top: 28px;
}

.stash-destroy > summary {
  cursor: pointer;
  color: #8e3028;
  font-weight: 800;
}

.stash-destroy__choices {
  display: grid;
  margin: 20px 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

@media (max-width: 900px) {
  .commerce-grid,
  .stash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stash-destroy__choices { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .commerce-grid,
  .stash-grid,
  .stash-destroy__choices { grid-template-columns: 1fr; }
  .stash-toolbar { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }
}

/* Symfony public shell additions. */
.integration-notice {
  display: grid;
  max-width: 850px;
  margin: 0 auto 38px;
  padding: 22px 24px;
  border: 1px solid rgba(157, 118, 51, 0.3);
  background: rgba(255, 253, 247, 0.62);
  grid-template-columns: auto 1fr;
  gap: 16px;
}

.integration-notice__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--gold-500);
  color: var(--gold-600);
  font-family: var(--font-display);
}

.integration-notice strong,
.integration-notice span {
  display: block;
}

.integration-notice strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
}

.integration-notice span {
  margin-top: 3px;
  color: var(--paper-muted);
  font-size: 0.85rem;
}

.module-grid {
  display: grid;
  margin-top: 38px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.module-card {
  position: relative;
  display: flex;
  min-height: 166px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line-paper);
  background: rgba(255, 253, 247, 0.72);
  transition: border-color 160ms ease, transform 160ms ease;
}

.module-card:hover {
  transform: translateY(-2px);
  border-color: rgba(33, 128, 103, 0.44);
}

.module-card small {
  color: var(--gold-600);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.module-card h2 {
  margin: 9px 0 7px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.15;
}

.module-card p {
  margin-bottom: 0;
  color: var(--paper-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.module-card__arrow {
  position: absolute;
  right: 20px;
  bottom: 16px;
  color: var(--jade-700);
}

.locked-module {
  display: grid;
  max-width: 850px;
  margin-inline: auto;
  padding: 56px;
  border: 1px solid var(--line-paper);
  background: var(--paper-light);
  box-shadow: var(--shadow-lg);
  grid-template-columns: 110px 1fr;
  gap: 32px;
}

.locked-module__seal {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  transform: rotate(45deg);
  border: 1px solid var(--gold-500);
  background: var(--ink-900);
  color: var(--gold-300);
}

.locked-module__seal span {
  transform: rotate(-45deg);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.locked-module h2 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
}

.locked-module p {
  color: var(--paper-muted);
}

.locked-module .button-row {
  margin-top: 24px;
}

.locked-module__facts {
  display: grid;
  margin: 25px 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.locked-module__facts li {
  padding: 13px 14px;
  border-left: 2px solid var(--jade-600);
  background: rgba(33, 128, 103, 0.06);
  color: var(--paper-muted);
  font-size: 0.78rem;
}

.auth-shell {
  display: grid;
  max-width: 980px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
}

.auth-shell__intro,
.auth-shell__form {
  padding: 40px;
  border: 1px solid var(--line-paper);
  background: var(--paper-light);
}

.auth-shell__intro {
  background: var(--ink-900);
  color: var(--white);
}

.auth-shell__intro h2,
.auth-shell__form h2 {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.08;
}

.auth-shell__intro p {
  color: rgba(255, 255, 255, 0.62);
}

.auth-shell__form .auth-form {
  margin-top: 22px;
}

.auth-shell__form input:disabled,
.form-panel input:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.route-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.route-list a {
  padding: 7px 11px;
  border: 1px solid rgba(221, 199, 140, 0.28);
  color: var(--gold-300);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-meta {
  margin-bottom: 32px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line-paper);
  color: var(--paper-muted);
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .module-grid {
    grid-template-columns: 1fr;
  }

  .locked-module {
    padding: 36px 24px;
    grid-template-columns: 1fr;
  }

  .locked-module__facts {
    grid-template-columns: 1fr;
  }

  .auth-shell__intro,
  .auth-shell__form {
    padding: 30px 24px;
  }
}
