@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;600&family=Sora:wght@600;700;800&display=swap");

:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --surface: #15121b;
  --surface-bright: #1b1625;
  --border: rgba(255, 255, 255, 0.1);
  --border-high: rgba(210, 187, 255, 0.22);
  --text: #e8dfee;
  --muted: #9c93a8;
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --blue: #0ea5e9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner, .footer-inner, .page {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-family: "Sora", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--purple), #5b61f6);
  font-size: 13px;
  font-weight: 800;
}

.header-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.page {
  min-height: 62vh;
  padding: 70px 0 96px;
}

.narrow { max-width: 900px; }

.eyebrow {
  color: var(--purple-light);
  font: 600 11px "Geist Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1, h2, h3 {
  color: #fff;
  font-family: "Sora", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  margin: 16px 0 12px;
  font-size: clamp(38px, 6vw, 52px);
  line-height: 1.08;
}

.intro {
  max-width: 680px;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.date {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--purple-light);
  font: 500 12px "Geist Mono", monospace;
  text-transform: uppercase;
}

.document {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(21, 18, 27, 0.72);
  padding: clamp(24px, 5vw, 42px);
}

.document section + section {
  margin-top: 36px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
}

.document h2 {
  margin: 0 0 14px;
  font-size: 19px;
}

.document p, .document li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.document p { margin: 0; }
.document p + p { margin-top: 12px; }
.document ul { margin: 14px 0 0; padding-left: 20px; }
.document a { color: var(--purple-light); }

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 23px;
}

.panel h2 {
  margin: 0 0 10px;
  font-size: 17px;
}

.panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.panel a {
  display: inline-block;
  margin-top: 17px;
  color: var(--purple-light);
  font-size: 14px;
  font-weight: 600;
}

.faq {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.faq summary::-webkit-details-marker { display: none; }

.faq p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.cta {
  display: inline-flex;
  align-items: center;
  margin-top: 30px;
  padding: 13px 20px;
  border-radius: 6px;
  background: var(--purple);
  color: #fff;
  font-weight: 600;
}

.contact-form {
  margin-top: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(22px, 5vw, 32px);
}

.contact-form h2 {
  margin: 0 0 20px;
  font-size: 19px;
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.contact-form .wide { grid-column: 1 / -1; }

.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  padding: 13px 14px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

.contact-form textarea {
  min-height: 128px;
  resize: vertical;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid rgba(124, 58, 237, 0.45);
  border-color: var(--purple);
}

.contact-form button {
  margin-top: 20px;
  border: 0;
  border-radius: 6px;
  background: var(--purple);
  padding: 13px 22px;
  color: #fff;
  font: 600 14px "Geist", Arial, sans-serif;
  cursor: pointer;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.website-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.form-note[data-state="success"] { color: #65d6ad; }
.form-note[data-state="error"] { color: #ff9d9d; }

.footer {
  border-top: 1px solid var(--border);
  padding: 58px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--border);
}

.footer p {
  max-width: 390px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer h2 {
  margin: 0 0 18px;
  font: 600 11px "Geist Mono", monospace;
  text-transform: uppercase;
}

.footer-nav {
  display: grid;
  gap: 13px;
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 32px;
  color: var(--muted);
  font: 400 11px "Geist Mono", monospace;
}

@media (max-width: 760px) {
  .header-inner, .footer-inner, .page {
    width: min(100% - 32px, 1240px);
  }

  .page { padding: 48px 0 66px; }
  .grid, .fields, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
