:root {
  color-scheme: light;
  --ink: #10233c;
  --muted: #52647a;
  --line: #dce5ef;
  --paper: #ffffff;
  --wash: #f4f8fc;
  --blue: #175cd3;
  --blue-dark: #1248a5;
  --blue-soft: #eaf2ff;
  --green: #087a55;
  --green-dark: #056040;
  --green-soft: #e8f8f1;
  --amber: #9a5b00;
  --shadow: 0 20px 55px rgba(24, 56, 94, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: var(--blue);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(23, 92, 211, 0.3);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: white;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

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

header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(220, 229, 239, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--blue), #68a1ff);
  color: white;
  font-size: 0.82rem;
  box-shadow: 0 8px 20px rgba(23, 92, 211, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.94rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(91, 145, 255, 0.18), transparent 28rem),
    linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  padding: 88px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 4.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 750;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.lead {
  max-width: 680px;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.27rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--blue);
  color: white;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--blue-dark);
}

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

.button.secondary:hover {
  border-color: #b9c9dd;
  background: var(--wash);
}

.button.pro {
  background: var(--green);
}

.button.pro:hover {
  background: var(--green-dark);
}

.microcopy {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.demo-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  padding: 1rem;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.3rem 0.9rem;
  font-weight: 780;
}

.pill {
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.75rem;
}

.mode-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: #edf2f7;
  font-size: 0.76rem;
  text-align: center;
}

.mode-strip span {
  padding: 0.43rem;
  border-radius: 999px;
}

.mode-strip .selected {
  background: var(--blue);
  color: white;
  font-weight: 720;
}

.capture {
  margin-top: 1rem;
  border-radius: 999px;
  background: var(--blue);
  padding: 0.72rem;
  color: white;
  font-size: 0.86rem;
  font-weight: 750;
  text-align: center;
}

.file-preview {
  margin-top: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
  padding: 0.9rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
}

.file-preview strong {
  color: var(--ink);
}

section {
  padding: 76px 0;
}

.tint {
  background: var(--wash);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cards,
.steps,
.compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  padding: 1.45rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

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

.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
}

.mode-card ul,
.plain-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.mode-card li,
.plain-list li {
  margin: 0.45rem 0;
}

.mode-card.featured {
  border-color: rgba(8, 122, 85, 0.45);
  background: linear-gradient(180deg, var(--green-soft), white 55%);
}

.price {
  margin: 0.7rem 0 0;
  color: var(--green);
  font-size: 1.7rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.notice {
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  background: var(--blue-soft);
  padding: 1rem 1.15rem;
  color: #243d61;
}

.notice.green {
  border-color: var(--green);
  background: var(--green-soft);
}

.content {
  max-width: 800px;
}

.content h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.content h2 {
  margin: 2.4rem 0 0.6rem;
  font-size: 1.65rem;
}

.content h3 {
  margin: 1.5rem 0 0.4rem;
}

.content p,
.content li {
  color: var(--muted);
}

.content strong {
  color: var(--ink);
}

.form-card {
  max-width: 650px;
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}

.field label {
  font-weight: 720;
}

.field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #b9c8da;
  border-radius: 10px;
  padding: 0.75rem;
  color: var(--ink);
  font: inherit;
}

.status {
  min-height: 1.5rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.button[disabled] {
  cursor: progress;
  opacity: 0.65;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 750;
}

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

footer {
  border-top: 1px solid var(--line);
  background: #fbfcfe;
  padding: 30px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer-row p {
  margin: 0;
}

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

@media (max-width: 820px) {
  .hero {
    padding-top: 58px;
  }

  .hero-grid,
  .cards,
  .steps,
  .compare {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .demo-card {
    max-width: 480px;
    transform: none;
  }

  .nav-links a:not(.language) {
    display: none;
  }
}

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

  .actions,
  .actions .button {
    width: 100%;
  }

  .footer-row {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
