:root {
  --ink: #1a1f27;
  --slate: #374655;
  --mist: #cfe3ff;
  --paper: #f4f7fb;
  --accent: #3a86da;
  --accent-2: #374655;
  --accent-3: #b6c5d6;
  --shadow: 0 24px 48px rgba(26, 31, 39, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(207, 227, 255, 0.18), transparent 60%),
    radial-gradient(circle at 88% 10%, rgba(182, 197, 214, 0.12), transparent 65%),
    linear-gradient(180deg, #f6f9fd 0%, #eef3f9 100%);
  min-height: 100vh;
  line-height: 1.5;
}

/* Shared components */
.card-base {
  background: #ffffff;
  border: 1px solid #dbe3eb;
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(26, 31, 39, 0.12);
}

.accent-top {
  position: relative;
  overflow: hidden;
}

.accent-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.service {
  padding: 24px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #dbe3eb;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(26, 31, 39, 0.08);
}

.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.step {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  border-left: 5px solid var(--accent);
  box-shadow: 0 14px 28px rgba(26, 31, 39, 0.08);
}

.stat {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid #dbe3eb;
  box-shadow: 0 12px 22px rgba(26, 31, 39, 0.06);
}

.form-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid #dbe3eb;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.price-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 36px rgba(26, 31, 39, 0.12);
  border: 1px solid #dbe3eb;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.scope-item {
  padding: 12px 14px;
  font-weight: 600;
}

.button {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #ffffff;
  color: var(--ink);
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow);
  color: #0b1b2b;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(16, 20, 22, 0.15);
}

/* Header */
header {
  padding: 24px 6vw 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
}

/* Home page */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  padding: 72px 4vw 92px;
  align-items: center;
  background: var(--paper);
}

.hero-text {
  max-width: 760px;
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.highlight {
  background: var(--accent);
  padding: 0 8px 2px;
  border-radius: 10px;
  box-decoration-break: clone;
  color: #ffffff;
}

.hero p {
  font-size: 1.05rem;
  color: var(--slate);
  margin-bottom: 24px;
}

.cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.card {
  background: #ffffff;
  border-radius: 28px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 30% 30%, var(--accent-2), transparent 70%);
  opacity: 0.3;
}

.hero-highlight::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at 30% 30%, rgba(242, 183, 5, 0.35), transparent 70%);
  opacity: 0.6;
}

.hero-highlight {
  display: grid;
  gap: 18px;
  max-width: 420px;
  margin-left: auto;
  text-align: right;
  justify-items: end;
}

.hero-highlight h3 {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.about .pill-list {
  justify-content: flex-end;
}

.pill {
  background: #dfe6e4;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ink);
  border: 1px solid #c8d1cd;
}

section {
  padding: 96px 6vw;
}

.section-title {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--slate);
  max-width: 640px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.service-grid--yellow .service {
  background: #f4f6f9;
  border-color: #d9e1ea;
}

.service-grid--yellow .service::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
}

.service h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.band {
  background: linear-gradient(120deg, rgba(207, 227, 255, 0.12), rgba(244, 247, 251, 0.7));
  border-top: 1px solid #e1e6ec;
  border-bottom: 1px solid #e1e6ec;
}

.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.faq-accordion {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  max-width: 760px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #dbe3eb;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(26, 31, 39, 0.06);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 48px 18px 20px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item > p {
  padding: 0 20px 18px;
  color: var(--slate);
  line-height: 1.6;
}

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 64px;
  align-items: center;
}

.about .portrait {
  background: linear-gradient(140deg, #264653 0%, #2a6f7a 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 24px;
  text-align: right;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.cta-band {
  background: var(--ink);
  color: #ffffff;
  border-radius: 28px;
  padding: 36px;
  display: grid;
  gap: 18px;
  align-items: center;
}

.page-pricing .cta-band {
  margin-top: 48px;
}

.cta-band .button {
  border-color: #ffffff;
  color: #ffffff;
  background: transparent;
}

.cta-band .button.primary {
  background: var(--accent);
  color: var(--ink);
}

footer {
  padding: 40px 6vw 48px;
  color: var(--slate);
  font-size: 0.9rem;
}

.fade-in {
  animation: fadeIn 0.8s ease both;
}

.rise-in {
  animation: riseIn 0.9s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Form page */
.page-form main {
  padding: 64px 6vw 96px;
}

.page-form .page-title {
  font-family: "Fraunces", serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  margin-bottom: 12px;
}

.page-form .page-sub {
  color: var(--slate);
  max-width: 720px;
  margin-bottom: 28px;
}

.page-form .stepper {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.page-form .step-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f2f4f3;
  border: 1px solid #e1e4e7;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate);
}

.page-form .step-indicator.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.page-form .step-indicator.completed {
  background: #e8f5e9;
  border-color: #a5d6a7;
  color: var(--ink);
  cursor: pointer;
}

.page-form form {
  display: grid;
  gap: 18px;
}

.page-form .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.page-form .grid-break {
  grid-column: 1 / -1;
  height: 0;
}

.page-form label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
  display: block;
}

.page-form input,
.page-form select,
.page-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d6dadd;
  font-family: inherit;
  font-size: 1rem;
  background: #ffffff;
}

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

.page-form .helper {
  color: var(--slate);
  font-size: 0.9rem;
}

.page-form .button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.page-form .note {
  margin-top: 16px;
  color: var(--slate);
  font-size: 0.9rem;
}

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

.page-form .form-step {
  display: none;
}

.page-form .form-step.active {
  display: grid;
  gap: 18px;
}

.page-form .inline-grid {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 12px;
}

.page-form .hidden {
  display: none !important;
}

.page-form label.required::after {
  content: " *";
  color: #d32f2f;
  font-weight: 400;
}

.page-form .field-error {
  color: #d32f2f;
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}

.page-form .field-error.visible {
  display: block;
}

.page-form input.invalid,
.page-form select.invalid,
.page-form textarea.invalid {
  border-color: #d32f2f;
}

/* Pricing page */
.page-pricing main {
  padding: 72px 6vw 96px;
}

.page-pricing .page-title {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 3.8vw, 3.4rem);
  margin-bottom: 12px;
}

.page-pricing .page-sub {
  color: var(--slate);
  max-width: 720px;
  margin-bottom: 32px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

@media (min-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.plan-sub {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.plan-header {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 18px 18px 0 0;
  text-align: right;
  margin: -24px -24px 16px;
}

.plan-header .plan-name {
  font-size: 1.7rem;
  margin-bottom: 2px;
}

.plan-header .plan-sub {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.price {
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 6px;
  color: var(--ink);
  background: transparent;
  border: none;
  padding: 0;
  display: inline-flex;
  align-self: center;
}

.price-note {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.self-check {
  font-weight: 600;
  margin: 6px 0 12px;
}

.points {
  margin: 12px 0 16px;
  padding-left: 0;
  color: var(--slate);
  list-style: none;
}

.points li {
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
}

.points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-2);
}

.audit-label {
  margin-top: 12px;
  font-weight: 600;
  color: var(--slate);
}

.audit-checklist {
  margin: 8px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 14px;
  font-size: 0.9rem;
  color: var(--slate);
}

.audit-checklist li {
  position: relative;
  padding-left: 18px;
}

.audit-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.price-meta {
  margin-top: auto;
  padding: 14px 18px 18px;
  border-top: 1px solid #d6e2f0;
  background: #eef4fb;
  border-radius: 0 0 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.price-meta .cta {
  margin-top: auto;
}


/* Thank you page */
.page-thank-you {
  display: grid;
  place-items: center;
  padding: 32px;
}

.page-thank-you .card {
  padding: 32px;
  max-width: 520px;
  text-align: center;
}

.page-thank-you h1 {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  margin-bottom: 12px;
}

.page-thank-you p {
  color: var(--slate);
  margin-bottom: 20px;
}

.page-thank-you a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 800px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .cta-band {
    padding: 28px;
  }

  .hero-highlight {
    text-align: left;
    justify-items: start;
    margin-left: 0;
  }

  .page-form .form-card {
    padding: 24px;
  }

  .page-form .grid-2 {
    grid-template-columns: 1fr;
  }

  .page-form .inline-grid {
    grid-template-columns: 1fr;
  }

  .page-form .stepper {
    gap: 8px;
  }

  .page-form .step-indicator {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .page-pricing main {
    padding: 48px 5vw 64px;
  }

  .page-pricing .page-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

  section {
    padding: 64px 5vw;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .cta-band .section-title {
    font-size: clamp(1.4rem, 4.5vw, 1.8rem);
  }
}

@media (max-width: 1100px) {
  .faq-accordion {
    max-width: 100%;
  }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }

  .page-form main {
    min-height: 95vh;
  }
}

