:root {
  --ink: #f4f4f7;
  --muted: #a9a9b3;
  --blue: #1196f5;
  --blue-light: #54b8ff;
  --night: #050610;
  --panel: #0c0e1b;
  --line: rgba(255, 255, 255, 0.13);
  --red: #f24450;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(3, 4, 10, 0.8), transparent);
}
.site-header.solid { position: relative; background: #070814; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 720; letter-spacing: -0.02em; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
nav { display: flex; gap: 28px; }
nav a { color: #d0d0d8; text-decoration: none; font-size: 14px; }
nav a:hover, nav a[aria-current="page"] { color: white; }

.hero { min-height: 900px; height: 100svh; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,4,13,.96) 0%, rgba(3,4,13,.76) 36%, rgba(3,4,13,.2) 68%), linear-gradient(0deg, #050610 0%, transparent 28%); }
.hero-content { position: relative; z-index: 2; width: min(1160px, calc(100% - 48px)); margin: 40px auto 0; }
.wordmark { width: min(560px, 82vw); height: auto; margin-bottom: 38px; }
.kicker, .section-label { color: var(--blue-light); font-size: 12px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(54px, 7.2vw, 94px); line-height: .95; letter-spacing: -.065em; }
.hero-copy { max-width: 620px; margin-bottom: 32px; color: #d5d5dd; font-size: clamp(18px, 2vw, 23px); line-height: 1.5; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 10px; text-decoration: none; font-weight: 750; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--blue); color: white; }
.primary:hover { background: #2fa7fb; }
.secondary { border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); }
.secondary:hover { background: rgba(255,255,255,.11); }
.content-note { margin-top: 20px; color: #858590; font-size: 12px; }

.story-section, .details-section { padding-block: 130px; }
.story-grid { display: grid; grid-template-columns: 1.05fr .8fr; gap: clamp(50px, 8vw, 120px); align-items: center; }
.story-copy h2, .details-section > h2, .cta-section h2, .page-hero h1 { margin-bottom: 24px; font-size: clamp(40px, 5vw, 68px); line-height: 1; letter-spacing: -.055em; }
.story-copy p { max-width: 650px; color: #b7b7c0; font-size: 18px; }
.message-card { padding: 26px 18px 22px; border: 1px solid var(--line); border-radius: 30px; background: #000; box-shadow: 0 30px 90px rgba(0,0,0,.46), inset 0 0 0 7px #11131d; }
.contact-name { display: block; margin: 0 -18px 24px; padding-bottom: 18px; border-bottom: 1px solid #24242a; text-align: center; font-size: 13px; }
.bubble { width: fit-content; max-width: 80%; margin: 5px 0; padding: 9px 13px; border-radius: 18px; font-size: 16px; line-height: 1.25; }
.incoming { border-bottom-left-radius: 5px; background: #2a2a2c; }
.outgoing { margin-left: auto; border-bottom-right-radius: 5px; background: #0a84ff; }

.details-section { border-top: 1px solid var(--line); }
.details-section > h2 { max-width: 740px; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 58px; }
.detail-grid article { min-height: 280px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, #121525, #090a12); }
.detail-grid article > span { color: var(--red); font: 700 12px ui-monospace, monospace; }
.detail-grid h3 { margin: 80px 0 12px; font-size: 23px; letter-spacing: -.03em; }
.detail-grid p { color: var(--muted); }

.cta-section { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 110px; padding-block: 65px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-section h2 { margin-bottom: 8px; }
.cta-section p:not(.section-label) { color: var(--muted); }

.page-hero { padding-top: 150px; padding-bottom: 90px; }
.page-hero > p:not(.section-label) { max-width: 720px; color: #b7b7c0; font-size: 20px; }
.page-hero .button { margin-top: 16px; }
.document-hero { border-bottom: 1px solid var(--line); }
.document-hero small { color: #7f7f8a; }
.faq-section { padding-block: 60px 120px; }
.faq-section > h2 { font-size: 38px; letter-spacing: -.04em; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 30px; padding: 24px 0; cursor: pointer; font-size: 19px; font-weight: 650; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--blue-light); font-size: 24px; font-weight: 400; }
details[open] summary span { transform: rotate(45deg); }
details p { max-width: 820px; padding-bottom: 22px; color: var(--muted); }
.contact-panel { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-bottom: 120px; padding: 42px; border: 1px solid var(--line); border-radius: 18px; background: #0d0f1d; }
.contact-panel h2 { margin-bottom: 8px; font-size: 36px; letter-spacing: -.04em; }
.contact-panel p:not(.section-label) { margin-bottom: 0; color: var(--muted); }
.contact-panel > a { color: var(--blue-light); }

.policy { width: min(880px, calc(100% - 48px)); padding-block: 70px 130px; }
.policy section { padding: 0 0 34px; }
.policy h2 { margin-bottom: 8px; font-size: 23px; letter-spacing: -.025em; }
.policy p { color: #b7b7c0; }
.policy a { color: var(--blue-light); }

.site-footer { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 50px; padding: 50px max(24px, calc((100vw - 1160px) / 2)); border-top: 1px solid var(--line); color: #858590; font-size: 13px; }
.site-footer strong { color: #d9d9df; letter-spacing: .13em; font-size: 11px; }
.site-footer p { max-width: 420px; margin: 10px 0 0; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: white; }

@media (max-width: 760px) {
  .site-header { height: 68px; }
  .brand span { display: none; }
  nav { gap: 16px; }
  .hero { min-height: 820px; }
  .hero-shade { background: linear-gradient(0deg, #050610 0%, rgba(3,4,13,.25) 45%, rgba(3,4,13,.85) 100%); }
  .hero-photo { object-position: 50% 72%; }
  .hero-content { align-self: flex-start; margin-top: 125px; }
  .wordmark { margin-bottom: 28px; }
  h1 { font-size: clamp(48px, 15vw, 68px); }
  .story-grid, .detail-grid { grid-template-columns: 1fr; }
  .message-card { max-width: 430px; }
  .story-section, .details-section { padding-block: 88px; }
  .cta-section, .contact-panel { align-items: flex-start; flex-direction: column; }
  .policy { width: min(100% - 48px, 880px); }
  .site-footer { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
