/* AEO Audit Tool — page-specific styles */

/* Explainer */
.aeo-explainer {
  padding: 100px 40px 80px;
  border-bottom: 1px solid var(--border);
}
.aeo-explainer-inner { max-width: 800px; margin: 0 auto; }
.explainer-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.explainer-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
}
.explainer-body {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 640px;
  font-weight: 300;
}

/* Why */
.aeo-why {
  padding: 80px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
}
.aeo-why-inner { max-width: 1200px; margin: 0 auto; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.why-item {
  padding: 0 40px 0 0;
  border-right: 1px solid var(--border);
}
.why-item:last-child { border-right: none; padding-right: 0; padding-left: 40px; }
.why-item:nth-child(2) { padding-left: 40px; }
.why-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  line-height: 1;
}
.why-item h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 14px;
}
.why-item p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Process */
.aeo-process {
  padding: 80px 40px;
  border-bottom: 1px solid var(--border);
}
.aeo-process-inner { max-width: 1200px; margin: 0 auto; }
.process-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 48px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step-num {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 12px;
}
.step p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Form section */
.aeo-form-section {
  padding: 100px 40px;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}
.aeo-form-inner { max-width: 640px; margin: 0 auto; }

.form-header { margin-bottom: 48px; }
.form-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.form-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 16px;
}
.form-subtitle {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.6;
  font-weight: 300;
}

.audit-form { display: flex; flex-direction: column; gap: 28px; }

.form-field { display: flex; flex-direction: column; gap: 8px; }

.form-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: 0.02em;
}

.field-hint {
  font-weight: 300;
  color: var(--fg-muted);
  font-size: 12px;
  display: block;
  margin-top: 4px;
}

.optional { font-weight: 300; color: var(--fg-muted); }

.form-field input,
.form-field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--fg-muted);
  opacity: 0.6;
}

.form-submit {
  background: var(--accent);
  color: #0a0a0a;
  border: none;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
  align-self: flex-start;
}

.form-submit:hover:not(:disabled) { background: #e8bc5a; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-disclaimer {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.form-success {
  text-align: center;
  padding: 48px 0;
}
.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #0a0a0a;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
}
.form-success p { font-size: 16px; color: var(--fg-muted); }

/* Back link */
.aeo-back { padding: 40px; border-bottom: 1px solid var(--border); }
.aeo-back-inner { max-width: 1200px; margin: 0 auto; }
.aeo-back a {
  font-size: 13px;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.aeo-back a:hover { color: var(--fg); }

/* Mobile */
@media (max-width: 768px) {
  .why-grid, .process-steps { grid-template-columns: 1fr; }
  .why-item, .why-item:nth-child(2), .why-item:last-child {
    border-right: none;
    padding: 0 0 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
  }
  .why-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
  .step { border-bottom: 1px solid var(--border); padding-bottom: 32px; margin-bottom: 32px; }
  .step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
  .aeo-explainer, .aeo-form-section, .aeo-why, .aeo-process { padding: 60px 24px; }
  .form-submit { width: 100%; }
}