:root {
  --brand: #2b5cff;

  --brand-5: #f5f8ff;
  --brand-8: #eef3ff;
  --brand-12: #e6edff;
  --brand-16: #dfe7ff;

  --ink: #101828;
  --muted: #475467;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --line: #e5e7eb;
  --accent: #22a06b;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.10);
  --shadow-md: 0 6px 12px rgba(16, 24, 40, 0.10), 0 2px 6px rgba(16, 24, 40, 0.06);

  --radius: 12px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--ink);
  background: var(--bg-alt);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.lead {
  color: var(--muted);
  font-size: 1.125rem;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.section {
  padding: 4rem 0;
}

.section__header {
  margin-bottom: 2rem;
}

.section__intro {
  color: var(--muted);
  max-width: 60ch;
}

.panel {
  background: #fff;
  padding: clamp(2.5rem, 4vw, 4rem) 0;
}

.panel--tint-1 {
  background: linear-gradient(180deg, var(--brand-8), var(--brand-5));
}

.panel--tint-2 {
  background: linear-gradient(180deg, var(--brand-12), var(--brand-8));
}

.panel--tint-3 {
  background: linear-gradient(180deg, var(--brand-16), var(--brand-12));
}

.skip-link {
  position: absolute;
  left: 0;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

.skip-link:focus {
  top: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  justify-items: end;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand__logo {
  height: 40px;
  width: auto;
  display: inline-block;
  object-fit: contain;
}

.brand__name {
  font-weight: 700;
  white-space: nowrap;
}

.primary-nav {
  display: none;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-list a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.5rem 0.25rem;
  border-radius: 6px;
}

.nav-list a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  box-shadow: var(--shadow-sm);
}

.nav-toggle {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.5rem;
  border-radius: 8px;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

.nav-toggle__bar {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.mockup-surface {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.mockup-surface__topbar {
  display: grid;
  grid-auto-flow: column;
  justify-content: start;
  gap: 6px;
  padding: 0.5rem;
  background: var(--brand-12);
  border-bottom: 1px solid var(--line);
}

.mockup-surface__topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
  opacity: 0.25;
}

.mockup {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.mockup .card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.mockup .choice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.75rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.card--elevated {
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
}

.features .feature {
  padding: 1rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.features .icon {
  width: 40px;
  height: 40px;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.features .icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: 1rem;
  padding: 0;
}

.steps>li {
  padding: 1rem 1rem 1rem 3.25rem;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.steps>li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.pricing .plan {
  display: grid;
  gap: 1rem;
}

.plan--featured {
  border: 2px solid var(--brand);
}

.price {
  font-size: 2rem;
  font-weight: 800;
}

.price .currency {
  font-size: 1.25rem;
  color: var(--muted);
  margin-right: 2px;
}

.price .period {
  font-size: 1rem;
  color: var(--muted);
  margin-left: 6px;
}

.accordion__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.75rem;
}

.accordion__trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1rem 2.75rem 1rem 1rem;
  font: inherit;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  cursor: pointer;
  border-radius: var(--radius);
}

.accordion__trigger:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  box-shadow: var(--shadow-sm);
}

.accordion__trigger[aria-expanded="true"] {
  background: var(--bg-alt);
}

.accordion__trigger::after {
  content: "+";
  font-weight: 700;
  color: var(--brand);
}

.accordion__trigger[aria-expanded="true"]::after {
  content: "−";
}

.accordion__panel {
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.contact {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.375rem;
}

.field--inline {
  align-items: center;
}

label {
  font-weight: 600;
}

input[type="text"],
input[type="email"],
textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.75rem;
  font: inherit;
}

input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  box-shadow: var(--shadow-sm);
}

.choice input {
  accent-color: var(--brand);
}

.form-status {
  min-height: 1.25rem;
  color: var(--accent);
  font-weight: 600;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow: var(--shadow-md);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
}

.btn--primary:hover {
  filter: brightness(0.95);
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: var(--bg-alt);
}

.btn--small {
  padding: 0.5rem 0.75rem;
  background: #2b5cff7d;
}

.btn--block {
  text-align: center;
  width: 100%;
}

.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  background: #fff;
}

.footer-inner {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.footer-nav {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  box-shadow: var(--shadow-sm);
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid--two {
  grid-template-columns: 1fr;
}

.grid--three {
  grid-template-columns: 1fr;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

@media (min-width: 48rem) {
  .grid--two {
    grid-template-columns: 1fr 1fr;
  }

  .grid--three {
    grid-template-columns: repeat(3, 1fr);
  }

  .primary-nav {
    display: block;
  }

  .nav-toggle {
    display: none;
  }
}

@media (min-width: 72rem) {
  .section {
    padding: 5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}