:root {
  color-scheme: dark;
  font: 16px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --background: #101114;
  --panel: #17181d;
  --ink: #eeeef3;
  --muted: #b2b5c4;
  --line: #30323d;
  --accent: #83baff;
  --button: #2869c7;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse 900px 500px at 74% 245px, #152338 0%, transparent 85%), var(--background);
}
[hidden] { display: none !important; }
.site-header, main { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--line); }
a { color: inherit; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 650; text-decoration: none; }
.wordmark img { object-fit: contain; }
.sign-in { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; text-underline-offset: 4px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding-block: clamp(58px, 8vw, 104px);
}
h1, h2, p { margin: 0; }
h1 { max-width: 14ch; font-size: clamp(42px, 5.1vw, 70px); font-weight: 690; line-height: 1.04; letter-spacing: -.05em; }
.hero p { margin: 20px 0 30px; max-width: 42ch; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); }
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid #4a8ce4;
  border-radius: 8px;
  background: var(--button);
  color: white;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.primary:hover { background: #2e73d4; }
.primary:disabled { cursor: wait; opacity: .72; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.preview {
  overflow: hidden;
  border: 1px solid #3a4557;
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 24px 65px #04081280;
}
.preview img { display: block; width: 100%; height: auto; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 32px 54px; border-top: 1px solid var(--line); }
.features h2 { font-size: 18px; line-height: 1.3; margin-bottom: 8px; }
.features p, .access p { color: var(--muted); }
.access {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 5vw, 70px);
  scroll-margin-top: 24px;
  margin-bottom: 64px;
  padding: clamp(20px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.access h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.2; letter-spacing: -.03em; margin-bottom: 10px; }
.access form, .access label { display: grid; gap: 6px; }
.access form { gap: 16px; }
.access input, .access textarea {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #444756;
  border-radius: 7px;
  background: var(--background);
  color: var(--ink);
  font: inherit;
}
.access textarea { resize: vertical; }
.optional { display: inline; color: var(--muted); font-size: .875em; }
.access label:has(textarea) { display: block; }
.access label:has(textarea) textarea { display: block; margin-top: 6px; }
.access .form-error { color: #ffaeb0; }
.access .confirmation { color: #a6dfbe; }
@media (max-width: 800px) {
  .site-header, main { width: min(100% - 40px, 620px); }
  .hero { grid-template-columns: 1fr; padding-block: 52px 38px; }
  h1 { font-size: clamp(38px, 9vw, 58px); }
  .features { gap: 22px; }
  .access { margin-bottom: 40px; }
}
@media (max-width: 580px) {
  .site-header { padding-block: 12px; }
  .features, .access { grid-template-columns: 1fr; }
  .features { padding-block: 24px 38px; }
}
