:root {
  --blue: #1d53dd;
  --blue-hover: #1744bb;
  --blue-soft: #edf2fd;
  --blue-line: #d3defa;
  --ink: #1b1f29;
  --text: #4b4f58;
  --muted: #646979;
  --bg: #f9fbff;
  --surface: #ffffff;
  --border: #e3e8f2;
  --code-bg: #141824;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(27, 31, 41, 0.04), 0 8px 24px rgba(27, 31, 41, 0.06);
  --max: 1100px;
  --gutter: 16px;
  --header-h: 68px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.3em;
}

li {
  margin-bottom: 0.35em;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 8px;
}

.skip-link:focus {
  left: 8px;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.narrow {
  max-width: calc(760px + 2 * var(--gutter));
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

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

.section-head p {
  font-size: 1.08rem;
}

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

.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 0 20px;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.6;
}

.fine {
  font-size: 0.94rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 22px;
  border: 2px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-hover);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}

.btn-secondary:hover {
  background: var(--blue-soft);
  color: var(--blue-hover);
}

.btn-small {
  min-height: 40px;
  padding: 7px 16px;
  font-size: 0.95rem;
  border-radius: 10px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-row.center {
  justify-content: center;
}

.text-link {
  display: inline-block;
  padding-block: 10px;
  margin-block: -10px;
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 251, 255, 0.95);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
}

.logo img {
  width: 114px;
  height: 38px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px var(--gutter) 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 24px rgba(27, 31, 41, 0.08);
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.site-nav li {
  margin: 0;
}

.site-nav ul a {
  display: block;
  padding: 12px 4px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.site-nav ul a[aria-current="page"] {
  color: var(--blue);
}

.site-nav .btn {
  width: 100%;
  min-height: 48px;
}

.hero {
  padding: 48px 0 56px;
}

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

.hero .lead {
  max-width: 620px;
}

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

.hero .btn-row {
  margin-top: 28px;
}

.hero .fine {
  margin-top: 18px;
  margin-bottom: 0;
}

.hero-media {
  max-width: 560px;
}

.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.code-card {
  min-width: 0;
  max-width: 560px;
  background: var(--code-bg);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(29, 83, 221, 0.18);
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
}

.code-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #1c2131;
  color: #8a93a8;
  font-size: 0.8rem;
}

.code-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a4157;
}

.code-bar span {
  margin-left: 10px;
}

.code-card pre {
  margin: 0;
  padding: 20px;
  color: #e6e9f2;
  line-height: 1.75;
  overflow-x: auto;
}

.code-card .k {
  color: #8fb0ff;
}

.code-card .s {
  color: #a8dba0;
}

.code-card .f {
  color: #ffd27a;
}

.code-out {
  padding: 12px 20px;
  border-top: 1px solid #262c3d;
  color: #9aa3b8;
}

.code-out b {
  color: #e6e9f2;
  font-weight: 500;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.stat {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--blue);
  margin-bottom: 6px;
}

.stat span {
  display: block;
  font-size: 0.95rem;
  line-height: 1.45;
}

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

.card {
  min-width: 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card p:last-child,
.card ul:last-child,
.card ol:last-child {
  margin-bottom: 0;
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
}

.icon svg {
  width: 24px;
  height: 24px;
}

.step {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.step-media {
  aspect-ratio: 3 / 2;
  background: var(--blue-soft);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.step-media.icon-media {
  aspect-ratio: 5 / 2;
  display: grid;
  place-items: center;
  color: var(--blue);
}

.step-media.icon-media svg {
  width: 88px;
  height: 88px;
}

.step-body {
  padding: 24px;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: middle;
  white-space: nowrap;
}

.gallery {
  display: flex;
  gap: 12px;
  margin: 0 calc(-1 * var(--gutter));
  padding: 6px var(--gutter) 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
}

.gallery a {
  flex: 0 0 62%;
  max-width: 280px;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow);
}

.gallery img {
  width: 100%;
  aspect-ratio: 600 / 1066;
  object-fit: cover;
}

.quotes {
  margin-top: 40px;
}

.quote {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.quote blockquote {
  margin: 0 0 16px;
  flex: 1;
}

.quote blockquote p {
  margin: 0;
}

.quote figcaption {
  color: var(--ink);
  font-weight: 700;
}

.quote-note {
  margin-top: 20px;
  text-align: center;
}

.pricing {
  display: grid;
  gap: 20px;
  align-items: start;
}

.price-card {
  border: 2px solid var(--blue);
  padding: 28px 24px;
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 8px;
}

.price strong {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.checklist {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d53dd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.price-card .btn {
  width: 100%;
}

.price-notes {
  margin-top: 18px;
}

.price-notes p {
  margin-bottom: 8px;
  font-size: 0.94rem;
}

.notice {
  padding: 28px 24px;
  background: #f2f5fb;
  border: 1px solid #cfd8ea;
  border-radius: var(--radius);
}

.notice h3 {
  margin-bottom: 14px;
}

.notice p:last-child {
  margin-bottom: 0;
}

.free-card {
  display: flex;
  flex-direction: column;
}

.free-card p {
  flex: 1;
}

.free-card .btn {
  align-self: flex-start;
  margin-top: 8px;
}

.acc-list {
  max-width: 800px;
  margin: 0 auto;
}

.acc {
  margin-bottom: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.acc[open] {
  box-shadow: var(--shadow);
}

.acc summary {
  position: relative;
  display: block;
  padding: 18px 56px 18px 20px;
  border-radius: 13px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

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

.acc summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}

.acc[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.acc-body {
  padding: 0 20px 20px;
}

.acc-body p:last-child {
  margin-bottom: 0;
}

.module-num {
  display: block;
  margin-bottom: 2px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lessons {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: lesson;
}

.lessons li {
  position: relative;
  margin: 0;
  padding: 9px 0 9px 40px;
  border-top: 1px solid var(--border);
  counter-increment: lesson;
}

.lessons li::before {
  content: counter(lesson);
  position: absolute;
  left: 0;
  top: 9px;
  width: 28px;
  line-height: 28px;
  color: var(--muted);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.lessons li.test::before {
  content: "";
}

.lessons .tag {
  margin-left: 8px;
}

.about {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px;
}

.about p:last-child {
  margin-bottom: 0;
}

.cta-band {
  padding: 48px 24px;
  border-radius: 24px;
  background: var(--blue);
  color: #dfe7fb;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 24px;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--blue);
}

.cta-band .btn-primary:hover {
  background: var(--blue-soft);
  color: var(--blue-hover);
}

.cta-band .btn-secondary {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.cta-band .text-link {
  margin-top: 10px;
  color: #fff;
}

.cta-band :focus-visible {
  outline-color: #fff;
}

.page-hero {
  padding: 48px 0 24px;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc li {
  margin: 0;
}

.toc a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
}

.toc a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.plan-note {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: var(--blue-soft);
  color: var(--ink);
}

.figure {
  margin: 28px 0;
}

.figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  text-align: center;
}

.roadmap {
  display: grid;
  gap: 28px;
}

.rstep {
  padding: 0;
  overflow: hidden;
}

.rstep > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rstep-body {
  padding: 24px;
}

.rstep-body h3 {
  margin-top: 1.4em;
  font-size: 1.08rem;
}

.rstep-label {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rstep-body h2 {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
}

.rstep-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.94rem;
}

.rstep-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--ink);
}

.stars {
  color: #f2a300;
  -webkit-text-stroke: 1px #b87500;
  letter-spacing: 2px;
}

.stars s {
  color: transparent;
  -webkit-text-stroke-color: #7c8599;
  text-decoration: none;
}

.rstep-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 4px;
}

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

.preview-grid img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.post-list {
  display: grid;
  gap: 20px;
}

.post-card {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.post-card img {
  width: 100%;
  aspect-ratio: 1161 / 542;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.post-card .post-body {
  padding: 24px;
}

.post-card h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.post-card h2 a {
  display: inline-block;
  padding-block: 6px;
  margin-block: -6px;
  color: var(--ink);
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--blue);
}

.post-date {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.article {
  padding: 40px 0 72px;
}

.article h1 {
  font-size: clamp(2rem, 7vw, 3rem);
  margin-bottom: 12px;
}

.article h2 {
  margin-top: 1.8em;
  font-size: clamp(1.4rem, 4.5vw, 1.75rem);
}

.article h3 {
  margin-top: 1.6em;
}

.article figure {
  margin: 28px 0;
}

.article figure img {
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.article figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  text-align: center;
}

.article blockquote {
  margin: 20px 0;
  padding: 14px 20px;
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: var(--blue-soft);
  color: var(--ink);
}

.article blockquote p:last-child {
  margin-bottom: 0;
}

code {
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

pre {
  margin: 0 0 1.2em;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--code-bg);
  color: #e6e9f2;
  font-size: 0.9rem;
  line-height: 1.6;
  overflow-x: auto;
}

pre code {
  padding: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}

.back-link {
  margin-top: 22px;
}

.not-found {
  padding: 96px 0;
  text-align: center;
}

.not-found .lead {
  max-width: 520px;
  margin: 0 auto 28px;
}

.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.95rem;
}

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

.footer-grid .logo img {
  width: 120px;
  height: 40px;
}

.footer-nav ul {
  list-style: none;
  margin: -8px 0 0;
  padding: 0;
  display: grid;
}

.footer-nav li {
  margin: 0;
}

.footer-nav a {
  display: inline-block;
  padding-block: 8px;
  color: var(--text);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--blue);
}

.footer-contact p {
  margin: 0;
}

.footer-contact a {
  display: inline-block;
  padding-block: 8px;
}

.footer-contact .footer-label {
  margin-bottom: 4px;
}

.footer-label {
  color: var(--ink);
  font-weight: 600;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

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

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

  .step-media.icon-media {
    aspect-ratio: 3 / 2;
  }

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

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .rstep-body {
    padding: 32px;
  }

  .pricing {
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
  }

  .section-head:has(+ .pricing) {
    margin-inline: auto;
    text-align: center;
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  .grid-3:not(.lesson-grid) > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 8px);
  }

  .lesson-grid {
    align-items: start;
  }

  .lesson-grid > :nth-child(2) {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .lesson-grid > :nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (min-width: 900px) {
  .section {
    padding: 96px 0;
  }

  .hero {
    padding: 80px 0 88px;
  }

  .page-hero {
    padding: 72px 0 32px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 56px;
  }

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

  .gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .gallery a {
    max-width: none;
  }

  .pricing {
    gap: 24px;
  }

  .cta-band {
    padding: 72px 48px;
  }

  .about {
    padding: 44px 48px;
  }

  .code-card {
    font-size: 0.92rem;
  }
}

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

  .site-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .site-nav ul {
    display: flex;
    gap: 2px;
    margin: 0;
  }

  .site-nav ul a {
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    font-size: 0.95rem;
  }

  .site-nav ul a:hover {
    background: var(--blue-soft);
    color: var(--blue);
  }

  .site-nav .btn {
    width: auto;
    min-height: 40px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .footer-nav ul {
    margin-top: -4px;
  }

  .footer-nav a,
  .footer-contact a {
    padding-block: 4px;
  }
}

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

.mb-0 {
  margin-bottom: 0;
}

.m-0 {
  margin: 0;
}

.items-center {
  align-items: center;
}

.card-eyebrow {
  align-self: flex-start;
  margin-bottom: 12px;
}

.section.pt-sm {
  padding-top: 24px;
}

@media (max-width: 479px) {
  .btn-row .btn {
    width: 100%;
  }
}

@media (max-width: 399px) {
  .stat {
    padding: 16px;
  }
}

.section-note {
  max-width: 760px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--muted);
}
