:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #66615c;
  --paper: #fffefc;
  --canvas: #f5f3ef;
  --line: rgba(17, 17, 17, 0.13);
  --soft: #ebe6df;
  --accent: #dbe9e8;
  --danger: #8a3b3b;
  --success: #2f6b56;
  --shadow: 0 24px 80px rgba(25, 22, 18, 0.09);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 243, 239, 0.88);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 13px; object-fit: cover; }
.brand-word { font-family: var(--serif); font-size: 22px; letter-spacing: 0.02em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav a { color: #3c3936; font-size: 14px; text-decoration: none; }
.nav a:hover { color: #000; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-1px); background: #2c2a28; }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { background: white; }
.button.small { min-height: 40px; padding-inline: 16px; font-size: 13px; }

.hero { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 136px) 0 88px; }
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -120px;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.18), 0 0 0 140px rgba(255,255,255,.12);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 72px; }
.eyebrow { margin: 0 0 22px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: var(--serif); font-weight: 500; line-height: 1.06; }
h1 { max-width: 780px; margin-bottom: 26px; font-size: clamp(48px, 7vw, 92px); letter-spacing: -.045em; }
h2 { margin-bottom: 18px; font-size: clamp(36px, 5vw, 62px); letter-spacing: -.035em; }
h3 { font-size: 26px; }
.lead { max-width: 660px; margin: 0 0 32px; color: #504c47; font-size: clamp(17px, 2vw, 21px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.72); box-shadow: var(--shadow); }
.hero-card img { width: 92px; height: 92px; margin-bottom: 40px; border-radius: 24px; object-fit: cover; }
.hero-card blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(25px, 3vw, 35px); line-height: 1.15; }
.micro { color: var(--muted); font-size: 13px; }

.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 64px; margin-bottom: 50px; }
.section-head p { max-width: 650px; margin: 0; color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { min-height: 310px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.34); }
.feature-number { display: block; margin-bottom: 64px; color: var(--muted); font-size: 12px; letter-spacing: .12em; }
.feature p { color: var(--muted); }

.void-panel { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: var(--ink); color: white; }
.void-copy { padding: clamp(34px, 6vw, 72px); }
.void-copy p { max-width: 520px; color: #cac7c2; }
.moon-visual { position: relative; min-height: 520px; background: linear-gradient(135deg, #dce9e8, #f6f1e9); }
.moon-visual::before {
  content: "";
  position: absolute;
  width: min(62%, 340px);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: #151515;
  transform: translate(-50%, -50%);
  box-shadow: 30px 0 0 0 rgba(255,255,255,.9);
}

.access-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.access-card { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.48); }
.access-card .tag { display: inline-block; margin-bottom: 30px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.access-card p { color: var(--muted); }
.trust { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 45px; border: 1px solid var(--line); border-radius: 26px; background: white; }
.trust h2 { max-width: 760px; margin-bottom: 0; }
.site-footer { padding: 58px 0 32px; background: #111; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.footer-grid p, .footer-grid a { color: #aaa7a3; }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links strong { margin-bottom: 8px; }
.footer-bottom { margin-top: 54px; padding-top: 24px; border-top: 1px solid #343434; color: #8e8b87; font-size: 12px; }

.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-story { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(30px, 5vw, 72px); background: #111; color: white; }
.auth-story p { max-width: 620px; color: #b8b4af; }
.auth-story h1 { margin-top: auto; font-size: clamp(48px, 7vw, 88px); }
.auth-panel {
  display: grid;
  place-items: center;
  padding: 34px;
  background: #f7f7f7;
  color: #141414;
  font-family: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
}
.auth-box { width: min(460px, 100%); color: #141414; }
.auth-box h2 {
  color: #141414;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 50px;
  font-weight: 400;
}
.auth-panel .eyebrow {
  color: #565656;
  font-family: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
}
.field { display: grid; gap: 8px; margin: 18px 0; }
.auth-panel .field label {
  color: #141414;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  outline: none;
}
.auth-panel .field input,
.auth-panel .field textarea,
.auth-panel .field select {
  border-color: rgba(20, 20, 20, 0.28);
  border-radius: 0;
  background: #f7f7f7;
  color: #141414;
  font-family: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(17,17,17,.08); }
.auth-box .button { width: 100%; margin-top: 10px; }
.auth-panel .auth-box .button {
  border-color: #141414;
  border-radius: 0;
  background: #141414;
  color: #f7f7f7;
  font-family: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
}
.auth-panel .auth-box .button:hover {
  background: #2b2b2b;
}
.remember-choice { display: flex; align-items: center; gap: 9px; margin: 14px 0; color: var(--muted); font-size: 13px; cursor: pointer; }
.auth-panel .remember-choice { color: #565656; font-weight: 300; }
.remember-choice input { width: 17px; height: 17px; accent-color: #111; }
.inline-link { display: inline-block; margin-top: 18px; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; }
.auth-panel .inline-link { color: #414141; font-weight: 300; }
.status-message { min-height: 24px; margin: 14px 0 0; color: var(--danger); font-size: 13px; }
.status-message.success { color: var(--success); }
.auth-note { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.auth-panel .auth-note { color: #565656; font-weight: 300; }

@media (max-width: 900px) {
  .nav a:not(.button) { display: none; }
  .hero-grid, .section-head, .void-panel, .auth-page { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .access-grid { grid-template-columns: 1fr; }
  .auth-story { min-height: 460px; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .brand-word { font-size: 19px; }
  .header-inner { min-height: 68px; }
  .hero { padding-top: 64px; }
  .hero-grid { gap: 42px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: auto; }
  .feature-number { margin-bottom: 35px; }
  .moon-visual { min-height: 350px; }
  .trust { align-items: flex-start; flex-direction: column; padding: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .auth-story { min-height: 380px; }
  .auth-panel { padding: 42px 20px; }
}
