/* Night ride: shared public primitives. Dashboard selectors remain scoped away. */
:root:has(.public-page) {
 --bg: #0A0A0A; --surface: #141414; --elevated: #1C1C1E; --hover: #242426; --border: #2C2C2E; --focus: #3A3A3C;
 --text: #FFFFFF; --text-2: #C4C4C8; --text-3: #8E8E93;
 --accent: #FF6B35; --accent-hover: #FF8A5C; --success: #30D158; --danger: #FF453A;
 --glow-strong: rgb(255 107 53 / .22); --glow-mid: rgb(255 107 53 / .06); --glow-soft: rgb(255 107 53 / .16);
 --accent-tint: rgb(255 107 53 / .12); --accent-edge: rgb(255 107 53 / .45); --lit-edge: rgb(255 107 53 / .55);
 --success-tint: rgb(48 209 88 / .12); --danger-tint: rgb(255 69 58 / .12);
 --highlight: rgb(255 255 255 / .06); --sheen: rgb(255 255 255 / .035); --header-bg: rgb(10 10 10 / .72); --header-line: rgb(44 44 46 / .7);
 --font: "Avenir Next", "SF Pro Text", system-ui, sans-serif; --mono: "SF Mono", ui-monospace, Menlo, monospace;
 --r-control: 8px; --r-button: 10px; --r-tile: 10px; --r-card: 14px; --r-browser: 14px; --r-phone: 34px; --r-pill: 999px;
 --gutter: clamp(16px, 6.7vw, 96px); --section-y: clamp(56px, 6.7vw, 96px); --frame-max: 1440px;
 /* Exact additional transparencies required by the primitive specification. */
 --clear: rgb(255 255 255 / 0); --button-light: rgb(255 107 53 / .35); --lit-highlight: rgb(255 255 255 / .08);
 --lit-ring: rgb(255 107 53 / .25); --cursor-light: rgb(255 107 53 / .10); --rail-light: rgb(255 107 53 / .7); --node-ring: rgb(255 107 53 / .18);
 --phone-shadow: 0 30px 80px rgb(0 0 0 / .6), inset 0 1px 0 var(--highlight);
}
.public-page { overflow-x: clip; margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; color-scheme: dark; caret-color: var(--accent); scrollbar-color: var(--focus) var(--bg); }
.public-page *, .public-page *::before, .public-page *::after { box-sizing: border-box; }
.public-page ::selection { background: var(--accent); color: var(--bg); }
.public-page :where(h1,h2,h3,p,figure) { margin: 0; }
.public-page :where(h1,h2,h3) { color: var(--text); font-family: var(--font); text-wrap: balance; }
.public-page h1 { font-size: 72px; font-weight: 700; line-height: 1.02; letter-spacing: -.035em; }
.public-page h2 { font-size: 44px; font-weight: 700; line-height: 1.1; letter-spacing: -.025em; }
.public-page h3 { font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.public-page :where(p,li) { color: var(--text-2); }
.public-page a { color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (hover: hover) { .public-page a:hover { color: var(--accent-hover); } }
.public-page :where(a,button,summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.public-shell, .landing-shell, .features-redesign { max-width: var(--frame-max); margin-inline: auto; padding-inline: var(--gutter); }
.public-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 22px var(--gutter); background: var(--header-bg); backdrop-filter: blur(14px); border-bottom: 1px solid var(--header-line); }
.public-header.is-scrolled { border-bottom-color: var(--border); }
.public-wordmark { color: var(--text) !important; font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; text-decoration: none; }
.public-wordmark span { color: var(--accent); }
.public-header nav { line-height: normal; display: flex; align-items: center; gap: 32px; font-size: 15px; }
.public-header nav a { color: var(--text-2); text-decoration: none; }
.public-header nav a[aria-current] { color: var(--text); }
.public-header nav .public-signin { color: var(--accent); border: 1px solid var(--accent-edge); padding: 9px 16px; border-radius: var(--r-control); }
.public-header nav .public-signin:hover { background: var(--accent-tint); }
.skip-link, .landing-skip { position: absolute; left: var(--gutter); top: -100px; z-index: 30; padding: 12px 16px; background: var(--accent); color: var(--bg) !important; border-radius: var(--r-control); }
.skip-link:focus, .landing-skip:focus { top: 12px; }
.site-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 56px; align-items: center; padding: 88px var(--gutter) 56px; margin-inline: calc(-1 * var(--gutter)); overflow: hidden; background: radial-gradient(var(--sheen) 1px, transparent 1px) 0 0 / 22px 22px; }
.site-hero-copy { position: relative; min-width: 0; }
.eyebrow { font-size: 12px; line-height: 1; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent) !important; margin-bottom: 14px !important; }
.site-lead { font-size: 20px; line-height: 1.55; color: var(--text-2); max-width: 44ch; margin-top: 22px !important; }
.site-button { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--bg) !important; font-weight: 700; font-size: 16px; padding: 16px 24px; border-radius: var(--r-button); box-shadow: 0 10px 30px var(--button-light); text-decoration: none; transition: transform 200ms; }
.site-button:hover { transform: translateY(-1px); box-shadow: 0 10px 30px var(--accent-edge); }
.site-section { padding-block: var(--section-y); border-top: 1px solid var(--border); }
.site-section-header { margin-bottom: 40px; }
.site-section-header > p:not(.eyebrow) { margin-top: 14px; font-size: 18px; line-height: 1.6; max-width: 62ch; }
.card { background: linear-gradient(180deg, var(--sheen), var(--clear) 40%), var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: inset 0 1px 0 var(--highlight); position: relative; overflow: hidden; min-width: 0; transition: transform 200ms; }
.card:hover { border-color: var(--focus); transform: translateY(-2px); }
.card.lit { border-color: var(--lit-edge); box-shadow: inset 0 1px 0 var(--lit-highlight), 0 0 0 1px var(--lit-ring), 0 20px 60px var(--accent-tint); }
.icon-tile { width: 44px; height: 44px; border-radius: var(--r-tile); background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.site-icon { color: currentColor; width: 22px; height: 22px; display: block; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--r-pill); font-size: 12px; line-height: 1.2; font-weight: 600; width: fit-content; }
.pill.success { background: var(--success-tint); color: var(--success); }
.pill.danger { background: var(--danger-tint); color: var(--danger); }
.pill:is(.success,.danger)::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.pill.pr { background: var(--accent); color: var(--bg); font-family: var(--mono); font-weight: 700; }
.pill.neutral { background: var(--elevated); color: var(--text-2); border: 1px solid var(--border); }
.phone-frame { border: 6px solid var(--elevated); border-radius: var(--r-phone); overflow: hidden; background: var(--surface); box-shadow: var(--phone-shadow); }
.phone-frame img, .browser-frame img { display: block; width: 100%; height: auto; }
.browser-frame { border: 1px solid var(--border); border-radius: var(--r-browser); overflow: hidden; background: var(--surface); box-shadow: var(--phone-shadow); }
.browser-bar { height: 36px; background: var(--elevated); border-bottom: 1px solid var(--border); padding: 10px 14px; display: flex; gap: 6px; }
.browser-bar i { display: block; width: 10px; height: 10px; background: var(--focus); border-radius: 50%; }
.hero-glow, .section-glow { position: absolute; pointer-events: none; z-index: -1; }
.hero-glow { width: 900px; height: 760px; right: -120px; top: 40px; background: radial-gradient(closest-side, var(--glow-strong), var(--glow-mid) 55%, transparent); }
.section-glow { inset: -40px -60px; background: radial-gradient(closest-side, var(--glow-soft), transparent); }
.site-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; align-items: center; }
.public-footer { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; padding: 56px var(--gutter); border-top: 1px solid var(--border); }
.public-footer > .public-wordmark { font-size: 24px; }
.public-footer nav { display: contents; }
.public-footer nav section { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.public-page .public-footer h2 { font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: .14em; color: var(--text-3); margin-bottom: 10px; }
.public-footer nav a { font-size: 15px; color: var(--text-2); text-decoration: none; }
.public-footer nav a:hover { color: var(--accent-hover); }
/* Feature catalogue */
.features-hero .hero-glow { right: 40px; top: -40px; width: 760px; height: 620px; }
.features-hero .site-hero-media { width: 290px; justify-self: center; }
.group-pills, .page-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.group-pills a, .page-links a { padding: 9px 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; border: 1px solid var(--border); color: var(--text-2); text-decoration: none; white-space: nowrap; }
.group-pills a[aria-current] { border-color: var(--accent); background: var(--accent-tint); color: var(--text); }
.feature-count { color: var(--text-3); font-weight: 500; }
.feature-group { padding-block: 64px 24px; scroll-margin-top: 160px; }
.feature-group h2 { font-size: 40px; }
.feature-group .eyebrow { margin-bottom: 12px !important; }
.feature-group .site-section-header { margin-bottom: 28px; }
.feature-group .group-summary { font-size: 15px; color: var(--text-3); }
.feature-anchor { display: block; scroll-margin-top: 160px; }
.bento-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: minmax(220px, auto); gap: 18px; }
.bento-card { display: flex; flex-direction: column; }
.bento-copy { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.bento-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.bento-card .icon-tile { width: 40px; height: 40px; }
.bento-card svg:not(.mini-chart svg) { width: 20px; height: 20px; }
.bento-card p { font-size: 15px; line-height: 1.55; }
.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-large .bento-copy { padding: 30px; }
.bento-large h3, .bento-safety h3 { font-size: 28px; letter-spacing: -.015em; }
.bento-large p { font-size: 16px; line-height: 1.6; }
.bento-split { display: grid; grid-template-columns: minmax(0,1fr) 240px; }
.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }
.bento-small h3 { font-size: 18px; }
.bento-small .bento-copy { padding: 22px; gap: 10px; }
.bento-grid:has(.bento-strip) { grid-template-rows: minmax(220px,auto) minmax(220px,auto) 140px; }
.bento-strip { grid-column: 1/-1; height: 140px; }
.bento-strip .bento-copy { display: grid; grid-template-columns: 40px minmax(0,1fr); column-gap: 22px; align-content: center; height: 100%; }
.bento-strip .bento-top { grid-row: span 2; }
.bento-strip p { grid-column: 2; }
.bento-media { min-height: 0; flex: 1; margin: 0 18px; border: 1px solid var(--border); border-bottom: 0; border-radius: 12px 12px 0 0; overflow: hidden; }
.bento-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bento-large:not(.bento-split) .bento-media { margin-inline: 30px; }
.bento-small .bento-media { margin-inline: 14px; }
.bento-split .bento-media { margin: 0; border: 0; border-radius: 0; }
#review .bento-split .bento-media { margin: 22px 22px 0 0; border: 1px solid var(--border); border-radius: 12px; align-self: start; }
#review .bento-split .bento-media img { height: auto; }
.mini-chart { display: grid; align-items: center; background: var(--elevated); padding-block: 30px; }
.mini-chart svg { display: block; width: 100%; height: auto; max-height: 100%; }
.bento-safety { grid-column: 1/-1; height: auto; }
#safety .bento-grid { grid-auto-rows: auto; }
.bento-safety .bento-copy { padding: 30px; }
.feature-web { scroll-margin-top: 160px; }
.feature-web p:not(.eyebrow) { margin-top: 24px; }
.feature-rail { position: fixed; z-index: 19; top: var(--header-height,90px); left: 0; right: 0; background: var(--header-bg); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); padding: 12px var(--gutter); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform 200ms, opacity 200ms; }
.feature-rail.is-shown { transform: none; opacity: 1; visibility: visible; }
.feature-rail .group-pills { margin: 0 auto; max-width: var(--frame-max); }
/* Compact reference pages */
.compact-hero { display: block; padding-block: 72px 40px; }
.compact-hero .hero-glow { width: 600px; height: 420px; right: -80px; top: -40px; }
.compact-hero h1 { font-size: 56px; }
.compact-hero .updated { margin-top: 24px; color: var(--text-3); font-size: 14px; }
.public-content .site-prose { max-width: 70ch; font-size: 17px; line-height: 1.7; padding-block: 32px; }
.public-content .site-prose h2 { font-size: 28px; }
.site-prose .site-section-header { margin-bottom: 24px; }
.site-prose p+p { margin-top: 16px; }
.site-prose h3 { margin-block: 32px 16px; }
.site-prose :where(ul,ol) { padding-left: 24px; margin-block: 16px 0; }
.site-prose li+li { margin-top: 16px; }
.site-prose strong { color: var(--text); }
.public-content .prose-card, .contact-card { padding: 28px; margin-block: 32px; }
.prose-card h2 { border-top: 0; padding-top: 0; }
.is-enhanced .reveal { transform: translateY(8px); opacity: .001; transition: transform 300ms cubic-bezier(.16,1,.3,1), opacity 300ms cubic-bezier(.16,1,.3,1); }
.is-enhanced .reveal.is-revealed { transform: none; opacity: 1; }
.is-enhanced .card.is-revealed:hover { transform: translateY(-2px); }
@media (hover: hover) and (pointer: fine) {
 .card::after { content: ''; pointer-events: none; position: absolute; inset: 0; background-image: radial-gradient(240px circle at var(--mx,50%) var(--my,50%), var(--cursor-light), transparent 60%); opacity: 0; transition: opacity 200ms; }
 .card.has-cursor::after { opacity: 1; }
}
@media (min-width: 1100px) and (max-width: 1439px) {
 .bento-split { grid-template-columns: minmax(0,1fr) 40%; }
 .bento-copy, .bento-large .bento-copy { padding: 22px; }
}
@media (max-width: 1099px) {
 .site-hero, .site-split { grid-template-columns: 1fr; }
 .bento-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: minmax(220px, auto); }
 .bento-grid:has(.bento-strip) { grid-template-rows: none; }
 .bento-large { grid-column: span 2; grid-row: auto; }
 .bento-tall { grid-row: auto; }
 .bento-split { grid-template-columns: 1fr; }
 .bento-media, #review .bento-split .bento-media { flex: none; height: 220px; margin: 0 18px; }
 .mini-chart { height: 220px; }
 .mini-chart svg { height: 100%; }
 .bento-strip { height: 140px; }
 .public-footer { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
 .public-page { --gutter: 16px; }
 .public-header { flex-wrap: wrap; gap: 20px; }
 .public-header nav { width: 100%; justify-content: space-between; gap: 12px; }
 .public-page h1 { font-size: 44px; }
 .public-page h2 { font-size: 30px; }
 .site-lead { font-size: 17px; }
 .eyebrow { font-size: 11px; }
 .site-hero { padding-block: 56px; gap: 40px; }
 .features-hero .site-hero-media { width: 220px; }
 .group-pills { flex-wrap: nowrap; overflow-x: auto; padding: 3px; margin-inline: -3px; }
 .feature-group h2 { font-size: 28px; }
 .bento-grid { grid-template-columns: 1fr; }
 .bento-large,.bento-wide,.bento-strip,.bento-safety { grid-column: auto; }
 .bento-card h3 { font-size: 18px; }
 .bento-small h3 { font-size: 16px; }
 .bento-large h3,.bento-safety h3 { font-size: 22px; }
 .bento-card .bento-copy { padding: 22px; }
 .bento-media, #review .bento-split .bento-media { height: 200px; }
 .bento-strip { height: auto; }
 .public-footer { grid-template-columns: 1fr; }
 .compact-hero h1 { font-size: 36px; }
 .feature-rail { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
 .public-page *, .public-page *::before, .public-page *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
 .public-page .reveal, .public-page .card:hover, .public-page .site-button:hover { transform: none !important; opacity: 1; }
 .public-page .card::after { display: none; }
}

/* Audit fix, 2026-W41-45: app screens are left-aligned, so crop from the top-left to keep titles whole;
   the wide Home-plan card is shown whole. */
.bento-media img { object-position: left top; }
.bento-media img[src*="glood-home-plan"] { object-fit: contain; }
/* Rotating group headlines (2026-W41-46): a short fade, height reserved so nothing below jumps. */
.rotate-host { min-height: 1.15em; }
.rotate-text { display: inline-block; transition: opacity 250ms ease, transform 250ms ease; }
.rotate-text.is-out { opacity: 0; transform: translateY(6px); }
@media (max-width: 767px) { .rotate-host { min-height: 2.3em; } }
@media (prefers-reduced-motion: reduce) { .rotate-text { transition: none; } }

 .feature-group, .feature-anchor, .bento-card[id], .feature-web { scroll-margin-top: calc(var(--header-height,90px) + 80px); }
/* Catalogue crops show the selected UI region in full (2026-W41-58). */
.catalogue-media { flex: none; display: grid; align-items: start; }
.catalogue-media:has(img + img) { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.catalogue-media img { height: auto; object-fit: contain; }
.bento-safety .catalogue-media { max-width: 600px; margin: 0 30px 30px; border-bottom: 1px solid var(--border); border-radius: 12px; }
@media (min-width: 1100px) {
 .catalogue-media img { max-height: 360px; }
 .bento-split .catalogue-media { align-self: center; }
}
@media (max-width: 1099px) {
 .catalogue-media img { height: 100%; max-height: 220px; }
}
@media (max-width: 767px) {
 .catalogue-media img { max-height: 200px; }
 .catalogue-media:has(img + img) { grid-template-columns: 1fr; height: auto; }
 .bento-safety .catalogue-media { margin-inline: 22px; }
}

/* Features catalogue (2026-W41-59): per group one spotlight, a grid of tiles with equal screenshot
   bands, and a compact list for features without a screenshot. Replaces the bento grid. */
.fx-group { display: grid; gap: 20px; }
.fx-spotlight { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 56px; align-items: center; padding: 44px; }
.fx-spotlight.fx-flip .fx-copy { order: 2; }
.fx-spotlight.fx-text-only { grid-template-columns: minmax(0, 72ch); }
.fx-copy { display: flex; flex-direction: column; gap: 14px; }
.fx-top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.fx-copy h3 { margin: 0; font-size: 30px; line-height: 1.15; letter-spacing: -.02em; font-weight: 650; }
.fx-copy p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 58ch; }
.fx-visual { margin: 0; justify-self: center; width: 100%; }
.fx-visual img { display: block; width: 100%; height: auto; }
.fx-shot { max-width: 560px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgb(0 0 0 / .45); }
.fx-phone { max-width: 290px; border: 6px solid var(--elevated); border-radius: 34px; overflow: hidden; box-shadow: 0 30px 80px rgb(0 0 0 / .6); }
.fx-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; align-items: stretch; }
.fx-tile { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.fx-band { margin: 0; aspect-ratio: 4 / 3; background: var(--elevated); border-bottom: 1px solid var(--border); overflow: hidden; }
.fx-band img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.fx-band.fx-contain img { object-fit: contain; object-position: center; padding: 12px; box-sizing: border-box; }
.fx-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.fx-body .pill { align-self: flex-start; }
.fx-body h3 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 650; }
.fx-body p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.fx-list { grid-column: span var(--span, 4); list-style: none; margin: 0; padding: 4px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 32px; align-content: start; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.fx-item { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 14px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.fx-item .icon-tile { width: 40px; height: 40px; }
.fx-item h3 { margin: 0 0 4px; font-size: 16px; line-height: 1.35; font-weight: 650; }
.fx-item p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.fx-item p + p { margin-top: 6px; }
@media (max-width: 1099px) {
  .fx-spotlight { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .fx-spotlight.fx-flip .fx-copy { order: 0; }
  .fx-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fx-list { grid-column: 1 / -1; }
}
@media (max-width: 759px) {
  .fx-spotlight { padding: 24px; }
  .fx-copy h3 { font-size: 24px; }
  .fx-grid { grid-template-columns: 1fr; }
  .fx-list { padding: 0 18px; }
}

/* 2026-W41-60: full screenshots in phone frames; on phones, tiles become a swipe row so the page
   stops stacking one phone per feature. */
.fx-tiles { display: contents; }
.fx-tile .fx-visual { padding: 28px 28px 0; box-sizing: border-box; }
.fx-tile .fx-phone, .fx-tile .fx-shot { max-width: 220px; margin: 0 auto; border-width: 5px; border-radius: 28px; }
.fx-spotlight .fx-phone { max-width: 290px; }
.fx-tile .fx-body { padding-top: 22px; }
@media (max-width: 759px) {
  .fx-grid { display: block; }
  .fx-tiles { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--site-gutter)) 20px; padding: 0 var(--site-gutter) 6px; scrollbar-width: none; }
  .fx-tiles::-webkit-scrollbar { display: none; }
  .fx-tile { flex: 0 0 78%; scroll-snap-align: center; }
  .fx-tile .fx-phone { max-width: 200px; }
  .fx-spotlight .fx-phone { max-width: 230px; }
}
.fx-spotlight > *, .fx-grid > *, .fx-tile > * { min-width: 0; }
.fx-shot img, .fx-phone img { max-width: 100%; }
@media (max-width: 1099px) { .fx-spotlight { grid-template-columns: minmax(0, 1fr); } }
.fx-group { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.fx-visual { max-width: 100%; }
@media (max-width: 759px) { .fx-spotlight { padding: 22px; gap: 24px; } }
.fx-item .icon-tile:empty { background: none; border: 0; }
.fx-list { align-self: start; }
.story-signature { color: var(--text-3); font-size: 15px; }
/* 2026-W41-69: no empty space. Tiles fill every row whatever their count, and the text list runs as a
   full-width row under them instead of a short column beside them. */
.fx-list { grid-column: 1 / -1; }
@media (min-width: 1100px) {
  .fx-grid { grid-template-columns: repeat(12, minmax(0,1fr)); }
  .fx-tile { grid-column: span 3; }
  .fx-tile:nth-child(4n+1):nth-last-child(3), .fx-tile:nth-child(4n+1):nth-last-child(3) ~ .fx-tile { grid-column: span 4; }
  .fx-tile:nth-child(4n+1):nth-last-child(2), .fx-tile:nth-child(4n+1):nth-last-child(2) ~ .fx-tile { grid-column: span 6; }
  .fx-tile:nth-child(4n+1):last-child { grid-column: 1 / -1; }
  .fx-tile:nth-child(4n+1):nth-last-child(2), .fx-tile:nth-child(4n+1):nth-last-child(2) ~ .fx-tile, .fx-tile:nth-child(4n+1):last-child { display: grid; grid-template-columns: 240px minmax(0,1fr); align-items: center; }
  .fx-tile:nth-child(4n+1):nth-last-child(2) .fx-visual, .fx-tile:nth-child(4n+1):nth-last-child(2) ~ .fx-tile .fx-visual, .fx-tile:nth-child(4n+1):last-child .fx-visual { padding: 28px 0 28px 28px; }
  .fx-tile:nth-child(4n+1):nth-last-child(2) .fx-body, .fx-tile:nth-child(4n+1):nth-last-child(2) ~ .fx-tile .fx-body, .fx-tile:nth-child(4n+1):last-child .fx-body { padding: 28px 32px; }
  .fx-tile:nth-child(4n+1):last-child .fx-body p { max-width: 60ch; }
}
@media (min-width: 760px) and (max-width: 1099px) {
  .fx-tile:nth-child(2n+1):last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 220px minmax(0,1fr); align-items: center; }
  .fx-tile:nth-child(2n+1):last-child .fx-visual { padding: 24px 0 24px 24px; }
}
.site-prose :where(ul,ol) + p { margin-top: 20px; }
/* Feature landing pages inherit the public hero, phone frame and prose primitives. */
.feature-breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 14px; color: var(--text-2); }
.feature-detail-hero h1 { font-size: 56px; }
.feature-detail .site-prose { max-width: 70ch; padding-block: 40px; }
.feature-detail .site-prose > h2 { margin-bottom: 20px; }
.feature-catalogue-link { margin-top: 24px !important; }
.feature-detail [data-app-store-cta]:not([hidden]) { margin-top: 24px; }
.feature-detail [data-app-store-cta] p { margin-top: 10px; }
.feature-faq-item + .feature-faq-item { border-top: 1px solid var(--border); margin-top: 28px; }
.feature-detail .feature-faq h3 { font-weight: 600; }
@media (max-width: 767px) {
 .feature-detail-hero h1 { font-size: 36px; }
 .feature-breadcrumbs { gap: 8px; }
}
