/* ===== main.css ===== */
/* ==========================================================================
   PageCore — pagecore.net
   One stylesheet for the whole site. Sections, in order:
   1. Design tokens          10. Home: hero, showcase, stats   19. Lightbox
   2. Dark contexts          11. Home: bento and visuals       20. Docs layout
   3. Fonts                  12. Home: other sections          21. Prose and tables
   4. Base                   13. Kit cards and gallery         22. Pricing, roadmap
   5. Layout                 14. Style switcher                23. Editor tool illustrations
   6. Typography             15. Safety band                   24. Utilities
   7. Buttons and links      16. FAQ                           25. Motion
   8. Header and mega menu   17. Inner page hero, sub-nav
   9. Footer                 18. Tabs
   ========================================================================== */

/* 1. Design tokens -------------------------------------------------------
   Brand: midnight + electric violet. Change colours here only. */
:root {
  --brand: #5B47FF;          /* white text on it: 5.5:1 */
  --brand-strong: #4A35E8;
  --brand-2: #7C3AED;
  --brand-3: #A21CAF;
  --brand-soft: #F1EEFF;
  --brand-soft-2: #E4DEFF;
  --brand-ink: #3A24A6;      /* brand-tinted dark text, e.g. on --brand-soft */
  --brand-pale: #E4DEFF;     /* brand-tinted light text on dark backgrounds */
  --on-brand: #FFFFFF;       /* text on --grad buttons */
  --link-color: #4A35E8;     /* links on light backgrounds */

  /* Same colours as space-separated RGB, for rgb(var(--x) / alpha) */
  --brand-rgb: 91 71 255;
  --brand-2-rgb: 124 58 237;
  --brand-3-rgb: 162 28 175;
  --accent-rgb: 236 72 153;   /* warm glow in the aurora backgrounds */
  --accent-2-rgb: 34 211 238; /* cool glow in the aurora backgrounds */
  --midnight-rgb: 7 8 26;
  --midnight-2-rgb: 14 16 41;

  /* Logo colours: the same blue-to-orange as the plugin icon on WordPress.org. */
  --logo-1: #002FA7;
  --logo-2: #FF9A4D;

  --grad: linear-gradient(135deg, #5B47FF 0%, #7C3AED 55%, #A21CAF 100%);
  --grad-text: linear-gradient(90deg, #5B47FF 0%, #9333EA 50%, #DB2777 100%);
  --grad-text-dark: linear-gradient(90deg, #A5B4FC 0%, #C4B5FD 35%, #F0ABFC 70%, #FDA4AF 100%);

  --midnight: #07081A;
  --midnight-2: #0E1029;
  --midnight-3: #161940;
  --on-dark-text: #B9BBD8;
  --on-dark-muted: #9496B8;
  --dark-link: #C9BEFF;
  --focus-dark: #C4B5FD;

  /* Light neutrals */
  --ink: #0A0B1E;
  --ink-text: #4B4D68;
  --ink-muted: #676983;
  --paper: #FFFFFF;
  --paper-alt: #F7F7FC;
  --line: #E6E6F0;
  --line-strong: #D5D5E3;

  --success: #059669;
  --warning-bg: #FFF6E0;

  /* Light context (default) */
  --bg: var(--paper);
  --bg-alt: var(--paper-alt);
  --surface: var(--paper);
  --surface-2: var(--paper-alt);
  --border: var(--line);
  --border-strong: var(--line-strong);
  --heading: var(--ink);
  --text: var(--ink-text);
  --muted: var(--ink-muted);
  --link: var(--link-color);
  --chip-bg: var(--brand-soft);
  --chip-fg: var(--brand-ink);

  --font-heading: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.3rem);
  --step-2: clamp(1.4rem, 1.22rem + 0.8vw, 1.75rem);
  --step-3: clamp(1.8rem, 1.45rem + 1.6vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.6rem + 2.8vw, 3.75rem);
  --step-5: clamp(2.6rem, 1.7rem + 4.2vw, 4.9rem);

  --h1-weight: 800;
  --h1-tracking: -0.042em;
  --h2-weight: 750;
  --h2-tracking: -0.038em;
  --h3-weight: 700;
  --h-scale: 1;              /* size factor for h1/h2: wide fonts need less, fine serifs more */

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --btn-radius: 12px;

  --shadow-sm: 0 1px 2px rgba(10, 11, 30, 0.05), 0 1px 3px rgba(10, 11, 30, 0.04);
  --shadow: 0 2px 4px rgba(10, 11, 30, 0.04), 0 16px 40px -12px rgba(10, 11, 30, 0.14);
  --shadow-lg: 0 8px 16px rgba(10, 11, 30, 0.06), 0 40px 80px -20px rgba(10, 11, 30, 0.3);
  --glow: 0 10px 30px -8px rgb(var(--brand-rgb) / 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);

  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-space: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --header-h: 72px;
}

/* 2. Dark contexts -------------------------------------------------------
   Inside these, the same components switch to light-on-dark automatically. */
.site-header, .hero, .page-hero, .section--dark, .cta-band, .site-footer, .pro-teaser, .announce {
  --bg: var(--midnight);
  --bg-alt: var(--midnight-2);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --heading: #FFFFFF;
  --text: var(--on-dark-text);
  --muted: var(--on-dark-muted);
  --link: var(--dark-link);
  --chip-bg: rgba(255, 255, 255, 0.08);
  --chip-fg: var(--brand-pale);
  --shadow-sm: none;
  color: var(--text);
}
/* Light islands inside dark contexts */
.dropdown, .style-sample, .browser, .lightbox, .mobile-nav, .kit-card--light {
  --bg: var(--paper);
  --bg-alt: var(--paper-alt);
  --surface: var(--paper);
  --surface-2: var(--paper-alt);
  --border: var(--line);
  --border-strong: var(--line-strong);
  --heading: var(--ink);
  --text: var(--ink-text);
  --muted: var(--ink-muted);
  --link: var(--link-color);
  --chip-bg: var(--brand-soft);
  --chip-fg: var(--brand-ink);
  --shadow-sm: 0 1px 2px rgba(10, 11, 30, 0.05), 0 1px 3px rgba(10, 11, 30, 0.04);
  color: var(--text);
}

/* Aurora background used by heroes and dark bands */
.hero, .page-hero, .cta-band, .section--dark {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(55% 45% at 50% -5%, rgb(var(--brand-rgb) / 0.5), transparent 70%),
    radial-gradient(35% 40% at 92% 12%, rgb(var(--accent-rgb) / 0.22), transparent 70%),
    radial-gradient(35% 45% at 5% 25%, rgb(var(--accent-2-rgb) / 0.16), transparent 70%),
    var(--midnight);
}
.hero::before, .page-hero::before, .cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 25%, transparent 75%);
  pointer-events: none;
}
.section--dark {
  background:
    radial-gradient(45% 50% at 0% 0%, rgb(var(--brand-rgb) / 0.28), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgb(var(--brand-3-rgb) / 0.2), transparent 70%),
    var(--midnight);
}

/* 3. Fonts ---------------------------------------------------------------
   Self-hosted, latin subset, variable weight. No Google Fonts request.
   Licence: SIL Open Font License 1.1 (see assets/fonts/OFL.txt). */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Style preview fonts: only downloaded when the style preview actually uses them. */
@font-face { font-family: "Epilogue"; src: url("../fonts/epilogue-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-wght.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "Domine"; src: url("../fonts/domine-latin-wght.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-latin-wght.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* 4. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:where(h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote) { margin: 0; }
.list-reset { list-style: none; padding: 0; margin: 0; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
::selection { background: rgb(var(--brand-rgb) / 0.25); }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}
.site-header :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .section--dark :focus-visible,
.site-footer :focus-visible, .cta-band :focus-visible, .pro-teaser :focus-visible { outline-color: var(--focus-dark); }
.dropdown :focus-visible, .mobile-nav :focus-visible { outline-color: var(--brand); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: #fff;
  color: var(--midnight);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 5. Layout -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.container--wide { max-width: calc(1360px + var(--gutter) * 2); }

.section { padding-block: var(--section-space); background: var(--bg); }
.section--tight { padding-block: calc(var(--section-space) * 0.55); }
.section--alt { background: var(--bg-alt); }
.section--white { background: #fff; }
/* Two plain sections in a row share one gap instead of two. */
.section--tight + .section:not(.section--alt, .section--dark, .section--white) { padding-top: calc(var(--section-space) * 0.55) !important; }
.section:not(.section--alt, .section--dark, .section--white) + .section:not(.section--alt, .section--dark, .section--white) { padding-top: 0; }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 1.1rem; }

.split > *, .hero__grid > *, .grid > *, .docs > *, .faq-layout > * { min-width: 0; }
.split {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 5.5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-right { grid-template-columns: 5fr 7fr; }
  .split--wide-left { grid-template-columns: 7fr 5fr; }
  .split--reverse > :first-child { order: 2; }
}
.split--top { align-items: start; }

.grid { display: grid; gap: clamp(1rem, 0.8rem + 1vw, 1.5rem); }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.stack > * + * { margin-top: var(--stack, 1rem); }

/* 6. Typography ---------------------------------------------------------- */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: var(--font-heading);
  color: var(--heading);
  font-weight: var(--h3-weight);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h1, .h1 { font-size: calc(var(--step-5) * var(--h-scale)); font-weight: var(--h1-weight); letter-spacing: var(--h1-tracking); line-height: 1.02; }
h2, .h2 { font-size: calc(var(--step-4) * var(--h-scale)); font-weight: var(--h2-weight); letter-spacing: var(--h2-tracking); line-height: 1.06; }
h3, .h3 { font-size: var(--step-2); line-height: 1.2; letter-spacing: -0.025em; }
h4, .h4 { font-size: var(--step-1); line-height: 1.3; letter-spacing: -0.015em; }
p { text-wrap: pretty; }

.lead { font-size: var(--step-1); line-height: 1.6; color: var(--text); max-width: 62ch; }
.section-head--center .lead { margin-inline: auto; }
.small, small { font-size: var(--step--1); }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  padding: 0.3rem 0.8rem 0.3rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-sm);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 3px rgb(var(--brand-rgb) / 0.18), 0 0 12px rgb(var(--brand-2-rgb) / 0.7);
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
:is(.hero, .page-hero, .section--dark, .cta-band, .pro-teaser) .grad-text { background-image: var(--grad-text-dark); }
.mark { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
:is(.hero, .page-hero, .section--dark, .cta-band) .mark { background-image: var(--grad-text-dark); }

/* 7. Buttons and links --------------------------------------------------- */
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-strong); }
:is(.site-header, .hero, .page-hero, .section--dark, .cta-band, .site-footer, .pro-teaser) a:not(.btn):hover { color: #fff; }

.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--on-brand);
  --btn-border: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--btn-radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.btn:hover { color: var(--btn-fg); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--grad); box-shadow: var(--glow); }
.btn--primary:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 14px 36px -8px rgb(var(--brand-rgb) / 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn--secondary { --btn-bg: var(--surface); --btn-fg: var(--heading); --btn-border: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn--secondary:hover { --btn-border: var(--brand); --btn-fg: var(--brand-strong); }
:is(.site-header, .hero, .page-hero, .section--dark, .cta-band, .site-footer, .pro-teaser) .btn--secondary {
  --btn-bg: rgba(255, 255, 255, 0.06);
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
:is(.site-header, .hero, .page-hero, .section--dark, .cta-band, .site-footer, .pro-teaser) .btn--secondary:hover { --btn-bg: rgba(255, 255, 255, 0.12); --btn-border: rgba(255, 255, 255, 0.35); --btn-fg: #fff; }
.btn--highlight { --btn-bg: #FFFFFF; --btn-fg: var(--midnight); box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.5); }
.btn--highlight:hover { --btn-bg: var(--brand-soft); transform: translateY(-1px); }
.btn--outline-light { --btn-bg: rgba(255, 255, 255, 0.06); --btn-fg: #fff; --btn-border: rgba(255, 255, 255, 0.22); }
.btn--outline-light:hover { --btn-border: rgba(255, 255, 255, 0.5); --btn-bg: rgba(255, 255, 255, 0.12); }
.btn--sm { min-height: 42px; padding: 0.55rem 1.05rem; font-size: 0.9375rem; border-radius: max(4px, calc(var(--btn-radius) - 2px)); }
.btn--lg { min-height: 58px; padding: 0.9rem 1.9rem; font-size: 1.0625rem; border-radius: calc(var(--btn-radius) + 2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
@media (max-width: 479px) {
  .btn { white-space: normal; text-align: center; }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--link);
}
.text-link .icon { width: 1em; height: 1em; transition: transform 0.2s; }
.text-link:hover .icon { transform: translateX(3px); }

/* 8. Header and mega menu ----------------------------------------------- */
.announce {
  position: relative;
  z-index: 101;
  background: linear-gradient(90deg, rgb(var(--brand-rgb) / 0.45), rgb(var(--brand-3-rgb) / 0.4)), var(--midnight-2);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
}
.announce__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  min-height: 42px;
  padding-block: 0.45rem;
  text-align: center;
}
.announce__tag {
  padding: 0.1rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.announce a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem; }
.announce a:hover { text-decoration: underline; }
.announce .icon { width: 1em; height: 1em; }
/* Small screens: keep the announcement bar to one short line. */
@media (max-width: 767px) {
  .announce__long { display: none; }
  .announce { font-size: 0.8125rem; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(var(--midnight-rgb) / 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { background: rgb(var(--midnight-rgb) / 0.92); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: var(--header-h);
}
/* Logo lockup, proportioned like assets/img/pagecore-logo.svg:
   symbol, then "PageCore" in Manrope ExtraBold at 0.79 x the symbol height. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.brand {
  --mark: 32px;
  display: inline-flex;
  align-items: center;
  gap: calc(var(--mark) * 0.27);
  margin-right: auto;
  color: var(--heading);
  text-decoration: none;
}
.brand:hover { color: var(--heading) !important; }
.brand__mark { width: var(--mark); height: var(--mark); flex: none; }
.brand__name {
  font-family: "Manrope", var(--font-heading);
  font-size: calc(var(--mark) * 0.79);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.footer-brand .brand { --mark: 38px; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.nav__link, .nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  border: 0;
  border-radius: 10px;
  background: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9688rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.nav__link:hover, .nav__toggle:hover, .nav__toggle[aria-expanded="true"] { background: rgba(255, 255, 255, 0.08); color: #fff !important; }
.nav__link[aria-current="page"], .nav__link.is-active { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav__link--muted { color: rgba(255, 255, 255, 0.5); font-size: 0.875rem; }
.nav__link--muted .icon { width: 0.95rem; height: 0.95rem; }
.nav__toggle .icon { width: 1rem; height: 1rem; transition: transform 0.2s; }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__item--has-menu { position: relative; }

.header-actions { display: none; align-items: center; gap: 0.5rem; }
.header-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.header-link .icon { width: 0.95em; height: 0.95em; }

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -1.25rem;
  width: 760px;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.dropdown[hidden] { display: none; }
.mega { display: grid; grid-template-columns: 1fr 250px; gap: 0.75rem; }
.mega__label { padding: 0.5rem 0.8rem 0.25rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dropdown__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.dropdown__link {
  display: flex;
  gap: 0.85rem;
  padding: 0.8rem;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.45;
}
.dropdown__link strong { display: block; color: var(--heading); font-size: 0.9688rem; margin-bottom: 0.1rem; }
.dropdown__link:hover { background: var(--bg-alt); color: var(--text) !important; }
.dropdown__link[aria-current="page"] strong { color: var(--brand); }
.dropdown__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
}
.dropdown__icon .icon { width: 20px; height: 20px; }
.mega__feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 1.1rem;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 100% 0%, rgb(var(--brand-3-rgb) / 0.45), transparent 70%),
    radial-gradient(80% 70% at 0% 0%, rgb(var(--brand-rgb) / 0.6), transparent 70%),
    var(--midnight);
  color: var(--on-dark-text) !important;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.45;
}
.mega__feature img {
  position: absolute;
  top: 14px; left: 50%;
  width: 78%;
  transform: translateX(-50%) rotate(-3deg);
  border-radius: 8px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s;
}
.mega__feature:hover img { transform: translateX(-50%) rotate(0deg) translateY(-4px); }
.mega__feature::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, var(--midnight) 55%); }
.mega__feature > span { position: relative; z-index: 1; }
.mega__feature strong { display: flex; align-items: center; gap: 0.35rem; color: #fff; font-size: 1rem; margin-bottom: 0.2rem; }
.mega__feature strong .icon { width: 1rem; height: 1rem; }
.dropdown__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-top: 0.6rem;
  padding: 0.85rem 0.8rem 0.35rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}
.dropdown__foot span { display: flex; gap: 1.25rem; }
.dropdown__foot a:not(.text-link) { color: var(--text); text-decoration: none; }
.dropdown__foot a:not(.text-link):hover { color: var(--brand) !important; }
.dropdown .text-link:hover { color: var(--brand-strong) !important; }

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.menu-toggle .icon { width: 22px; height: 22px; }

/* Mobile panel */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding-inline: var(--gutter);
  background: var(--midnight);
  --heading: #fff;
}
.mobile-nav__body { padding: 1rem var(--gutter) 2rem; flex: 1; }
.mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.mobile-nav__list > li { border-bottom: 1px solid var(--border); }
.mobile-nav__link, .mobile-nav__toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.25rem;
  border: 0;
  background: none;
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: left;
  text-decoration: none;
}
.mobile-nav__link[aria-current="page"] { color: var(--brand); }
.mobile-nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-nav__sub { list-style: none; margin: 0 0 1rem; padding: 0; }
.mobile-nav__sub[hidden] { display: none; }
.mobile-nav__sub a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.25rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.mobile-nav__sub a .icon { color: var(--brand); }
.mobile-nav__cta { display: grid; gap: 0.6rem; margin-top: 1.5rem; }
.mobile-nav__cta .btn { width: 100%; }
body.nav-open { overflow: hidden; }

@media (min-width: 1080px) {
  .nav { display: block; }
  .header-actions { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .brand { margin-right: 1.25rem; }
  /* Centred between the logo and the header button. */
  .nav { margin-inline: auto; }
}

/* 9. Footer -------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 50% 100%, rgb(var(--brand-rgb) / 0.22), transparent 70%),
    var(--midnight);
  padding-top: clamp(4rem, 3rem + 4vw, 6.5rem);
  font-size: 0.9375rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:not(.btn):hover { text-decoration: underline; }
.footer-top { display: grid; gap: 3rem; }
.footer-brand { max-width: 380px; }
.footer-brand .brand { margin-bottom: 1.1rem; }
.footer-brand p { line-height: 1.65; }
.footer-brand .btn-row { margin-top: 1.5rem; }
.footer-cols { display: grid; gap: 2.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-col h2 {
  margin-bottom: 1.1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 4rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}
.footer-promises { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.footer-promises li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  color: var(--text);
}
.footer-promises .icon { width: 0.95rem; height: 0.95rem; color: #34D399; }
.footer-wordmark {
  margin: 0 0 -0.18em;
  font-family: "Manrope", var(--font-heading);
  font-size: clamp(4rem, 2rem + 13vw, 15rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.01) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
@media (min-width: 768px) {
  .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 2fr; gap: 4rem; }
}

/* 10. Home: hero, showcase, stats -------------------------------------- */
.hero {
  overflow: hidden;
  padding-top: clamp(3.5rem, 2.5rem + 5vw, 7rem);
}
.hero__center { text-align: center; max-width: 980px; }
.hero__center h1 { margin-inline: auto; max-width: 16ch; }
.hero__center .lead { margin: 1.6rem auto 0; max-width: 60ch; font-size: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem); }
.hero__center .btn-row { justify-content: center; margin-top: 2.25rem; }
.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  padding: 0.3rem 0.85rem 0.3rem 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, background-color 0.2s;
}
.pill-link:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.09); }
.pill-link__tag { padding: 0.15rem 0.6rem; border-radius: var(--radius-pill); background: var(--grad); color: var(--on-brand); font-size: 0.75rem; font-weight: 700; }
.pill-link .icon { width: 1rem; height: 1rem; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--muted);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero__meta .icon { width: 1rem; height: 1rem; color: #34D399; }

/* Product showcase: real screenshots in browser frames */
.showcase {
  position: relative;
  margin-top: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
  padding-inline: var(--gutter);
  max-width: calc(1180px + var(--gutter) * 2);
  margin-inline: auto;
}
.showcase::before {
  content: "";
  position: absolute;
  left: 10%; right: 10%; top: 10%; bottom: -10%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgb(var(--brand-2-rgb) / 0.55), transparent 70%);
  filter: blur(40px);
}
.showcase__main { position: relative; z-index: 2; width: min(100%, 880px); margin-inline: auto; }
.showcase .showcase__side {
  position: absolute;
  z-index: 1;
  top: 12%;
  width: 40%;
  opacity: 0.75;
  display: none;
}
.showcase__side--left { left: var(--gutter); transform: perspective(1400px) rotateY(18deg) rotate(-2deg); transform-origin: right center; }
.showcase__side--right { right: var(--gutter); transform: perspective(1400px) rotateY(-18deg) rotate(2deg); transform-origin: left center; }
@media (min-width: 960px) { .showcase .showcase__side { display: block; } }
.showcase .browser { border-radius: 14px 14px 0 0; border-bottom: 0; }
.showcase .browser__view { aspect-ratio: 16 / 9.5; }
.showcase-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgb(var(--midnight-2-rgb) / 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
  color: var(--on-dark-text);
  font-size: 0.8125rem;
  line-height: 1.3;
  text-align: left;
}
.showcase-chip strong { display: block; color: #fff; font-size: 0.9375rem; }
.showcase-chip__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--grad); color: var(--on-brand); }
.showcase-chip__icon .icon { width: 18px; height: 18px; }
.showcase-chip--a { left: max(var(--gutter), calc(50% - 580px)); top: 70%; }
.showcase-chip--b { right: max(var(--gutter), calc(50% - 580px)); top: 8%; }
.showcase-chip__swatches { display: flex; }
.showcase-chip__swatches span { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--midnight-2); }
.showcase-chip__swatches span + span { margin-left: -6px; }
@media (max-width: 767px) { .showcase-chip { display: none; } }

/* Stats band at the foot of the hero */
.stats {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgb(var(--midnight-rgb) / 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.stats__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.stats__list li { padding: 1.6rem 1rem; text-align: center; border-right: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.stats__list li:nth-child(2n) { border-right: 0; }
.stats__list li:last-child { grid-column: 1 / -1; border-bottom: 0; }
.stats__num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.8rem);
  font-weight: var(--h1-weight);
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad-text-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats__label { display: block; margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted); }
@media (min-width: 768px) {
  .stats__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .stats__list li { border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, 0.08); }
  .stats__list li:nth-child(2n) { border-right: 1px solid rgba(255, 255, 255, 0.08); }
  .stats__list li:last-child { grid-column: auto; border-right: 0; }
}

/* Browser frame used for real screenshots */
.browser {
  position: relative;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 40px;
  padding: 0 0.9rem;
  background: #F3F3F8;
  border-bottom: 1px solid #E6E6F0;
}
.browser__dots { display: flex; gap: 6px; }
.browser__dots span { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.browser__dots span:nth-child(2) { background: #FEBC2E; }
.browser__dots span:nth-child(3) { background: #28C840; }
.browser__url {
  flex: 1;
  max-width: 340px;
  margin-inline: auto;
  padding: 0.2rem 0.75rem;
  border-radius: 7px;
  background: #fff;
  border: 1px solid #E6E6F0;
  color: #676983;
  font-size: 0.75rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser__view { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #EEEEF6; }
.browser__view img {
  width: 100%;
  height: auto;
  transition: transform 7s cubic-bezier(0.45, 0, 0.55, 1);
}
@media (prefers-reduced-motion: no-preference) {
  .browser--scroll:hover .browser__view img, .browser--scroll:focus-within .browser__view img { transform: translateY(var(--scroll-to, -60%)); }
}

/* Trust strip (available for inner pages) */
.trust { border-block: 1px solid var(--border); background: var(--bg-alt); }
.trust__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.25rem; padding-block: 1.4rem; list-style: none; margin: 0; padding-inline: 0; }
.trust__list li { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--heading); font-weight: 600; font-size: 0.9375rem; }
.trust__list .icon { color: var(--brand); }

/* 11. Home: bento and visuals ------------------------------------------- */
.bento { display: grid; gap: 1.25rem; }
.bento .card { display: flex; flex-direction: column; overflow: hidden; }
.bento .card .text-link { margin-top: auto; padding-top: 1.25rem; }
.bento__viz { margin: 1.5rem 0 0.25rem; }
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bento > * { grid-column: span 3; }
  .bento > .bento__feature { grid-column: span 6; }
}
@media (min-width: 1080px) {
  .bento > * { grid-column: span 2; }
  .bento > .bento__feature { grid-column: span 4; grid-row: span 2; }
  .bento > .bento__wide { grid-column: span 3; }
  .bento > .bento__full { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr 1.3fr; column-gap: 2rem; align-items: center; }
  .bento__full .icon-tile { margin-bottom: 0; grid-row: span 3; }
  .bento__full .bento__viz { grid-column: 3; grid-row: 1 / span 3; margin: 0; }
  .bento__full .viz-templates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento__full .text-link { padding-top: 0.75rem; }
}
@media (min-width: 768px) { .bento > .bento__full { grid-column: 1 / -1; } }
.bento__feature { background: linear-gradient(180deg, #fff, var(--bg-alt)); }
.bento__shots { position: relative; flex: 1; min-height: 260px; margin: 1.75rem calc(clamp(1.5rem, 1.25rem + 1vw, 2.25rem) * -1) calc(clamp(1.5rem, 1.25rem + 1vw, 2.25rem) * -1); overflow: hidden; }
.bento__shots img {
  position: absolute;
  width: 44%;
  aspect-ratio: 600 / 700;
  object-fit: cover;
  object-position: top;
  border-radius: 12px 12px 0 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bento__shots img:nth-child(1) { left: 4%; bottom: -8%; transform: rotate(-5deg); }
.bento__shots img:nth-child(2) { left: 28%; bottom: -14%; z-index: 2; }
.bento__shots img:nth-child(3) { right: 4%; bottom: -8%; transform: rotate(5deg); }
.bento__feature:hover .bento__shots img:nth-child(1) { transform: rotate(-7deg) translate(-4%, -2%); }
.bento__feature:hover .bento__shots img:nth-child(2) { transform: translateY(-4%); }
.bento__feature:hover .bento__shots img:nth-child(3) { transform: rotate(7deg) translate(4%, -2%); }

.viz-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.viz-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--chip-bg);
  color: var(--chip-fg);
  font-size: 0.78rem;
  font-weight: 600;
}
.viz-chips b { font-weight: 700; opacity: 0.6; }
.viz-swatches { display: flex; padding-left: 0.25rem; }
.viz-swatches span {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 6px 14px -4px rgba(10, 11, 30, 0.35);
  background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%);
}
.viz-swatches span + span { margin-left: -12px; }
.viz-fonts { margin-top: 0.85rem; font-size: 0.8125rem; color: var(--muted); }
.viz-toggles { display: grid; gap: 0.5rem; }
.viz-toggles div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--heading);
}
.viz-toggles i { position: relative; width: 36px; height: 20px; border-radius: 10px; background: var(--grad); }
.viz-toggles i::after { content: ""; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.viz-templates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; }
.viz-templates span {
  padding: 0.5rem 0.4rem;
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  color: var(--text);
}

/* 12. Home: other sections ---------------------------------------------- */
.card {
  position: relative;
  padding: clamp(1.5rem, 1.25rem + 1vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.card p { font-size: 0.9688rem; }
.card--link { transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.card--link .stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--flat { box-shadow: none; background: transparent; }

.icon-tile {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  box-shadow: inset 0 0 0 1px rgb(var(--brand-rgb) / 0.12);
}
.icon-tile .icon { width: 24px; height: 24px; }
:is(.hero, .page-hero, .section--dark, .cta-band, .pro-teaser) .icon-tile {
  background: linear-gradient(135deg, rgb(var(--brand-rgb) / 0.35), rgb(var(--brand-3-rgb) / 0.25));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 8px 24px -8px rgb(var(--brand-2-rgb) / 0.7);
}

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.28em;
  width: 1.2rem; height: 1.2rem;
  border-radius: 50%;
  background: var(--grad);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 0; top: 0.28em;
  width: 1.2rem; height: 1.2rem;
  background: var(--on-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 8.5 10.2 15.5 7 12.3'/%3E%3C/svg%3E") center / 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 8.5 10.2 15.5 7 12.3'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--chip-bg);
  color: var(--chip-fg);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
  white-space: nowrap;
}
.badge .icon { width: 0.95em; height: 0.95em; }
.badge--free { background: #DDF7EC; color: #065F46; }
.badge--soon { background: #FDF0D5; color: #7A4B00; }
.badge--draft { background: #FBE3E1; color: #8A2A22; }
:is(.hero, .page-hero, .section--dark, .pro-teaser) .badge--soon { background: rgba(251, 191, 36, 0.14); color: #FCD34D; }
:is(.hero, .page-hero, .section--dark) .badge--free { background: rgba(52, 211, 153, 0.14); color: #6EE7B7; }

.steps { position: relative; display: grid; gap: 1.25rem; counter-reset: step; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) {
  .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps--4::before {
    content: "";
    position: absolute;
    top: 52px; left: 12%; right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgb(var(--brand-rgb) / 0.5), rgb(var(--brand-3-rgb) / 0.5), transparent);
  }
}
@media (min-width: 1080px) { .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step {
  position: relative;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 1.4rem;
  border-radius: 14px;
  background: var(--grad);
  color: var(--on-brand);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: var(--glow);
}
.step h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.step p { font-size: 0.9688rem; }

/* Pattern category list */
.cat-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cat-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--heading);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: border-color 0.2s, transform 0.2s;
}
.cat-list li:hover { border-color: var(--brand); transform: translateY(-2px); }
.cat-list .count {
  min-width: 2rem;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--chip-bg);
  color: var(--chip-fg);
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
}
.big-number {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 2.5rem + 6vw, 7.5rem);
  font-weight: var(--h1-weight);
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-row { display: flex; flex-wrap: wrap; gap: 2rem 3rem; margin-top: 2rem; }
.stat-row div { display: grid; }
.stat-row strong { font-family: var(--font-heading); font-size: var(--step-3); color: var(--heading); line-height: 1.1; letter-spacing: -0.04em; font-weight: 800; }
.stat-row span { font-size: 0.875rem; color: var(--muted); }

.panel {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #fff, var(--bg-alt));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.panel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.panel__head p { font-size: 0.9375rem; color: var(--muted); text-align: right; }

/* Block markup panel (no lock-in section) */
.code-panel {
  background: var(--midnight-2);
  color: #D9DBEA;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 6px rgb(var(--brand-rgb) / 0.06);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.75;
}
.code-panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #A3A7C2;
  font-family: var(--font-body);
  font-size: 0.8125rem;
}
.code-panel pre { margin: 0; padding: 1.4rem; overflow-x: auto; white-space: pre; }
.code-panel .c { color: #8B90C8; }
.code-panel .t { color: var(--brand-pale); }
.code-panel .s { color: #86EFAC; }

/* Pro teaser */
.pro-teaser {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 2.5rem;
  padding: clamp(2rem, 1.5rem + 3vw, 4rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 80% at 100% 0%, rgb(var(--brand-3-rgb) / 0.35), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgb(var(--brand-rgb) / 0.4), transparent 60%),
    var(--midnight-2);
  overflow: hidden;
}
.pro-teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgb(var(--brand-rgb) / 0.7), rgba(255, 255, 255, 0.05) 40%, rgb(var(--accent-rgb) / 0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@media (min-width: 960px) { .pro-teaser { grid-template-columns: 1.15fr 1fr; align-items: center; } }
.pro-teaser h2 { font-size: var(--step-4); }
.pro-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; counter-reset: p; }
.pro-steps li {
  counter-increment: p;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--heading);
  font-weight: 500;
}
.pro-steps li::before {
  content: counter(p);
  display: grid; place-items: center;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.875rem;
}
.pro-steps li.is-now::before { background: var(--grad); color: var(--on-brand); }
.pro-steps .badge { margin-left: auto; }

/* Final CTA band */
.cta-band {
  overflow: hidden;
  padding: clamp(3.5rem, 2.5rem + 5vw, 6.5rem) clamp(1.5rem, 1rem + 4vw, 4rem);
  border-radius: var(--radius-xl);
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgb(var(--brand-rgb) / 0.7), transparent 70%),
    radial-gradient(40% 60% at 100% 100%, rgb(var(--accent-rgb) / 0.35), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgb(var(--accent-2-rgb) / 0.25), transparent 70%),
    var(--midnight);
}
.cta-band::before { -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, #000 20%, transparent 80%); mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, #000 20%, transparent 80%); }
.cta-band h2 { max-width: 18ch; margin-inline: auto; font-size: var(--step-4); }
.cta-band p { max-width: 56ch; margin: 1.25rem auto 0; font-size: var(--step-1); }
.cta-band .btn-row { justify-content: center; margin-top: 2.25rem; }
.cta-band .small { margin-top: 1.25rem; font-size: 0.875rem; }

/* 13. Kit cards and gallery --------------------------------------------- */
.kit-grid { display: grid; gap: clamp(1.25rem, 1rem + 1vw, 2rem); list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .kit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .kit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kit-card {
  display: flex;
  flex-direction: column;
  padding: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-lg) - 2px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.kit-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--border-strong); }
.section--dark .kit-card:hover { box-shadow: 0 30px 60px -20px rgb(var(--brand-rgb) / 0.55); }
.kit-card__shot {
  position: relative;
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
  border-radius: max(4px, calc(var(--radius-lg) - 8px));
  background: #EEEEF6;
}
.kit-card__shot img {
  width: 100%;
  height: auto;
  transition: transform 5s cubic-bezier(0.45, 0, 0.55, 1);
}
@media (prefers-reduced-motion: no-preference) {
  .kit-card:hover .kit-card__shot img, .kit-card:focus-within .kit-card__shot img { transform: translateY(calc(-100% + 300px)); }
}
.kit-card__body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; padding: 1rem 0.65rem 0.5rem; }
.kit-card__title { font-size: 1.125rem; margin: 0; }
.kit-card__cat { display: block; margin-top: 0.15rem; font-size: 0.8125rem; color: var(--muted); }
.kit-card__actions { display: flex; gap: 0.5rem; }
.kit-card--more {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 2rem;
  text-align: center;
  background:
    radial-gradient(60% 60% at 50% 30%, rgb(var(--brand-rgb) / 0.14), transparent 70%),
    var(--surface);
  border-style: dashed;
  box-shadow: none;
}
.kit-card--more .icon-tile { margin-inline: auto; }
.kit-card--more:hover { transform: none; box-shadow: none; }
.kit-card--more h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.kit-card[hidden] { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.45rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--heading);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--midnight); border-color: var(--midnight); color: #fff; }
.chip .count { font-size: 0.75rem; opacity: 0.7; }
.gallery-status { margin-bottom: 1rem; font-size: 0.875rem; color: var(--muted); }

/* 14. Style switcher ----------------------------------------------------- */
.style-picker { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; list-style: none; padding: 0; }
.style-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.45rem 1.05rem 0.45rem 0.5rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--heading);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.style-btn:hover { border-color: var(--brand); }
.style-btn[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px rgb(var(--brand-rgb) / 0.25); }
.style-btn__dots { display: inline-flex; }
.style-btn__dots span { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; }
.style-btn__dots span + span { margin-left: -9px; }

.style-sample {
  --s-accent: #444C7E;
  --s-accent-dark: #2F3456;
  --s-heading: #1A1B23;
  --s-bg: #F8F8F9;
  --s-font-h: "Epilogue";
  --s-font-b: "Inter";
  --s-accent-light: color-mix(in srgb, var(--s-accent) 14%, var(--s-bg));
  --s-text: color-mix(in srgb, var(--s-heading) 78%, var(--s-bg));
  background: var(--s-bg);
  color: var(--s-text);
  border: 1px solid rgba(10, 11, 30, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 8px rgb(var(--brand-rgb) / 0.07);
  overflow: hidden;
  font-family: var(--s-font-b), var(--font-body);
  transition: background-color 0.35s, color 0.35s;
}
.style-sample * { transition: background-color 0.35s, color 0.35s, border-color 0.35s; }
.style-sample__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.6rem;
  border-bottom: 1px solid color-mix(in srgb, var(--s-heading) 10%, transparent);
  font-size: 0.875rem;
}
.style-sample__logo { font-family: var(--s-font-h), var(--font-heading); font-weight: 700; color: var(--s-heading); font-size: 1.05rem; }
.style-sample__links { display: flex; gap: 1rem; }
.style-sample__hero { padding: 2.25rem 1.6rem 2rem; background: var(--s-accent-light); }
.style-sample__tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--s-accent) 18%, var(--s-bg));
  color: var(--s-accent-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.style-sample__title {
  margin: 0.9rem 0 0.6rem;
  font-family: var(--s-font-h), var(--font-heading);
  color: var(--s-heading);
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.style-sample__text { font-size: 0.9688rem; line-height: 1.6; max-width: 40ch; }
.style-sample__buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.style-sample__btn {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  background: var(--s-accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}
.style-sample__btn--ghost { background: transparent; color: var(--s-accent-dark); box-shadow: inset 0 0 0 1.5px var(--s-accent); }
.style-sample__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.6rem;
  background: var(--s-heading);
  color: #fff;
}
.style-sample__fonts { font-size: 0.875rem; }
.style-sample__fonts strong { font-family: var(--s-font-h), var(--font-heading); font-size: 1.1rem; margin-right: 0.35rem; }
.style-sample__swatches { display: flex; gap: 0.4rem; }
.style-sample__swatches span { width: 26px; height: 26px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, 0.3); }

.style-cards { display: grid; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .style-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .style-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.style-card { padding: 0.6rem; background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius-lg) - 2px); box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s; }
.style-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.style-card img { width: 100%; aspect-ratio: 700 / 798; object-fit: cover; background: var(--bg-alt); border-radius: max(4px, calc(var(--radius-lg) - 8px)); }
.style-card__body { padding: 1rem 0.65rem 0.6rem; }
.style-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.style-card h3 { font-size: var(--step-1); }
.swatch-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; list-style: none; padding: 0; }
.swatch-row li { display: grid; gap: 0.3rem; font-size: 0.6875rem; color: var(--muted); font-family: var(--font-mono); text-align: center; }
.swatch-row span { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(0, 0, 0, 0.1); }

/* 15. Safety band -------------------------------------------------------- */
.safety-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .safety-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .safety-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.safety-item {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  transition: border-color 0.3s, transform 0.3s;
}
.safety-item:hover { border-color: rgba(196, 181, 253, 0.4); transform: translateY(-3px); }
.safety-item h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.safety-item p { font-size: 0.9375rem; }
.big-claim {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 2rem + 5vw, 6rem);
  font-weight: var(--h1-weight);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #fff;
}

/* 16. FAQ ---------------------------------------------------------------- */
.faq-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) {
  .faq-layout { grid-template-columns: 1fr 1.7fr; gap: 5rem; }
  .faq-layout__aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.faq { display: grid; gap: 0.75rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: var(--border-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  color: var(--heading);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(var(--brand), var(--brand)) center / 12px 2px no-repeat,
    linear-gradient(var(--brand), var(--brand)) center / 2px 12px no-repeat,
    var(--brand-soft);
  transition: transform 0.25s, background-color 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--radius); }
.faq .faq__answer { padding: 0 1.4rem 1.4rem; }
.faq .faq__answer > * + * { margin-top: 0.75rem; }
.faq-group + .faq-group { margin-top: 3.5rem; }
.faq-group h2 { font-size: var(--step-2); margin-bottom: 1.25rem; }

/* 17. Inner page hero, sub-nav ------------------------------------------ */
.page-hero {
  overflow: hidden;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem) clamp(3rem, 2.5rem + 4vw, 6rem);
}
.page-hero h1 { font-size: calc(var(--step-5) * var(--h-scale)); max-width: 18ch; }
.page-hero .lead { margin-top: 1.4rem; }
.page-hero .btn-row { margin-top: 2.25rem; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .lead { margin-inline: auto; }
.page-hero--center .btn-row, .page-hero--center .breadcrumb ol { justify-content: center; }
.page-hero--split .split { align-items: center; }
.page-hero .browser { box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 80px -10px rgb(var(--brand-2-rgb) / 0.45); }
.page-hero .container--narrow h1 { max-width: 20ch; }

.breadcrumb { margin-bottom: 1.5rem; font-size: 0.875rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: var(--muted); opacity: 0.6; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--heading); font-weight: 500; }

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.subnav ul { display: flex; gap: 0.25rem; overflow-x: auto; list-style: none; margin: 0; padding: 0.65rem 0; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  color: var(--heading);
  font-size: 0.9063rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.subnav a:hover, .subnav a.is-active { background: var(--midnight); color: #fff; }

.feature-block { padding-block: clamp(3.5rem, 3rem + 3vw, 6rem); border-bottom: 1px solid var(--border); }
.feature-block:last-of-type { border-bottom: 0; }
.feature-block__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.75rem; }
.feature-block__head > div { max-width: 680px; }
.feature-block__head h2 { font-size: var(--step-4); }
.feature-block__head p { margin-top: 0.85rem; }
.feature-list { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .feature-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature-list li { display: flex; gap: 1rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: border-color 0.2s, box-shadow 0.2s; }
.feature-list li:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.feature-list .icon-tile { width: 42px; height: 42px; margin: 0; border-radius: 12px; }
.feature-list .icon-tile .icon { width: 20px; height: 20px; }
.feature-list h3 { font-size: 1.0625rem; margin-bottom: 0.3rem; letter-spacing: -0.015em; }
.feature-list p { font-size: 0.9375rem; }

/* Note boxes. .note--todo marks text the owner still needs to check. */
.note {
  display: flex;
  gap: 0.85rem;
  padding: 1.05rem 1.3rem;
  border-radius: var(--radius);
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft-2);
  color: var(--brand-ink);
  font-size: 0.9375rem;
}
.note .icon { margin-top: 0.15rem; color: var(--brand); }
.note--todo { background: var(--warning-bg); color: #5E4106; border: 1px dashed #E2B54A; }
.note--todo .icon { color: #B7791F; }

/* 18. Tabs --------------------------------------------------------------- */
.tabs__list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.35rem;
  border-radius: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.tabs__tab {
  min-height: 44px;
  padding: 0.5rem 1.3rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9375rem;
}
.tabs__tab:hover { color: var(--heading); }
.tabs__tab[aria-selected="true"] { background: var(--midnight); color: #fff; box-shadow: var(--shadow-sm); }
.tabs__panel[hidden] { display: none; }
.tabs__panel:focus-visible { outline-offset: 8px; }

/* 19. Lightbox ----------------------------------------------------------- */
.lightbox {
  width: min(1100px, 100vw - 2rem);
  max-width: none;
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgb(var(--midnight-rgb) / 0.8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.lightbox__head h2 { font-size: var(--step-1); }
.lightbox__close {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--heading);
}
.lightbox__tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.75rem 1.25rem; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.lightbox__tabs button { text-transform: capitalize; }
.lightbox__view { flex: 1; overflow-y: auto; background: #EDEDF5; padding: 1rem; }
.lightbox__view img { width: 100%; max-width: 900px; margin-inline: auto; border-radius: 8px; box-shadow: var(--shadow); background: #fff; }
.lightbox__missing { padding: 4rem 1rem; text-align: center; color: var(--muted); }
.lightbox__foot { display: flex; justify-content: flex-end; gap: 0.5rem; padding: 0.85rem 1.25rem; border-top: 1px solid var(--border); }

/* 20. Docs layout -------------------------------------------------------- */
.docs { display: grid; gap: 2.5rem; padding-block: clamp(2.5rem, 2rem + 2vw, 4.5rem) var(--section-space); }
@media (min-width: 1080px) { .docs { grid-template-columns: 260px minmax(0, 1fr); gap: 4.5rem; } }
.docs__nav { font-size: 0.9375rem; }
.docs__nav h2 { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.docs__nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; border-left: 2px solid var(--border); }
.docs__nav a { display: block; margin-left: -2px; padding: 0.42rem 0 0.42rem 1rem; border-left: 2px solid transparent; color: var(--text); text-decoration: none; }
.docs__nav a:hover { color: var(--brand); }
.docs__nav a.is-active { border-left-color: var(--brand); color: var(--brand); font-weight: 600; }
@media (min-width: 1080px) {
  .docs__nav > div { position: sticky; top: calc(var(--header-h) + 2rem); }
}
@media (max-width: 1079px) {
  .docs__nav { padding: 1.25rem; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); }
}
.docs__content > section { padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid var(--border); }
.docs__content > section:last-child { border-bottom: 0; }

/* 21. Prose and tables --------------------------------------------------- */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: var(--step-3); margin-top: 3rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); margin-top: 2rem; }
.prose ul, .prose ol:not(.num-list) { padding-left: 1.4rem; }
.prose li + li { margin-top: 0.45rem; }
.prose code, .code-inline {
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--heading);
  font-family: var(--font-mono);
  font-size: 0.85em;
  overflow-wrap: anywhere;
}
.prose kbd, .ui-label {
  padding: 0.05em 0.45em;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--surface);
  color: var(--heading);
  font-family: var(--font-body);
  font-size: 0.9em;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 1px 0 var(--border-strong);
}
ol.num-list { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 0.75rem; }
ol.num-list > li { counter-increment: s; position: relative; padding-left: 2.6rem; min-height: 1.85rem; }
ol.num-list > li + li { margin-top: 0; }
ol.num-list > li::before {
  content: counter(s);
  position: absolute;
  left: 0; top: 0;
  display: grid; place-items: center;
  width: 1.85rem; height: 1.85rem;
  border-radius: 9px;
  background: var(--grad);
  color: var(--on-brand);
  font-weight: 700;
  font-size: 0.8125rem;
}

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
th, td { padding: 0.9rem 1.15rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--heading); font-weight: 600; background: var(--bg-alt); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tfoot td, tfoot th { border-top: 2px solid var(--border); border-bottom: 0; font-weight: 700; color: var(--heading); background: var(--bg-alt); }

/* 22. Pricing, roadmap, changelog --------------------------------------- */
.pricing { display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 900px) { .pricing { grid-template-columns: 1fr 1fr; } }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 1.5rem + 1.5vw, 3rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.plan--free { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: 0 30px 70px -25px rgb(var(--brand-rgb) / 0.45); }
.plan--soon {
  --heading: #fff; --text: var(--on-dark-text); --muted: var(--on-dark-muted); --border: rgba(255, 255, 255, 0.1); --surface: rgba(255, 255, 255, 0.04); --link: var(--dark-link);
  --border-strong: rgba(255, 255, 255, 0.2);
  color: var(--text);
  background:
    radial-gradient(60% 50% at 100% 0%, rgb(var(--brand-3-rgb) / 0.35), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgb(var(--brand-rgb) / 0.35), transparent 70%),
    var(--midnight-2);
  border-color: rgba(255, 255, 255, 0.1);
}
.plan--soon .badge--soon { background: rgba(251, 191, 36, 0.14); color: #FCD34D; }
.plan--soon .btn--secondary { --btn-bg: rgba(255, 255, 255, 0.06); --btn-fg: #fff; --btn-border: rgba(255, 255, 255, 0.2); }
.plan--soon ol.num-list > li::before { background: rgba(255, 255, 255, 0.1); }
/* Single wide plan: intro on the left, features in columns on the right */
.plan--wide { display: grid; gap: 2.5rem; max-width: 1100px; margin-inline: auto; }
.plan--wide .plan__cta { padding-top: 1.75rem; }
.plan--wide .plan__cta .btn { width: auto; }
.plan__features { display: grid; gap: 2rem; }
.plan .plan__name h3 { margin: 0; font-family: var(--font-heading); font-size: var(--step-2); font-weight: 700; letter-spacing: -0.025em; text-transform: none; color: var(--heading); }
.plan__features h4 { margin-bottom: 1rem; font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.plan__features .check-list { font-size: 0.9375rem; }
@media (min-width: 768px) { .plan__features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) {
  .plan--wide { grid-template-columns: 280px 1fr; gap: 3.5rem; align-items: start; }
  .plan__intro { padding-right: 3.5rem; border-right: 1px solid var(--border); }
}
.plan__name { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.plan__name h2 { font-size: var(--step-2); }
.plan__price { margin: 1.25rem 0 0.5rem; font-family: var(--font-heading); font-size: var(--step-5); font-weight: 800; color: var(--heading); line-height: 1; letter-spacing: -0.05em; }
.plan__price small { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan__lede { color: var(--text); }
.plan .check-list { margin-top: 1.75rem; }
.plan h3 { margin-top: 1.9rem; font-size: 0.75rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.plan h3 + .check-list, .plan h3 + .num-list { margin-top: 0.85rem; }
.plan__cta { margin-top: auto; padding-top: 2.25rem; }
.plan__cta .btn { width: 100%; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand), var(--border) 40%); }
.timeline > li { position: relative; padding: 0 0 2.75rem 4.25rem; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: 0; top: 0;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--muted);
}
.timeline__dot .icon { width: 19px; height: 19px; }
.timeline > li.is-done .timeline__dot, .timeline > li.is-now .timeline__dot { background: var(--grad); border-color: transparent; color: var(--on-brand); box-shadow: var(--glow); }
.timeline h2, .timeline h3 { font-size: var(--step-2); margin-bottom: 0.45rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.timeline .card { margin-top: 1rem; }

.release { padding: 2.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.release__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.75rem 1rem; margin-bottom: 1rem; }
.release__head h2 { font-size: var(--step-3); }

/* 23. Editor tool illustrations ----------------------------------------- */
.compare { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare > * { min-width: 0; }
.compare figure { display: flex; flex-direction: column; gap: 0.85rem; }
.compare figcaption { font-size: 0.9063rem; }
.compare figcaption strong { display: block; color: var(--heading); font-size: 1rem; }
.compare .illus { flex: 1; }
.illus {
  position: relative;
  padding: 1.25rem;
  background: linear-gradient(180deg, #fff, var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 260px;
  overflow: hidden;
}
.illus__label { position: absolute; top: 0.85rem; right: 0.85rem; z-index: 3; }
.tablet {
  width: 100%;
  max-width: 340px;
  margin: 1.75rem auto 0;
  border: 8px solid #15172E;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.tablet__bar { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); }
.tablet__logo { width: 52px; height: 12px; border-radius: 3px; background: var(--midnight); flex: none; }
.tablet__links { display: flex; gap: 6px; flex-wrap: nowrap; overflow: hidden; }
.tablet__links span { flex: none; height: 8px; border-radius: 3px; background: #C3C5D6; }
.tablet__links--squeezed { flex: 1; justify-content: flex-end; }
.tablet__links--squeezed span { width: 46px; }
.tablet__links--squeezed span:last-child { background: #F0A3A0; }
.tablet__burger { display: grid; gap: 3px; padding: 6px; border-radius: 6px; border: 1px solid var(--border); }
.tablet__burger i { display: block; width: 16px; height: 2px; background: var(--midnight); border-radius: 2px; }
.tablet__body { padding: 0.9rem 0.75rem 1.25rem; display: grid; gap: 7px; }
.tablet__body span { height: 8px; border-radius: 3px; background: #ECECF4; }
.tablet__body span:first-child { height: 16px; width: 70%; background: linear-gradient(90deg, #C9C1FF, #E4DEFF); }
.tablet__body span:nth-child(3) { width: 85%; }
.tablet__body span:nth-child(4) { width: 60%; }

.abs-demo { position: relative; max-width: 300px; margin: 1.75rem auto 0; }
.abs-demo__img { height: 150px; border-radius: 14px; background: var(--grad); }
.abs-demo__badge {
  display: inline-flex;
  flex-direction: column;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  background: #fff;
  color: var(--midnight);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.abs-demo__badge b { font-family: var(--font-heading); font-size: 1.15rem; }
.abs-demo--flow .abs-demo__badge { margin-top: 0.75rem; }
.abs-demo--abs .abs-demo__badge { position: absolute; right: -10px; bottom: -18px; }
.abs-demo__shape { position: absolute; left: -14px; top: -14px; width: 48px; height: 48px; border-radius: 50%; border: 6px solid #FBCFE8; }
.abs-demo__text { margin-top: 1rem; display: grid; gap: 6px; }
.abs-demo__text span { height: 8px; border-radius: 3px; background: #ECECF4; }
.abs-demo__text span:last-child { width: 70%; }
.abs-demo--abs .abs-demo__text { margin-top: 2.25rem; }

.switch-mock {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: 0.875rem;
  color: var(--heading);
  font-weight: 600;
}
.switch-mock i { position: relative; width: 34px; height: 19px; border-radius: 10px; background: var(--grad); }
.switch-mock i::after { content: ""; position: absolute; right: 3px; top: 3px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }

/* 24. Utilities ---------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.mt-5 { margin-top: 4rem; }
.maxw-sm { max-width: 560px; }
.rounded-shot { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.inline-icon { display: inline-flex; align-items: center; gap: 0.4rem; }

.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--section-space); }
.error-page__code { font-family: var(--font-heading); font-size: clamp(6rem, 3rem + 12vw, 12rem); font-weight: 800; line-height: 1; letter-spacing: -0.07em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 25. Motion -------------------------------------------------------------
   Elements with [data-reveal] fade up when they scroll into view. main.js
   adds .js to <html>; without JS, or with reduced motion, nothing is hidden. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--delay, 0s); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  .hero__center > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__center > :nth-child(2) { animation-delay: 0.06s; }
  .hero__center > :nth-child(3) { animation-delay: 0.12s; }
  .hero__center > :nth-child(4) { animation-delay: 0.18s; }
  .hero__center > :nth-child(5) { animation-delay: 0.24s; }
  .showcase { animation: rise 1.1s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== v11.css ===== */
/* ==========================================================================
   PageCore — landing v11 (/v11/)
   Loaded after main.css. Identical to v1 except that no element anywhere
   has a box shadow: images, browser frames, cards, buttons, chips, panels,
   menus and dialogs are all flat. Edges come from the existing borders.
   ========================================================================== */
:root {
  --shadow-sm: none;
  --shadow: none;
  --shadow-lg: none;
  --glow: none;
}
*, *::before, *::after { box-shadow: none !important; }

/* ===== v12.css ===== */
/* ==========================================================================
   PageCore — landing v12 (/v12/)
   Loaded after main.css and v11.css. Identical to v11 (v1 with no box
   shadows) except the colour family: every violet, purple and pink is
   replaced by v6's Klein Blue #002FA7. Gradients pair the blue with gold:
   buttons and light-section headlines are blue-to-blue, while headline
   text, stats and the logo accent on dark sections run gold → amber →
   orange, with a warm amber glow beside the blue ones.
   Contrast: white on button gradient ≥ 6.5:1 · blue headline gradient on
   white ≥ 6.7:1 · gold headline gradient on dark ≥ 8:1
   ========================================================================== */
:root {
  --brand: #002FA7;
  --brand-strong: #00268A;
  --brand-2: #1446D6;
  --brand-3: #2F6BFF;
  --brand-soft: #EBF0FB;
  --brand-soft-2: #D6E0F6;
  --brand-ink: #00226F;
  --brand-pale: #D3E0FF;
  --link-color: #002FA7;

  --brand-rgb: 0 47 167;
  --brand-2-rgb: 20 70 214;
  --brand-3-rgb: 47 107 255;
  --accent-rgb: 255 181 71;       /* warm amber glow (was pink) */
  --accent-2-rgb: 47 107 255;     /* bright blue glow */

  --grad: linear-gradient(135deg, #002FA7 0%, #1446D6 100%);
  --grad-text: linear-gradient(90deg, #002FA7 0%, #1D4ED8 100%);
  --grad-text-dark: linear-gradient(90deg, #FFE29A 0%, #FFC260 50%, #FF9A4D 100%);

  --midnight: #060B1E;
  --midnight-2: #0B1430;
  --midnight-3: #121E45;
  --midnight-rgb: 6 11 30;
  --midnight-2-rgb: 11 20 48;
  --on-dark-text: #B8C2DC;
  --on-dark-muted: #919CBA;
  --dark-link: #A9C2FF;
  --focus-dark: #93B4FF;

  --logo-1: #002FA7;              /* logo gradient: the plugin icon's blue to orange */
  --logo-2: #FF9A4D;
}

/* The brand name is one word and never breaks: "PageCore". In the pricing
   card the "Free version" badge sits under the name instead of beside it. */
.brand__name, .plan__name h3 { white-space: nowrap; }
.plan__name { flex-direction: column; align-items: flex-start; gap: 0.6rem; }

/* Screenshots stay still: no scroll-on-hover anywhere (starter site cards,
   theme preview, hero frames). Starter site thumbnails are a little taller
   than wide, showing more of each home page from the top. */
.kit-card__shot img, .browser__view img { transition: none !important; transform: none !important; }
.kit-card__shot { aspect-ratio: 4 / 4.6; }

/* Pricing card, two tiers: the three feature columns on top, then a full-width
   strip with the name, badge and description on the left and the download
   button on the right. */
.plan--stacked { grid-template-columns: 1fr !important; gap: 2.25rem; }
.plan--stacked .plan__features { order: 1; }
.plan--stacked .plan__intro {
  order: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
  padding: 1.5rem 1.75rem !important;
  border: 0 !important;
  border-radius: var(--radius);
  background: var(--brand-soft);
}
.plan--stacked .plan__info { flex: 1 1 320px; }
.plan--stacked .plan__name { flex-direction: row; align-items: center; justify-content: flex-start; gap: 0.75rem; }
.plan--stacked .plan__lede { margin-top: 0.35rem; }
.plan--stacked .plan__cta { margin: 0; padding: 0 !important; }
@media (max-width: 599px) { .plan--stacked .plan__cta { flex: 1 1 100%; } .plan--stacked .plan__cta .btn { width: 100% !important; } }

/* Theme section: the one exception to "no shadows". A soft shadow lifts the
   theme screenshot off the light section background. */
#theme .browser {
  box-shadow: 0 2px 6px rgba(10, 20, 60, 0.06), 0 24px 48px -18px rgba(10, 20, 60, 0.28) !important;
}

/* ===== v14.css ===== */
/* ==========================================================================
   PageCore — landing v14 (/v14/): v12 with "Crisp" corners
   Loaded after main.css, v11.css and v12.css. Identical to v12 except that
   every rounded corner on the page is smaller (about 35% of v12):
   cards, panels, frames, screenshots, tiles, chips, menus and buttons.
   Perfect circles and pill-shaped badges are unchanged.
   ========================================================================== */
:root {
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --btn-radius: 6px;
}

/* Corners that main.css sets directly, scaled to match */
:focus-visible { border-radius: 3px; }
.nav__link, .nav__toggle { border-radius: 4px; }
.dropdown { border-radius: 7px; }
.dropdown__link { border-radius: 4px; }
.dropdown__icon { border-radius: 4px; }
.mega__feature { border-radius: 5px; }
.mega__feature img { border-radius: 3px; }
.menu-toggle { border-radius: 4px; }
.showcase .browser { border-radius: 5px 5px 0 0; }
.showcase-chip { border-radius: 5px; }
.showcase-chip__icon { border-radius: 4px; }
.browser__url { border-radius: 3px; }
.bento__shots img { border-radius: 4px 4px 0 0; }
.viz-toggles div { border-radius: 4px; }
.viz-templates span { border-radius: 4px; }
.icon-tile { border-radius: 5px; }
.step::before { border-radius: 5px; }
.cat-list li { border-radius: 4px; }
.pro-steps li { border-radius: 5px; }
.pro-steps li::before { border-radius: 3px; }
.swatch-row span { border-radius: 4px; }
.feature-list .icon-tile { border-radius: 4px; }
.tabs__list { border-radius: 5px; }
.tabs__tab { border-radius: 4px; }
.lightbox__view img { border-radius: 3px; }
.prose code, .code-inline { border-radius: 3px; }
.prose kbd, .ui-label { border-radius: 3px; }
ol.num-list > li::before { border-radius: 3px; }
.timeline__dot { border-radius: 5px; }
.tablet { border-radius: 7px; }
.tablet__logo { border-radius: 3px; }
.tablet__links span { border-radius: 3px; }
.tablet__burger { border-radius: 3px; }
.tablet__burger i { border-radius: 2px; }
.tablet__body span { border-radius: 3px; }
.abs-demo__img { border-radius: 5px; }
.abs-demo__badge { border-radius: 4px; }
.abs-demo__text span { border-radius: 3px; }
.switch-mock { border-radius: 4px; }

/* ===== site ===== */
/* Copyright line under the closing call to action (the page has no footer). */
.site-copy {
  margin: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem) 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}
/* The last section: only a small gap under the © line. */
.section.section--last { padding-bottom: clamp(1.5rem, 1.25rem + 0.75vw, 2rem); }
