:root {
  --bg: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --soft: #f8fafc;
  --line: #e2e8f0;
  --blue: #2563eb;
  --green: #10b981;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
  --radius: 18px;
  --container: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

img, svg { display: block; }

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

button, input, textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--green);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

.nav-menu {
  position: absolute;
  inset: 72px 16px auto;
  display: none;
  grid-template-columns: 1fr;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  box-shadow: var(--shadow);
}

.nav-menu.is-open { display: grid; }

.nav-menu a {
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-menu a:hover,
.nav-menu a:focus {
  background: var(--soft);
  color: var(--ink);
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
}

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

.hero {
  padding: 64px 0 42px;
  background:
    radial-gradient(circle at 12% 8%, rgba(37, 99, 235, 0.08), transparent 26%),
    linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.hero-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 12vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero-copy {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dashboard-mockup {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow);
}

.mockup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 4px 4px 14px;
}

.mockup-title {
  font-weight: 850;
}

.mockup-pill {
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.mockup-body {
  display: grid;
  gap: 14px;
  padding-top: 16px;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric,
.task-card,
.resource-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
  padding: 14px;
}

.metric strong {
  display: block;
  margin-top: 5px;
  font-size: 1.35rem;
}

.label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.progress-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.task-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-weight: 750;
}

.resource-list {
  display: grid;
  gap: 8px;
}

.resource-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.section {
  padding: 68px 0;
}

.section-soft {
  background: var(--soft);
}

.section-head {
  max-width: 680px;
  margin-bottom: 28px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-head p,
.about-text,
.legal-content p,
.legal-content li {
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.045);
}

.icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
}

.card h3 {
  margin: 18px 0 8px;
  font-size: 1.08rem;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 16px;
  counter-reset: steps;
}

.step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
}

.step::before {
  counter-increment: steps;
  content: "0" counter(steps);
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 850;
}

.included-grid {
  display: grid;
  gap: 12px;
}

.included-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  font-weight: 750;
}

.included-item svg {
  color: var(--green);
  flex: 0 0 auto;
}

.about-panel,
.guarantee-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: clamp(24px, 6vw, 42px);
  box-shadow: var(--shadow);
}

.guarantee-panel {
  background: linear-gradient(135deg, #fff, #f0fdf4);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 18px;
  text-align: left;
  font-weight: 800;
}

.faq-question svg {
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.faq-item.is-open .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.contact-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
  padding: 44px 0;
}

.contact-strip .container {
  display: grid;
  gap: 18px;
  align-items: center;
}

.contact-strip p {
  margin-bottom: 0;
  color: #cbd5e1;
}

.site-footer {
  padding: 34px 0;
  background: #fff;
}

.footer-grid {
  display: grid;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.legal-hero {
  padding: 56px 0 30px;
  background: var(--soft);
}

.legal-content {
  padding: 42px 0 70px;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: clamp(22px, 5vw, 40px);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin-top: 26px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 750;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
}

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

@media (min-width: 680px) {
  .trust-row {
    grid-template-columns: repeat(3, max-content);
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps,
  .included-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid,
  .contact-strip .container {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    border: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .hero {
    padding: 92px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .included-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
