:root {
  color-scheme: dark;
  --bg: #0b0b0a;
  --bg-2: #12110f;
  --surface: rgba(245, 239, 226, 0.055);
  --surface-strong: rgba(245, 239, 226, 0.095);
  --text: #f3eee3;
  --muted: #bdb4a5;
  --subtle: #81796d;
  --line: rgba(243, 238, 227, 0.14);
  --line-strong: rgba(243, 238, 227, 0.22);
  --accent: #c8aa78;
  --accent-soft: rgba(200, 170, 120, 0.16);
  --blue: rgba(93, 139, 186, 0.18);
  --violet: rgba(116, 93, 158, 0.12);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 76% 8%, var(--blue), transparent 34rem),
    radial-gradient(circle at 18% 28%, var(--violet), transparent 28rem),
    linear-gradient(180deg, #090908 0%, var(--bg) 42%, #0f0e0c 100%);
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 82px 82px;
  content: "";
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 80%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 0%, transparent, rgba(0, 0, 0, 0.64) 74%);
  content: "";
  pointer-events: none;
}

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

button,
input {
  font: inherit;
}

::selection {
  background: rgba(200, 170, 120, 0.35);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  transform: translateY(-140%);
  border: 1px solid var(--line-strong);
  background: var(--text);
  color: var(--bg);
  padding: 0.7rem 1rem;
  transition: transform 180ms var(--ease);
}

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

.site-shell {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.42rem;
}

.brand-mark,
.footer-brand {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.brand-signature {
  color: var(--subtle);
  font-size: 0.82rem;
  line-height: 1.25;
}

.nav-links,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.nav-links a,
.site-footer a {
  transition:
    color 180ms var(--ease),
    transform 180ms var(--ease);
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--text);
}

.section {
  padding: clamp(6.2rem, 10vw, 10.6rem) 0;
}

.hero {
  position: relative;
  min-height: calc(100svh - 6rem);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 5% -18% auto auto;
  width: min(58rem, 90vw);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 44% 40%, rgba(114, 160, 210, 0.22), transparent 30%),
    radial-gradient(circle at 58% 58%, rgba(200, 170, 120, 0.11), transparent 38%),
    radial-gradient(circle, rgba(91, 76, 130, 0.13), transparent 62%);
  filter: blur(30px);
  opacity: 0.9;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(18rem, 0.62fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.eyebrow,
.section-label,
.panel-kicker,
.presence-object span,
.proof-list span {
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 620;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  margin-top: 1.4rem;
  max-width: 10ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.4rem, 12vw, 10.6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.86;
}

h2 {
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 5.9rem);
  font-weight: 400;
  letter-spacing: -0.026em;
  line-height: 0.95;
}

.hero-lede {
  margin-top: 2rem;
  color: var(--text);
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  line-height: 1.12;
}

.hero-body {
  max-width: 39rem;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
}

.hero-actions,
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.credibility-line {
  max-width: 38rem;
  margin-top: 3.35rem;
  color: var(--subtle);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.hero-actions + .credibility-line {
  margin-top: 3.35rem;
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.86rem 1.2rem;
  cursor: pointer;
  font-weight: 620;
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    background-color 180ms var(--ease),
    color 180ms var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--text);
  color: #11100e;
}

.button-quiet {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.028);
  color: var(--muted);
}

.button-quiet:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.trust-panel,
.presence-object,
.beta-panel,
.request-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 26%),
    var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.trust-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.hermes-mark {
  position: relative;
  width: min(13rem, 48vw);
  aspect-ratio: 1;
  margin: 0 0 1.6rem auto;
  border: 1px solid rgba(200, 170, 120, 0.22);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(243, 238, 227, 0.19) 0 0.18rem, transparent 0.22rem),
    radial-gradient(circle at 50% 50%, rgba(200, 170, 120, 0.1), transparent 40%),
    radial-gradient(circle at 62% 36%, rgba(93, 139, 186, 0.2), transparent 33%);
  box-shadow:
    inset 0 0 0 1px rgba(243, 238, 227, 0.045),
    0 0 80px rgba(93, 139, 186, 0.13);
}

.hermes-mark::before,
.hermes-mark::after,
.hermes-mark span {
  position: absolute;
  border: 1px solid rgba(243, 238, 227, 0.12);
  border-radius: 999px;
  content: "";
}

.hermes-mark::before {
  inset: 17%;
}

.hermes-mark::after {
  inset: 34%;
  border-color: rgba(200, 170, 120, 0.18);
}

.hermes-mark span {
  inset: 25%;
  border-color: rgba(93, 139, 186, 0.16);
  animation: quiet-drift 14s var(--ease) infinite alternate;
}

@keyframes quiet-drift {
  from {
    transform: translate3d(-2px, 1px, 0) scale(0.985);
    opacity: 0.72;
  }

  to {
    transform: translate3d(2px, -1px, 0) scale(1.015);
    opacity: 1;
  }
}

.trust-panel h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.trust-panel p:not(.panel-kicker) {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.editorial-grid,
.hermes-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.section-label {
  margin-bottom: 1.35rem;
}

.section-copy,
.hermes-layout p,
.proof-header p,
.beta-panel p,
.request-card p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
}

.section-copy {
  max-width: 43rem;
  padding-top: 0.45rem;
}

.section-copy p + p {
  margin-top: 1.2rem;
}

.hermes {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hermes-layout p {
  max-width: 41rem;
  margin-top: 1.6rem;
}

.presence-object {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.presence-object div {
  padding: 1.45rem;
  border-bottom: 1px solid var(--line);
}

.presence-object div:last-child {
  border-bottom: 0;
}

.presence-object p {
  margin-top: 0.8rem;
  color: var(--text);
}

.proof-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.proof-list article {
  min-height: 13rem;
  background: rgba(12, 11, 10, 0.86);
  padding: 1.25rem;
}

.proof-list p {
  margin-top: 1.3rem;
  color: var(--muted);
}

.beta-panel,
.request-card {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(1.4rem, 4vw, 3rem);
}

.request {
  padding-top: 2rem;
}

.beta-copy p + p {
  margin-top: 1rem;
}

.request-card h2 {
  margin-top: 1rem;
}

.request-card p {
  margin-top: 1.2rem;
}

.access-form label {
  display: block;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 620;
}

.access-form input {
  width: min(100%, 22rem);
  min-height: 3.5rem;
  border: 1px solid rgba(243, 238, 227, 0.19);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 0.95rem 1.12rem;
  font-size: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.access-form .button {
  min-height: 3.5rem;
  padding-inline: 1.35rem;
}

.access-form input::placeholder {
  color: var(--subtle);
}

.access-form input:focus {
  border-color: rgba(200, 170, 120, 0.48);
  outline: 2px solid rgba(200, 170, 120, 0.26);
  outline-offset: 4px;
}

.form-help,
.form-status {
  max-width: 34rem;
  color: var(--subtle);
  font-size: 0.9rem;
}

.form-status {
  min-height: 1.35rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding: 1.8rem 0 2.2rem;
  color: var(--subtle);
  font-size: 0.88rem;
}

.site-footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 940px) {
  .hero-grid,
  .editorial-grid,
  .hermes-layout,
  .proof-header,
  .beta-panel,
  .request-card {
    grid-template-columns: 1fr;
  }

  .proof-list {
    grid-template-columns: 1fr 1fr;
  }

  .trust-panel {
    max-width: 34rem;
  }
}

@media (max-width: 680px) {
  html {
    scroll-behavior: auto;
  }

  .site-shell {
    width: min(100% - 1.2rem, var(--max));
  }

  .site-header,
  .site-footer {
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .section {
    padding: 4.2rem 0;
  }

  .hero {
    min-height: auto;
    padding-top: 2.2rem;
  }

  .hero-atmosphere {
    inset: 6rem -55% auto auto;
    opacity: 0.58;
  }

  h1 {
    font-size: clamp(4rem, 21vw, 6.2rem);
  }

  h2 {
    font-size: clamp(2.35rem, 13vw, 3.9rem);
  }

  .hero-actions,
  .form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .access-form input {
    width: 100%;
  }

  .proof-list {
    grid-template-columns: 1fr;
  }

  .proof-list article {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
