body.page-body {
  min-height: 100vh;
}

.page-site-header .site-nav a[aria-current="page"] {
  background: rgba(217, 138, 43, 0.12);
  color: var(--amber);
}

.page-button-icon {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 9px;
  background: rgba(20, 30, 40, 0.35);
}

.page-button-icon::before {
  position: absolute;
  top: 16px;
  left: 11px;
  width: 13px;
  height: 2.5px;
  border-radius: 4px;
  background: currentColor;
  content: "";
  transform: rotate(-45deg);
  transition: translate 240ms var(--ease);
}

.page-button-icon::after {
  position: absolute;
  top: 9px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  content: "";
  transition: translate 240ms var(--ease);
}

.button:hover .page-button-icon::before,
.button:hover .page-button-icon::after {
  translate: 2px -2px;
}

.page-main {
  overflow: hidden;
}

.page-shell {
  width: min(100%, var(--max));
  padding-inline: clamp(24px, 5vw, 80px);
  margin-inline: auto;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.page-kicker,
.section-label {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
}

.page-kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 14px rgba(217, 138, 43, 0.55);
  content: "";
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  min-height: 680px;
  padding-top: 140px;
  padding-bottom: 80px;
}

.page-hero h1,
.page-section h2,
.legal-hero h1 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.page-hero h1 {
  max-width: 720px;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
}

.page-hero h1 em,
.page-section h2 em,
.legal-hero h1 em {
  color: var(--amber);
  font-style: normal;
}

.page-lede {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.62;
  font-weight: 450;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 40px);
  padding: 150px clamp(24px, 5vw, 80px) 90px;
  text-align: center;
  isolation: isolate;
}

.hero-brand__rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0.45;
}

.hero-brand__rings i {
  position: absolute;
  border: 1px solid var(--steel);
  border-radius: 50%;
}

.hero-brand__rings i:nth-child(1) {
  width: min(92vw, 880px);
  height: min(92vw, 880px);
}

.hero-brand__rings i:nth-child(2) {
  width: min(72vw, 640px);
  height: min(72vw, 640px);
  border-color: rgba(92, 118, 141, 0.55);
}

.hero-brand__rings i:nth-child(3) {
  width: min(52vw, 460px);
  height: min(52vw, 460px);
  border-color: var(--saffron);
  opacity: 0.7;
}

.hero-brand__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-brand__logo {
  width: min(280px, 58vw);
  height: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

.hero-brand__tagline {
  margin: 0 0 18px;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-brand h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero-brand__lede {
  max-width: 520px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.6;
}

.hero-brand .page-actions {
  justify-content: center;
  margin-top: 36px;
}

.page-section {
  padding: 90px 0;
}

.page-section--soft {
  background: linear-gradient(180deg, rgba(36, 59, 83, 0.18), transparent);
}

.section-intro {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.section-intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-intro p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.info-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.card-index {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--steel);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 450;
}

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

.feature-list li {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(20, 30, 40, 0.5);
}

.feature-list strong {
  color: var(--cream);
}

.feature-list span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.badge-v1 {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(92, 118, 141, 0.35);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

.plan-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(20, 30, 40, 0.65);
}

.plan-card--featured {
  border-color: rgba(217, 138, 43, 0.45);
  background: linear-gradient(165deg, rgba(217, 138, 43, 0.1), rgba(20, 30, 40, 0.8));
}

.plan-badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(217, 138, 43, 0.15);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.plan-card > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.plan-price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.plan-price small {
  display: block;
  margin-top: 4px;
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 500;
}

.plan-list {
  flex: 1;
  margin: 0;
  padding: 0 0 0 1.1em;
  color: var(--muted);
  line-height: 1.55;
}

.plan-card .button {
  margin-top: auto;
  width: 100%;
}

.code-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0d151c;
}

.code-panel__top {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(36, 59, 83, 0.35);
}

.code-panel__top i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--steel);
}

.code-panel__top i:nth-child(1) { background: #c45c5c; }
.code-panel__top i:nth-child(2) { background: var(--amber); }
.code-panel__top i:nth-child(3) { background: #6aaf7a; }

.code-panel__body {
  position: relative;
  padding: 20px 20px 24px;
}

.code-panel code {
  display: block;
  color: #c8d4de;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.code-panel code b {
  color: var(--amber);
  font-weight: 600;
}

.code-panel code em {
  color: #6aaf7a;
  font-style: normal;
}

.copy-command {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(36, 59, 83, 0.5);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.72rem;
  cursor: pointer;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.filter-bar button {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
}

.filter-bar button[aria-pressed="true"] {
  border-color: rgba(217, 138, 43, 0.5);
  background: rgba(217, 138, 43, 0.12);
  color: var(--cream);
}

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 36px 40px;
  border: 1px solid rgba(217, 138, 43, 0.3);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(36, 59, 83, 0.5), rgba(20, 30, 40, 0.9));
}

.cta-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-panel p {
  margin: 0;
  color: var(--muted);
}

.page-visual {
  position: relative;
  min-height: 320px;
}

.hero-scene {
  position: relative;
  height: 100%;
  min-height: 320px;
}

.signal-rings {
  position: absolute;
  inset: 10% 5%;
}

.signal-rings i {
  position: absolute;
  inset: 0;
  border: 1px solid var(--steel);
  border-radius: 50%;
  opacity: 0.5;
}

.signal-rings i:nth-child(2) {
  inset: 16%;
  border-color: var(--saffron);
}

.signal-rings i:nth-child(3) {
  inset: 32%;
  border-color: var(--amber);
}

.art-terminal {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0d151c;
  overflow: hidden;
}

.terminal-head {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--dim);
}

.terminal-head span {
  display: flex;
  gap: 5px;
}

.terminal-head span i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--steel);
}

.terminal-log {
  padding: 16px;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.55;
}

.terminal-log p {
  margin: 0 0 8px;
  color: var(--muted);
}

.terminal-log .is-cmd {
  color: #b8c5d0;
}

.terminal-prompt {
  color: var(--amber);
}

.terminal-log p i {
  color: #6aaf7a;
  font-style: normal;
  margin-right: 8px;
}

.terminal-log strong {
  color: var(--cream);
  margin-left: auto;
}

.lost-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--navy);
  text-align: center;
}

.lost-badge small {
  display: block;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--steel);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inbox-panel {
  position: absolute;
  bottom: 20%;
  left: 10%;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.inbox-panel span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.85rem;
}

.inbox-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.contact-fields {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.85rem;
}

.field input,
.contact-panel textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--charcoal);
  color: var(--cream);
  font: 450 0.95rem/1.4 var(--display);
}

.contact-panel textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-honeypot[hidden] {
  display: none !important;
}

.contact-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(106, 175, 122, 0.15);
  color: #9ed4ad;
}

.contact-status.is-error {
  background: rgba(196, 92, 92, 0.15);
  color: #e8a0a0;
}

.attribution {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--saffron);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.legal-hero {
  padding-top: 140px;
  padding-bottom: 40px;
}

.legal-meta {
  margin-top: 18px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.legal-layout {
  display: grid;
  gap: 40px;
  padding-bottom: 80px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legal-nav a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
}

.legal-nav a:hover {
  border-color: rgba(217, 138, 43, 0.4);
  color: var(--cream);
}

.legal-article section {
  margin-bottom: 36px;
}

.legal-article h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.legal-article h3 {
  margin: 20px 0 8px;
  font-size: 1.05rem;
  color: var(--cream);
}

.legal-article p,
.legal-article li {
  color: var(--muted);
  line-height: 1.65;
}

.legal-article ul {
  padding-left: 1.2em;
}

.source-note {
  margin-top: 20px;
  color: var(--dim);
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .page-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
  }

  .page-visual {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}