/* Page-layout additions on top of the Classical design system (styles.css).
   Only layout/structure here — colors, fonts and spacing all come from the
   design-system tokens in styles.css. */

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-logo {
  width: 26px;
  height: 26px;
  flex: none;
  display: block;
}

.nav {
  flex-wrap: wrap;
  row-gap: var(--space-2);
}
.nav > .container-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}

.section {
  padding: var(--space-8) 0;
}
.section-lede {
  max-width: 62ch;
}

/* Small uppercase section label. A styled paragraph, not a heading — using
   a real heading level here would break the document's heading hierarchy,
   since it sits directly above each section's actual (correctly nested) h2. */
.kicker {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 13px;
  line-height: 1.12;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 var(--space-2);
  color: var(--color-accent);
}

/* Visual size of a form subsection title, decoupled from its heading level
   so the markup can use the correct h2 (directly under the page's h1)
   without ballooning to full h2 font size. */
.form-heading {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 20px;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-2);
}

.hero h1 {
  max-width: 18ch;
}
.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}
.faq details {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; transition: transform 0.15s ease; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq p { margin-top: var(--space-2); }

.form-card {
  max-width: 520px;
}
.success-panel {
  max-width: 520px;
  text-align: center;
  align-items: center;
  padding: var(--space-8) var(--space-6);
  border-color: var(--color-accent);
}
.success-icon {
  width: 40px;
  height: 40px;
  stroke: var(--color-accent);
  stroke-width: 2;
}
.form-row {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.form-row-2 {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 560px) {
  .form-row-2 { grid-template-columns: 1fr; }
}
.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  font-size: 13px;
  margin-top: var(--space-2);
  min-height: 1.4em;
}
.form-status[data-state="ok"] { color: var(--color-accent-700); }
.form-status[data-state="error"] { color: var(--color-accent-2-700); }

.illustration {
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  margin: var(--space-6) 0;
}
.illustration img {
  display: block;
  width: 100%;
  height: auto;
}

.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

footer.site-footer {
  border-top: 1px solid var(--color-divider);
  padding: var(--space-6) 0 var(--space-8);
  font-size: 13px;
}
footer.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}
