:root {
  --bg: #0b1020;
  --panel: #111a33;
  --panel-2: #16213f;
  --text: #f7f3e8;
  --muted: #c4c7d0;
  --line: rgba(255,255,255,.14);
  --accent: #e8c36a;
  --accent-2: #8bd3dd;
  --ink: #111111;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(139,211,221,.22), transparent 32rem),
    radial-gradient(circle at top right, rgba(232,195,106,.18), transparent 30rem),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: inherit; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -.03em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a { text-decoration: none; }
nav a:hover { color: var(--text); }

.hero { padding: 88px 0 58px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 44px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  margin: 0 0 12px;
}

h1, h2, h3 { line-height: 1.06; letter-spacing: -.045em; margin: 0 0 18px; }
h1 { font-size: clamp(46px, 7vw, 78px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 24px; }

.lead {
  color: var(--muted);
  font-size: 21px;
  max-width: 680px;
  margin: 0 0 28px;
}

.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 20px;
  min-height: 48px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--line);
}

.button.primary { background: var(--accent); color: var(--ink); border-color: transparent; }
.button.secondary { color: var(--text); background: rgba(255,255,255,.04); }

.hero-card,
.card,
.notice,
.form-card,
.step {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}

.hero-card { padding: 22px; transform: rotate(1.2deg); }

.mail-window {
  background: #f7f3e8;
  color: #111827;
  border-radius: 22px;
  overflow: hidden;
  padding: 22px;
  min-height: 380px;
}

.mail-top { display: flex; gap: 7px; margin: -22px -22px 20px; padding: 15px 18px; background: #e8e3d6; }
.mail-top span { width: 11px; height: 11px; border-radius: 50%; background: #c2b99f; }
.small { color: #667085; font-size: 14px; margin: 0 0 12px; }
.subject { font-weight: 850; font-size: 20px; }
.result-list { background: #ffffff; border: 1px solid #e6e1d4; border-radius: 18px; padding: 12px 16px; margin: 22px 0; }
.result-list p { margin: 10px 0; }
.reply { color: #0b5d66; font-weight: 850; }

.section { padding: 64px 0; }
.tinted { background: rgba(255,255,255,.035); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card { padding: 26px; }
.card p, .notice p, .step p { color: var(--muted); margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 28px;
  align-items: center;
}

.notice {
  padding: 26px;
  color: var(--muted);
}
.notice strong { color: var(--text); }

.page-hero { padding: 72px 0 32px; }
.content { padding: 32px 0 72px; }
.steps { display: grid; gap: 16px; }
.step { padding: 24px; }
.step-number { color: var(--accent); font-weight: 900; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }

.form-card { padding: 28px; }
pre.template {
  white-space: pre-wrap;
  background: rgba(0,0,0,.22);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  color: #f8fafc;
  overflow: auto;
}

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-grid p { margin: 0; }

@media (max-width: 840px) {
  .hero-grid,
  .grid-3,
  .split { grid-template-columns: 1fr; }
  nav { display: none; }
  .hero { padding-top: 58px; }
  .hero-card { transform: none; }
}
