/* iGMS web design system v3 · components (20 Nov 2026). Class prefix: gm-. Needs tokens.css first.
   Every value comes from a token; measured Ramp equivalents are in benchmarks/SPEC.md. */

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--gm-nav-h) + 24px); }
body {
  margin: 0; background: var(--gm-paper); color: var(--gm-ink);
  font-family: var(--gm-font); font-weight: var(--gm-w); font-size: var(--gm-fs-body); line-height: var(--gm-lh-body);
  letter-spacing: var(--gm-ls-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-synthesis: none; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; }
h1, h2, h3, h4, h5 { font-weight: var(--gm-w); text-wrap: balance; }
p { text-wrap: pretty; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: var(--gm-w-strong); }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--gm-amber-soft); color: var(--gm-ink); }
:focus-visible { outline: 2px solid var(--gm-focus); outline-offset: 3px; border-radius: 4px; }
.gm-night :focus-visible, .gm-footer :focus-visible, .gm-bar :focus-visible { outline-color: var(--gm-amber); }
.gm-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.gm-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gm-ink); color: #fff; padding: 10px 14px; border-radius: var(--gm-r-sm); font-size: var(--gm-fs-sm); }
.gm-skip:focus { top: 12px; }
.gm-icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── Type ─────────────────────────────────────────────────────────────── */
.gm-display { font-size: var(--gm-fs-display); line-height: var(--gm-lh-display); letter-spacing: var(--gm-ls-display); }
.gm-xl { font-size: var(--gm-fs-xl); line-height: var(--gm-lh-xl); letter-spacing: var(--gm-ls-head); }
.gm-l  { font-size: var(--gm-fs-l);  line-height: var(--gm-lh-l);  letter-spacing: var(--gm-ls-head); }
.gm-t1 { font-size: var(--gm-fs-t1); line-height: var(--gm-lh-t1); letter-spacing: var(--gm-ls-title); }
.gm-t2 { font-size: var(--gm-fs-t2); line-height: var(--gm-lh-t2); letter-spacing: var(--gm-ls-title); }
.gm-t3 { font-size: var(--gm-fs-t3); line-height: var(--gm-lh-t3); letter-spacing: var(--gm-ls-title); }
.gm-lead { font-size: var(--gm-fs-lead); line-height: var(--gm-lh-lead); color: var(--gm-ink-60); }
.gm-body { font-size: var(--gm-fs-body); line-height: var(--gm-lh-body); }
.gm-sm { font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; }
.gm-xs { font-size: var(--gm-fs-xs); line-height: var(--gm-lh-xs); letter-spacing: 0; }
.gm-eyebrow { font-size: var(--gm-fs-eyebrow); line-height: var(--gm-lh-eyebrow); letter-spacing: var(--gm-ls-eyebrow); text-transform: uppercase; color: var(--gm-ink-60); }
.gm-hush { color: var(--gm-ink-60); }
.gm-night .gm-hush, .gm-night .gm-lead, .gm-night .gm-eyebrow { color: var(--gm-on-night-60); }
.gm-tnum { font-variant-numeric: tabular-nums; }

/* ── Layout ───────────────────────────────────────────────────────────── */
.gm-page { position: relative; z-index: 1; background: var(--gm-paper); border-radius: 0 0 var(--gm-r-page) var(--gm-r-page); }
.gm-wrap { width: 100%; max-width: var(--gm-max); margin-inline: auto; padding-inline: var(--gm-gutter); }
.gm-section { padding-block: var(--gm-section); }
.gm-section--top0 { padding-top: 0; }
.gm-section--bot0 { padding-bottom: 0; }
.gm-section--sand { background: var(--gm-sand); }
.gm-night { background: var(--gm-night); color: var(--gm-on-night); }
.gm-head { max-width: var(--gm-center); margin: 0 auto var(--gm-gap-m); text-align: center; }
.gm-head > p { max-width: 34em; margin: 16px auto 0; color: var(--gm-ink-60); font-size: var(--gm-fs-body); line-height: var(--gm-lh-body); }
.gm-night .gm-head > p { color: var(--gm-on-night-60); }
.gm-head .gm-more, .gm-head .gm-btn { margin-top: 24px; }
.gm-head--left { text-align: left; margin-left: 0; }
.gm-head--left > p { margin-left: 0; }
.gm-head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: start; text-align: left; }
.gm-head--split > p { margin: 6px 0 0; max-width: 32em; }
.gm-grid { display: grid; gap: clamp(16px, 12.29px + .952vw, 24px); }
.gm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gm-span-2 { grid-column: span 2; }
.gm-span-all { grid-column: 1 / -1; }
.gm-stack > * + * { margin-top: var(--gm-s4); }

/* ── Announcement bar ─────────────────────────────────────────────────── */
.gm-bar { position: relative; background: var(--gm-night); color: var(--gm-on-night); min-height: var(--gm-bar-h); display: flex; align-items: center; justify-content: center;
  padding: 10px 56px; font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; text-align: center; }
.gm-bar a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; margin-left: 12px; white-space: nowrap; }
.gm-bar__x { position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; display: grid; place-items: center; color: var(--gm-on-night); border-radius: var(--gm-r-xs); }
.gm-bar__x:hover { background: var(--gm-on-night-10); }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.gm-btn { --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 16px;
  border: 1px solid transparent; border-radius: var(--gm-r-sm); font-size: var(--gm-fs-body); line-height: 1; letter-spacing: 0; white-space: nowrap;
  transition: background-color var(--gm-t-fast) var(--gm-ease), color var(--gm-t-fast) var(--gm-ease), border-color var(--gm-t-fast) var(--gm-ease), transform var(--gm-t-fast) var(--gm-ease);
  -webkit-tap-highlight-color: transparent; user-select: none; }
.gm-btn:active { transform: scale(.98); }
.gm-btn .gm-icon { width: 14px; height: 14px; transition: transform var(--gm-t-fast) var(--gm-ease); }
.gm-btn:hover .gm-icon--go { transform: translateX(2px); }
.gm-btn--sm { --h: 34px; padding: 0 14px; font-size: var(--gm-fs-sm); }
.gm-btn--lg { --h: 52px; padding: 0 20px; border-radius: var(--gm-r-md); }
.gm-btn--block { width: 100%; }
.gm-btn--accent { background: var(--gm-amber); color: var(--gm-on-amber); }
.gm-btn--accent:hover { background: var(--gm-amber-hover); }
.gm-btn--accent:active { background: var(--gm-amber-press); }
.gm-btn--ink { background: var(--gm-night); color: #fff; }
.gm-btn--ink:hover { background: #333130; }
.gm-btn--soft { background: var(--gm-sand); color: var(--gm-ink); }
.gm-btn--soft:hover { background: #ebe8e4; }
.gm-btn--ghost { background: var(--gm-ink-03); border-color: var(--gm-line); color: var(--gm-ink-60); }
.gm-btn--ghost:hover { color: var(--gm-ink); background: var(--gm-ink-05); }
.gm-btn--quiet { background: transparent; color: var(--gm-ink); }
.gm-btn--quiet:hover { background: var(--gm-ink-05); }
.gm-btn--white { background: #fff; color: var(--gm-ink); }
.gm-btn--white:hover { background: var(--gm-sand); }
.gm-btn--line-night { background: rgba(255,255,255,.05); border-color: var(--gm-on-night-20); color: #fff; }
.gm-btn--line-night:hover { background: var(--gm-on-night-10); }
.gm-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.gm-iconbtn { width: 28px; height: 28px; display: inline-grid; place-items: center; border: 1px solid var(--gm-line); border-radius: var(--gm-r-xs); background: #fff; color: var(--gm-ink);
  transition: background-color var(--gm-t-fast) var(--gm-ease); }
.gm-iconbtn .gm-icon { width: 14px; height: 14px; }

/* text link with arrow ("Learn more ->") */
.gm-more { display: inline-flex; align-items: center; gap: 8px; font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; color: var(--gm-ink-60);
  transition: color var(--gm-t-fast) var(--gm-ease); }
.gm-more .gm-icon { width: 13px; height: 13px; transition: transform var(--gm-t-fast) var(--gm-ease); }
.gm-more:hover { color: var(--gm-ink); }
.gm-more:hover .gm-icon { transform: translateX(3px); }
.gm-night .gm-more { color: var(--gm-on-night-60); }
.gm-night .gm-more:hover { color: #fff; }
/* inline link in running text */
.gm-link, .gm-prose a { color: inherit; text-decoration: underline; text-decoration-color: var(--gm-ink-45); text-decoration-thickness: 1px; text-underline-offset: 3px;
  transition: text-decoration-color var(--gm-t-fast) var(--gm-ease); }
.gm-link:hover, .gm-prose a:hover { text-decoration-color: currentColor; }

/* ── Sign-up field (email + button, Ramp's hero form) ─────────────────── */
.gm-signup { display: flex; align-items: center; gap: 4px; width: 100%; max-width: 500px; padding: 4px; border: 1px solid var(--gm-ink-10); border-radius: var(--gm-r-field);
  background: var(--gm-chalk); transition: border-color var(--gm-t-fast) var(--gm-ease), box-shadow var(--gm-t-fast) var(--gm-ease); }
.gm-signup:focus-within { border-color: var(--gm-line); box-shadow: 0 0 0 3px rgba(12,10,8,.06); }
.gm-signup input { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border: 0; background: transparent; font-size: var(--gm-fs-body); color: var(--gm-ink); border-radius: var(--gm-r-md); }
.gm-signup input::placeholder { color: var(--gm-ink-60); }
.gm-signup input:focus { outline: none; }
.gm-signup input:focus-visible { outline: 2px solid var(--gm-focus); outline-offset: -2px; }
.gm-signup .gm-btn { --h: 52px; padding: 0 20px; border-radius: var(--gm-r-md); flex: none; }
.gm-signup--center { margin-inline: auto; }
.gm-night .gm-signup { background: rgba(255,255,255,.04); border-color: var(--gm-on-night-20); }
.gm-night .gm-signup input { color: #fff; }
.gm-night .gm-signup input::placeholder { color: var(--gm-on-night-60); }
.gm-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; color: var(--gm-ink-60); }
.gm-note .gm-icon { width: 15px; height: 15px; color: var(--gm-ink); }
.gm-night .gm-note { color: var(--gm-on-night-60); }
.gm-night .gm-note .gm-icon { color: #fff; --gm-check: var(--gm-night); }
.gm-note--center { justify-content: center; }

/* ── Navigation ───────────────────────────────────────────────────────── */
.gm-header { position: sticky; top: 0; z-index: 50; background: var(--gm-paper); border-bottom: 1px solid rgba(12,10,8,.06); }
.gm-header--night { background: var(--gm-night); color: #fff; border-bottom-color: var(--gm-on-night-10); }
.gm-nav { display: flex; align-items: center; height: var(--gm-nav-h); max-width: var(--gm-max); margin-inline: auto; padding-inline: var(--gm-gutter); }
.gm-logo { display: inline-flex; align-items: center; height: 44px; margin-right: 36px; flex: none; }
.gm-logo img { height: 26px; width: auto; }
.gm-menu { display: flex; align-items: center; gap: 4px; list-style: none; height: 100%; }
.gm-menu > li { height: 100%; display: flex; align-items: center; }
.gm-menu__link { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 10px; font-size: var(--gm-fs-sm); line-height: 1; letter-spacing: 0; color: inherit;
  border-radius: var(--gm-r-sm); transition: color var(--gm-t-fast) var(--gm-ease); }
.gm-menu__link .gm-icon { width: 12px; height: 12px; stroke-width: 1.8; transition: transform var(--gm-t) var(--gm-ease-menu); }
a.gm-menu__link { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 6px; transition: text-decoration-color var(--gm-t-fast) var(--gm-ease), color var(--gm-t-fast) var(--gm-ease); }
a.gm-menu__link:hover { text-decoration-color: currentColor; }
.gm-menu__link[aria-expanded="true"] .gm-icon { transform: rotate(180deg); }
.gm-menu:has(.gm-menu__link[aria-expanded="true"]) .gm-menu__link:not([aria-expanded="true"]) { color: var(--gm-ink-60); }
.gm-header--night .gm-menu:has(.gm-menu__link[aria-expanded="true"]) .gm-menu__link:not([aria-expanded="true"]) { color: var(--gm-on-night-60); }
.gm-nav__end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.gm-nav__login { --h: 34px; }
.gm-header--night .gm-btn--quiet { color: #fff; }
.gm-header--night .gm-btn--quiet:hover { background: var(--gm-on-night-10); }
.gm-burger { display: none; width: 40px; height: 40px; place-items: center; border-radius: var(--gm-r-md); background: var(--gm-sand); }
.gm-burger .gm-icon { width: 20px; height: 20px; }
.gm-header--night .gm-burger { background: var(--gm-on-night-10); color: #fff; }

/* mega menu */
.gm-mega { position: absolute; left: var(--gm-gutter); right: var(--gm-gutter); top: 100%; max-width: calc(var(--gm-max) - 2 * var(--gm-gutter)); margin-inline: auto;
  background: #fff; color: var(--gm-ink); border-radius: 0 0 var(--gm-r-xl) var(--gm-r-xl); box-shadow: var(--gm-shadow-pop); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr 1fr 300px; visibility: hidden; opacity: 0; translate: 0 -6px;
  transition: opacity var(--gm-t) var(--gm-ease-menu), translate var(--gm-t-slow) var(--gm-ease-out), visibility 0s linear var(--gm-t); }
.gm-mega--2 { grid-template-columns: 1fr 1fr 300px; }
.gm-mega[data-open="true"] { visibility: visible; opacity: 1; translate: 0 0; transition: opacity var(--gm-t) var(--gm-ease-menu), translate var(--gm-t-slow) var(--gm-ease-out), visibility 0s; }
.gm-mega__col { padding: 32px 24px 36px 32px; }
.gm-mega__label { display: block; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--gm-ink-10); }
.gm-mega__list { list-style: none; display: grid; gap: 4px; }
.gm-mega__item { display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; align-items: center; padding: 8px; margin-inline: -8px; border-radius: var(--gm-r-md);
  transition: background-color var(--gm-t-fast) var(--gm-ease); }
.gm-mega__item:hover, .gm-mega__item:focus-visible { background: var(--gm-sand); }
.gm-mega__ic { grid-row: span 2; width: 40px; height: 40px; display: grid; place-items: center; background: var(--gm-sand); border-radius: var(--gm-r-sm); }
.gm-mega__item:hover .gm-mega__ic { background: #fff; }
.gm-mega__t { font-size: 15px; line-height: 20px; letter-spacing: 0; }
.gm-mega__d { font-size: 15px; line-height: 20px; letter-spacing: 0; color: var(--gm-ink-60); }
.gm-mega__feat { background: var(--gm-sand); padding: 32px; }
.gm-mega__feat .gm-mega__label { border: 0; margin: 0; }
.gm-mega__card { display: block; }
.gm-mega__card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: var(--gm-r-md); background: #fff; margin-bottom: 16px; }
.gm-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(12,10,8,.32); opacity: 0; visibility: hidden; transition: opacity var(--gm-t) var(--gm-ease-menu), visibility 0s linear var(--gm-t); }
.gm-scrim[data-open="true"] { opacity: 1; visibility: visible; transition: opacity var(--gm-t) var(--gm-ease-menu), visibility 0s; }

/* mobile sheet */
.gm-sheet { position: fixed; inset: var(--gm-nav-h) 0 0 0; z-index: 49; background: #fff; color: var(--gm-ink); overflow-y: auto; padding: 8px var(--gm-gutter) 32px;
  display: none; }
.gm-sheet[data-open="true"] { display: block; }
.gm-sheet details { border-bottom: 1px solid var(--gm-ink-10); }
.gm-sheet summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-size: 18px; cursor: pointer; }
.gm-sheet summary::-webkit-details-marker { display: none; }
.gm-sheet summary .gm-icon { transition: transform var(--gm-t) var(--gm-ease-menu); }
.gm-sheet details[open] summary .gm-icon { transform: rotate(180deg); }
.gm-sheet__links { list-style: none; padding: 0 0 16px; display: grid; gap: 2px; }
.gm-sheet__links a { display: block; padding: 10px 0; font-size: 16px; color: var(--gm-ink-60); }
.gm-sheet__plain { display: flex; align-items: center; min-height: 56px; font-size: 18px; border-bottom: 1px solid var(--gm-ink-10); }
.gm-sheet__cta { display: grid; gap: 10px; margin-top: 24px; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.gm-hero { padding-top: clamp(12px, 9.03px + .762vw, 20px); }
.gm-hero__grid { display: grid; grid-template-columns: minmax(0, 576px) minmax(0, 1fr); gap: 48px clamp(40px, 2.29px + 9.67vw, 142px); align-items: stretch; }
.gm-hero__copy { display: flex; flex-direction: column; padding-block: 40px; }
.gm-hero__copy > :first-child { margin-top: auto; }
.gm-hero__copy .gm-display + .gm-lead, .gm-hero__copy .gm-xl + .gm-lead, .gm-hero__copy .gm-l + .gm-lead { margin-top: 20px; max-width: 30em; }
.gm-hero__copy .gm-signup, .gm-hero__copy .gm-btn-row { margin-top: 28px; }
.gm-hero__after { margin-top: auto; padding-top: 40px; }
.gm-hero__stage { position: relative; min-height: clamp(440px, 349.4px + 23.24vw, 684px); border-radius: var(--gm-r-xl); background: var(--gm-daylight); overflow: hidden; margin-right: calc(-1 * var(--gm-gutter) + 24px); }
.gm-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--gm-fs-xs); line-height: var(--gm-lh-xs); letter-spacing: 0; color: var(--gm-ink-60); }
.gm-crumb a:hover { color: var(--gm-ink); }
.gm-crumb .gm-icon { width: 12px; height: 12px; }
.gm-night .gm-crumb { color: var(--gm-on-night-60); }
.gm-night .gm-crumb a:hover { color: #fff; }
.gm-hero__copy .gm-crumb { margin-bottom: 24px; }

/* phone in a bezel, standing on the stage floor and cut by it */
.gm-phone { position: absolute; left: 50%; top: clamp(44px, 31.37px + 3.24vw, 78px); translate: -50% 0; width: clamp(250px, 194.3px + 14.29vw, 400px); padding: 9px; border-radius: 54px;
  background: #0b0b0c; box-shadow: var(--gm-shadow-phone), inset 0 0 0 1.5px #3a3a3c; }
.gm-phone::before { content: ""; position: absolute; inset: 3px; border-radius: 51px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
/* side keys: two volume keys on the left, the side key on the right (one pseudo-element, three background layers) */
.gm-phone::after { content: ""; position: absolute; left: -3px; right: -3px; top: 21%; height: 132px; pointer-events: none;
  background: linear-gradient(#2a2a2c, #2a2a2c) 0 0 / 3px 44px no-repeat, linear-gradient(#2a2a2c, #2a2a2c) 0 58px / 3px 44px no-repeat, linear-gradient(#2a2a2c, #2a2a2c) 100% 14px / 3px 72px no-repeat; }
.gm-phone img { width: 100%; border-radius: 45px; background: #fff; }
.gm-phone--static { position: relative; left: auto; bottom: auto; translate: none; margin: 0 auto; }

/* ── Proof: logo strip ────────────────────────────────────────────────── */
.gm-logos { text-align: center; }
.gm-logos__lede { font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; color: var(--gm-ink); max-width: 46em; margin: 0 auto; }
.gm-logos__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px clamp(28px, 10px + 4.6vw, 64px); margin-top: 28px; list-style: none; }
.gm-logos__row li { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; letter-spacing: -.01em; color: var(--gm-ink-60); white-space: nowrap; }
.gm-logos__row img { height: 24px; width: auto; filter: grayscale(1) contrast(.6) brightness(1.05); opacity: .62; }
.gm-night .gm-logos__lede { color: var(--gm-on-night-60); }
.gm-night .gm-logos__row li { color: rgba(255,255,255,.75); }
.gm-night .gm-logos__row img { filter: grayscale(1) brightness(10); opacity: .8; }

/* ── Cards ────────────────────────────────────────────────────────────── */
.gm-card { position: relative; display: flex; flex-direction: column; background: var(--gm-sand); border-radius: var(--gm-r-xl); overflow: hidden; color: var(--gm-ink); }
.gm-card--line { border: 1px solid var(--gm-ink-10); }
.gm-card--white { background: #fff; border: 1px solid var(--gm-ink-10); border-radius: var(--gm-r-lg); }
.gm-card--chalk { background: var(--gm-chalk); border: 1px solid var(--gm-ink-10); border-radius: var(--gm-r-lg); }
.gm-card__body { padding: clamp(24px, 21.03px + .762vw, 32px); }
.gm-card__body > .gm-t1 + p, .gm-card__body > .gm-t2 + p, .gm-card__body > .gm-t3 + p { margin-top: 10px; }
.gm-card__body p { max-width: 26em; color: var(--gm-ink-60); font-size: var(--gm-fs-body); line-height: var(--gm-lh-body); }
.gm-card__body .gm-more { margin-top: 20px; }
.gm-card__media { position: relative; flex: 1; min-height: 260px; margin-top: auto; overflow: hidden; }
.gm-card__media .gm-shot { top: clamp(16px, 9.31px + 1.71vw, 34px); }
.gm-card__corner { position: absolute; top: clamp(20px, 18.51px + .381vw, 24px); right: clamp(20px, 18.51px + .381vw, 24px); }
a.gm-card { transition: background-color var(--gm-t-fast) var(--gm-ease); }
a.gm-card:hover { background: #efece9; }
a.gm-card:hover .gm-iconbtn { background: var(--gm-ink); color: #fff; border-color: var(--gm-ink); }
/* title that runs into a hushed second phrase (Ramp: "Cards & Expenses that handle themselves") */
.gm-runon { color: var(--gm-ink-60); }
.gm-night .gm-runon { color: var(--gm-on-night-60); }
/* light surfaces inside a night section keep light-surface colours */
.gm-night .gm-card .gm-runon, .gm-night .gm-card .gm-hush { color: var(--gm-ink-60); }
.gm-night .gm-card .gm-more { color: var(--gm-ink-60); }
.gm-night .gm-card .gm-more:hover { color: var(--gm-ink); }

/* screenshot inside a card, cropped by the card edge */
.gm-shot { position: absolute; left: clamp(24px, 21.03px + .762vw, 32px); right: auto; top: 0; width: 118%; max-width: none; border-radius: var(--gm-r-md);
  box-shadow: var(--gm-shadow-ui); background: #fff; border: 1px solid var(--gm-ink-10); }
.gm-shot--center { left: 50%; translate: -50% 0; width: 86%; }
.gm-shot--right { left: auto; right: -12%; }

/* feature card with title and text below the media (Ramp "Expenses handled automatically.") */
.gm-tile__media { position: relative; aspect-ratio: 16 / 10.5; background: var(--gm-sand); border-radius: var(--gm-r-xl); overflow: hidden; }
.gm-tile__media > img.gm-fill { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.gm-tile__media .gm-shot { top: clamp(20px, 15.54px + 1.143vw, 32px); }
.gm-tile__media .gm-phone { width: min(56%, 240px); top: 28px; }
.gm-tile h3 { margin-top: 24px; }
.gm-tile p { margin-top: 8px; color: var(--gm-ink-60); max-width: 30em; }
.gm-night .gm-tile p { color: var(--gm-on-night-60); }
.gm-tile .gm-more { margin-top: 18px; }

/* fact fragment: a small data card staged like product UI (compare page cards) */
.gm-fact { position: absolute; left: 50%; translate: -50% 0; width: min(84%, 360px); bottom: 0; background: #fff; border: 1px solid var(--gm-ink-10);
  border-bottom: 0; border-radius: var(--gm-r-lg) var(--gm-r-lg) 0 0; padding: 8px 22px 14px; box-shadow: 0 1px 2px rgba(12,10,8,.05), 0 16px 32px -16px rgba(12,10,8,.18);
  font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; }
.gm-fact__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--gm-ink-10); color: var(--gm-ink-60); }
.gm-fact__row:last-child { border-bottom: 0; }
.gm-fact__row b { font-weight: var(--gm-w); color: var(--gm-ink); font-size: var(--gm-fs-t2); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.gm-fact__row b.gm-hush { color: var(--gm-ink-60); font-size: var(--gm-fs-sm); letter-spacing: 0; }
.gm-fact__row.is-us span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--gm-amber); margin-right: 8px; }
.gm-fact--duo { display: grid; grid-template-columns: 1fr 1fr; padding: 24px 20px 28px; }
.gm-fact--duo > div + div { border-left: 1px solid var(--gm-ink-10); padding-left: 20px; }
.gm-fact--duo b { display: block; font-weight: var(--gm-w); font-size: clamp(36px, 32.29px + .952vw, 44px); line-height: 1; letter-spacing: -.03em; color: var(--gm-ink); font-variant-numeric: tabular-nums; }
.gm-fact--duo b.gm-hush { color: var(--gm-ink-60); }
.gm-fact--duo span { display: block; margin-top: 10px; color: var(--gm-ink-60); }
.gm-card--us { box-shadow: inset 0 3px 0 var(--gm-amber); }

/* ── Window frame for desktop screenshots ─────────────────────────────── */
.gm-window { background: #fff; border: 1px solid var(--gm-ink-10); border-radius: var(--gm-r-lg); overflow: hidden; box-shadow: var(--gm-shadow-ui); }
.gm-window__bar { display: grid; grid-template-columns: 60px 1fr 60px; align-items: center; height: 34px; padding: 0 12px; background: #f7f6f5; border-bottom: 1px solid var(--gm-ink-10);
  font-size: 12px; letter-spacing: 0; color: var(--gm-ink-60); }
.gm-window__dots { display: flex; gap: 6px; }
.gm-window__dots i { width: 9px; height: 9px; border-radius: 50%; background: #dcd8d4; }
.gm-window__title { text-align: center; }
.gm-window img { width: 100%; }

/* wide product panel: sand stage with an app window, cut at the bottom (Ramp homepage) */
.gm-panel { position: relative; background: var(--gm-sand); border-radius: var(--gm-r-xl); padding: clamp(24px, 3.4px + 5.3vw, 80px) clamp(16px, -9.71px + 6.59vw, 96px) 0; overflow: hidden; }
.gm-panel .gm-window { border-bottom: 0; border-radius: var(--gm-r-lg) var(--gm-r-lg) 0 0; box-shadow: 0 0 0 1px var(--gm-ink-10), 0 30px 60px -30px rgba(12,10,8,.2); }

/* ── Bento (dark or light section) ────────────────────────────────────── */
.gm-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 12.29px + .952vw, 24px); }
.gm-bento__wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); min-height: 420px; }
.gm-bento__wide > .gm-card__media { margin-top: 0; }
.gm-bento__wide .gm-card__media { min-height: 360px; }
.gm-bento .gm-card { min-height: 520px; }
.gm-bento .gm-bento__wide { min-height: 440px; }

/* ── Feature row (icon + bold run-on, Ramp corporate cards) ──────────── */
.gm-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(24px, 14.34px + 2.476vw, 48px); list-style: none; }
.gm-feats li { font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; color: var(--gm-ink-60); }
.gm-feats .gm-icon { width: 18px; height: 18px; color: var(--gm-ink); margin-bottom: 14px; }
.gm-feats b { font-weight: var(--gm-w); color: var(--gm-ink); }

/* ── Stats ────────────────────────────────────────────────────────────── */
.gm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 12.29px + .952vw, 24px); list-style: none; }
.gm-stat { min-height: 184px; display: flex; flex-direction: column; justify-content: flex-start; padding: clamp(32px, 24.57px + 1.9vw, 52px) 24px 28px; background: var(--gm-chalk); border: 1px solid var(--gm-ink-10); border-radius: var(--gm-r-lg); }
.gm-stat__n { font-size: var(--gm-fs-stat); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--gm-ink); }
.gm-night .gm-stat__n { color: #fff; }
.gm-stat__l { margin-top: 12px; font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; color: var(--gm-ink-60); max-width: 24em; }
.gm-stats--bare .gm-stat { background: none; border: 0; border-left: 1px solid var(--gm-ink-10); border-radius: 0; padding: 4px 0 4px 24px; min-height: 0; }
.gm-night .gm-stats--bare .gm-stat { border-left-color: var(--gm-on-night-20); }
.gm-night .gm-stat__l { color: var(--gm-on-night-60); }

/* ── Testimonial ──────────────────────────────────────────────────────── */
.gm-quote { max-width: 860px; margin: 0 auto; text-align: center; }
.gm-quote__mark { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; font-size: var(--gm-fs-sm); letter-spacing: 0; }
.gm-quote blockquote { font-size: var(--gm-fs-quote); line-height: var(--gm-lh-quote); letter-spacing: -.012em; text-wrap: balance; }
.gm-quote figcaption { margin-top: 24px; font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; }
.gm-quote figcaption span { color: var(--gm-ink-60); margin-left: 6px; }
.gm-night .gm-quote figcaption span { color: var(--gm-on-night-60); }
.gm-quote .gm-more { margin-top: 28px; }
.gm-quote--split { max-width: none; text-align: left; display: grid; grid-template-columns: 1fr 1fr; background: var(--gm-sand); border-radius: var(--gm-r-xl); overflow: hidden; }
.gm-quote--split > div:first-child { padding: clamp(28px, 18.34px + 2.476vw, 54px) clamp(24px, 14.34px + 2.476vw, 48px); display: flex; flex-direction: column; }
.gm-quote--split blockquote { font-size: var(--gm-fs-t1); line-height: var(--gm-lh-t1); }
.gm-quote--split .gm-more { margin-top: auto; padding-top: 32px; }
.gm-quote__media { position: relative; min-height: 380px; background: var(--gm-daylight); overflow: hidden; }

/* review cards (wall) */
.gm-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gm-review { background: #fff; border: 1px solid var(--gm-ink-10); border-radius: var(--gm-r-lg); padding: 20px; font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; }
.gm-review__who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.gm-avatar { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 1px solid var(--gm-ink-10); border-radius: var(--gm-r-sm); background: var(--gm-chalk); font-size: 12px; color: var(--gm-ink-60); }
.gm-review p { color: var(--gm-ink-60); }

/* ── Tables ───────────────────────────────────────────────────────────── */
.gm-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.gm-table-wrap:focus-visible { outline-offset: 4px; }
.gm-table { width: 100%; border-collapse: collapse; font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; }
.gm-table caption { caption-side: bottom; text-align: left; padding-top: 16px; font-size: var(--gm-fs-xs); line-height: var(--gm-lh-xs); color: var(--gm-ink-60); }
.gm-table th, .gm-table td { text-align: left; vertical-align: top; padding: 15px 16px 15px 0; border-bottom: 1px solid var(--gm-ink-10); font-weight: var(--gm-w); }
.gm-table thead th { vertical-align: bottom; padding-block: 22px 18px; border-bottom: 1px solid var(--gm-ink); font-size: var(--gm-fs-t2); line-height: var(--gm-lh-t2); letter-spacing: var(--gm-ls-title); }
.gm-table tbody th { color: var(--gm-ink); width: 30%; }
.gm-table td { color: var(--gm-ink-60); }
.gm-table .is-us { color: var(--gm-ink); }
.gm-table thead .is-us { position: relative; }
.gm-table thead .is-us::before { content: ""; position: absolute; left: 0; right: 16px; top: 0; height: 3px; border-radius: 3px; background: var(--gm-amber); }
.gm-table__logo { height: 24px; width: auto; }
.gm-table__brand { display: inline-flex; align-items: center; gap: 10px; }
.gm-table--compare { min-width: 680px; }
.gm-table--compare td, .gm-table--compare tbody th { width: 35%; }
.gm-table--compare tbody th { width: 30%; }
.gm-table--grid { border: 1px solid var(--gm-ink-10); border-radius: var(--gm-r-md); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.gm-table--grid th, .gm-table--grid td { padding: 12px 16px; border-bottom: 1px solid var(--gm-ink-10); }
.gm-table--grid tr > * + * { border-left: 1px solid var(--gm-ink-10); }
.gm-table--grid thead th { background: var(--gm-sand); font-size: var(--gm-fs-xs); line-height: var(--gm-lh-xs); letter-spacing: 0; border-bottom: 1px solid var(--gm-ink-10); padding-block: 10px; }
.gm-table--grid tbody tr:last-child > * { border-bottom: 0; }
.gm-table--grid tbody th { width: auto; }
.gm-table--grid .is-us { background: var(--gm-amber-soft); }
.gm-table--grid thead .is-us::before { display: none; }
.gm-yes, .gm-no { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; vertical-align: middle; margin: -3px 8px 0 0; }
.gm-yes { background: var(--gm-yes); color: #fff; }
.gm-no { background: var(--gm-no); color: #fff; }
.gm-yes .gm-icon, .gm-no .gm-icon { width: 12px; height: 12px; stroke-width: 2.2; }
.gm-cell-note { display: block; margin-top: 4px; }

/* plan matrix (Ramp pricing compare) */
.gm-matrix { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; }
.gm-matrix th, .gm-matrix td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--gm-ink-10); text-align: left; font-weight: var(--gm-w); }
.gm-matrix thead th { font-size: var(--gm-fs-t2); line-height: var(--gm-lh-t2); letter-spacing: var(--gm-ls-title); padding-bottom: 16px; border-bottom: 1px solid var(--gm-ink); vertical-align: bottom; }
.gm-matrix thead th small { display: block; margin-top: 6px; font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; color: var(--gm-ink-60); }
.gm-matrix tbody th { width: 40%; }
.gm-matrix tbody th .gm-tip { text-decoration: underline dotted var(--gm-ink-45); text-underline-offset: 4px; }
.gm-matrix td { color: var(--gm-ink-60); width: 20%; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.gm-faq__title { margin-bottom: clamp(32px, 21.6px + 2.67vw, 60px); }
.gm-faq { border-top: 1px solid var(--gm-ink-10); }
.gm-faq details { border-bottom: 1px solid var(--gm-ink-10); }
.gm-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding: 14px 0; cursor: pointer;
  font-size: var(--gm-fs-body); line-height: var(--gm-lh-body); }
.gm-faq summary::-webkit-details-marker { display: none; }
.gm-faq summary .gm-iconbtn { flex: none; width: 30px; height: 30px; transition: background-color var(--gm-t-fast) var(--gm-ease); }
.gm-faq summary .gm-icon { transition: transform var(--gm-t) var(--gm-ease-menu); }
.gm-faq details[open] summary .gm-icon { transform: rotate(180deg); }
.gm-faq summary:hover .gm-iconbtn { background: var(--gm-sand); }
.gm-faq__a { padding: 0 64px 24px 0; max-width: 52em; color: var(--gm-ink-60); }
.gm-faq__a p + p { margin-top: 12px; }
@supports (interpolate-size: allow-keywords) {
  .gm-faq details { interpolate-size: allow-keywords; }
  .gm-faq details::details-content { height: 0; overflow: clip; transition: height var(--gm-t) var(--gm-ease), content-visibility var(--gm-t) allow-discrete; }
  .gm-faq details[open]::details-content { height: auto; }
}

/* ── CTA band ─────────────────────────────────────────────────────────── */
.gm-cta { text-align: center; padding: clamp(96px, 79.66px + 4.19vw, 140px) 0 clamp(88px, 73.14px + 3.81vw, 128px); }
.gm-cta h2 { margin-bottom: 24px; }
.gm-cta .gm-note { justify-content: center; }
.gm-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; padding: clamp(28px, 21.6px + 1.6vw, 44px) clamp(24px, 14.3px + 2.5vw, 48px);
  background: var(--gm-sand); border-radius: var(--gm-r-xl); position: relative; overflow: hidden; }
.gm-banner::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 46%; background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,193,7,.0) 30%, rgba(255,193,7,.16) 100%); pointer-events: none; }
.gm-banner > * { position: relative; z-index: 1; }
.gm-banner p { margin-top: 6px; color: var(--gm-ink-60); font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; }

/* ── Badges, tags ─────────────────────────────────────────────────────── */
.gm-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: var(--gm-r-xs); background: var(--gm-sand); color: var(--gm-ink);
  font-size: 12px; line-height: 1; letter-spacing: 0; white-space: nowrap; }
.gm-badge--line { background: #fff; border: 1px solid var(--gm-ink-10); }
.gm-badge--accent { background: var(--gm-amber); color: var(--gm-on-amber); }
.gm-badge--ink { background: var(--gm-night); color: #fff; }
.gm-badge--soft { background: var(--gm-amber-soft); color: var(--gm-amber-text); }
.gm-badge--mono { font-family: var(--gm-mono); font-size: 11px; }
.gm-plan { display: inline-flex; gap: 4px; }

/* ── Forms ────────────────────────────────────────────────────────────── */
.gm-field { display: grid; gap: 8px; }
.gm-field label { font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; }
.gm-input, .gm-select { height: 48px; width: 100%; padding: 0 16px; border: 1px solid var(--gm-line); border-radius: var(--gm-r-sm); background: #fff; font-size: var(--gm-fs-body);
  transition: border-color var(--gm-t-fast) var(--gm-ease), box-shadow var(--gm-t-fast) var(--gm-ease); }
.gm-input::placeholder { color: var(--gm-ink-60); }
.gm-input:hover, .gm-select:hover { border-color: #b9b4b0; }
.gm-input:focus, .gm-select:focus { outline: none; border-color: var(--gm-ink); box-shadow: 0 0 0 3px rgba(12,10,8,.08); }
.gm-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230c0a08' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.gm-help { font-size: var(--gm-fs-xs); line-height: var(--gm-lh-xs); letter-spacing: 0; color: var(--gm-ink-60); }
.gm-check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; cursor: pointer; }
.gm-check input { appearance: none; flex: none; width: 18px; height: 18px; margin: 1px 0 0; border: 1px solid var(--gm-line); border-radius: 4px; background: #fff; display: grid; place-items: center;
  transition: background-color var(--gm-t-fast) var(--gm-ease), border-color var(--gm-t-fast) var(--gm-ease); }
.gm-check input::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; rotate: -45deg; translate: 0 -1px; opacity: 0; }
.gm-check input:checked { background: var(--gm-ink); border-color: var(--gm-ink); }
.gm-check input:checked::after { opacity: 1; }
.gm-check input:focus-visible { outline: 2px solid var(--gm-focus); outline-offset: 2px; }
.gm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gm-chip { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--gm-ink-10); border-radius: var(--gm-r-sm); background: #fff; font-size: var(--gm-fs-sm); letter-spacing: 0; cursor: pointer;
  transition: border-color var(--gm-t-fast) var(--gm-ease), background-color var(--gm-t-fast) var(--gm-ease); }
.gm-chip:hover { border-color: var(--gm-line); }
.gm-chip[aria-pressed="true"] { background: var(--gm-night); color: #fff; border-color: var(--gm-night); }

/* ── Article (answer page) ────────────────────────────────────────────── */
.gm-article { display: grid; grid-template-columns: minmax(0, 820px) minmax(0, 1fr); gap: 0 clamp(32px, -4.57px + 9.38vw, 136px); align-items: start; }
.gm-article__head { padding-top: clamp(24px, 15.1px + 2.29vw, 48px); padding-bottom: clamp(32px, 26.06px + 1.52vw, 48px); max-width: 800px; }
.gm-article__head .gm-crumb { margin-bottom: 28px; }
.gm-article__head .gm-l { max-width: 18em; }
.gm-article__sub { margin-top: 16px; font-size: var(--gm-fs-lead); line-height: var(--gm-lh-lead); color: var(--gm-ink-60); max-width: 32em; }
.gm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 24px; font-size: var(--gm-fs-xs); line-height: var(--gm-lh-xs); letter-spacing: 0; color: var(--gm-ink-60); }
.gm-meta .gm-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.gm-short { border: 1px solid var(--gm-line); border-radius: var(--gm-r-md); padding: clamp(20px, 17.03px + .762vw, 28px); }
.gm-short h2 { font-size: var(--gm-fs-t2); line-height: var(--gm-lh-t2); letter-spacing: var(--gm-ls-title); margin-bottom: 12px; }
.gm-short p { font-size: var(--gm-fs-read); line-height: var(--gm-lh-read); color: var(--gm-ink-60); }
.gm-short p b { color: var(--gm-ink); font-weight: var(--gm-w); }
.gm-prose { font-size: var(--gm-fs-read); line-height: var(--gm-lh-read); color: var(--gm-ink-60); }
.gm-prose > * + * { margin-top: 20px; }
.gm-prose h2 { margin-top: clamp(48px, 42.06px + 1.52vw, 64px); font-size: var(--gm-fs-t1); line-height: var(--gm-lh-t1); letter-spacing: var(--gm-ls-title); color: var(--gm-ink); }
.gm-prose h3 { margin-top: 32px; font-size: var(--gm-fs-t3); line-height: var(--gm-lh-t3); color: var(--gm-ink); }
.gm-prose h2 + *, .gm-prose h3 + * { margin-top: 16px; }
.gm-prose ul, .gm-prose ol { padding-left: 1.2em; }
.gm-prose li + li { margin-top: 10px; }
.gm-prose li::marker { color: var(--gm-ink-45); }
.gm-prose b, .gm-prose strong { color: var(--gm-ink); font-weight: var(--gm-w-strong); }
.gm-prose .gm-table-wrap, .gm-prose .gm-stats, .gm-prose .gm-shotbox { margin-top: 28px; }
.gm-prose .gm-stats li + li { margin-top: 0; }
.gm-prose a.gm-more { text-decoration: none; }
.gm-prose .gm-table { font-size: var(--gm-fs-sm); }
.gm-shotbox { background: var(--gm-sand); border-radius: var(--gm-r-xl); padding: clamp(20px, 12.57px + 1.9vw, 40px); }
.gm-shotbox figcaption { margin-top: 14px; font-size: var(--gm-fs-xs); line-height: var(--gm-lh-xs); color: var(--gm-ink-60); }
.gm-toc { position: sticky; top: calc(var(--gm-nav-h) + 40px); padding-top: 4px; }
.gm-toc h2 { font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; margin-bottom: 14px; }
.gm-toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--gm-ink-10); }
.gm-toc ol a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; color: var(--gm-ink-60);
  transition: color var(--gm-t-fast) var(--gm-ease), border-color var(--gm-t-fast) var(--gm-ease); }
.gm-toc ol a:hover { color: var(--gm-ink); }
.gm-toc ol a[aria-current="true"] { color: var(--gm-ink); border-left-color: var(--gm-ink); }
.gm-toc__cta { margin-top: 32px; padding: 20px; background: var(--gm-sand); border-radius: var(--gm-r-lg); }
.gm-toc__cta p { font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; color: var(--gm-ink-60); margin: 6px 0 16px; }
.gm-steps { list-style: none; padding: 0 !important; counter-reset: st; display: grid; gap: 0; }
.gm-steps li { counter-increment: st; position: relative; padding: 16px 0 16px 48px; border-top: 1px solid var(--gm-ink-10); margin: 0 !important; }
.gm-steps li::before { content: counter(st); position: absolute; left: 0; top: 16px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--gm-line); border-radius: var(--gm-r-xs);
  font-size: 13px; color: var(--gm-ink); font-variant-numeric: tabular-nums; }
.gm-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gm-related a { display: block; padding: 24px; border: 1px solid var(--gm-line); border-radius: var(--gm-r-md); transition: border-color var(--gm-t-fast) var(--gm-ease), background-color var(--gm-t-fast) var(--gm-ease); }
.gm-related a:hover { border-color: #b9b4b0; background: var(--gm-chalk); }
.gm-related h3 { font-size: var(--gm-fs-body); line-height: 24px; }
.gm-related p { margin-top: 6px; color: var(--gm-ink-60); font-size: var(--gm-fs-body); line-height: 24px; }
.gm-related .gm-more { margin-top: 18px; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.gm-footer { position: relative; background: var(--gm-night); color: #fff; margin-top: calc(-1 * var(--gm-r-page)); padding-top: calc(var(--gm-r-page) + clamp(64px, 46.17px + 4.57vw, 112px)); padding-bottom: 64px;
  font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); letter-spacing: 0; }
.gm-footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 24px; }
.gm-footer__cols h2 { font-size: var(--gm-fs-sm); line-height: var(--gm-lh-sm); margin-bottom: 4px; }
.gm-footer__cols ul { list-style: none; display: grid; gap: 4px; }
.gm-footer__cols a { color: var(--gm-on-night-60); transition: color var(--gm-t-fast) var(--gm-ease); }
.gm-footer__cols a:hover { color: #fff; }
.gm-footer__cols ul.is-strong a { color: #fff; }
.gm-footer__rule { height: 1px; background: var(--gm-on-night-20); margin: clamp(48px, 40.57px + 1.9vw, 64px) 0 40px; border: 0; }
.gm-footer__legal { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 32px 24px; font-size: var(--gm-fs-xs); line-height: var(--gm-lh-xs); color: var(--gm-on-night-60); }
.gm-footer__legal p + p { margin-top: 10px; }
.gm-footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
.gm-footer__legal a:hover { color: #fff; }
.gm-footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 14px; }
.gm-footer__logo img { height: 28px; width: auto; margin-bottom: 18px; }
.gm-stores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.gm-store { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--gm-on-night-20); border-radius: var(--gm-r-sm); color: #fff; text-decoration: none !important; font-size: 12px; }
.gm-store:hover { background: var(--gm-on-night-10); }
.gm-store .gm-icon { width: 16px; height: 16px; }
.gm-footer__signup { margin-top: 56px; }
.gm-footer__signup p { margin-bottom: 16px; color: var(--gm-on-night-60); }
.gm-footer__signup p b { color: #fff; font-weight: var(--gm-w); }

/* ── Styleguide-only helpers ─────────────────────────────────────────── */
.gm-swatch { border-radius: var(--gm-r-lg); border: 1px solid var(--gm-ink-10); overflow: hidden; background: #fff; }
.gm-swatch__chip { height: 96px; }
.gm-swatch__meta { padding: 12px 14px; font-size: var(--gm-fs-xs); line-height: var(--gm-lh-xs); letter-spacing: 0; }
.gm-swatch__meta span { display: block; color: var(--gm-ink-60); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .gm-menu__link { padding: 0 8px; }
  .gm-logo { margin-right: 20px; }
  .gm-mega { grid-template-columns: 1fr 1fr 1fr; }
  .gm-mega__feat { display: none; }
  .gm-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .gm-menu, .gm-nav__end .gm-nav__login, .gm-nav__end .gm-nav__demo { display: none; }
  .gm-burger { display: inline-grid; }
  .gm-nav__end { gap: 8px; }
  .gm-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .gm-hero__copy { padding-block: 8px 0; }
  .gm-hero__after { padding-top: 24px; }
  .gm-hero__stage { min-height: 520px; margin-right: 0; }
  .gm-head--split { grid-template-columns: minmax(0, 1fr); }
  .gm-grid--3, .gm-grid--4, .gm-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm-bento__wide { grid-template-columns: minmax(0, 1fr); }
  .gm-article { grid-template-columns: minmax(0, 1fr); }
  .gm-toc { display: none; }
  .gm-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm-footer__legal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm-footer__legal > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .gm-grid--2, .gm-grid--3, .gm-grid--4, .gm-bento, .gm-stats, .gm-reviews, .gm-related { grid-template-columns: minmax(0, 1fr); }
  .gm-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .gm-bento .gm-card { min-height: 460px; }
  .gm-signup { flex-direction: column; align-items: stretch; padding: 0; border: 0; background: none; gap: 10px; max-width: none; }
  .gm-signup input { flex: none; height: 48px; border: 1px solid var(--gm-line); background: var(--gm-chalk); border-radius: var(--gm-r-sm); padding: 0 16px; text-align: center; }
  .gm-signup .gm-btn { --h: 48px; border-radius: var(--gm-r-sm); }
  .gm-night .gm-signup { background: none; }
  .gm-night .gm-signup input { background: rgba(255,255,255,.06); border-color: var(--gm-on-night-20); }
  .gm-hero__stage { border-radius: var(--gm-r-lg); }
  .gm-hero__copy { text-align: center; align-items: center; }
  .gm-hero__copy .gm-lead { margin-inline: auto; }
  .gm-hero__copy .gm-note, .gm-hero__copy .gm-crumb { justify-content: center; }
  .gm-hero__copy .gm-signup { width: 100%; }
  .gm-nav__end .gm-nav__trial { display: none; }
  .gm-quote--split { grid-template-columns: minmax(0, 1fr); }
  .gm-quote__media { min-height: 340px; }
  .gm-faq__a { padding-right: 0; }
  .gm-faq summary { min-height: 64px; }
  .gm-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm-footer__legal { grid-template-columns: minmax(0, 1fr); }
  .gm-banner { flex-direction: column; align-items: flex-start; }
  .gm-meta { flex-direction: column; align-items: flex-start; }
  .gm-meta .gm-dot { display: none; }
  .gm-table--compare { min-width: 600px; }
  .gm-stats--bare .gm-stat { border-left: 0; border-top: 1px solid var(--gm-ink-10); padding: 20px 0 0; }
  .gm-stat { min-height: 0; padding: 28px 22px 26px; }
  .gm-stats--bare .gm-stat { padding: 20px 0 0; }
  /* wide product fragments: anchored left and scaled on phones, cut by the right edge like Ramp's */
  .gm-shot--wide { left: 20px !important; top: 24px !important; translate: none !important; scale: .78; transform-origin: 0 0; }
  .gm-bento__wide .gm-card__media { min-height: 260px; }
  .gm-matrix { min-width: 0 !important; font-size: 13px; }
  .gm-matrix thead th { font-size: 17px; line-height: 22px; }
  .gm-matrix thead th small { font-size: 12px; line-height: 16px; }
  .gm-matrix tbody th { width: 46%; }
  .gm-table--compare { min-width: 0; font-size: 13px; line-height: 19px; }
  .gm-table--compare th, .gm-table--compare td { padding-right: 10px; }
  .gm-table--compare thead th { font-size: 17px; }
  .gm-table--compare .gm-yes, .gm-table--compare .gm-no { display: grid; margin: 0 0 6px; }
}
@media (max-width: 420px) {
  .gm-feats { grid-template-columns: minmax(0, 1fr); }
  .gm-bar { padding-inline: 16px 48px; justify-content: flex-start; text-align: left; }
}

/* no-JS fallback: menus open on hover and keyboard focus */
html:not(.gm-js) .gm-menu > li:hover > .gm-mega, html:not(.gm-js) .gm-menu > li:focus-within > .gm-mega { visibility: visible; opacity: 1; translate: 0 0; }

/* static specimen of the mega menu (style guide) */
.gm-mega--static { position: relative; left: auto; right: auto; top: auto; max-width: none; visibility: visible; opacity: 1; translate: none; border-radius: var(--gm-r-xl);
  border: 1px solid var(--gm-ink-10); box-shadow: var(--gm-shadow-pop); }

/* hero stage that frames a desktop screen (compare hero): sand, screen centred and large */
.gm-hero__stage--frame { background: var(--gm-sand); margin-right: 0; min-height: 0; display: grid; place-items: center; padding: clamp(20px, 8.11px + 3.05vw, 52px); }
.gm-hero__stage--frame .gm-window { width: 100%; }

/* ───────────────────────── Product visuals (gm-viz) · 20 Nov 2026 r8 ─────────────────────────
   Composed iGMS UI (HTML/CSS/inline SVG) floating on a soft stage, Ramp-style. One partial per visual: src/partials/viz-<name>.html.
   The art is drawn on a 40em × 30em board whose em scales with the box (container units), so the box never shifts layout.
   Motion: [data-v] pieces run once when gm.js marks the box .is-in (IntersectionObserver); without gm.js they run on load;
   with prefers-reduced-motion they never move and show the final state. Timing per piece: --d (delay), --a (keyframes), --t. */
.gm-viz { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--gm-r-xl); overflow: hidden; isolation: isolate;
  container-type: inline-size; background: var(--gm-viz-bg, var(--gm-daylight)); }
.gm-viz--dawn { --gm-viz-bg: var(--gm-dawn); }
.gm-viz--sand { --gm-viz-bg: radial-gradient(circle at 1px 1px, rgba(12,10,8,.09) 1px, transparent 1.4px) 0 0 / 14px 14px, var(--gm-sand); }
.gm-viz--wide { aspect-ratio: 16 / 9; }
.gm-viz--flat { border-radius: 0; }
.gm-viz::before { content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 35% at 78% 22%, rgba(255, 193, 7, .16), transparent 70%), radial-gradient(45% 40% at 15% 85%, rgba(255, 255, 255, .7), transparent 70%); }
.gm-viz__art { position: absolute; top: 0; left: 50%; translate: -50% 0; width: 40em; height: 30em; font-size: 2.5cqi; line-height: 1.35;
  color: var(--gm-ink); letter-spacing: -.004em; font-weight: var(--gm-w); text-align: left; }
.gm-viz--wide .gm-viz__art { font-size: calc(100cqi / 53.34); }
.gm-viz__art * { box-sizing: border-box; }
.gm-viz__card { position: absolute; background: #fff; border-radius: .75em; box-shadow: 0 0 0 1px var(--gm-ink-10), 0 1px 2px rgba(12,10,8,.05), 0 1.2em 2.4em -.9em rgba(12,10,8,.22); padding: .9em 1em; }
.gm-viz__card--pop { box-shadow: 0 0 0 1px var(--gm-ink-10), 0 1.6em 3.2em -1em rgba(12,10,8,.3); }
.gm-viz__card--night { background: var(--gm-night); color: #fff; box-shadow: 0 1.6em 3.2em -1em rgba(12,10,8,.4); }
.gm-viz__h { display: flex; align-items: center; gap: .5em; font-size: .82em; color: var(--gm-ink-60); margin: 0 0 .6em; }
.gm-viz__h b { color: var(--gm-ink); font-weight: var(--gm-w); font-size: 1.15em; margin-right: auto; }
.gm-viz__t { font-size: 1em; margin: 0; }
.gm-viz__s { font-size: .8em; color: var(--gm-ink-60); margin: 0; }
.gm-viz__row { display: flex; align-items: center; gap: .6em; }
.gm-viz__row + .gm-viz__row { margin-top: .55em; }
.gm-viz__sep { height: 1px; background: var(--gm-ink-10); margin: .7em 0; }
.gm-viz__mark { flex: none; width: 1.9em; height: 1.9em; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--gm-ink-10); }
.gm-viz__mark img { width: 1.05em; height: 1.05em; object-fit: contain; }
.gm-viz__av { flex: none; width: 2em; height: 2em; border-radius: 50%; display: grid; place-items: center; font-size: .78em; background: #ece7e1; color: var(--gm-ink); }
.gm-viz__chip { display: inline-flex; align-items: center; gap: .3em; padding: .22em .6em; border-radius: 999px; font-size: .74em; line-height: 1.3; background: var(--gm-ink-05); color: var(--gm-ink); white-space: nowrap; }
.gm-viz__chip--ok { background: #e3f3e9; color: #17603a; }
.gm-viz__chip--amber { background: var(--gm-amber-soft); color: var(--gm-amber-text); }
.gm-viz__chip svg { width: 1em; height: 1em; }
.gm-viz__btn { display: inline-flex; align-items: center; gap: .35em; padding: .45em .85em; border-radius: .45em; background: var(--gm-ink); color: #fff; font-size: .8em; white-space: nowrap; }
.gm-viz__btn--accent { background: var(--gm-amber); color: var(--gm-ink); }
.gm-viz__btn--ghost { background: #fff; color: var(--gm-ink); box-shadow: inset 0 0 0 1px var(--gm-line); }
.gm-viz__tick { flex: none; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--gm-yes); display: grid; place-items: center; }
.gm-viz__tick::after { content: ""; width: .55em; height: .3em; border: solid #fff; border-width: 0 0 .13em .13em; rotate: -45deg; translate: 0 -.05em; }
.gm-viz__box { flex: none; width: 1.15em; height: 1.15em; border-radius: .3em; box-shadow: inset 0 0 0 1px var(--gm-line); position: relative; }
.gm-viz__box > .gm-viz__tick { position: absolute; inset: -.05em; width: auto; height: auto; border-radius: .3em; }
.gm-viz__bubble { padding: .6em .8em; border-radius: .9em .9em .9em .25em; background: var(--gm-sand); font-size: .86em; max-width: 92%; }
.gm-viz__bubble--me { margin-left: auto; border-radius: .9em .9em .25em .9em; background: var(--gm-amber-soft); }
.gm-viz__line { display: block; white-space: nowrap; }
.gm-viz__note { position: absolute; left: 1.2em; bottom: .9em; font-size: .68em; color: var(--gm-ink-60); background: rgba(255,255,255,.85); padding: .15em .5em; border-radius: 999px; }
.gm-viz__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* calendar */
.gm-viz__cal { display: grid; grid-template-columns: 7.2em repeat(7, 1fr); font-size: .78em; }
.gm-viz__cal > span { height: 2.6em; display: flex; align-items: center; border-top: 1px solid var(--gm-ink-10); color: var(--gm-ink-60); }
.gm-viz__cal > .is-day { justify-content: center; border-top: 0; height: 2em; }
.gm-viz__cal > .is-prop { color: var(--gm-ink); }
.gm-viz__bk { position: absolute; height: 2em; border-radius: .5em; display: flex; align-items: center; gap: .4em; padding: 0 .5em; white-space: nowrap; overflow: hidden; transform-origin: 0 50%; }
.gm-viz__bk img { width: 1.1em; height: 1.1em; }
.gm-viz__bk--air { background: #ffe8ec; box-shadow: inset .2em 0 0 #ff385c; }
.gm-viz__bk--vrbo { background: #e6eeff; box-shadow: inset .2em 0 0 #245abc; }
.gm-viz__bk--bdc { background: #e3e9f3; box-shadow: inset .2em 0 0 #003b95; }
.gm-viz__bk--dir { background: var(--gm-amber-soft); box-shadow: inset .2em 0 0 var(--gm-amber); }
/* phone */
.gm-viz__phone { position: absolute; background: #0c0a08; border-radius: 2.6em; padding: .45em; box-shadow: 0 2em 3.5em -1.4em rgba(12,10,8,.45); }
.gm-viz__screen { width: 100%; height: 100%; border-radius: 2.2em; background: #fff; overflow: hidden; position: relative; padding: 2.4em .9em 1em; }
.gm-viz__screen::before { content: ""; position: absolute; top: .55em; left: 50%; translate: -50% 0; width: 4.6em; height: 1.25em; border-radius: 999px; background: #0c0a08; }
/* chart */
.gm-viz__bars { display: flex; align-items: flex-end; gap: .45em; height: 8.5em; padding-top: .4em; }
.gm-viz__bars i { flex: 1; border-radius: .25em .25em 0 0; background: #e9e4de; transform-origin: 50% 100%; }
.gm-viz__bars i.is-hi { background: var(--gm-amber); }
.gm-viz__svg { position: absolute; overflow: visible; }
.gm-viz__svg path { fill: none; stroke: var(--gm-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.gm-viz__svg .is-soft { stroke: var(--gm-ink-45); stroke-dasharray: 3 4; }
.gm-viz__num { font-variant-numeric: tabular-nums; }

/* motion */
@property --gm-viz-n { syntax: "<integer>"; inherits: false; initial-value: 0; }
.gm-viz__count { counter-reset: gmn var(--gm-viz-n); --gm-viz-n: var(--to, 0); }
.gm-viz__count::after { content: counter(gmn); }
@keyframes gm-viz-in { from { opacity: 0; translate: 0 1.1em; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes gm-viz-drop { from { opacity: 0; translate: 0 -1.4em; } to { opacity: 1; translate: 0 0; } }
@keyframes gm-viz-left { from { opacity: 0; translate: -1.6em 0; } to { opacity: 1; translate: 0 0; } }
@keyframes gm-viz-right { from { opacity: 0; translate: 1.6em 0; } to { opacity: 1; translate: 0 0; } }
@keyframes gm-viz-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gm-viz-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes gm-viz-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes gm-viz-pop { 0% { opacity: 0; scale: .5; } 60% { opacity: 1; scale: 1.12; } 100% { opacity: 1; scale: 1; } }
@keyframes gm-viz-grow-x { from { scale: 0 1; opacity: .4; } to { scale: 1 1; opacity: 1; } }
@keyframes gm-viz-grow-y { from { scale: 1 0; } to { scale: 1 1; } }
@keyframes gm-viz-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes gm-viz-count { from { --gm-viz-n: 0; } }
@keyframes gm-viz-press { 0%, 100% { scale: 1; } 45% { scale: .94; } }
@keyframes gm-viz-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.35em; } }
@keyframes gm-viz-ring { 0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, .55); } 100% { box-shadow: 0 0 0 .9em rgba(255, 193, 7, 0); } }
.gm-viz__svg [data-v] { stroke-dasharray: 1; }
.gm-viz [data-v="out"] { opacity: 0; }
.gm-js .gm-viz [data-v] { animation: var(--a, gm-viz-in) var(--t, .7s) var(--e, var(--gm-ease-out)) var(--d, 0s) both; }
.gm-js .gm-viz [data-v="out"] { --a: gm-viz-out; --t: .3s; }
.gm-js .gm-viz [data-v="type"] { --a: gm-viz-type; --e: steps(var(--steps, 24), end); }
.gm-js .gm-viz [data-v="draw"] { --a: gm-viz-draw; --t: 1.4s; --e: cubic-bezier(.45, 0, .2, 1); }
.gm-js .gm-viz [data-v="count"] { --a: gm-viz-count; --t: 1.3s; --e: cubic-bezier(.2, .7, .2, 1); }
.gm-js .gm-viz [data-v="grow-x"] { --a: gm-viz-grow-x; --t: .8s; }
.gm-js .gm-viz [data-v="grow-y"] { --a: gm-viz-grow-y; --t: .9s; }
.gm-js .gm-viz [data-v="pop"] { --a: gm-viz-pop; --t: .5s; }
.gm-js .gm-viz [data-v="press"] { --a: gm-viz-press; --t: .35s; --e: var(--gm-ease); }
.gm-viz-armed .gm-viz:not(.is-in) [data-v] { animation-play-state: paused; }
.gm-js .gm-viz.is-in [data-loop] { animation: gm-viz-float 4.8s ease-in-out calc(var(--d, 0s) + .4s) infinite; }
.gm-js .gm-viz.is-in [data-loop="ring"] { animation: gm-viz-ring 2.4s var(--gm-ease-out) var(--d, 0s) infinite; }
@media (prefers-reduced-motion: reduce) {
  .gm-js .gm-viz [data-v], .gm-js .gm-viz.is-in [data-loop] { animation: none !important; }
  .gm-viz__svg [data-v] { stroke-dasharray: none; }
}
.gm-viz__stack { display: inline-grid; }
.gm-viz__stack > * { grid-area: 1 / 1; justify-self: start; }
/* where the visuals sit */
.gm-viz-wide .gm-viz { --gm-viz-bg: radial-gradient(circle at 1px 1px, rgba(12,10,8,.09) 1px, transparent 1.4px) 0 0 / 16px 16px, var(--gm-sand); }
@media (min-width: 768px) {
  .gm-viz-wide .gm-viz { aspect-ratio: 16 / 7; }
  .gm-viz-wide .gm-viz__art { top: 50%; translate: -50% -50%; font-size: calc(100cqi / 60); }
}
.gm-hero__stage--viz { display: grid; align-items: center; }
.gm-hero__stage--viz .gm-viz { width: 100%; }
.gm-viz-inline { margin: 32px 0 8px; }
.sg-vizgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.sg-viz { min-width: 0; }
.sg-viz .gm-eyebrow { margin-bottom: 8px; }
.gm-hero__stage--viz { background: none; min-height: 0; margin-right: 0; }

/* 20 Nov: a viz placed as a grid/flex item (page hero stages) fills its slot; otherwise it shrinks to 0x0 because its art is absolutely positioned */
.gm-viz{width:100%;justify-self:stretch;align-self:center;min-width:0}

/* ───────────────────────── Product visuals r9 · 20 Nov 2026 ─────────────────────────
   Rustam after r8: «some of the Ramp ones have animations and some cool visual images». Half the set is now still:
   crisp iGMS UI layered with depth over an AI-made photograph (assets/img/viz/) or a rich ground, with a device frame where it helps.
   The other half keeps one-shot motion with richer effects: rolling digits, a cursor that clicks, a booking that folds into a statement.
   Reduced motion and no-JS show the final state; nothing changes the box size. */
.gm-viz--photo { --gm-viz-bg: #2b2520; }
.gm-viz__bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.gm-viz--photo::before { inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,10,8,.05) 30%, rgba(12,10,8,.42)), radial-gradient(60% 50% at 80% 15%, rgba(255,193,7,.18), transparent 70%); }
.gm-viz--dusk { --gm-viz-bg: radial-gradient(55% 60% at 88% 8%, rgba(255,193,7,.5), transparent 70%), radial-gradient(60% 55% at 0% 100%, rgba(255,128,64,.28), transparent 70%), linear-gradient(165deg, #2e2924 0%, #1a1919 52%, #100f0e 100%); }
.gm-viz--dusk::before { background: radial-gradient(35% 30% at 70% 30%, rgba(255,255,255,.07), transparent 70%); }
.gm-viz--ember { --gm-viz-bg: radial-gradient(60% 70% at 100% 0%, #fff1c2, transparent 65%), radial-gradient(70% 70% at 0% 100%, #f59a2c, transparent 70%), linear-gradient(150deg, #ffd65a 0%, #ffbf1f 48%, #f7a42a 100%); }
.gm-viz--ember::before { background: radial-gradient(40% 35% at 30% 25%, rgba(255,255,255,.35), transparent 70%); }
.gm-viz--mist { --gm-viz-bg: radial-gradient(70% 60% at 100% 100%, rgba(255,193,7,.45), transparent 70%), linear-gradient(170deg, #d7e3ee 0%, #ece6dc 55%, #f6dca0 100%); }
.gm-viz--mist::before { background: none; }
.gm-viz__card--lift { box-shadow: 0 0 0 1px rgba(12,10,8,.07), 0 1px 2px rgba(12,10,8,.08), 0 .9em 1.8em -.6em rgba(12,10,8,.28), 0 2.6em 5em -1.6em rgba(12,10,8,.38); }
.gm-viz__card--glass { background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(.9em) saturate(1.4); backdrop-filter: blur(.9em) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 1.4em 3em -1em rgba(12,10,8,.35); }
.gm-viz__card--back { opacity: .92; scale: .96; transform-origin: 0 0; }
/* browser window and laptop frames */
.gm-viz__win { padding: 0; overflow: hidden; }
.gm-viz__bar { display: flex; align-items: center; gap: .3em; height: 1.9em; padding: 0 .7em; background: #f3f1ee; border-bottom: 1px solid var(--gm-ink-10); }
.gm-viz__bar i { width: .5em; height: .5em; border-radius: 50%; background: #d9d4cf; }
.gm-viz__bar span { margin: 0 auto; padding: .1em 1.4em; border-radius: 999px; background: #fff; font-size: .62em; color: var(--gm-ink-60); box-shadow: inset 0 0 0 1px var(--gm-ink-10); }
.gm-viz__laptop { position: absolute; border-radius: 1em 1em 0 0; background: #121110; padding: .55em .55em 0; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 2.4em 4em -1.6em rgba(12,10,8,.5); }
.gm-viz__laptop > .gm-viz__card { position: relative; border-radius: .4em .4em 0 0; box-shadow: none; }
.gm-viz__photo { display: block; width: 100%; object-fit: cover; border-radius: .5em; }
/* rolling digits: each .gm-viz__dg shows the digit in --n and rolls up from 0 */
.gm-viz__roll { display: inline-flex; align-items: flex-end; font-variant-numeric: tabular-nums; }
.gm-viz__dg { display: inline-block; height: 1.15em; line-height: 1.15; overflow: hidden; vertical-align: bottom; }
.gm-viz__dg::before { content: "0\A 1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9"; white-space: pre; display: block; translate: 0 calc(var(--n, 0) * -1.15em); }
@keyframes gm-viz-roll { from { translate: 0 0; } }
.gm-js .gm-viz .gm-viz__dg::before { animation: gm-viz-roll var(--t, 1.5s) cubic-bezier(.2, .75, .15, 1) var(--d, 0s) both; }
.gm-viz-armed .gm-viz:not(.is-in) .gm-viz__dg::before { animation-play-state: paused; }
/* cursor: moves in from (--x0, --y0) and clicks where it rests; --away ends hidden */
.gm-viz__hot { position: relative; }
.gm-viz__cursor { position: absolute; left: 62%; top: 58%; width: 1.5em; height: 1.5em; z-index: 3; pointer-events: none; filter: drop-shadow(0 .15em .25em rgba(12,10,8,.35)); }
.gm-viz__cursor--away { opacity: 0; }
@keyframes gm-viz-cursor { 0% { opacity: 0; translate: var(--x0, 4em) var(--y0, 3em); } 18% { opacity: 1; } 76% { translate: 0 0; scale: 1; } 86% { scale: .78; } 100% { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes gm-viz-cursor-away { 0% { opacity: 0; translate: var(--x0, 4em) var(--y0, 3em); } 15% { opacity: 1; } 62% { translate: 0 0; scale: 1; } 72% { scale: .78; } 84% { opacity: 1; scale: 1; } 100% { opacity: 0; translate: 0 0; } }
.gm-js .gm-viz [data-v="cursor"] { --a: gm-viz-cursor; --t: 1.5s; --e: cubic-bezier(.45, 0, .2, 1); }
.gm-js .gm-viz [data-v="cursor-away"] { --a: gm-viz-cursor-away; --t: 1.6s; --e: cubic-bezier(.45, 0, .2, 1); }
/* a card that folds into another (booking → owner statement) */
.gm-viz [data-v="fold"] { opacity: 0; }
@keyframes gm-viz-fold { 0% { opacity: 0; translate: 0 -1em; scale: .96; } 18% { opacity: 1; translate: 0 0; scale: 1; } 62% { opacity: 1; translate: 0 0; scale: 1; } 100% { opacity: 0; translate: var(--fx, 0) var(--fy, 6em); scale: .55; } }
.gm-js .gm-viz [data-v="fold"] { --a: gm-viz-fold; --t: 2.2s; --e: cubic-bezier(.5, 0, .2, 1); }
@keyframes gm-viz-flash { 0%, 100% { background: transparent; } 35% { background: var(--gm-amber-soft); } }
.gm-js .gm-viz [data-v="flash"] { --a: gm-viz-flash; --t: 1.2s; --e: ease-out; }
/* progress and a soft sheen while the AI drafts */
.gm-viz__prog { height: .35em; border-radius: 999px; background: var(--gm-ink-10); overflow: hidden; }
.gm-viz__prog > i { display: block; height: 100%; background: var(--gm-yes); transform-origin: 0 50%; border-radius: inherit; }
@keyframes gm-viz-sheen { from { background-position: 300% 0; } to { background-position: -200% 0; } }
.gm-viz__draft { background: linear-gradient(100deg, transparent 30%, rgba(255,193,7,.24) 50%, transparent 70%) no-repeat 300% 0 / 60% 100%, #fff; }
.gm-js .gm-viz [data-v="sheen"] { --a: gm-viz-sheen; --t: 1.6s; --e: ease-in-out; }
.gm-viz__on-dark { color: #fff; }
.gm-viz__on-dark .gm-viz__s { color: rgba(255,255,255,.72); }
.gm-viz--photo .gm-viz__note, .gm-viz--dusk .gm-viz__note { background: rgba(255,255,255,.9); }
@media (prefers-reduced-motion: reduce) {
  .gm-js .gm-viz .gm-viz__dg::before { animation: none !important; }
}
/* r9: a still on a photograph or a rich ground fills its hero stage edge to edge, as Ramp's hero panels do (the sand mat was for screenshots) */
.gm-hero__stage--frame:has(> .gm-viz--photo, > .gm-viz--dusk, > .gm-viz--ember) { padding: 0; background: none; }
