* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #17324d;
  background: #f6f8fc;
  line-height: 1.55;
}

a {
  color: #184a82;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #d9e2ee;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: #102d50;
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav a {
  color: #3e5876;
  font-weight: 500;
}

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

.eyebrow {
  font-size: 0.95rem;
  font-weight: 700;
  color: #3d628e;
  margin-bottom: 0.5rem;
}

h1,
h2,
h3 {
  color: #102d50;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

h2 {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}

h3 {
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
}

.hero-copy,
.section-intro {
  max-width: 760px;
  font-size: 1.08rem;
  color: #35506e;
}

.cta-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin: 1.25rem 0 0.65rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1.1rem;
  border-radius: 6px;
  border: 1px solid #163a63;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: #163a63;
  color: #ffffff;
}

.button-secondary {
  background: #edf3fb;
  color: #163a63;
}

.button:hover {
  text-decoration: none;
}

.trust-line {
  color: #5b6e84;
  font-size: 0.95rem;
}

.inline-link {
  font-weight: 600;
}

.section {
  padding: 1.4rem 0;
}

.card,
.muted-panel,
.signup-panel,
.example-card {
  background: #ffffff;
  border: 1px solid #d9e2ee;
  border-radius: 8px;
  padding: 1.05rem;
}

.muted-panel {
  background: #f2f6fb;
}

.workflow-grid,
.benefit-grid,
.steps-grid {
  display: grid;
  gap: 0.9rem;
}

.workflow-grid,
.benefit-grid,
.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.summary-card {
  background: #eef5fd;
  border: 1px solid #d8e7f7;
  border-radius: 8px;
  padding: 1rem;
}

.accent {
  color: #b76d38;
}

.example-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: stretch;
}

.carousel-stage {
  position: relative;
  min-height: 420px;
}

.example-card {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 45, 80, 0.95), rgba(16, 45, 80, 0.88)),
    linear-gradient(120deg, #163a63, #284f7e);
  border-color: #214a79;
  color: #eff5fc;
  display: none;
  padding: 1.4rem;
}

.example-card.is-active {
  display: block;
}

.example-card h3,
.example-card strong {
  color: #ffffff;
}

.example-card p,
.example-card li {
  color: #dbe8f6;
}

.example-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.example-tag,
.example-problem {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.example-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.example-problem {
  background: rgba(183, 109, 56, 0.18);
  color: #ffd8be;
}

.carousel-arrow {
  align-self: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid #cad8e6;
  background: #ffffff;
  color: #163a63;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.carousel-dots {
  display: flex;
  gap: 0.55rem;
  justify-content: center;
  margin-top: 0.85rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid #93aac6;
  background: #dbe7f3;
  cursor: pointer;
}

.carousel-dot.is-active {
  background: #b76d38;
  border-color: #b76d38;
}

.list {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.list li {
  margin-bottom: 0.42rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
  color: #17324d;
}

input,
textarea {
  width: 100%;
  padding: 0.8rem 0.85rem;
  border-radius: 6px;
  border: 1px solid #c7d4e3;
  font: inherit;
  color: #17324d;
  background: #ffffff;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note,
.small-note {
  font-size: 0.94rem;
  color: #5b6e84;
}

.form-status {
  margin-top: 0.85rem;
  font-size: 0.95rem;
}

.form-status.success {
  color: #175c35;
}

.form-status.error {
  color: #9a2d2d;
}

.footer {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #d9e2ee;
  color: #5b6e84;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.legal-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
}

.legal-body {
  background: #ffffff;
  border: 1px solid #d9e2ee;
  border-radius: 8px;
  padding: 1.35rem;
}

.legal-body h1 {
  font-size: 2rem;
}

.legal-body h2 {
  font-size: 1.35rem;
  margin-top: 1.4rem;
}

.legal-body h3 {
  font-size: 1.05rem;
  margin-top: 1rem;
}

@media (max-width: 820px) {
  .example-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-stage {
    min-height: 480px;
  }

  .carousel-arrow {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-shell,
  .legal-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .carousel-stage {
    min-height: 560px;
  }
}
