:root {
  --brand-primary: #004a8f;
  --brand-accent: #ffba08;
  --bg: #f5f8fb;
  --surface: #ffffff;
  --surface-strong: #eaf2fb;
  --text: #102134;
  --text-muted: #46607a;
  --border: #c8d8ea;
  --shadow: 0 12px 30px rgba(0, 27, 58, 0.08);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% -20%, #eef6ff 0%, #f5f8fb 45%, #f8fbff 100%);
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  font-family: "Space Grotesk", sans-serif;
}

a {
  color: var(--brand-primary);
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.narrow {
  width: min(850px, 92vw);
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(245, 248, 251, 0.92);
  border-bottom: 1px solid var(--border);
  z-index: 30;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brand-title {
  margin: 0;
  font-size: 1.35rem;
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}

.kicker {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  font-weight: 700;
}

.hero h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  max-width: 16ch;
  margin-bottom: 0.9rem;
}

.hero-copy {
  max-width: 58ch;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-panel {
  background: linear-gradient(160deg, #08335d 0%, #004a8f 70%, #1f6ab8 100%);
  color: #f5fbff;
  padding: 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.section {
  padding: 3.2rem 0;
}

.steps {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.steps li {
  margin-bottom: 0.8rem;
}

.benefits {
  background: linear-gradient(180deg, #f7fbff 0%, #eef5fc 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.benefit-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.card p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.diagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.diagram-card {
  margin: 0;
  padding: 0.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.diagram-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px dashed #8cb5de;
}

.diagram-card figcaption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-section {
  background: var(--surface-strong);
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.2rem;
  align-items: start;
}

.beta-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.55rem;
}

.beta-form input,
.beta-form textarea {
  width: 100%;
  border: 1px solid #9db8d3;
  border-radius: 10px;
  padding: 0.65rem;
  font: inherit;
}

.beta-form input:focus,
.beta-form textarea:focus,
.btn:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

.checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: center;
  margin: 0.35rem 0 0.5rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #b5cae1;
  border-radius: 12px;
  background: #f7fbff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.checkbox:hover {
  border-color: #84a9cc;
  background: #f1f8ff;
}

.checkbox:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 74, 143, 0.16);
  background: #eef6ff;
}

.checkbox input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  accent-color: var(--brand-primary);
  cursor: pointer;
}

.checkbox span {
  line-height: 1.45;
}

.form-status {
  margin: 0.4rem 0 0;
  min-height: 1.2rem;
  font-weight: 600;
}

.form-status.ok {
  color: #0a6b2f;
}

.form-status.error {
  color: #a32222;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.62rem 1.05rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.1rem 0;
  background: #f1f6fd;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  align-items: center;
}

.footer-grid p {
  margin: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .benefit-grid,
  .diagram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3rem;
  }

  .benefit-grid,
  .diagram-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: start;
    flex-direction: column;
  }
}
