:root {
  --accent: #2563eb;
  --accent-soft: #eaf1ff;
  --ink: #475569;
  --heading: #3f4f63;
  --text: #64748b;
  --muted: #8792a0;
  --line: #e5e7eb;
  --panel: #ffffff;
  --page: #f8fafc;
  --radius: 8px;
  --shadow: 0 14px 34px rgba(31, 41, 55, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--heading);
  letter-spacing: 0;
}

h1 {
    max-width: 660px;
    margin-bottom: 18px;
    font-size: clamp(1.6rem, 2.6vw, 2.6rem);
    font-weight: 450;
    line-height: 1.16;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.28rem, 2vw, 1.8rem);
  font-weight: 450;
  line-height: 1.25;
}

h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 460;
  line-height: 1.3;
}

p {
  margin-bottom: 0;
}

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

.narrow {
  max-width: 760px;
}

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

.nav-bar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 600;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 30px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 450;
}

.nav-links a {
  padding: 6px 0;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links .active {
  color: var(--accent);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 520;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.button-primary {
  color: #ffffff;
  background: var(--accent);
}

.button-primary:hover {
  background: #1d4ed8;
}

.button-secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: #cbd5e1;
}

.hero {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  justify-items: center;
  align-items: start;
  padding: 54px 0 58px;
}

.hero-copy-block {
  max-width: 700px;
  text-align: center;
}

.eyebrow {
  width: fit-content;
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 520;
}

.lead {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.brand-panel {
  display: grid;
  gap: 24px;
  justify-items: center;
  width: min(100%, 640px);
  padding: 36px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.hero-logo {
  display: block;
  width: min(100%, 470px);
  height: auto;
}

.brand-panel p {
  color: var(--heading);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  font-weight: 450;
  text-align: center;
}

.preview-section,
.content-section {
  padding: 72px 0;
}

.page-hero {
  padding: 82px 0 56px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

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

.preview-card,
.feature-card {
  display: block;
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  background: var(--panel);
  text-decoration: none;
}

.preview-card:hover {
  border-color: #cbd5e1;
}

.preview-card span,
.card-label {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 520;
}

.preview-card h2,
.feature-card h2,
.timeline-step h2,
.feedback-notes h2 {
  font-size: 1.12rem;
}

.muted-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 48px;
  align-items: start;
}

.text-list {
  display: grid;
  gap: 14px;
}

.text-list p {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.timeline {
  display: grid;
  gap: 18px;
  max-width: 860px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.timeline-step span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 0.95rem;
  font-weight: 520;
}

.callout {
  max-width: 760px;
}

.callout p {
  margin-bottom: 24px;
}

.feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1.2fr);
  gap: 42px;
  align-items: start;
}

.feedback-notes {
  display: grid;
  gap: 18px;
}

.feedback-notes div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.feedback-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 520;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  background: #ffffff;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b42318;
}

.field input[aria-invalid="true"]:focus,
.field textarea[aria-invalid="true"]:focus {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.field-error {
  min-height: 1.25em;
  color: #b42318;
  font-size: 0.86rem;
  line-height: 1.35;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status {
  min-height: 1.4em;
  color: var(--muted);
  font-size: 0.94rem;
}

.form-status[data-status="success"] {
  color: #166534;
}

.form-status[data-status="error"] {
  color: #b42318;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #ffffff;
  font-size: 0.94rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-row p {
  margin: 0;
}

@media (max-width: 900px) {
  .split-layout,
  .feedback-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    min-height: auto;
    padding: 54px 0;
  }

  .preview-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    max-width: 620px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav-bar {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  h1 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .hero-copy-block {
    order: 2;
  }

  .brand-panel {
    order: 1;
  }

  .hero-logo {
    width: min(100%, 300px);
  }

  .action-row,
  .button {
    width: 100%;
  }

  .page-hero,
  .preview-section,
  .content-section {
    padding: 52px 0;
  }

  .brand-panel,
  .preview-card,
  .feature-card,
  .timeline-step,
  .feedback-form {
    padding: 20px;
  }

  .timeline-step {
    grid-template-columns: 1fr;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
