/* ---------------------------------------------------------------
   DevMansur - plain CSS, no build step.
   Colour tokens carried over from the previous Tailwind theme.
   --------------------------------------------------------------- */

:root {
  --bg:            hsl(0 0% 98%);
  --surface:       hsl(0 0% 100%);
  --muted-bg:      hsl(220 14% 96%);
  --dark:          hsl(222 47% 11%);
  --dark-2:        hsl(224 40% 16%);
  --text:          hsl(220 13% 18%);
  --text-muted:    hsl(220 9% 46%);
  --primary:       hsl(227 71% 55%);
  --primary-dark:  hsl(227 71% 48%);
  --border:        hsl(220 13% 91%);
  --success:       hsl(150 60% 40%);
  --danger:        hsl(0 72% 51%);
  --radius:        8px;
  --wrap:          1100px;
  --shadow:        0 1px 3px rgb(16 24 40 / 8%), 0 8px 24px rgb(16 24 40 / 6%);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--primary); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: #fff; color: var(--text); padding: 10px 16px;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ----- Header ---------------------------------------------------- */

.site-header { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 6px; background: var(--primary);
  color: #fff; display: inline-grid; place-items: center; flex: none;
}
.brand-name { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.brand-sm .brand-mark { width: 20px; height: 20px; border-radius: 4px; }
.brand-sm .brand-name { font-size: 11px; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a {
  color: rgb(255 255 255 / 78%); text-decoration: none; font-size: 13px;
  transition: color .15s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }

.nav-burger { display: none; color: #fff; cursor: pointer; padding: 4px; }

/* ----- Buttons --------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: inherit; font-size: 13px; font-weight: 500;
  padding: 10px 20px; border: 0; border-radius: 6px;
  cursor: pointer; text-decoration: none; transition: background .15s ease, opacity .15s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.btn-light { background: #fff; color: var(--text); }
.btn-light:hover { background: rgb(255 255 255 / 88%); }
.btn-block { width: 100%; }
.btn s { opacity: .6; }

/* ----- Hero ------------------------------------------------------ */

.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff; padding-block: 40px 72px;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.hero h1 { font-size: 38px; font-weight: 700; margin-block: 12px; }
.hero .lede { color: rgb(255 255 255 / 70%); max-width: 46ch; }

.pill {
  display: inline-block; font-size: 11px; font-weight: 500;
  background: rgb(67 97 238 / 30%); color: #fff;
  padding: 4px 12px; border-radius: 999px;
}

.demo-box { margin-top: 28px; }
.demo-title { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.demo-creds { font-size: 12px; color: rgb(255 255 255 / 60%); margin-bottom: 12px; }
.demo-links { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-shot img {
  border-radius: 10px; box-shadow: 0 24px 60px rgb(0 0 0 / 45%);
  border: 1px solid rgb(255 255 255 / 10%);
}

/* ----- Page hero (inner pages) ----------------------------------- */

.page-hero { background: var(--dark); color: #fff; padding-block: 56px; }
.page-hero h1 { font-size: 30px; }
.page-hero .lede { color: rgb(255 255 255 / 55%); font-size: 14px; margin: 0; }
.page-hero .btn { margin-top: 20px; }

/* ----- Sections -------------------------------------------------- */

.section { padding-block: 64px; }
.section-muted { background: var(--muted-bg); }
.section-dark { background: var(--dark); color: #fff; }
.section-dark .section-sub { color: rgb(255 255 255 / 50%); }

.section-title { font-size: 24px; font-weight: 700; text-align: center; margin-bottom: 6px; }
.section-sub { color: var(--text-muted); text-align: center; font-size: 14px; margin-bottom: 40px; }
.section-dark .section-title { color: #fff; }

.prose { color: var(--text-muted); font-size: 14px; }

/* ----- Pricing --------------------------------------------------- */

.price-card {
  max-width: 400px; margin-inline: auto; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; text-align: center; box-shadow: var(--shadow);
}
.price-card h3 { font-size: 18px; font-weight: 600; }
.price { font-size: 36px; font-weight: 700; margin: 8px 0 24px; }
.price span { font-size: 14px; font-weight: 400; color: var(--text-muted); }

.ticks { list-style: none; margin: 0 0 24px; padding: 0; text-align: left; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 14px; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .55em;
  width: 10px; height: 5px; border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary); transform: rotate(-45deg);
}
.price-note { font-size: 12px; color: var(--text-muted); margin: 14px 0 0; }

/* ----- Screenshots ----------------------------------------------- */

.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { margin: 0; }
.shot img {
  border-radius: 6px; border: 1px solid rgb(255 255 255 / 10%);
  box-shadow: 0 12px 30px rgb(0 0 0 / 35%);
}
.shot figcaption {
  font-size: 12px; color: rgb(255 255 255 / 55%); margin-top: 10px; text-align: center;
}

/* ----- Features -------------------------------------------------- */

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px;
  max-width: 900px; margin-inline: auto;
}
.feature { text-align: center; }
.feature-icon {
  width: 44px; height: 44px; border-radius: var(--radius); background: var(--muted-bg);
  color: var(--primary); display: inline-grid; place-items: center; margin-bottom: 12px;
}
.feature h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.feature p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ----- FAQ ------------------------------------------------------- */

.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; font-size: 14px; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 10px 0 0; font-size: 13px; color: var(--text-muted); }

/* ----- Contact / info -------------------------------------------- */

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.info h2 { font-size: 15px; font-weight: 600; }
.info p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ----- Forms ----------------------------------------------------- */

.form { max-width: 460px; margin-inline: auto; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 13px; padding: 10px 12px;
  border-radius: 6px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--primary); outline-offset: 0; border-color: transparent;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.section-dark .field label { color: rgb(255 255 255 / 80%); }
.section-dark .field input, .section-dark .field textarea {
  background: rgb(255 255 255 / 5%); border-color: rgb(255 255 255 / 12%); color: #fff;
}
.section-dark .field input::placeholder, .section-dark .field textarea::placeholder {
  color: rgb(255 255 255 / 32%);
}

.check { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.req { color: var(--danger); }

/* Honeypot - moved off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: 13px; margin: 0 0 12px; min-height: 1.2em; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--success); }
.section-dark .form-status.is-success { color: hsl(150 60% 62%); }
.section-dark .form-status.is-error { color: hsl(0 80% 72%); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }

/* ----- Modal ----------------------------------------------------- */

.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgb(15 23 42 / 60%); }
.modal-panel {
  position: relative; background: var(--surface); border-radius: 10px;
  padding: 28px; width: 100%; max-width: 420px; box-shadow: var(--shadow);
  max-height: 90vh; overflow-y: auto;
}
.modal-panel h2 { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.modal-close {
  position: absolute; top: 10px; right: 14px; background: none; border: 0;
  font-size: 24px; line-height: 1; color: var(--text-muted); cursor: pointer;
}
body.modal-open { overflow: hidden; }

/* ----- CTA / Footer ---------------------------------------------- */

.cta { background: var(--surface); }

.site-footer { background: var(--dark); padding-block: 20px; border-top: 1px solid rgb(255 255 255 / 10%); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-nav { display: flex; gap: 16px; }
.footer-nav a { font-size: 11px; color: rgb(255 255 255 / 60%); text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.footer-copy { font-size: 11px; color: rgb(255 255 255 / 40%); margin: 0; }

/* ----- Responsive ------------------------------------------------ */

@media (max-width: 900px) {
  .shot-grid, .feature-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 30px; }
  .hero-shot { order: -1; }

  .nav-burger { display: inline-flex; }
  .site-nav {
    display: none; flex-direction: column; align-items: flex-start;
    gap: 14px; width: 100%; padding-block: 8px 4px;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .header-inner { flex-wrap: wrap; }

  .shot-grid, .feature-grid, .info-grid, .field-row { grid-template-columns: 1fr; }
  .section { padding-block: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ================================================================
   Inner pages: pricing, demo, screenshots, installation
   ================================================================ */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.section-title.left { text-align: left; margin-top: 32px; }

.btn-outline {
  background: rgb(255 255 255 / 10%); color: #fff;
  border: 1px solid rgb(255 255 255 / 30%);
}
.btn-outline:hover { background: rgb(255 255 255 / 20%); }

.btn-outline-dark {
  background: transparent; color: var(--text); border: 1px solid var(--border);
}
.btn-outline-dark:hover { background: var(--muted-bg); }

.page-hero .btn + .btn { margin-left: 8px; }
.center-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.creds { font-size: 14px; color: var(--text-muted); }
.creds strong { color: var(--text); }
.fineprint { font-size: 12px; color: var(--text-muted); text-align: center; }

/* ----- Breadcrumbs ----------------------------------------------- */

.crumbs { margin-bottom: 14px; }
.crumbs ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  font-size: 12px;
}
.crumbs li + li::before { content: "/"; color: rgb(255 255 255 / 30%); margin-right: 6px; }
.crumbs a { color: rgb(255 255 255 / 60%); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: rgb(255 255 255 / 90%); }

/* ----- Pricing table --------------------------------------------- */

.compare { overflow-x: auto; }
.compare table {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.compare th, .compare td {
  padding: 12px 16px; text-align: left; font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.compare thead th { background: var(--muted-bg); font-weight: 600; font-size: 13px; }
.compare tbody th { font-weight: 400; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td { text-align: right; }
.yes { color: var(--primary); font-weight: 700; }

/* ----- Installation steps ---------------------------------------- */

.steps { list-style: none; margin: 0; padding: 0; }
.step { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 28px; }
.step-icon {
  flex: none; width: 48px; height: 48px; border-radius: var(--radius);
  background: rgb(67 97 238 / 10%); color: var(--primary);
  display: grid; place-items: center;
}
.step h2 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.step p { font-size: 13px; color: var(--text-muted); margin: 0; }

.note {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgb(67 97 238 / 5%); border: 1px solid rgb(67 97 238 / 12%);
  border-radius: var(--radius); padding: 16px; font-size: 13px; color: var(--text-muted);
}
.note-icon { color: var(--primary); flex: none; line-height: 0; }

.ticks-wide li { font-size: 13px; color: var(--text-muted); }

/* ----- Video ------------------------------------------------------ */

.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; background: #000; box-shadow: var(--shadow);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ----- Demo cards ------------------------------------------------- */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: rgb(255 255 255 / 5%); border-radius: var(--radius); padding: 22px; }
.card-icon { color: var(--primary); display: block; margin-bottom: 12px; line-height: 0; }
.card h3 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.card p { font-size: 13px; color: rgb(255 255 255 / 62%); margin: 0; }

.shot-grid-light .shot img { border-color: var(--border); box-shadow: var(--shadow); }
.shot-grid-light .shot figcaption { color: var(--text-muted); }

/* ----- Screenshot gallery ----------------------------------------- */

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.gallery-item { margin: 0; }
.gallery-open {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  cursor: zoom-in; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-open img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--border);
  transition: transform .2s ease;
}
.gallery-open:hover img { transform: scale(1.015); }
.gallery-item figcaption { padding-top: 12px; }
.gallery-item h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.gallery-item p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ----- Lightbox --------------------------------------------------- */

.lightbox {
  position: fixed; inset: 0; z-index: 60; background: rgb(10 14 25 / 92%);
  display: flex; align-items: center; justify-content: center; padding: 40px 60px;
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox-figure img {
  max-width: 100%; max-height: 78vh; border-radius: 6px; margin-inline: auto;
  box-shadow: 0 24px 60px rgb(0 0 0 / 55%);
}
.lightbox-figure figcaption { color: rgb(255 255 255 / 78%); font-size: 13px; margin-top: 14px; }
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgb(255 255 255 / 10%); border: 0; color: #fff;
  cursor: pointer; border-radius: 6px; line-height: 1;
}
.lightbox-close { top: 20px; right: 24px; font-size: 28px; width: 40px; height: 40px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); font-size: 34px; width: 44px; height: 60px; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgb(255 255 255 / 22%); }

/* ----- Responsive additions --------------------------------------- */

@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .card-grid, .gallery { grid-template-columns: 1fr; }
  .step { gap: 14px; }
  .step-icon { width: 40px; height: 40px; }
  .page-hero .btn { display: block; width: 100%; margin: 8px 0 0; }
  .page-hero .btn + .btn { margin-left: 0; }
  .lightbox { padding: 60px 12px; }
  .lightbox-nav { width: 36px; height: 48px; font-size: 26px; }
}

/* ----- Amber theme: colour patterns -------------------------------- */

.palettes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.palette {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px;
}
.swatches { display: inline-flex; border-radius: 4px; overflow: hidden; flex: none; }
.swatch { width: 34px; height: 30px; }
.palette-name { font-size: 14px; font-weight: 600; }
.palette-name em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--text-muted); margin-left: 6px; }

.hero .crumbs ol { justify-content: flex-start; }

@media (max-width: 760px) {
  .swatch { width: 26px; height: 26px; }
}

/* Hero with no product shot yet: use the full width instead of half. */
.hero-grid-single { grid-template-columns: 1fr; }
.hero-grid-single .lede { max-width: 62ch; }

/* ----- Screenshot placeholder (shown until the real file is uploaded) ---- */

.shot-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; aspect-ratio: 16 / 10; width: 100%;
  border: 2px dashed rgb(255 255 255 / 22%); border-radius: var(--radius);
  background: rgb(255 255 255 / 4%); color: rgb(255 255 255 / 55%);
  padding: 16px; text-align: center;
}
.shot-placeholder-icon { line-height: 0; opacity: .7; }
.shot-placeholder-label { font-size: 13px; font-weight: 600; }
.shot-placeholder-file {
  font-size: 11px; opacity: .6; word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* On a light section the dashed box needs darker ink. */
.section:not(.section-dark) .shot-placeholder,
.section-muted .shot-placeholder {
  border-color: var(--border); background: var(--muted-bg); color: var(--text-muted);
}

/* ----- Uniform screenshot cards -------------------------------------
   Source screenshots vary from 1:1 to 2:1, so thumbnails are cropped to
   one ratio and top-aligned (the header of a UI shot is the useful part).
   The lightbox is deliberately untouched: it shows the full image as-is.
   -------------------------------------------------------------------- */

.gallery-open img,
.gallery-item .shot-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

/* Hero shot: cap the height so a tall screenshot cannot dwarf the copy. */
.hero-shot img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 760px) {
  .hero-shot img { max-height: 280px; }
}

/* ----- Home hub: product cards ------------------------------------- */

.hero-center { padding-block: 64px 72px; }
.hero-center h1 { font-size: 40px; }
.hero-center .lede { color: rgb(255 255 255 / 70%); margin-inline: auto; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.product-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.product-shot { display: block; background: var(--muted-bg); }
.product-shot img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center;
}
.product-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-audience {
  display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 500;
  background: rgb(67 97 238 / 10%); color: var(--primary);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.product-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.product-card h3 a { color: var(--text); text-decoration: none; }
.product-card h3 a:hover { color: var(--primary); }
.product-tagline { font-size: 13px; color: var(--text-muted); }
.product-card .ticks { margin-bottom: 20px; }
.product-card .ticks li { font-size: 13px; }

.product-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: auto 0 0; flex-wrap: wrap;
}
.product-price { font-size: 24px; font-weight: 700; }
.product-price span { font-size: 12px; font-weight: 400; color: var(--text-muted); }

.section-dark .demo-creds.center { text-align: center; margin-top: 12px; }

@media (max-width: 760px) {
  .hero-center h1 { font-size: 30px; }
  .product-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* The footer nav grows with every page added, so it must wrap. */
.footer-nav { flex-wrap: wrap; justify-content: center; row-gap: 8px; }

/* Product card footer: price on one line, Buy + View details below it. */
.product-foot { margin: auto 0 0; }
.product-foot .product-price { margin: 0 0 12px; display: block; }
.product-actions { display: flex; gap: 10px; margin: 0; flex-wrap: wrap; }
.product-actions .btn { flex: 1 1 auto; }

@media (max-width: 420px) {
  .product-actions .btn { flex: 1 1 100%; }
}

/* Merged live-demo section on the home page. */
.wrap > .narrow { max-width: 760px; margin-inline: auto; }
.demo-note { color: rgb(255 255 255 / 40%); margin-top: 10px; }
.demo-subhead {
  text-align: center; font-size: 16px; font-weight: 600; color: #fff;
  margin: 44px 0 24px;
}
.card h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 8px; }
