/* ---------------------------------------------------------------------------
   Navon Labs webstore — shared design system.

   One stylesheet for the catalog and every product page, so extension #2
   inherits the look for free. Tokens mirror navonlabs.in.

   Two colour systems live here on purpose:

     --brand-*  Navon Labs. Site chrome — nav, footer, buttons, links, focus.
                The same on every page.
     --accent   The product's own colour, set per page by its script and per
                catalog card from the registry. Used only for small product
                marks: its badge, its featured plan, its credit bar, its icon.

   Anything tinted with --accent must resolve it at the point of use, because a
   custom property that is *stored* resolves against the element it was declared
   on (:root) and would ignore a per-card override.
   --------------------------------------------------------------------------- */

/* --- fonts ---------------------------------------------------------------- *
   Self-hosted latin subsets, so the store fetches nothing from a third-party
   host at runtime. One variable file covers each family's whole weight axis.
   See fonts/OFL.txt.                                                          */

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-var.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter var";
  src: url("fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800; font-style: normal; font-display: swap;
}

/* --- tokens --------------------------------------------------------------- */

:root {
  color-scheme: dark;

  --bg: #070b1f;
  --panel: #0e1430;
  --glass: rgb(20 27 61 / 0.5);
  --line: rgb(255 255 255 / 0.10);
  --line-strong: rgb(255 255 255 / 0.18);

  --text: #f4f7ff;
  --muted: #aeb8d8;
  --faint: #7480a6;

  --brand-cyan: #3ec6f0;
  --brand-blue: #2e6bff;
  --brand-indigo: #5b3fe0;
  --brand-violet: #7b4fe8;
  /* The brand gradient, for decoration on dark: the wordmark, hairlines. */
  --brand-gradient: linear-gradient(120deg, #3ec6f0 0%, #2e6bff 45%, #7b4fe8 100%);
  /* The same ramp with the cyan stop dropped, for solid fills that carry white
     label text. White on #3ec6f0 is 1.99:1; starting at the blue stop keeps the
     whole button at or above 4.50:1 without leaving the palette. */
  --brand-gradient-fill: linear-gradient(120deg, #2e6bff 0%, #5b3fe0 50%, #7b4fe8 100%);
  --glow: 0 0 40px rgb(46 107 255 / 0.35);

  /* Product accent. Overridden per product page and per catalog card; defaults
     to the brand blue so an extension that declares none still looks native. */
  --accent: #2e6bff;
  --accent-2: #3ec6f0;

  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;

  --radius: 12px;
  --radius-lg: 16px;
  --nav-h: 64px;

  --font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Inter var", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* In-page anchors must clear the sticky nav. */
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.65 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* A single static brand glow behind the top of the page — the one piece of
   decoration, and it never moves. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 620px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 90% 100% at 50% 0%, rgb(46 107 255 / 0.20), transparent 62%);
}
body > * { position: relative; z-index: 1; }

::selection { background: rgb(46 107 255 / 0.35); color: #fff; }

a { color: var(--brand-cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 620px; margin-left: auto; margin-right: auto; }
.hidden { display: none !important; }

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.gradient-text {
  background-image: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- nav ------------------------------------------------------------------ */

.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgb(7 11 31 / 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.navrow { display: flex; align-items: center; gap: 10px; height: var(--nav-h); }

.brand { display: flex; align-items: center; gap: 10px; color: inherit; min-width: 0; }
.brand:hover { text-decoration: none; }
.brand-mark {
  height: 30px; width: auto; flex: none;
  filter: drop-shadow(0 0 10px rgb(62 198 240 / 0.5));
}
.brand-name {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text); white-space: nowrap;
}
.brand-sub {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); border-left: 1px solid var(--line-strong);
  padding-left: 10px; margin-left: 2px; white-space: nowrap;
}

.navspacer { flex: 1; }

.navlinks { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.navlink {
  color: var(--muted); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 999px; white-space: nowrap;
  transition: color .3s, background .3s;
}
.navlink:hover { color: var(--text); background: rgb(255 255 255 / 0.05); text-decoration: none; }
/* The entry for the page you are on, matching the main site's active state. */
.navlink.active { color: var(--brand-cyan); }

.navtoggle {
  display: none; width: 40px; height: 40px; flex: none;
  place-items: center; cursor: pointer;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.navtoggle span { position: relative; display: block; width: 18px; height: 14px; }
.navtoggle span i {
  position: absolute; left: 0; height: 2px; width: 18px; border-radius: 2px;
  background: var(--text); transition: all .3s;
}
.navtoggle span i:nth-child(1) { top: 0; }
.navtoggle span i:nth-child(2) { top: 6px; }
.navtoggle span i:nth-child(3) { top: 12px; }
.navtoggle[aria-expanded="true"] span i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.navtoggle[aria-expanded="true"] span i:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] span i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* --- type ----------------------------------------------------------------- */

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.06; font-weight: 700; margin: 0 0 16px; }
h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; font-weight: 700; margin: 0 0 10px; }
h3 { font-size: 16px; line-height: 1.35; font-weight: 600; margin: 0 0 6px; }

.sub { color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); max-width: 60ch; margin: 0 0 24px; line-height: 1.7; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.tiny { font-size: 12px; }
.mono { font-family: var(--font-mono); font-size: .92em; }

section { padding-block: 56px; }
.section-head { margin-bottom: 26px; }
.subhead { margin-top: 34px; margin-bottom: 18px; }
.subhead h3 { font-size: 19px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: rgb(255 255 255 / 0.05);
  border-radius: 999px; padding: 5px 13px; margin: 0 0 20px;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand-cyan);
}

/* --- buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.25;
  cursor: pointer; white-space: nowrap;
  background: rgb(255 255 255 / 0.06); color: var(--text);
  transition: all .3s;
}
.btn:hover { text-decoration: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-primary {
  color: #fff; border-color: transparent;
  background-image: var(--brand-gradient-fill);
  background-size: 160% 160%;
  background-position: 0% 50%;
  box-shadow: var(--glow);
}
.btn-primary:hover:not(:disabled) {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgb(91 63 224 / 0.55);
}

.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); box-shadow: none; }
.btn-ghost:hover:not(:disabled) { border-color: rgb(255 255 255 / 0.4); background: rgb(255 255 255 / 0.05); }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* --- cards & grids -------------------------------------------------------- */

.card {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all .3s;
}

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
/* Flows to however many fit, so a product with 3 or 6 features both look right. */
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
/* The annual pair should read as two plan cards, not two banners. */
.narrow-grid { max-width: 620px; }

/* --- badges --------------------------------------------------------------- *
   Brand blue by default. Inside a product page the badge is one of the few
   places the product's own colour is allowed through.                         */

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--brand-blue) 16%, transparent);
  color: var(--brand-cyan);
  border: 1px solid var(--line);
}
body.product .badge {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent-2);
}
.badge-soon, body.product .badge-soon { background: rgb(148 163 184 / .14); color: var(--muted); }
.badge-live, body.product .badge-live { background: rgb(52 211 153 / .14); color: var(--ok); }

/* --- hero ----------------------------------------------------------------- */

.hero { padding-block: 88px 36px; }

.product-hero-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.product-hero-top h1 { margin: 8px 0 0; font-size: clamp(28px, 4.4vw, 42px); }

/* --- catalog -------------------------------------------------------------- */

.ext-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: inherit;
  transition: all .3s;
}
.ext-card:hover {
  border-color: rgb(62 198 240 / 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px -20px rgb(46 107 255 / 0.5);
  text-decoration: none;
}
.ext-top { display: flex; align-items: center; gap: 14px; }

/* The product's own colour, resolved here so a per-card --accent applies. */
.ext-icon {
  width: 48px; height: 48px; border-radius: 13px; flex: none;
  display: grid; place-items: center; font-size: 23px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
}
.ext-card h3 { margin: 0; font-size: 17px; }
.ext-card p { margin: 0; color: var(--muted); font-size: 14px; }
.ext-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }

/* --- product modes -------------------------------------------------------- */

.mode-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-lg); padding: 22px;
  transition: all .3s;
}
.mode-card:hover { border-color: color-mix(in srgb, var(--mode-tint, var(--accent)) 45%, transparent); }
.mode-art {
  width: 96px; height: 96px; flex: none; border-radius: 20px;
  display: grid; place-items: center; overflow: hidden;
  background: color-mix(in srgb, var(--mode-tint, var(--accent)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--mode-tint, var(--accent)) 32%, transparent);
}
.mode-art img { width: 100%; height: 100%; display: block; }
.mode-card h3 { margin: 2px 0 8px; font-size: 18px; }
.mode-card p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* The animated mark, wherever an extension shows one. */
.ext-icon img { width: 100%; height: 100%; display: block; }
/* Artwork needs a little more room than a glyph to read at tile size. */
.ext-icon:has(img) { width: 58px; height: 58px; background: color-mix(in srgb, var(--accent) 13%, transparent); }
.ext-icon-lg:has(img) { width: 68px; height: 68px; }

/* --- install buttons ------------------------------------------------------ */

.installs { display: flex; flex-wrap: wrap; gap: 10px; }
.install {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-weight: 600; font-size: 14px; color: var(--text);
  transition: all .3s;
}
.install:hover { border-color: rgb(62 198 240 / 0.4); text-decoration: none; transform: translateY(-2px); }
.install[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.install .store { display: flex; flex-direction: column; line-height: 1.3; }
.install .store b { font-size: 14px; font-weight: 600; }
.install .store span { font-size: 11px; color: var(--faint); font-weight: 500; }

/* --- pricing -------------------------------------------------------------- */

.plan {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent),
              0 18px 50px -24px color-mix(in srgb, var(--accent) 60%, transparent);
}
.plan .price { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.plan .price span { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.plan li { font-size: 13px; color: var(--muted); display: flex; gap: 8px; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 700; flex: none; }
.plan .btn { margin-top: auto; }

/* --- forms & dashboard ---------------------------------------------------- */

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: rgb(7 11 31 / 0.6); color: var(--text);
  font-size: 14px; font-family: inherit;
  transition: border-color .3s, box-shadow .3s;
}
.field input::placeholder { color: var(--faint); }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgb(46 107 255 / 0.22);
}

.formlink { margin-top: 12px; text-align: center; }
/* A utility page heading should not shout like a marketing hero. */
.authpage h1 { font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 20px; }

.seg {
  display: flex; gap: 6px; background: rgb(7 11 31 / 0.6);
  border: 1px solid var(--line); padding: 5px; border-radius: 999px; margin-bottom: 18px;
}
.seg-btn {
  flex: 1; padding: 10px; border: none; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--muted);
  font-family: inherit; font-weight: 600; font-size: 14px;
  transition: all .3s;
}
.seg-btn:hover { color: var(--text); }
.seg-btn.active { background-image: var(--brand-gradient-fill); color: #fff; }

.stat .lbl { font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.stat .big-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 34px); font-weight: 700; letter-spacing: -0.02em; margin: 6px 0 2px;
}

.bar { height: 7px; background: rgb(7 11 31 / 0.8); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin: 10px 0 6px; }
.bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .3s ease; }
.bar.full span { background: var(--danger); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 460px; border-collapse: collapse; font-size: 13px; }
th { text-align: left; color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 9px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 8px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: none; }

.msg { padding: 11px 14px; border-radius: var(--radius); font-size: 13px; margin-bottom: 12px; }
.msg:empty { display: none; }
.msg-err { background: rgb(248 113 113 / .12); border: 1px solid rgb(248 113 113 / .3); color: var(--danger); }
.msg-ok { background: rgb(52 211 153 / .12); border: 1px solid rgb(52 211 153 / .3); color: var(--ok); }

.keybox {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: color-mix(in srgb, var(--accent) 8%, rgb(7 11 31 / 0.6));
  border: 1px dashed var(--accent);
  border-radius: var(--radius); padding: 14px; margin-bottom: 12px;
}
.keybox code { font-size: 13px; word-break: break-all; flex: 1; min-width: 180px; }

/* --- prose (privacy / terms) --------------------------------------------- */

.prose { max-width: 740px; margin: 0 auto; padding-block: 48px 24px; }
.prose h1 { font-size: clamp(28px, 4vw, 40px); }
.prose h2 { font-size: 19px; margin: 34px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); font-weight: 600; }

/* --- footer --------------------------------------------------------------- */

.foot {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgb(14 20 48 / 0.4);
  padding: 56px 0 32px;
  font-size: 14px;
}
.footcols { display: grid; gap: 36px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.footcols h3 {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  color: var(--text); margin: 0 0 14px;
}
.footcols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot a { color: var(--muted); font-size: 13.5px; }
.foot a:hover { color: var(--brand-cyan); text-decoration: none; }
.footbrand .brand { margin-bottom: 14px; }
.footbrand p { color: var(--muted); font-size: 13.5px; margin: 0 0 16px; max-width: 34ch; }

.hairline {
  height: 1px; margin: 40px 0 24px;
  background: linear-gradient(to right, transparent, rgb(255 255 255 / 0.15), transparent);
}
.footbottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; font-size: 12px; color: var(--faint);
}
.footbottom p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.footbottom a { font-size: 12px; }

/* --- responsive ----------------------------------------------------------- */

@media (min-width: 768px) {
  .wrap { padding-inline: 40px; }
  section { padding-block: 64px; }
  .hero { padding-block: 96px 28px; }
}

@media (max-width: 1140px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}

/* Seven nav items stop fitting beside the logo and the account button here. */
@media (max-width: 1000px) {
  .navtoggle { display: grid; }
  .navlinks {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    margin: 0; padding: 10px 24px 18px;
    /* A full-bleed overlay, so it is opaque — page text must not show through. */
    background: #0a1029;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px -24px rgb(0 0 0 / 0.8);
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height .3s ease, opacity .3s ease, visibility .3s;
  }
  .navlinks.open { max-height: 78vh; opacity: 1; visibility: visible; overflow-y: auto; }
  .navlink { padding: 12px 14px; border-radius: var(--radius); font-size: 15px; }
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footcols { grid-template-columns: 1fr 1fr; }
  .footbrand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .brand-sub { display: none; }
  /* The signed-in email is rendered as a .navlink into #navAuth; at this width
     only the Log out button needs to stay. */
  #navAuth .navlink { display: none; }
  .mode-card { flex-direction: column; gap: 14px; }
  .mode-art { width: 84px; height: 84px; }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .footcols { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-block: 56px 24px; }
  section { padding-block: 44px; }
  .wrap { padding-inline: 18px; }
  .navlinks { padding-inline: 18px; }
  .foot { padding: 40px 0 28px; }
}

@media (max-width: 400px) {
  .product-hero-top { gap: 12px; }
  .installs .install { width: 100%; }
}

/* --- motion --------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .ext-card:hover, .install:hover, .btn-primary:hover:not(:disabled) { transform: none; }
}

/* --- product-page helpers ------------------------------------------------- *
   Named rather than inline so the product page carries no styling of its own. */

.ext-icon-lg { width: 58px; height: 58px; border-radius: 16px; font-size: 28px; }
.note { margin-top: 12px; }          /* small print sitting under a block */
.stacked { margin-bottom: 18px; }    /* a dashboard card in a vertical stack */
.subgrid { margin-top: 14px; }       /* a grid nested inside a card */
.store-glyph { font-size: 19px; line-height: 1; }
