:root {
  --ink: #0e1c2f;
  --muted: #6b7a8d;
  --line: #dce3eb;
  --bg: #f4f7fa;
  --card: #ffffff;
  --accent: #0f8a8a;
  --accent-hover: #0c6f6f;
  --accent-ink: #0a5f5f;
  --accent-soft: #e6f5f4;
  --ok: #0d7a58;
  --ok-bg: #e6f7f1;
  --bad: #b42318;
  --bad-bg: #fdeeee;
  --dark: #181818;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: Manrope, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  background: var(--bg);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p { text-wrap: balance; }
p, li, label, small { text-wrap: pretty; }
h1, h2, h3 { font-weight: 700; margin: 0; letter-spacing: 0; }
p { margin: 0; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 16px;
  top: 0;
  transform: translateY(-48px);
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 50;
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { transform: translateY(16px); }

.wrap { width: min(1040px, calc(100% - 32px)); margin: 0 auto; }
.narrow { max-width: 680px; }

.icon { width: 24px; height: 24px; fill: currentColor; flex: none; }

.nav-dock {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  margin-top: 16px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px 8px 8px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
}
.logo[aria-current="page"] { color: var(--accent-ink); }
.logo img {
  display: block;
  height: 28px;
  width: auto;
}
.mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  overflow: hidden;
  padding: 0;
}
.mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background-color 300ms var(--ease), color 300ms var(--ease);
}
.nav-links a:hover { background: var(--bg); color: var(--ink); }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 8px;
  cursor: pointer;
}
.bars { display: grid; gap: 4px; }
.bars i {
  display: block;
  height: 2px;
  width: 16px;
  background: var(--ink);
  border-radius: 999px;
  transform-origin: center;
  transition: transform 500ms var(--ease), opacity 300ms var(--ease);
}
.nav-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(244, 247, 250, 0.94);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 80px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 500ms var(--ease), visibility 500ms var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  text-decoration: none;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease), color 300ms var(--ease);
}
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(1) { transition-delay: 0ms; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: 60ms; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: 120ms; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: 180ms; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: 240ms; }
.mobile-menu a[aria-current="page"] { color: var(--accent-ink); }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "intro form" "visual form";
  gap: 32px;
  align-items: start;
  padding: 48px 0 80px;
}
.hero-intro, .hero-form, .hero-visual { min-width: 0; }
.hero-intro { grid-area: intro; max-width: 680px; }
.hero-form { grid-area: form; }
.hero-visual { grid-area: visual; max-width: 680px; }
.kicker {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--accent-ink);
  margin-bottom: 12px;
}
.hero h1 {
  max-width: 680px;
  font-size: 48px;
  line-height: 1;
  color: #111111;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 {
    background-image: linear-gradient(90deg, #000000, #666666);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.lead {
  max-width: min(680px, 100%);
  margin-top: 16px;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
  overflow-wrap: break-word;
}
.proof {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.proof span { min-width: 0; }
.proof .icon { color: var(--accent); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 16px;
}
.preview-head, .agenda {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.preview-head strong, .agenda strong { font-size: 16px; line-height: 24px; }
.muted { color: var(--muted); font-size: 14px; line-height: 20px; font-weight: 500; }
.rows { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.rows li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--bg);
  font-size: 14px;
  line-height: 20px;
}
.tag {
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  font-style: normal;
}
.tag.ok { background: var(--ok-bg); color: var(--ok); }
.tag.bad { background: var(--bad-bg); color: var(--bad); }

.signup { display: grid; gap: 16px; position: relative; }
.form-error {
  display: none;
  background: var(--bad-bg);
  color: var(--bad);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 20px;
}
.form-error.show { display: block; }
.dates { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.dates legend {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  padding: 0;
}
.date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.date {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  background: var(--bg);
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 500ms var(--ease);
}
.date:hover { border-color: var(--accent); }
.date:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.date:active { transform: scale(0.98); }
.date:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); }
.date input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.date strong, .date small { display: block; pointer-events: none; }
.date strong { font-size: 16px; line-height: 24px; }
.date small { color: var(--muted); font-size: 12px; line-height: 16px; }
.field { display: grid; gap: 4px; }
.field span { font-size: 14px; line-height: 20px; font-weight: 600; }
.field input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 24px;
  box-sizing: border-box;
}
.field input[aria-invalid="true"] { border-color: var(--bad); background: var(--bad-bg); }
.suggest-wrap { position: relative; }
.suggest-list {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 220px;
  overflow: auto;
  z-index: 30;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(14, 28, 47, 0.12);
}
.suggest-list.open { display: block; }
.suggest-list button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 10px 12px;
  cursor: pointer;
  font: inherit;
  line-height: 1.3;
}
.suggest-list button:last-child { border-bottom: 0; }
.suggest-list button:hover,
.suggest-list button.active { background: var(--accent-soft); }
.suggest-list .party-name { display: block; font-size: 14px; font-weight: 700; }
.suggest-list .party-sub { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); font-weight: 600; }
.suggest-list .party-inn { color: var(--accent-ink); font-weight: 700; }
.suggest-list .email-hint { font-size: 14px; font-weight: 600; }
.suggest-list .email-hint b { font-weight: 800; color: var(--accent-ink); }
.org-meta {
  display: none;
  margin: 0;
  color: var(--accent-ink);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}
.org-meta.show { display: block; }
.err { min-height: 0; color: var(--bad); font-size: 12px; line-height: 16px; }
.err:empty { display: none; }
.check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 20px;
}
.check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.check a { color: var(--accent-ink); }
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 300ms var(--ease), transform 500ms var(--ease), opacity 300ms var(--ease);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(0.98); }
.btn[disabled] { cursor: wait; }
.btn.block { width: 100%; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.ghost:hover { background: var(--bg); }
.btn.is-loading { color: transparent; position: relative; pointer-events: none; }
.btn.is-loading::before,
.btn.is-loading::after {
  content: "";
  position: absolute;
  left: 12px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}
.btn.is-loading::before { width: 96px; top: 8px; }
.btn.is-loading::after { width: 48px; top: 20px; opacity: 0.55; }
.fine { font-size: 12px; line-height: 16px; color: var(--muted); text-align: center; }

.success { display: grid; gap: 12px; }
.success h3 { font-size: 24px; line-height: 32px; }
.success .when { font-size: 20px; line-height: 28px; font-weight: 700; }

.section { padding: 80px 0; }
.section h2 { font-size: 36px; line-height: 40px; max-width: 680px; }
.section .intro { margin-top: 16px; color: var(--muted); max-width: 680px; font-size: 18px; line-height: 28px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.panel h3 { font-size: 20px; line-height: 28px; margin-bottom: 8px; }
.panel p { color: var(--muted); }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.benefit h3 { display: flex; gap: 8px; align-items: flex-start; font-size: 20px; line-height: 28px; margin: 8px 0; }
.benefit .icon { color: var(--accent-ink); margin-top: 2px; }
.benefit p { color: var(--muted); }

.tagline {
  background: var(--dark);
  color: #fff;
  padding: 96px 0;
}
.tagline p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  text-wrap: balance;
}
.js .tagline .word { color: rgba(255, 255, 255, 0.32); transition: color 600ms var(--ease); }
.tagline .word.on { color: #fff; }

.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.steps b { display: block; font-size: 14px; line-height: 20px; color: var(--accent-ink); margin-bottom: 8px; }
.steps strong { display: block; font-size: 20px; line-height: 28px; margin-bottom: 8px; }
.steps span { color: var(--muted); font-size: 16px; line-height: 24px; }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.quotes h3 { font-size: 20px; line-height: 28px; margin-bottom: 8px; }
.quotes p { color: var(--muted); }

.faq { margin-top: 32px; display: grid; gap: 8px; max-width: 680px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; line-height: 24px; }
.faq details p { margin-top: 8px; color: var(--muted); }

.band { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 32px; align-items: start; }
.band h2 { font-size: 36px; line-height: 40px; }

.js .reveal { opacity: 0; transform: translateY(32px); }
.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

footer {
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 0;
}
.foot nav { display: flex; gap: 16px; }
.foot a { color: var(--accent-ink); }

.page { padding: 48px 0 80px; }
.page h1 { font-size: 36px; line-height: 40px; max-width: 680px; }
.page p, .page li { margin-top: 16px; color: var(--muted); max-width: 680px; }
.page ul { padding-left: 20px; }
.back { display: inline-flex; margin-top: 32px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .hero, .split, .benefits, .steps, .quotes, .band { grid-template-columns: 1fr; }
  .hero {
    grid-template-areas: "intro" "form" "visual";
    padding: 32px 0 64px;
    gap: 24px;
  }
  .hero h1, .tagline p { font-size: 36px; line-height: 40px; }
  .section { padding: 64px 0; }
  .tagline { padding: 64px 0; }
  .date-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.in, .mobile-menu, .mobile-menu a, .bars i, .btn, .date, .word {
    transition: none;
    transform: none;
    opacity: 1;
  }
  .js .tagline .word { color: #fff; }
  .mobile-menu { visibility: hidden; opacity: 0; }
  .mobile-menu.is-open { visibility: visible; opacity: 1; }
}
