/* Layout, radius and type come from the KontrolWP website
   (bedynamic-tech/KontrolWP-Website). Neutrals are KontrolWP's, tinted to the
   logo's hue (212); the logo teal carries buttons, links, icons, the closing
   band and the footer. */
/* Geist, the dashboard's typeface, served from this site (SIL OFL, fonts/OFL.txt). */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/geist-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/geist-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/geist-mono-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: light;
  --background: oklch(1 0 0);
  --canvas: oklch(0.984 0.002 212);
  --foreground: oklch(0.2 0.012 212);
  --card: oklch(1 0 0);
  --primary: oklch(0.393 0.067 212); /* #044f5b, logo teal */
  --primary-foreground: oklch(1 0 0);
  --link: oklch(0.393 0.067 212);
  --tint: oklch(0.393 0.067 212 / 0.09);
  --brand-deep: oklch(0.306 0.052 211); /* #02363e, logo dark teal */
  --stripe-1: oklch(0.708 0.033 212); /* #8aa7ad, decoration only */
  --stripe-2: oklch(0.77 0.05 213); /* #90bdc7, decoration only */
  --secondary: oklch(0.962 0.004 212);
  --muted: oklch(0.962 0.004 212);
  --muted-foreground: oklch(0.51 0.017 212);
  --accent: oklch(0.948 0.006 212);
  --destructive: oklch(0.56 0.21 27);
  --warn: oklch(0.6 0.16 55);
  --ok: oklch(0.58 0.14 155);
  --border: oklch(0.918 0.005 212);
  --input: oklch(0.89 0.007 212);
  --ring: oklch(0.55 0.06 212);
  --selection: oklch(0.9 0.02 212);
  --sidebar: oklch(0.978 0.003 212);
  --sidebar-accent: oklch(0.935 0.007 212);
  --bar-light: oklch(0.82 0.004 212);
  --shadow: 0 1px 2px oklch(0.2 0.012 212 / 0.04), 0 12px 40px -12px oklch(0.2 0.012 212 / 0.14);
  --radius: 0.625rem;
  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

:root.dark {
  color-scheme: dark;
  --background: oklch(0.185 0.006 212);
  --canvas: oklch(0.165 0.005 212);
  --foreground: oklch(0.95 0.004 212);
  --card: oklch(0.205 0.006 212);
  --primary: oklch(0.77 0.05 213); /* #90bdc7 */
  --primary-foreground: oklch(0.306 0.052 211);
  --link: oklch(0.82 0.05 213);
  --tint: oklch(0.77 0.05 213 / 0.12);
  --secondary: oklch(0.25 0.007 212);
  --muted: oklch(0.25 0.007 212);
  --muted-foreground: oklch(0.68 0.012 212);
  --accent: oklch(0.27 0.008 212);
  --destructive: oklch(0.68 0.19 25);
  --warn: oklch(0.75 0.15 65);
  --ok: oklch(0.72 0.14 155);
  --border: oklch(0.28 0.007 212);
  --input: oklch(0.33 0.008 212);
  --ring: oklch(0.7 0.05 212);
  --selection: oklch(0.38 0.05 212);
  --sidebar: oklch(0.165 0.005 212);
  --sidebar-accent: oklch(0.25 0.008 212);
  --bar-light: oklch(0.36 0.008 212);
  --shadow: 0 1px 2px oklch(0 0 0 / 0.3), 0 12px 40px -12px oklch(0 0 0 / 0.6);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--foreground);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

::selection {
  background: var(--selection);
  color: var(--foreground);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

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

.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

.visually-hidden,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-foreground);
}

/* Buttons: the dashboard's default, outline and ghost variants. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn:active {
  transform: translateY(1px);
}
.btn:focus-visible,
.icon-btn:focus-visible,
.nav > a:focus-visible {
  outline: 3px solid color-mix(in oklch, var(--ring), transparent 50%);
  outline-offset: 1px;
}
.btn-lg {
  height: 42px;
  padding: 0 18px;
  font-size: 15px;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover {
  background: color-mix(in oklch, var(--primary), transparent 20%);
}
.btn-outline {
  background: var(--background);
  border-color: var(--border);
  color: var(--foreground);
}
:root.dark .btn-outline {
  border-color: var(--input);
  background: color-mix(in oklch, var(--input), transparent 70%);
}
.btn-outline:hover {
  background: var(--muted);
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
}
.icon-btn:hover {
  background: var(--muted);
  color: var(--foreground);
}
.icon-btn .icon {
  width: 18px;
  height: 18px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: color-mix(in oklch, var(--canvas), transparent 15%);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  transition: border-color 0.2s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand img {
  width: 144px;
  height: 42px;
}
.brand .logo-white,
:root.dark .brand .logo-color {
  display: none;
}
:root.dark .brand .logo-white {
  display: block;
}
.nav {
  display: none;
  gap: 4px;
}
.nav > a {
  padding: 6px 10px;
  border-radius: var(--radius);
  color: var(--muted-foreground);
  font-size: 14px;
  text-decoration: none;
}
.nav > a:hover {
  background: var(--muted);
  color: var(--foreground);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-actions .btn {
  display: none;
}
@media (min-width: 860px) {
  .nav {
    display: flex;
  }
  .header-actions .btn {
    display: inline-flex;
    margin-left: 6px;
  }
  .menu-btn {
    display: none !important;
  }
}
/* Mobile menu: a panel that opens over the page below the header, so nothing
   underneath moves. main.js locks page scroll while it is open. */
.menu-btn .icon-close,
.menu-btn[aria-expanded="true"] .icon-menu {
  display: none;
}
.menu-btn[aria-expanded="true"] .icon-close {
  display: block;
}
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - 60px);
  height: calc(100dvh - 60px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 16px 32px;
  background: var(--background);
  border-top: 1px solid var(--border);
}
.mobile-nav.open {
  display: flex;
  flex-direction: column;
  animation: menu-in 0.18s ease-out;
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.mobile-nav a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 4px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:not(.btn):hover {
  color: var(--link);
}
.mobile-nav a:not(.btn):focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: -2px;
  border-radius: var(--radius);
}
.mobile-nav .btn {
  margin-top: 24px;
  width: 100%;
  height: 48px;
  font-size: 16px;
}
:root.menu-open {
  overflow: hidden;
}
/* body clips sideways overflow; while the root clips everything, body must
   not become a scroll box of its own or the sticky header scrolls away. */
:root.menu-open body {
  overflow: visible;
}
:root.menu-open .site-header {
  background: var(--background);
  border-bottom-color: var(--border);
}
@media (prefers-reduced-motion: reduce) {
  .mobile-nav.open {
    animation: none;
  }
}
@media (min-width: 860px) {
  .mobile-nav,
  .mobile-nav.open {
    display: none;
  }
}

/* Theme toggle shows the icon for the theme you would switch to. */
.theme-toggle .sun {
  display: none;
}
:root.dark .theme-toggle .sun {
  display: block;
}
:root.dark .theme-toggle .moon {
  display: none;
}

/* Hero */
.hero {
  padding: 56px 0 32px;
  overflow-x: clip;
  text-align: center;
}
@media (min-width: 768px) {
  .hero {
    padding: 96px 0 48px;
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--background);
  color: var(--muted-foreground);
  font-size: 13px;
}
.eyebrow .pill {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 12px;
  font-weight: 500;
}
.hero h1 {
  margin: 20px auto 0;
  max-width: 820px;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.05;
  font-weight: 650;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero .lede {
  margin: 20px auto 0;
  max-width: 620px;
  color: var(--muted-foreground);
  font-size: clamp(16px, 2.2vw, 19px);
  text-wrap: pretty;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.hero-note {
  margin-top: 16px;
  color: var(--muted-foreground);
  font-size: 13px;
}

section.band {
  padding: 72px 0;
}
@media (min-width: 768px) {
  section.band {
    padding: 104px 0;
  }
}
section.band.closing {
  padding-top: 64px;
}
section.band.alt {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--background);
}
.kicker {
  color: var(--link);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.band h2 {
  margin-top: 10px;
  max-width: 720px;
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.band .intro {
  margin-top: 14px;
  max-width: 620px;
  color: var(--muted-foreground);
  font-size: 17px;
  text-wrap: pretty;
}
.center {
  text-align: center;
}
.center h2,
.center .intro {
  margin-left: auto;
  margin-right: auto;
}

/* Proof strip */
.proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 64px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--border);
}
@media (min-width: 768px) {
  .proof {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.proof div {
  padding: 20px;
  background: var(--background);
}
.proof b {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.proof span {
  display: block;
  margin-top: 4px;
  color: var(--muted-foreground);
  font-size: 14px;
}

/* Feature grid */
.grid {
  display: grid;
  gap: 12px;
  margin-top: 48px;
}
@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--background);
}
.alt .card {
  background: var(--canvas);
}
.card .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--tint);
  color: var(--link);
}
.card .ico .icon {
  width: 18px;
  height: 18px;
}
.card h3 {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.card p {
  margin-top: 6px;
  color: var(--muted-foreground);
  font-size: 14.5px;
}

/* Spotlights: copy beside a mockup */
.spot {
  display: grid;
  gap: 32px;
  align-items: center;
  margin-top: 72px;
}
.spot:first-of-type {
  margin-top: 56px;
}
@media (min-width: 960px) {
  .spot {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
  }
  .spot.flip > .spot-copy {
    order: 2;
  }
}
.spot-copy h2,
.spot-copy h3 {
  margin-top: 0;
  max-width: none;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.spot-copy p {
  margin-top: 12px;
  color: var(--muted-foreground);
  font-size: 16px;
}
.checks {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 15px;
}
.checks li {
  display: flex;
  gap: 10px;
}
.checks .icon {
  margin-top: 3px;
  color: var(--ok);
}
.spot .window {
  min-width: 0;
}

.trust {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 768px) {
  .trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.trust h3 {
  font-size: 15px;
  font-weight: 600;
}
.trust p {
  margin-top: 6px;
  color: var(--muted-foreground);
  font-size: 14.5px;
}

/* Steps */
.steps {
  display: grid;
  gap: 12px;
  margin-top: 48px;
  counter-reset: step;
}
@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.step {
  position: relative;
  padding: 24px 22px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--canvas);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 13px;
  font-weight: 600;
}
.step h3 {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
}
.step p {
  margin-top: 6px;
  color: var(--muted-foreground);
  font-size: 14.5px;
}
.code {
  margin-top: 14px;
  padding: 8px 10px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--background);
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}
.stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.stack span {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--canvas);
  color: var(--muted-foreground);
  font-size: 13px;
}

/* FAQ */
.faq {
  max-width: 780px;
  margin: 40px auto 0;
  border-top: 1px solid var(--border);
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .icon {
  color: var(--muted-foreground);
  transition: transform 0.2s;
}
.faq details[open] summary .icon {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 2px 20px;
  color: var(--muted-foreground);
  font-size: 15px;
}

/* Closing CTA */
.final {
  --on-final: oklch(1 0 0);
  padding: 48px 24px;
  border-radius: 20px;
  background: var(--brand-deep);
  color: var(--on-final);
  text-align: center;
}
@media (min-width: 768px) {
  .final {
    padding: 72px 48px;
  }
}
.final h2 {
  margin: 0 auto;
  max-width: 640px;
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.final p {
  margin: 14px auto 0;
  max-width: 520px;
  color: color-mix(in oklch, var(--on-final), transparent 18%);
  font-size: 17px;
}
.final .btn-primary {
  background: var(--on-final);
  color: var(--brand-deep);
}
.final .btn-primary:hover {
  background: color-mix(in oklch, var(--on-final), transparent 12%);
}
.final .btn-outline {
  border-color: color-mix(in oklch, var(--on-final), transparent 65%);
  background: transparent;
  color: var(--on-final);
}
.final .btn-outline:hover {
  background: color-mix(in oklch, var(--on-final), transparent 90%);
}

footer {
  --on-foot: oklch(0.9 0.015 212);
  padding: 48px 0;
  border-top: 6px solid var(--stripe-2);
  box-shadow: inset 0 6px 0 var(--stripe-1);
  background: var(--brand-deep);
  color: var(--on-foot);
  font-size: 14px;
}
footer a:focus-visible {
  outline: 2px solid var(--on-foot);
  outline-offset: 2px;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.foot-row nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.foot-row nav a {
  text-decoration: none;
}
.foot-row nav a:hover {
  color: oklch(1 0 0);
  text-decoration: underline;
}
footer .brand .logo-color {
  display: none;
}
footer .brand .logo-white {
  display: block;
}

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

/* Feature pages */
.page-hero {
  padding: 40px 0 48px;
}
@media (min-width: 768px) {
  .page-hero {
    padding: 64px 0 72px;
  }
}
.page-hero h1 {
  font-size: clamp(32px, 5.6vw, 52px);
}
.crumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted-foreground);
  font-size: 13px;
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--foreground);
}
.ph-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 20px auto 0;
  border-radius: 12px;
  background: var(--tint);
  color: var(--link);
}
.ph-ico .icon {
  width: 22px;
  height: 22px;
}
.ph-ico + h1 {
  margin-top: 16px;
}
.crumbs + h1 {
  margin-top: 20px;
}
.detail {
  display: grid;
  gap: 12px;
  margin-top: 40px;
}
@media (min-width: 800px) {
  .detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.detail .card h3 {
  margin-bottom: 4px;
}
ul.plain {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted-foreground);
  font-size: 14.5px;
}
ul.plain li {
  position: relative;
  padding-left: 16px;
}
ul.plain li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted-foreground);
  opacity: 0.6;
}
.callout {
  margin-top: 12px;
  padding: 22px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--warn);
  border-radius: 14px;
  background: var(--canvas);
}
.callout h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.alt .callout {
  background: var(--background);
}

/* Cards that link to a feature page */
.card {
  position: relative;
}
.card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--foreground);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.card .more .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}
.card .more::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
}
.card .more:focus-visible::after {
  outline: 2px solid var(--ring, var(--foreground));
  outline-offset: 2px;
}
.card:has(.more):hover,
a.linkcard:hover {
  border-color: color-mix(in oklch, var(--foreground), transparent 70%);
}
.card:has(.more):hover .more .icon {
  transform: translateX(3px);
}
a.linkcard {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.linkcard:focus-visible {
  outline: 2px solid var(--ring, var(--foreground));
  outline-offset: 2px;
}

/* Keep an odd last card from sitting alone in its row */
@media (min-width: 640px) and (max-width: 999px) {
  .grid > .card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1000px) {
  .grid > .card:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
  }
}

/* Logo stripes, used as a small accent under page heroes */
.stripes {
  display: grid;
  gap: 4px;
  width: 72px;
  margin: 28px auto 0;
}
.stripes i {
  height: 5px;
  border-radius: 3px;
  background: var(--brand-deep);
}
.stripes i:nth-child(2) {
  background: var(--stripe-1);
}
.stripes i:nth-child(3) {
  background: var(--stripe-2);
}
:root.dark .stripes i:first-child {
  background: var(--primary);
}

/* Footer columns */
.foot-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 760px) {
  .foot-grid {
    grid-template-columns: 2fr repeat(3, minmax(0, 1fr));
  }
}
.foot-grid p {
  max-width: 340px;
  margin-top: 14px;
  line-height: 1.6;
}
.foot-grid h2 {
  color: oklch(1 0 0);
  font-size: 14px;
  font-weight: 600;
}
.foot-grid ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.foot-grid a {
  text-decoration: none;
}
.foot-grid a:hover {
  color: oklch(1 0 0);
  text-decoration: underline;
}
.foot-base {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid oklch(1 0 0 / 0.15);
  font-size: 13px;
}

/* Plans */
.plans {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 48px auto 0;
}
@media (min-width: 760px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--background);
}
.alt .plan {
  background: var(--canvas);
}
.plan.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
.plan h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan .price {
  margin-top: 10px;
  font-size: 40px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan .price small {
  color: var(--muted-foreground);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
}
.plan .checks {
  flex: 1;
  font-size: 14.5px;
}
.plan .checks .icon {
  color: var(--link);
}
.plan .btn {
  margin-top: 24px;
}

/* Four-up variants, testimonials, related links and stats */
@media (min-width: 1000px) {
  .steps.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .trust.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .trust.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.quotes {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin: 48px auto 0;
}
@media (min-width: 760px) {
  .quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.quotes figure {
  margin: 0;
}
.quotes blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
.quotes figcaption {
  margin-top: 16px;
  color: var(--muted-foreground);
  font-size: 14px;
}
.quotes figcaption b {
  display: block;
  color: var(--foreground);
  font-weight: 600;
}
.card .checks {
  margin-top: 16px;
  font-size: 14.5px;
}
.card .plain a {
  color: var(--link);
}
.plan .plan-note {
  margin-top: 6px;
  color: var(--muted-foreground);
  font-size: 14.5px;
}
.plans-foot {
  margin-top: 24px;
  color: var(--muted-foreground);
  font-size: 15px;
  text-align: center;
}
.also {
  margin-top: 24px;
  color: var(--muted-foreground);
  font-size: 15px;
  text-align: center;
}
.also a {
  color: var(--link);
}

.spot-copy .cta-row {
  justify-content: flex-start;
  margin-top: 24px;
}
@media (min-width: 960px) {
  .spot.solo {
    grid-template-columns: minmax(0, 760px);
  }
}

/* Contact block */
.contact {
  display: grid;
  gap: 12px;
  max-width: 1040px;
  margin: 40px auto 0;
}
@media (min-width: 760px) {
  .contact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.contact .card a {
  color: var(--link);
  font-weight: 500;
}

/* Long-form text: privacy policy, guides and blog posts */
.prose {
  max-width: 68ch;
  overflow-wrap: break-word;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  margin-top: 2em;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.prose h3 {
  margin-top: 1.6em;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
}
.prose ul,
.prose ol {
  padding-left: 1.4em;
}
.prose li + li {
  margin-top: 0.4em;
}
.prose a {
  color: var(--link);
  text-underline-offset: 3px;
}
.prose a:focus-visible,
.text-link:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: 2px;
}
.prose blockquote {
  margin-left: 0;
  padding-left: 18px;
  border-left: 3px solid var(--stripe-2);
  color: var(--muted-foreground);
}
.prose code {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--muted);
  font-family: var(--mono);
  font-size: 0.88em;
}
.prose pre {
  overflow-x: auto;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--background);
  font-size: 14px;
  line-height: 1.55;
}
.prose pre code {
  padding: 0;
  background: none;
}
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.prose figcaption {
  margin-top: 8px;
  color: var(--muted-foreground);
  font-size: 14px;
  text-align: center;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.prose th,
.prose td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.text-link {
  color: var(--link);
  font-weight: 500;
  text-underline-offset: 3px;
}

/* Blog cards */
.post-grid {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--background);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.post-card[hidden] {
  display: none;
}
.post-card:hover {
  border-color: color-mix(in oklch, var(--foreground), transparent 70%);
  box-shadow: var(--shadow);
}
.post-card:focus-within {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.post-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--muted);
}
.post-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.post-card:hover .post-card-img img {
  transform: scale(1.03);
}
@media (prefers-reduced-motion: reduce) {
  .post-card,
  .post-card-img img {
    transition: none;
  }
  .post-card:hover .post-card-img img {
    transform: none;
  }
}
/* Posts without a cover get the logo stripes on the brand color. */
.post-card-blank {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 0 22%;
  background: var(--brand-deep);
}
.post-card-blank i {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: var(--stripe-1);
}
.post-card-blank i:nth-child(2) {
  width: 80%;
  background: var(--stripe-2);
}
.post-card-blank i:nth-child(3) {
  width: 60%;
}
.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
}
.post-card-cat {
  color: var(--link);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.post-card h2,
.post-card h3 {
  margin: 6px 0 0;
  max-width: none;
  overflow-wrap: anywhere;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.post-card h2 a,
.post-card h3 a {
  color: inherit;
  text-decoration: none;
}
.post-card h2 a:focus-visible,
.post-card h3 a:focus-visible {
  outline: none;
}
.post-card h2 a::after,
.post-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.post-card-body > p:not(.post-card-cat):not(.post-meta) {
  margin-top: 8px;
  color: var(--muted-foreground);
  font-size: 14.5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card .post-meta {
  margin-top: auto;
  padding-top: 14px;
}

/* Blog search and filters (shown by main.js) */
.blog-tools {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}
.blog-tools[hidden] {
  display: none;
}
@media (min-width: 900px) {
  .blog-tools {
    grid-template-columns: minmax(260px, 360px) 1fr;
    align-items: end;
  }
}
.blog-search label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
}
.search-box {
  position: relative;
}
.search-box .icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  pointer-events: none;
}
.search-box input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px 10px 40px;
  border: 1px solid var(--muted-foreground);
  border-radius: 10px;
  background: var(--background);
  color: var(--foreground);
  font: inherit;
  font-size: 16px;
}
.search-box input:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 1px;
}
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog-filters button {
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--background);
  color: var(--foreground);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.blog-filters button span {
  color: var(--muted-foreground);
  font-size: 12.5px;
}
.blog-filters button[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}
.blog-filters button[aria-pressed="true"] span {
  color: inherit;
}
.blog-filters button:focus-visible,
.link-btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.post-count {
  margin-bottom: 16px;
  color: var(--muted-foreground);
  font-size: 14px;
}
.post-count:empty {
  display: none;
}
.post-empty {
  padding: 40px 0;
  color: var(--muted-foreground);
  text-align: center;
}
.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--link);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
/* The newest post spans the row while the full list is showing. */
@media (min-width: 1000px) {
  #posts:not(.filtered) > .post-card:first-child {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  #posts:not(.filtered) > .post-card:first-child .post-card-img {
    flex: 0 0 58%;
    border-right: 1px solid var(--border);
    border-bottom: 0;
  }
  #posts:not(.filtered) > .post-card:first-child .post-card-body {
    justify-content: center;
    padding: 32px 36px;
  }
  #posts:not(.filtered) > .post-card:first-child h2 {
    font-size: 26px;
    letter-spacing: -0.02em;
  }
  #posts:not(.filtered) > .post-card:first-child .post-meta {
    margin-top: 16px;
  }
}
.post-meta {
  margin-top: 8px;
  color: var(--muted-foreground);
  font-size: 13px;
}
section.band .container > .spot:first-child {
  margin-top: 0;
}
.plan .checks {
  align-content: start;
}

/* Blog posts */
.post-hero h1 {
  max-width: 860px;
}
.post-hero .post-meta {
  margin-top: 16px;
  font-size: 14px;
}
.post-cover {
  max-width: 860px;
  margin: 32px auto 0;
}
.post-cover img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
}
section.band.post-body {
  padding: 56px 0 72px;
}
.prose figure {
  margin: 1.6em 0;
}
.prose figure img {
  border: 1px solid var(--border);
}
.prose pre:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.prose .post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2.4em;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.post-tags span {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--link);
  font-size: 13px;
}
.home-posts {
  margin-top: 48px;
}
@media (min-width: 760px) {
  /* Three cards, always one row. */
  .home-posts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.crumbs {
  flex-wrap: wrap;
}
.crumbs [aria-current] {
  max-width: min(46ch, 60vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Material layer (2026-10-08): tonal surfaces, elevation instead of hairlines,
   rounder shapes and pill buttons, after the old site's look. */
:root {
  --surface-1: oklch(0.975 0.008 212);
  --surface-2: oklch(0.955 0.016 210);
  --primary-container: oklch(0.91 0.04 205);
  --on-primary-container: oklch(0.306 0.052 211);
  --elev-1: 0 1px 2px oklch(0.2 0.03 212 / 0.08), 0 1px 3px 1px oklch(0.2 0.03 212 / 0.05);
  --elev-2: 0 1px 2px oklch(0.2 0.03 212 / 0.1), 0 4px 12px 2px oklch(0.2 0.03 212 / 0.07);
  --elev-3: 0 4px 10px 3px oklch(0.2 0.03 212 / 0.09), 0 1px 3px oklch(0.2 0.03 212 / 0.12);
  --hero-glow: oklch(0.91 0.04 205 / 0.75);
}
:root.dark {
  --surface-1: oklch(0.2 0.009 212);
  --surface-2: oklch(0.215 0.013 212);
  --primary-container: oklch(0.33 0.045 212);
  --on-primary-container: oklch(0.9 0.04 205);
  --elev-1: 0 1px 2px oklch(0 0 0 / 0.4), 0 1px 3px 1px oklch(0 0 0 / 0.2);
  --elev-2: 0 1px 2px oklch(0 0 0 / 0.4), 0 4px 12px 2px oklch(0 0 0 / 0.25);
  --elev-3: 0 4px 10px 3px oklch(0 0 0 / 0.3), 0 1px 3px oklch(0 0 0 / 0.4);
  --hero-glow: oklch(0.33 0.045 212 / 0.55);
}

.btn {
  border-radius: 999px;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.btn-lg {
  height: 48px;
  padding: 0 24px;
}
.btn-primary:hover {
  background: var(--primary);
  box-shadow: var(--elev-2);
}
.btn-outline {
  border-color: color-mix(in oklch, var(--primary), transparent 55%);
  color: var(--link);
}
.btn-outline:hover {
  background: var(--tint);
}

section.band.alt {
  border: 0;
  background: var(--surface-2);
}

.card,
.alt .card {
  border-color: transparent;
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--elev-1);
}
:root.dark .card {
  border-color: var(--border);
}
.card .ico,
.trust .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-container);
  color: var(--on-primary-container);
}
.card .ico .icon,
.trust .ico .icon {
  width: 22px;
  height: 22px;
}
.card:has(.more) {
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:has(.more):hover {
  box-shadow: var(--elev-3);
  transform: translateY(-2px);
}

.trust.four > div {
  padding: 24px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--elev-1);
}
:root.dark .trust.four > div {
  border: 1px solid var(--border);
}
.trust.four h3 {
  margin-top: 16px;
}

.step,
.alt .step {
  padding: 28px 24px 24px;
  border: 0;
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--elev-1);
}
:root.dark .step {
  border: 1px solid var(--border);
}
.step::before {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 15px;
}

.faq {
  display: grid;
  gap: 10px;
  border-top: 0;
}
.faq details {
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--elev-1);
  transition: box-shadow 0.2s;
}
:root.dark .faq details {
  border: 1px solid var(--border);
}
.faq details[open] {
  box-shadow: var(--elev-2);
}
.faq summary {
  padding: 18px 0;
}
.faq summary .icon {
  color: var(--link);
}
.faq details p {
  padding: 0 0 20px;
}

.plan,
.alt .plan {
  border: 0;
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--elev-2);
}
:root.dark .plan {
  border: 1px solid var(--border);
}
.plan.featured {
  background: var(--brand-deep);
  box-shadow: var(--elev-3);
  color: oklch(1 0 0);
}
.plan.featured .plan-note {
  color: oklch(1 0 0 / 0.75);
}
.plan.featured .checks .icon {
  color: oklch(0.85 0.06 205);
}
.plan.featured .btn-primary {
  background: oklch(0.91 0.04 205);
  color: oklch(0.306 0.052 211);
}

.quotes figure.card:first-child {
  border-color: transparent;
  background: var(--brand-deep);
  color: oklch(1 0 0);
}
.quotes figure.card:first-child figcaption {
  color: oklch(1 0 0 / 0.75);
}
.quotes figure.card:first-child figcaption b {
  color: oklch(1 0 0);
}
.quotes blockquote::before {
  content: "\201C";
  display: block;
  height: 36px;
  color: var(--stripe-2);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
}

/* Home hero: copy beside a website mockup */
.home-hero,
.split-hero {
  position: relative;
  isolation: isolate;
  text-align: left;
}
.home-hero::before,
.split-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(640px 420px at 88% 28%, var(--hero-glow), transparent 70%),
    radial-gradient(520px 380px at 0% 100%, color-mix(in oklch, var(--hero-glow), transparent 45%), transparent 70%);
}
.hero-split {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
  }
}
.home-hero h1,
.home-hero .lede,
.split-hero h1,
.split-hero .lede {
  margin-left: 0;
}
.split-hero {
  text-align: left;
}
.split-hero .crumbs {
  justify-content: flex-start;
}
.split-hero .cta-row {
  justify-content: flex-start;
}
.home-hero h1 {
  margin-top: 0;
}
.home-hero .accent {
  color: var(--link);
}
.home-hero .cta-row {
  justify-content: flex-start;
}
.hero-art {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px 28px 0;
}
.mock-browser {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--elev-3), 0 30px 60px -24px oklch(0.306 0.052 211 / 0.35);
}
.mock-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: var(--surface-2);
}
.mock-top i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: oklch(0.7 0.17 25);
}
.mock-top i:nth-child(2) {
  background: oklch(0.82 0.15 85);
}
.mock-top i:nth-child(3) {
  background: oklch(0.75 0.15 155);
}
.mock-top span {
  flex: 1;
  margin-left: 8px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--card);
  color: var(--muted-foreground);
  font-size: 11px;
}
.mock-nav,
.mock-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--brand-deep);
}
.mock-nav b {
  width: 48px;
  height: 10px;
  border-radius: 5px;
  background: oklch(1 0 0 / 0.85);
}
.mock-nav span,
.mock-foot span {
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background: oklch(1 0 0 / 0.4);
}
.mock-nav span:first-of-type {
  margin-left: auto;
}
.mock-nav em {
  width: 44px;
  height: 18px;
  border-radius: 999px;
  background: oklch(0.77 0.05 213);
}
.mock-foot {
  justify-content: space-between;
  padding: 10px 16px;
}
.mock-foot span:last-child {
  width: 84px;
}
.mock-hero {
  display: grid;
  gap: 8px;
  padding: 24px 18px;
  background: linear-gradient(135deg, var(--primary-container), color-mix(in oklch, var(--primary-container), var(--card) 65%));
}
.mock-hero span {
  height: 6px;
  border-radius: 3px;
  background: color-mix(in oklch, var(--foreground), transparent 70%);
}
.mock-hero .l1 {
  width: 28%;
  background: var(--link);
}
.mock-hero .l2 {
  width: 82%;
  height: 12px;
  border-radius: 6px;
  background: var(--foreground);
}
.mock-hero .l3 {
  width: 58%;
  height: 12px;
  border-radius: 6px;
  background: var(--link);
}
.mock-hero .l4 {
  width: 72%;
}
.mock-btns {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.mock-btns span,
.mock-hero .mock-btns span {
  width: 68px;
  height: 20px;
  border-radius: 999px;
  background: var(--primary);
}
.mock-hero .mock-btns span + span {
  border: 1.5px solid var(--primary);
  background: transparent;
}
.mock-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
}
.mock-tiles div {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 10px;
  background: var(--surface-1);
  box-shadow: var(--elev-1);
}
.mock-tiles i {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--primary-container);
}
.mock-tiles span {
  height: 5px;
  border-radius: 3px;
  background: var(--bar-light);
}
:root.dark .mock-tiles span {
  background: var(--input);
}
.mock-tiles span + span {
  width: 70%;
}
.mock-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26%;
  aspect-ratio: 9 / 18;
  padding: 5px;
  border-radius: 20px;
  background: oklch(0.22 0.015 212);
  box-shadow: var(--elev-3);
}
.mock-phone div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  overflow: hidden;
  border-radius: 15px;
  background: var(--card);
}
.mock-phone b {
  height: 14%;
  background: var(--brand-deep);
}
.mock-phone i {
  height: 30%;
  background: linear-gradient(135deg, var(--primary-container), color-mix(in oklch, var(--primary-container), var(--card) 65%));
}
.mock-phone span {
  height: 14%;
  margin: 0 8px;
  border-radius: 6px;
  background: var(--surface-1);
  box-shadow: var(--elev-1);
}
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--elev-3);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.chip-a {
  top: 30%;
  left: -12px;
}
.chip-b {
  bottom: 8%;
  left: 12%;
}
.pi {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-container);
  color: var(--on-primary-container);
}

/* Proof strip as elevated chips */
.hero .proof {
  gap: 12px;
  overflow: visible;
  border: 0;
  background: none;
}
.hero .proof > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--elev-1);
}
:root.dark .hero .proof > div {
  border: 1px solid var(--border);
}
.hero .proof .pi {
  width: 44px;
  height: 44px;
}
.hero .proof .pi .icon {
  width: 20px;
  height: 20px;
}
@media (max-width: 520px) {
  .hero .proof {
    grid-template-columns: minmax(0, 1fr);
  }
}
.hero .proof .pi {
  display: inline-flex;
  margin-top: 0;
  color: var(--on-primary-container);
}
.quotes figure.card:first-child blockquote p {
  color: oklch(1 0 0);
}

/* Services mega menu (header) and its group in the mobile menu */
.nav {
  align-items: center;
}
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px 6px 10px;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--muted-foreground);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] {
  background: var(--muted);
  color: var(--foreground);
}
.nav-trigger:focus-visible {
  outline: 3px solid color-mix(in oklch, var(--ring), transparent 50%);
  outline-offset: 1px;
}
.nav-trigger .icon,
.mobile-sub-btn .icon {
  transition: transform 0.2s;
}
.nav-trigger[aria-expanded="true"] .icon,
.mobile-sub-btn[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}
.mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 24px;
  width: min(820px, calc(100vw - 48px));
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--elev-3), 0 24px 48px -16px oklch(0.2 0.03 212 / 0.25);
  transform: translateX(-50%);
  animation: mega-in 0.16s ease-out;
}
.mega[hidden] {
  display: none;
}
@keyframes mega-in {
  from {
    opacity: 0;
    transform: translate(-50%, -6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mega {
    animation: none;
  }
}
.mega-title {
  margin-bottom: 10px;
  color: var(--link);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mega-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}
.mega-list a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  color: var(--foreground);
  text-decoration: none;
}
.mega-list a:hover {
  background: var(--surface-2);
}
.mega-list .pi {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.mega-list .pi .icon {
  width: 20px;
  height: 20px;
}
.mega-list b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}
.mega-list small {
  display: block;
  margin-top: 2px;
  color: var(--muted-foreground);
  font-size: 13px;
}
.mega-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0 10px;
  color: var(--link);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.mega-feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: 18px;
  background: var(--brand-deep);
  color: oklch(1 0 0 / 0.78);
  font-size: 14px;
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.mega-feature:hover {
  box-shadow: var(--elev-3);
}
.mega-feature .pi {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: oklch(1 0 0 / 0.12);
  color: oklch(0.91 0.04 205);
}
.mega-feature .pi .icon {
  width: 22px;
  height: 22px;
}
.mega-feature b {
  color: oklch(1 0 0);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.mega-feature em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  color: oklch(0.91 0.04 205);
  font-style: normal;
  font-weight: 600;
}
.mega a:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.mobile-sub-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: none;
  color: var(--foreground);
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
}
.mobile-sub-btn .icon {
  width: 20px;
  height: 20px;
  color: var(--link);
}
.mobile-sub-btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: -2px;
  border-radius: var(--radius);
}
.mobile-sub {
  padding: 6px 0 10px;
  border-bottom: 1px solid var(--border);
}
.mobile-sub[hidden] {
  display: none;
}
.mobile-nav .mobile-sub a:not(.btn) {
  min-height: 44px;
  padding: 0 4px 0 16px;
  border-bottom: 0;
  color: var(--muted-foreground);
  font-size: 16px;
  font-weight: 400;
}
.mega ul,
.mobile-sub {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
/* Keeps the pointer inside the menu while it crosses from the button. */
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -28px;
  height: 28px;
}

/* App-style mockups for page heroes: a list of rows, or search results */
.mock-app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.mock-app-head em {
  width: 64px;
  height: 22px;
  border-radius: 999px;
  background: var(--primary-container);
}
.mock-rows {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px;
  list-style: none;
}
.mock-rows li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-1);
  box-shadow: var(--elev-1);
}
.mock-rows li.is-bad {
  background: color-mix(in oklch, var(--destructive), var(--card) 90%);
}
.mr-ico,
.mr-letter {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-size: 13px;
  font-weight: 700;
}
.mr-letter {
  border-radius: 50%;
}
.is-bad .mr-letter {
  background: color-mix(in oklch, var(--destructive), var(--card) 75%);
  color: var(--destructive);
}
.mr-text {
  flex: 1;
  min-width: 0;
}
.mr-text b {
  display: block;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mr-text i {
  display: block;
  width: 70%;
  height: 5px;
  margin-top: 6px;
  border-radius: 3px;
  background: var(--bar-light);
}
:root.dark .mr-text i {
  background: var(--input);
}
.mr-ok,
.mr-bad {
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--ok), var(--card) 82%);
  color: color-mix(in oklch, var(--ok), var(--foreground) 35%);
  font-size: 11px;
  font-weight: 600;
}
.mr-bad {
  background: color-mix(in oklch, var(--destructive), var(--card) 82%);
  color: color-mix(in oklch, var(--destructive), var(--foreground) 25%);
}
.mr-toggle {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: var(--primary);
}
.mr-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary-foreground);
}
.mock-search {
  padding: 16px;
}
.mock-search span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: var(--elev-1);
  font-size: 13px;
}
.mock-search .icon {
  color: var(--muted-foreground);
}
.mock-results {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 16px 18px;
  list-style: none;
}
.mock-results li {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-1);
}
.mock-results li.is-top {
  background: var(--primary-container);
  box-shadow: var(--elev-2);
}
.mock-results b {
  min-height: 10px;
  color: var(--link);
  font-size: 14px;
}
.mock-results li:not(.is-top) b {
  width: 45%;
  border-radius: 5px;
  background: color-mix(in oklch, var(--link), transparent 70%);
}
.mock-results small {
  min-height: 6px;
  color: var(--muted-foreground);
  font-size: 11px;
}
.mock-results li:not(.is-top) small {
  width: 35%;
  border-radius: 3px;
  background: var(--bar-light);
}
.mock-results i {
  height: 5px;
  border-radius: 3px;
  background: color-mix(in oklch, var(--foreground), transparent 82%);
}
.mock-results i + i {
  width: 60%;
}
.mock-app ~ .chip-a {
  top: -16px;
  right: 36px;
  left: auto;
}
.mock-app ~ .chip-b {
  bottom: 0;
}

/* Four cards share one row on desktop instead of leaving one alone */
@media (min-width: 1000px) {
  .grid:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
