/* General Caster website (layouts/SiteLayout.astro): the pages' own components, on top of styles.css (tokens, buttons,
   fields, bar and footer) and base.css (container, grid, utilities). Colors, heights and durations come from the
   tokens of styles.css, which change by themselves with the theme (Light, Dark, Auto in the footer) */
:root {
  /* The website's names for the tokens of styles.css */
  --gc-brand: var(--brand);
  --gc-brand-strong: var(--accent);
  --gc-brand-soft: var(--accent-soft);
  --gc-ink: var(--ink);
  --gc-surface: var(--surface);
  --gc-surface-2: var(--bg);
  --gc-border: var(--line);
  --gc-shadow: var(--shadow);
  /* Dark in both themes (closing band, step numbers, Enterprise badge): the ink in Light; in Dark a grey raised above
     the page with a border, never the inverted ink, which would turn them white */
  --gc-dark-bg: var(--ink);
  --gc-dark-ink: var(--surface);
  --gc-dark-line: transparent;
  /* Formulas are shown as in an editor: dark in both themes */
  --gc-code-bg: #1f2329;
  --gc-code-ink: #e8eaed;
  --gc-code-line: rgba(255, 255, 255, 0.15);
  --gc-ref-bg: color-mix(in srgb, var(--brand) 22%, transparent);
  --gc-ref-ink: #ffd27a;
  /* The drawn monday.com boards of the examples: monday's status colors, with text that reads on them (≥ 4.5:1) */
  --monday-done: #00c875;
  --monday-working: #fdab3d;
  --monday-stuck: #c4304a;
  --monday-blue: #579bfc;
  --monday-timeline: #333a56;
  --monday-avatar: #8a45c4;
  --monday-on-light: #1c1c1e; /* on done, working, blue */
  --monday-on-dark: #ffffff; /* on stuck, timeline, avatar */
  --barcode-bg: #ffffff;
  --barcode-ink: #111111;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --gc-dark-bg: var(--raised); --gc-dark-ink: var(--ink); --gc-dark-line: var(--line); } }
:root[data-theme="dark"] { --gc-dark-bg: var(--raised); --gc-dark-ink: var(--ink); --gc-dark-line: var(--line); }

/* The website's pages are white, with grey bands; the content of each section sets its own width */
html body { background: var(--surface); -webkit-font-smoothing: antialiased; }
body > main#content { max-width: none; padding: 0; }
code, pre, .font-mono { font-family: var(--mono); }

/* Buttons: the same as the rest of the product (styles.css): height of the controls, the brand with --on-brand text */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--h-control); padding: 0 16px; border: 1px solid transparent; border-radius: var(--r-control); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease); }
.btn:active { transform: scale(0.97); }
.btn-brand { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn-brand:hover { background: color-mix(in srgb, var(--brand) 88%, var(--ink)); color: var(--on-brand); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--bg); color: var(--ink); }
.btn-lg { padding: 0 20px; }
.btn-sm { min-height: var(--h-compact); padding: 0 10px; font-size: 0.875rem; }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band { background: var(--bg); }
.eyebrow { display: inline-block; margin-bottom: 0.75rem; color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.lead-muted { color: var(--muted); font-size: 1.125rem; }
.page-hero { padding: 3.5rem 0 2.5rem; border-bottom: 1px solid var(--line); background: var(--bg); }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.5rem); font-weight: 800; }
.measure { max-width: 820px; }

/* Home hero */
.hero { position: relative; overflow: hidden; padding: 5rem 0 4rem; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60rem; height: 60rem; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 18%, transparent), transparent); pointer-events: none; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.07; }
/* The highlighter under the key words of the hero's title: the brand, in both themes (kept in the new layout, Roberto 2026-11-21) */
.hero h1 .hl { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--brand) 45%, transparent) 0); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.trust-row { color: var(--muted); font-size: 0.9rem; }
.trust-row i { color: var(--ok); }

/* Product demo window */
.demo-window { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.demo-bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg); }
.demo-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.demo-bar small { margin-left: 8px; color: var(--muted); font-size: 0.78rem; }
.demo-recipe { padding: 14px 16px; border-bottom: 1px dashed var(--line); font-size: 0.92rem; }
.demo-recipe b { padding: 1px 6px; border-radius: 5px; background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.demo-formula { padding: 12px 16px; background: var(--gc-code-bg); color: var(--gc-code-ink); font-family: var(--mono); font-size: 0.8rem; }
.demo-table { width: 100%; font-size: 0.85rem; }
.demo-table th { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.demo-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.demo-table tr:last-child td { border-bottom: 0; }
.demo-table .cast { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.pill-status { display: inline-block; padding: 2px 10px; border-radius: 4px; font-size: 0.78rem; font-weight: 600; }
.pill-done { background: var(--monday-done); color: var(--monday-on-light); }
.pill-wip { background: var(--monday-working); color: var(--monday-on-light); }
.pill-stuck { background: var(--monday-stuck); color: var(--monday-on-dark); }
.pill-blue { background: var(--monday-blue); color: var(--monday-on-light); }

/* Cards */
.gc-card { height: 100%; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.gc-card-hover { transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease); }
.gc-card-hover:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.icon-tile { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); font-size: 1.15rem; }

/* Comparison */
.compare th, .compare td { padding: 0.85rem 1rem; vertical-align: middle; }
.compare thead th { font-size: 0.85rem; }
.compare .yes { color: var(--ok); }
.compare .no { color: var(--error); }
.compare .gc-col { background: var(--accent-soft); }

/* Steps and stats */
.step-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--gc-dark-line); border-radius: 50%; background: var(--gc-dark-bg); color: var(--gc-dark-ink); font-weight: 700; }
.stat-big { color: var(--ink); font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }

/* Pricing: the Yearly/Monthly choice is the .segmented of styles.css */
.save-badge { margin-left: 2px; padding: 1px 7px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 0.7rem; font-weight: 700; }
.plan-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.plan-card.popular { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-card .popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.plan-price-row { display: flex; align-items: baseline; gap: 6px; }
.plan-price { color: var(--ink); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-per { color: var(--muted); font-weight: 600; }
.plan-ops { display: flex; align-items: center; gap: 8px; padding: 0.5rem 0.75rem; border-radius: 8px; background: var(--bg); color: var(--ink); font-size: 0.9rem; font-weight: 700; white-space: nowrap; }
.plan-ops i { color: var(--accent); }
.plan-features li { display: flex; gap: 0.55rem; padding: 0.3rem 0; font-size: 0.92rem; }
.plan-features i { flex: none; width: 1em; margin-top: 0.25rem; color: var(--ok); }
.plan-cta { display: grid; gap: 6px; margin-top: auto; padding-top: 1rem; text-align: center; }
.plan-cta span { color: var(--muted); font-size: 0.78rem; }
.compare-plans { table-layout: fixed; min-width: 720px; }
.compare-plans .compare-feature { width: 36%; }
.compare-plans thead th { position: sticky; top: 0; z-index: 2; background: var(--surface); border-bottom: 1px solid var(--line); }
.compare-plans thead th.gc-col { background: var(--accent-soft); }
.compare-plans .compare-corner { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; vertical-align: bottom; }
.compare-plans .compare-head { vertical-align: bottom; }
.compare-plans .compare-name { display: block; color: var(--ink); font-size: 1rem; font-weight: 700; }
.compare-plans .compare-price { display: block; margin-top: 2px; color: var(--muted); font-size: 0.78rem; font-weight: 500; }
.compare-plans .compare-group th { text-align: left; padding-top: 1.6rem; background: transparent; color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.compare-plans tbody td:first-child { color: var(--ink); }
.compare-plans tbody tr:not(.compare-group):hover td { background: color-mix(in srgb, var(--accent-soft) 45%, transparent); }
.compare-plans tbody tr:not(.compare-group):hover td.gc-col { background: var(--accent-soft); }
.compare-plans .fa-minus { color: color-mix(in srgb, var(--muted) 70%, transparent); }

/* Code and formulas */
.formula { display: block; padding: 0.9rem 1rem; border-radius: 10px; background: var(--gc-code-bg); color: var(--gc-code-ink); font-size: 0.82rem; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.formula .ref { padding: 0 3px; border-radius: 4px; background: var(--gc-ref-bg); color: var(--gc-ref-ink); }
.formula-wrap { position: relative; }
.formula-wrap .formula { padding-right: 5.5rem; }
.formula-wrap .copy-btn { position: absolute; top: 6px; right: 6px; min-height: var(--h-compact); padding: 0 10px; border: 1px solid var(--gc-code-line); border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: var(--gc-code-ink); font-size: 0.78rem; font-weight: 600; }
.formula-wrap .copy-btn:hover { background: rgba(255, 255, 255, 0.14); }
.formula-wrap .copy-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
:not(pre) > code.inline { padding: 0.05rem 0.35rem; border: 1px solid var(--line); border-radius: 5px; background: var(--bg); color: var(--ink); font-size: 0.85em; }
.callout { margin: 1.5rem 0; padding: 1rem 1.15rem; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; background: var(--bg); }
.callout p:last-child { margin-bottom: 0; }
.callout .callout-title { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.25rem; color: var(--ink); font-weight: 700; }
.callout .callout-title i { color: var(--info); }

/* Animated scenes (they replace the old screen recordings): they play while visible; with fewer animations the final
   state stays still (site.js) */
.scene { margin: 1.5rem 0; }
.hero .scene { margin: 0; }
.scene-compact { margin: 1rem 0 0; box-shadow: none; }
.scene-compact .demo-table { font-size: 0.8rem; }
.scene-compact .demo-table td, .scene-compact .demo-table th { padding: 8px 12px; }
.scene-table { overflow-x: auto; }
.scene-run { margin-left: auto; padding: 2px 8px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 0.72rem; font-style: normal; font-weight: 600; transition: background-color var(--motion-slow) var(--ease), border-color var(--motion-slow) var(--ease), color var(--motion-slow) var(--ease); }
.scene-run.on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); box-shadow: 0 0 0 4px var(--accent-soft); }
.demo-recipe b { transition: background-color var(--motion-base) var(--ease), color var(--motion-base) var(--ease), box-shadow var(--motion-base) var(--ease); }
.demo-recipe b.on { background: var(--brand); color: var(--on-brand); box-shadow: 0 0 0 3px var(--accent-soft); }
.demo-table th.scene-target { color: var(--accent); }
.scene-type.typing::after { content: ""; display: inline-block; width: 7px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--brand); }
.scene td { transition: background-color var(--motion-slow) var(--ease), box-shadow var(--motion-slow) var(--ease); }
.scene td.scene-pending { color: transparent; }
.scene td.scene-pending::before { content: ""; display: inline-block; width: 64px; height: 10px; border-radius: 5px; background: var(--line); vertical-align: middle; }
.scene td.scene-flash { box-shadow: inset 0 0 0 2px var(--brand); }
.scene td.scene-pop > *, .scene td.scene-pop { animation: scene-pop var(--motion-slow) var(--ease); }
.scene tr.scene-new { transition: opacity var(--motion-slow) var(--ease); }
.scene tr.scene-new.hidden { opacity: 0; }
.scene-cursor { position: absolute; left: 0; top: 0; z-index: 3; color: var(--ink); font-size: 1.15rem; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35)); opacity: 0; pointer-events: none; transition: transform calc(var(--motion-slow) * 2) var(--ease), opacity var(--motion-slow) var(--ease); }
.scene-cursor i { -webkit-text-stroke: 1px var(--surface); }
.scene-cursor.on { opacity: 1; }
.scene-cursor.click::after { content: ""; position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border: 2px solid var(--brand); border-radius: 50%; animation: scene-ripple var(--motion-slow) var(--ease) forwards; }
.scene-tl { display: inline-block; padding: 1px 10px; border-radius: 99px; background: var(--monday-timeline); color: var(--monday-on-dark); font-size: 0.78rem; font-weight: 600; }
.scene-stars { color: var(--monday-working); letter-spacing: 1px; }
.scene-link { color: var(--info); font-weight: 600; }
.scene-barcode { display: inline-flex; align-items: stretch; height: 22px; padding: 2px 4px; border: 1px solid var(--line); border-radius: 3px; background: var(--barcode-bg); }
.scene-barcode i { display: block; background: var(--barcode-ink); }
.scene-check { color: var(--ok); font-size: 1.1rem; }
.scene-avatar { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 50%; background: var(--monday-avatar); color: var(--monday-on-dark); font-size: 0.7rem; font-weight: 700; }
.scene-screens { display: grid; }
.scene-screen { grid-area: 1 / 1; padding: 18px; opacity: 0; transform: translateX(24px); transition: opacity var(--motion-slow) var(--ease), transform var(--motion-slow) var(--ease); pointer-events: none; }
.scene-screen.active { opacity: 1; transform: none; }
.scene-step-label { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 0.9rem; font-weight: 600; }
.scene-step-label .step-num { width: 26px; height: 26px; font-size: 0.8rem; }
.scene-search { margin-bottom: 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 0.85rem; }
.scene-search i { margin-right: 6px; }
.scene-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.scene-toolbar b { margin-right: auto; }
.scene-chip { padding: 3px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 0.8rem; }
.scene-lines i { display: block; height: 30px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); }
.scene-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scene-card { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 0.8rem; line-height: 1.35; }
.scene-card small { display: block; margin-bottom: 4px; color: var(--muted); font-size: 0.7rem; }
.scene-sentence { margin-bottom: 12px; font-size: 0.92rem; }
.scene-sentence b { padding: 1px 6px; border-radius: 5px; background: var(--accent-soft); }
.scene-steps .demo-formula { border-radius: 8px; }
.scene [data-click].pressed { box-shadow: 0 0 0 3px var(--accent-soft); transform: scale(0.97); transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease); }
@keyframes scene-pop { 0% { transform: scale(0.85); opacity: 0; } 70% { transform: scale(1.06); opacity: 1; } 100% { transform: none; } }
@keyframes scene-ripple { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@media (max-width: 600px) {
  .scene [data-optional] { display: none; }
  .scene-cards { grid-template-columns: 1fr; }
  .scene-cards .scene-card:nth-child(n+3) { display: none; }
}

/* Chips of a filter (ideas, release notes): one chosen, in the selected tokens with its check */
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: var(--h-compact); padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-size: 0.88rem; font-weight: 500; }
.chip:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); background: var(--surface); }
.chip[aria-pressed="true"] { background: var(--selected-bg); border-color: var(--selected-line); color: var(--ink); }
.chip .chip-check { display: none; font-size: 0.75em; }
.chip[aria-pressed="true"] .chip-check { display: inline; }
.chip .count { margin-left: 2px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Ideas */
.idea-card { display: flex; flex-direction: column; gap: 0.9rem; width: 100%; scroll-margin-top: 90px; }
.idea-card.highlight { border-color: var(--selected-line); box-shadow: 0 0 0 3px var(--selected-bg); }
.idea-flow { display: inline-flex; gap: 0.5rem; align-items: center; color: var(--muted); font-size: 0.9rem; }
.idea-flow .arrow { font-size: 0.75rem; }
.idea-meta { margin-top: auto !important; font-size: 0.88rem; }
.idea-meta::before { content: ""; display: block; width: calc(100% - var(--gx)); margin: 0 calc(var(--gx) * 0.5) 1rem; border-top: 1px solid var(--line); }
.idea-meta dt { color: var(--ink); font-weight: 600; }
.idea-meta dd { margin-bottom: 0.45rem; }
.fn-chip { display: inline-block; margin: 0 4px 4px 0; padding: 1px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg); color: var(--ink); font-family: var(--mono); font-size: 0.75rem; cursor: help; }
.new-badge { padding: 2px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; vertical-align: middle; }
.ideas-toolbar { position: sticky; top: 64px; z-index: 5; display: grid; gap: 12px; margin: 0 -12px 1.5rem; padding: 12px; border-radius: 16px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(8px); }
.ideas-search { position: relative; display: flex; align-items: center; gap: 12px; }
.ideas-search > i { position: absolute; left: 14px; color: var(--muted); font-size: 0.9rem; pointer-events: none; }
.ideas-search input { flex: 1; min-width: 0; padding-left: 38px; }
.ideas-shown { flex: none; color: var(--muted); font-size: 0.88rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ideas-chips { display: flex; gap: 8px; flex-wrap: wrap; }
[data-filter] .row > [data-filter-item] { display: flex; }
[data-filter] .row > [data-filter-item][hidden] { display: none; }
.case-card { margin-bottom: 1.5rem; scroll-margin-top: 90px; }

/* Suggestions (ui.md §4): one line of plain text over the element, colors inverted; site.js shows them */
.site-tip { position: fixed; z-index: 80; max-width: min(320px, calc(100vw - 16px)); padding: 5px 9px; border-radius: 6px; background: var(--ink); color: var(--bg); font-size: 0.8rem; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; opacity: 0; transition: opacity var(--motion-fast) var(--ease); }
.site-tip.on { opacity: 1; }

/* Frequent questions: each a <details>, the whole row opens and closes it, the arrow on the right */
.faq { display: grid; gap: 0.6rem; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); scroll-margin-top: 90px; }
.faq-item > summary { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-radius: 12px; cursor: pointer; list-style: none; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { background: var(--bg); }
.faq-item > summary h3 { margin: 0; font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.faq-item > summary .faq-chev { flex: none; color: var(--muted); font-size: 0.85rem; transition: transform var(--motion-base) var(--ease); }
.faq-item[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.faq-item[open] > summary .faq-chev { transform: rotate(180deg); }
.faq-answer { padding: 0 1.25rem 1.1rem; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* CTA band: the colors inverted, in both themes (--ink and --surface swap by themselves) */
.cta-band { padding: 3rem 2rem; border: 1px solid var(--gc-dark-line); border-radius: 20px; background: var(--gc-dark-bg); color: var(--gc-dark-ink); }
.cta-band h2 { color: var(--gc-dark-ink); }
.cta-band .btn-ghost { background: transparent; border-color: color-mix(in srgb, var(--gc-dark-ink) 40%, transparent); color: var(--gc-dark-ink); }
.cta-band .btn-ghost:hover { background: color-mix(in srgb, var(--gc-dark-ink) 10%, transparent); }
.cta-band :focus-visible { outline-color: var(--brand); }

/* Home features: cards of equal height, the first plan as a coloured tag, a Learn more line */
.feature-legend { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; margin: -1.5rem 0 2rem; color: var(--muted); font-size: 0.85rem; }
.feature-grid > .col { display: flex; }
.feature-card { display: flex; flex-direction: column; width: 100%; }
.feature-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.feature-plan { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; }
.feature-plan.plan-free { background: var(--ok-soft); color: var(--ok); }
.feature-plan.plan-standard { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.feature-plan.plan-pro { background: var(--accent-soft); color: var(--accent); }
.feature-plan.plan-enterprise { background: var(--gc-dark-bg); color: var(--gc-dark-ink); border: 1px solid var(--gc-dark-line); }
.feature-more { margin-top: auto; padding-top: 1rem; color: var(--accent); font-size: 0.85rem; font-weight: 600; }
.feature-more i { font-size: 0.75rem; transition: transform var(--motion-fast) var(--ease); }
.feature-card:hover .feature-more i { transform: translateX(3px); }
.feature-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }

/* Release notes: filters, years, a timeline of days, each note with its kind */
.notes-filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.notes-chip-icon { font-size: 0.8em; }
.notes-chip-icon.notes-new { color: var(--ok); }
.notes-chip-icon.notes-fix { color: var(--error); }
.notes-chip-icon.notes-idea { color: var(--accent); }
.notes-year + .notes-year { margin-top: 2.5rem; }
.notes-year-title { margin: 0 0 1rem; font-size: 1.6rem; font-weight: 800; }
.notes-timeline { position: relative; margin: 0; padding: 0 0 0 28px; list-style: none; }
.notes-timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.notes-day { position: relative; padding-bottom: 1.6rem; }
.notes-day:last-child { padding-bottom: 0; }
.notes-dot { position: absolute; left: -28px; top: 5px; width: 16px; height: 16px; border: 3px solid var(--brand); border-radius: 50%; background: var(--surface); }
.notes-day time { display: block; margin-bottom: 0.6rem; color: var(--ink); font-weight: 700; }
.notes-items { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.notes-item { display: flex; gap: 12px; align-items: flex-start; padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); line-height: 1.55; }
.notes-kind { flex: none; display: inline-flex; gap: 5px; align-items: center; min-width: 64px; padding: 2px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
.notes-kind.notes-new { background: var(--ok-soft); color: var(--ok); }
.notes-kind.notes-fix { background: var(--error-soft); color: var(--error); }
.notes-kind.notes-idea { background: var(--accent-soft); color: var(--accent); }
.notes-text a { color: var(--accent); }
.notes-follow { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 3rem; }
.notes-follow > div { flex: 1; min-width: 240px; }

/* Privacy: promises, documents of equal height, the data list with what happens to each */
.privacy-promises { display: flex; gap: 10px 22px; justify-content: center; flex-wrap: wrap; color: var(--ink); font-weight: 600; }
.privacy-promises i { margin-right: 4px; color: var(--ok); }
.privacy-doc { display: flex; flex-direction: column; gap: 0.6rem; height: 100%; }
.privacy-doc h3 { margin: 0.4rem 0 0; }
.privacy-doc p { flex: 1; margin: 0; }
.privacy-doc .btn { align-self: flex-start; }
.privacy-certs { display: flex; gap: 14px; align-items: center; margin-top: 1.5rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.privacy-legend { display: flex; gap: 6px 10px; align-items: center; justify-content: center; flex-wrap: wrap; margin-bottom: 1.75rem; color: var(--muted); font-size: 0.85rem; }
.privacy-legend span:not(.privacy-tag) { margin-right: 10px; }
.privacy-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.privacy-item { display: flex; gap: 14px; align-items: flex-start; }
.privacy-item h3 { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 0.35rem; }
.privacy-tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; }
.privacy-tag.safe { background: var(--ok-soft); color: var(--ok); }
.privacy-tag.kept { background: var(--accent-soft); color: var(--accent); }
.privacy-tag.perm { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }

/* DPA: version and actions, the commitments at a glance, the text with its contents */
.dpa-version { display: flex; gap: 8px 18px; justify-content: center; flex-wrap: wrap; margin: 0.5rem 0 1.25rem; color: var(--muted); font-size: 0.88rem; }
.dpa-version i { margin-right: 4px; color: var(--accent); }
.dpa-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.dpa-facts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.dpa-fact { display: flex; flex-direction: column; gap: 6px; }
.dpa-fact .icon-tile { margin-bottom: 4px; }
.dpa-where { margin-top: auto; padding-top: 4px; color: var(--muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.dpa-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .dpa-layout { grid-template-columns: minmax(0, 1fr); } .dpa-toc { display: none; } }
.dpa-toc { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; font-size: 0.88rem; }
.dpa-toc-title { margin: 0 0 8px; color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.dpa-toc nav { display: grid; gap: 2px; }
.dpa-toc a { padding: 5px 10px; border-radius: 8px; color: var(--text); text-decoration: none; line-height: 1.35; }
.dpa-toc a:hover { background: var(--accent-soft); }
.dpa-toc a.annex { color: var(--muted); }
.dpa-body { min-width: 0; padding: 2rem 2.25rem; line-height: 1.7; overflow-wrap: break-word; }
@media (max-width: 600px) { .dpa-body { padding: 1.25rem; } }
.dpa-body .dpa > p:first-child { padding: 0.85rem 1rem; border-radius: 10px; background: var(--bg); }
.dpa-body .dpa h2 { scroll-margin-top: 90px; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.dpa-body .dpa h2:first-of-type { border-top: 0; padding-top: 0; }
.dpa-body .dpa-table { display: block; overflow-x: auto; border-radius: 10px; }

/* Page not found: the code small, a plain title, what to do, the guide's search and the ways out */
.nf { padding: 72px 0 96px; }
.nf-head { max-width: 600px; margin: 0 auto; text-align: center; }
.nf-code { display: inline-block; margin-bottom: 0.75rem; color: var(--muted); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.nf-head h1 { margin: 0 0 10px; }
.nf-head > p { color: var(--muted); }
.nf-search { display: flex; gap: 8px; margin: 24px 0 0; }
.nf-search input { flex: 1; min-width: 0; }
.nf-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* Empty results of a filter (the same as EmptyState in styles.css) */
[data-filter-empty] .empty-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 600px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 3rem 0 2.5rem; }
  .cta-band { padding: 2.25rem 1.25rem; }
  .stat-big { font-size: 2rem; }
}

/* Fewer animations (ui.md §8): from the system or from the preference; the scenes show their final state */
@media (prefers-reduced-motion: reduce) {
  :root:not([data-motion="full"]) .scene *, :root:not([data-motion="full"]) .scene *::after { animation: none !important; }
  :root:not([data-motion="full"]) .gc-card-hover:hover, :root:not([data-motion="full"]) .btn:active { transform: none; }
}
:root[data-motion="reduce"] .scene *, :root[data-motion="reduce"] .scene *::after { animation: none !important; }
:root[data-motion="reduce"] .gc-card-hover:hover, :root[data-motion="reduce"] .btn:active { transform: none; }

