/* godmode — site-wide styles.
   Ivory and gold: warm marble backgrounds, white cards with soft warm shadows, a bronze-to-gold accent, green for
   anything running. Inter Tight for headlines, Inter for reading, JetBrains Mono only for machine data.
   Shared pieces are prefixed g- so page styles can use plain names without colliding. */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500..800&family=Inter:wght@400..700&family=JetBrains+Mono:wght@400;500&display=swap');

:root, .g-paper {
  color-scheme: light;
  --bg: #F7F3EC; --surface: #FFFFFF; --surface-2: #F4EFE6; --field: #FFFFFF;
  --fg: #16130E; --fg-2: #3E382F; --muted: #7A7366; --faint: #A69E90;
  --border: rgb(122 98 60 / .14); --border-2: rgb(122 98 60 / .26);
  --accent: #A97F45; --accent-fg: #FFFFFF; --accent-soft: rgb(169 127 69 / .1);
  --gold-1: #7C5A2C; --gold-2: #C9A468; --gold-3: #A47A41;
  --gold-grad: linear-gradient(100deg, #7C5A2C 0%, #B88E52 38%, #D7B87F 62%, #A47A41 100%);
  --lime: #F1E6CF; --lime-fg: #5B4321;
  --ok: #2E9D5E; --warn: #B7791F; --bad: #C2463F;
  --c-blue: #4F72A8; --c-green: #3C8F6C; --c-pink: #B65C7B; --c-amber: #C9963F; --c-violet: #7D6BB0; --c-teal: #3B9798;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif; --font: 'Inter', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(70 52 24 / .05), 0 14px 34px -14px rgb(70 52 24 / .16);
  --shadow-lg: 0 2px 4px rgb(70 52 24 / .04), 0 30px 60px -24px rgb(70 52 24 / .24);
  --ease: cubic-bezier(.2, .9, .25, 1);
}
/* wide screens: everything scales up a little, so a 1920px window looks like ~1745px at 110%. Only when the window is tall
   enough too, so short windows don't get cramped. Viewport units go through --vw/--vh/--svh, which take the zoom back out. */
:root { --z: 1; --vw: calc(1vw / var(--z)); --vh: calc(1vh / var(--z)); --svh: calc(1svh / var(--z)); --dvh: calc(1dvh / var(--z)); zoom: var(--z); }
@media (min-width: 1800px) and (min-height: 714px) { :root { --z: 1.05; } }
@media (min-width: 1880px) and (min-height: 750px) { :root { --z: 1.1; } }
@media (min-width: 2150px) and (min-height: 850px) { :root { --z: 1.25; } }
@media (min-width: 2450px) and (min-height: 952px) { :root { --z: 1.4; } }
:root.fixed-scale { --z: 1; }
/* warm ink, for terminal-like panels */
.g-ink {
  color-scheme: dark;
  --bg: #1B1813; --surface: #24201A; --surface-2: #2E2920; --field: #201C16;
  --fg: #F6F1E7; --fg-2: #D8D0C1; --muted: #9C9384; --faint: #6F675A;
  --border: rgb(246 241 231 / .1); --border-2: rgb(246 241 231 / .18);
  --accent: #D7B87F; --accent-fg: #1B1813; --accent-soft: rgb(215 184 127 / .14);
  --lime: #D7B87F; --lime-fg: #1B1813;
  --ok: #5BCB8A; --warn: #E3B35A; --bad: #EF7B72;
  background: var(--bg); color: var(--fg);
}
.g-paper { background: var(--bg); color: var(--fg); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img, svg, video { display: block; max-width: 100%; }
::selection { background: #EAD7B0; color: #16130E; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
* { scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } html { scroll-behavior: auto; } }

/* layout */
.g-wrap { max-width: 1640px; margin: 0 auto; padding-inline: clamp(16px, calc(3 * var(--vw)), 48px); }
.g-band { padding-block: clamp(56px, calc(6 * var(--vw)), 88px); }

/* header */
.g-header { position: sticky; top: 0; z-index: 60; background: rgb(247 243 236 / .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color .3s; }
/* clear over the backdrop at the top of the page; site.js adds .is-scrolled once the page moves */
.g-header:not(.is-scrolled), header.top:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
.g-header.is-scrolled { border-bottom-color: var(--border); }
/* the nav is centred on the page with the gold head in its middle (the home button); Get started, where a page has it, on the right.
   The two link groups get equal columns, so the head sits exactly in the centre whatever the links say */
.g-header .g-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 48px; height: 76px; }
.g-header .g-nav { grid-column: 2; }
.g-header .g-social { grid-column: 3; justify-self: end; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #3B2810; background: rgb(255 253 248 / .72); box-shadow: inset 0 0 0 1px var(--border-2); transition: box-shadow .2s, color .2s, transform .2s; }
.g-header .g-social:hover, .g-header .g-social:focus-visible { color: #8C6634; box-shadow: inset 0 0 0 1.5px #B08A53; transform: translateY(-1px); outline: 0; }
.g-header .g-social svg { width: 17px; height: 17px; }
@media (max-width: 560px) { .g-header .g-social { width: 34px; height: 34px; margin-left: 10px; } .g-header .g-social svg { width: 15px; height: 15px; } }
.g-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #16130E; font: 650 23px var(--display); letter-spacing: -.035em; }
.g-logo img, .g-logo svg { width: 38px; height: 38px; flex: none; }
.g-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 34px; }
.g-nav-side { display: flex; align-items: center; gap: 34px; }
.g-nav-side:first-child { justify-self: end; } .g-nav-side:last-child { justify-self: start; }
.g-home { display: block; flex: none; width: 60px; height: 60px; border-radius: 50%; filter: drop-shadow(0 6px 12px rgb(91 67 33 / .32)); transition: transform .6s var(--ease), filter .4s; }
.g-home img { display: block; width: 100%; height: 100%; }
.g-home:hover { transform: rotate(-8deg) scale(1.07); filter: drop-shadow(0 10px 18px rgb(91 67 33 / .42)) brightness(1.06); }
.g-home:focus-visible { outline: 2px solid #8C6634; outline-offset: 4px; }
header.top .g-home { width: 44px; height: 44px; }
.g-nav a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 15px; font-weight: 500; color: #3E382F; white-space: nowrap; transition: color .2s; }
.g-nav a:hover, .g-nav a[aria-current="page"] { color: #16130E; }
/* the one call to action in the nav: gold, always underlined */
.g-nav a.g-nav-create { font-weight: 650; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  text-decoration: underline; text-decoration-color: #C9A468; text-decoration-thickness: 2px; text-underline-offset: 8px; transition: filter .2s; }
.g-nav a.g-nav-create:hover { filter: brightness(.85) saturate(1.2); }
.g-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: #C9A468; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.g-header .g-end { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 28px; }
.g-header .g-text { font-size: 15px; font-weight: 500; color: #16130E; text-decoration: none; } .g-header .g-text:hover { color: var(--accent); }
/* phones: just the head, still centred, with Create agent beside it */
@media (max-width: 960px) { .g-nav-side:first-child, .g-nav-side:last-child a:not(.g-nav-create), .g-header .g-text { display: none; } .g-nav .g-home { grid-column: 2; } .g-nav-side:last-child { grid-column: 3; } .g-nav { gap: 18px; } .g-home { width: 52px; height: 52px; } .g-nav a.g-nav-create { font-size: 14px; } }

/* buttons are struck like the coins around the statue: a raised rim, engraved lettering, and a shine that passes
   over on hover. The main one is gold; the plain one is the same coin in ivory with a gold rim.
   (.btn on the launch and live pages shares the look; those pages only set its size.) */
.g-btn, .btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border: 0; border-radius: 999px;
  background: radial-gradient(120% 150% at 30% 0%, #FFFFFF 0%, #FBF6EC 45%, #EDE1CB 100%);
  box-shadow: inset 0 0 0 1.5px #B08A53, inset 0 0 0 3px rgb(255 250 238 / .95), inset 0 0 0 4px rgb(176 138 83 / .4), inset 0 -3px 6px rgb(122 90 44 / .16), 0 6px 16px -8px rgb(91 67 33 / .45);
  color: #4A3418; font: 650 15px var(--font); letter-spacing: .01em; text-decoration: none; white-space: nowrap; cursor: pointer; text-shadow: 0 1px 0 rgb(255 255 255 / .85);
  transition: transform .35s var(--ease), box-shadow .35s, filter .35s; }
.g-btn::after, .btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 28%, rgb(255 255 255 / .8) 47%, transparent 62%); transform: translateX(-130%); transition: transform .9s var(--ease); pointer-events: none; }
.g-btn:hover, .btn:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px #A27634, inset 0 0 0 3px rgb(255 250 238 / .95), inset 0 0 0 4px rgb(176 138 83 / .5), inset 0 -3px 6px rgb(122 90 44 / .16), 0 12px 24px -10px rgb(91 67 33 / .5); }
.g-btn:hover::after, .btn:hover::after { transform: translateX(130%); }
.g-btn:active, .btn:active { transform: translateY(0); filter: brightness(.97); }
.g-btn:focus-visible, .btn:focus-visible { outline: 2px solid #8C6634; outline-offset: 3px; }
.g-btn--primary, .g-btn--gold, .btn.solid, .btn.gold {
  background: radial-gradient(120% 170% at 30% 0%, #FFF1CC 0%, #E8C988 28%, #C9A05A 58%, #A27634 100%);
  box-shadow: inset 0 0 0 1.5px #6E4F26, inset 0 0 0 3px rgb(255 236 190 / .75), inset 0 0 0 4.5px rgb(110 79 38 / .45), inset 0 -4px 8px rgb(70 48 18 / .3), inset 0 3px 5px rgb(255 248 225 / .5), 0 8px 20px -8px rgb(91 67 33 / .6);
  color: #3B2810; text-shadow: 0 1px 0 rgb(255 240 205 / .75), 0 -1px 0 rgb(70 48 18 / .25); }
.g-btn--primary:hover, .g-btn--gold:hover, .btn.solid:hover, .btn.gold:hover {
  box-shadow: inset 0 0 0 1.5px #5B4321, inset 0 0 0 3px rgb(255 236 190 / .8), inset 0 0 0 4.5px rgb(110 79 38 / .5), inset 0 -4px 8px rgb(70 48 18 / .3), inset 0 3px 5px rgb(255 248 225 / .55), 0 14px 28px -10px rgb(91 67 33 / .65); filter: saturate(1.08); }
.g-btn--lg { height: 58px; padding: 0 32px; font-size: 17px; }
.g-btn .g-arrow, .btn .g-arrow { transition: transform .25s var(--ease); } .g-btn:hover .g-arrow, .btn:hover .g-arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .g-btn::after, .btn::after { display: none; } }
.g-play { display: grid; place-items: center; width: 34px; height: 34px; margin-left: -10px; border-radius: 50%; border: 1px solid var(--border-2); }
.g-play::after { content: ''; margin-left: 3px; border-left: 10px solid var(--fg); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* type */
.g-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px var(--font); letter-spacing: .24em; text-transform: uppercase; color: #B08A53; }
.g-eyebrow b { font-weight: 600; color: #7C5A2C; }
.g-h1 { margin: 0; font: 700 clamp(56px, calc(7.4 * var(--vw)), 112px)/.95 var(--display); letter-spacing: -.055em; text-wrap: balance; }
.g-h2 { margin: 0; font: 700 clamp(38px, calc(4.4 * var(--vw)), 64px)/1 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.g-h3 { margin: 0; font: 650 19px/1.25 var(--display); letter-spacing: -.02em; }
.g-lede { margin: 0; font-size: clamp(17px, calc(1.35 * var(--vw)), 20px); line-height: 1.55; color: var(--fg-2); max-width: 56ch; text-wrap: pretty; }
.g-lede strong { color: var(--fg); font-weight: 600; }
.g-gold, .g-h1 mark, .g-h2 mark { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .18em; margin-bottom: -.18em; }
.g-ink .g-gold, .g-ink .g-h2 mark { background: linear-gradient(100deg, #C9A468, #EAD3A2 50%, #C9A468); -webkit-background-clip: text; background-clip: text; padding-bottom: .18em; margin-bottom: -.18em; }
.g-muted { color: var(--muted); }
.g-mono { font-family: var(--mono); }

/* surfaces */
.g-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }

/* status */
.g-live { display: inline-flex; align-items: center; gap: 8px; font: 500 13px var(--font); color: var(--ok); white-space: nowrap; }
.g-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.g-pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--ok); opacity: 0; animation: g-ping 1.8s var(--ease) infinite; }
@keyframes g-ping { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.g-chip { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 11px 0 9px; border-radius: 999px; background: var(--surface-2); font: 500 12.5px var(--font); color: var(--fg-2); white-space: nowrap; }
.g-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)); }
.g-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFFFFF, #F1E6CF 70%); box-shadow: inset 0 0 0 1px rgb(169 127 69 / .18); color: #A47A41; flex: none; }
.g-icon svg { width: 24px; height: 24px; }

/* inner pages: the temple is a short, faded strip behind a compact page header, not a full hero */
/* (two classes so it wins over the full .g-page backdrop defined further down) */
.g-page.g-page--inner {
  background:
    linear-gradient(180deg, rgb(247 243 236 / .58) 0, rgb(247 243 236 / .76) 220px, #F7F3EC 420px) center top / 100% 420px no-repeat,
    /* solid ivory below the fade, so the rest of the (taller) temple image never shows as a band at the page bottom */
    linear-gradient(#F7F3EC, #F7F3EC) center 420px / 100% 100% no-repeat,
    url('/assets/temple-bg.webp') center top / 100% auto no-repeat,
    #F7F3EC;
}
.g-pagehead { padding-top: clamp(40px, calc(5 * var(--vw)), 64px); padding-bottom: clamp(28px, calc(3 * var(--vw)), 40px); }   /* top/bottom only: keep .g-wrap's side padding */
.g-pagehead .g-h1 { margin-top: 16px; font-size: clamp(40px, calc(4.6 * var(--vw)), 68px); max-width: 20ch; }
.g-pagehead .g-lede { margin-top: 16px; }

/* ---------- page heroes: copy on the left, a statue in a gold halo with floating cards on the right ---------- */
/* the temple backdrop: full width at the top of every page, washed light and fading into the ivory below */
.g-page {
  --temple-h: max(calc(56.3 * var(--vw)), calc(100 * var(--vh)));
  background:
    linear-gradient(180deg, rgb(247 243 236 / .22) 0, rgb(247 243 236 / .38) 40%, rgb(247 243 236 / .82) 78%, #F7F3EC 100%) center top / 100% var(--temple-h) no-repeat,
    url('/assets/temple-bg.webp') center top / auto var(--temple-h) no-repeat,
    #F7F3EC;
}
.g-hero { position: relative; display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 0 32px; min-height: 500px; padding-top: 24px; }
.g-hero--panel { grid-template-columns: minmax(0, 540px) minmax(0, 1fr) 300px; }
.g-hero-copy { position: relative; z-index: 3; padding-top: 8px; }
/* a soft ivory glow behind hero copy so it reads cleanly over the temple backdrop */
.g-hero-copy::before, .g-glow::before { content: ''; position: absolute; inset: -80px -120px -60px -160px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgb(247 243 236 / .88) 35%, rgb(247 243 236 / 0)); }
.g-hero-copy .g-h1 { margin-top: 20px; font-size: clamp(52px, calc(5.6 * var(--vw)), 88px); }
.g-hero-copy .g-lede { margin-top: 24px; font-size: 17.5px; }
.g-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.g-stage { position: relative; z-index: 1; min-height: 480px; }
.g-statue { position: absolute; left: 50%; top: -60px; width: clamp(520px, calc(36 * var(--vw)), 660px); max-width: none; transform: translateX(-50%); pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(180deg, #000 66%, transparent 94%); mask-image: linear-gradient(180deg, #000 66%, transparent 94%); }
.g-statue--flip { transform: translateX(-50%) scaleX(-1); }
.g-halo { position: absolute; left: 50%; top: -130px; width: 460px; height: 460px; max-width: none; transform: translateX(-50%); pointer-events: none; }
.g-float { position: absolute; z-index: 2; padding: 14px 16px; border-radius: 14px; background: rgb(255 255 255 / .93); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); animation: g-bob 7s ease-in-out infinite; }
.g-float:nth-of-type(2) { animation-delay: -2.4s; } .g-float:nth-of-type(3) { animation-delay: -4.6s; }
@keyframes g-bob { 50% { transform: translateY(-8px); } }
.g-frow { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.g-frow b { display: block; font: 600 14px/1.25 var(--display); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-frow small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-fsub { margin: 10px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.g-tile { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); color: #A47A41; flex: none; }
.g-tile svg { width: 18px; height: 18px; }
.g-tag { display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px var(--font); color: var(--ok); white-space: nowrap; }
.g-tag i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.g-tag--gold { color: var(--accent); } .g-tag--muted { color: var(--faint); }
@media (max-width: 1100px) { .g-hero, .g-hero--panel { grid-template-columns: 1fr; } .g-stage { min-height: 440px; margin-top: 32px; } .g-statue { top: -10px; } .g-halo { top: -30px; } }
@media (max-width: 640px) { .g-float { max-width: 70%; } }

/* side panel, like the homepage's "Live agents" */
.g-panel { position: relative; z-index: 3; align-self: start; padding: 20px 18px 16px; }
.g-panel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.g-panel-h .g-eyebrow { font-size: 11.5px; letter-spacing: .2em; }
.g-li { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 2px; border-bottom: 1px solid var(--border); text-decoration: none; }
.g-li:last-child { border-bottom: 0; }
.g-li .g-tile { width: 38px; height: 38px; }
.g-li b { display: block; font: 600 14px/1.25 var(--display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.g-li small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.g-li > span:last-child { align-self: start; padding-top: 3px; font-size: 12px; color: var(--faint); white-space: nowrap; }
a.g-li:hover b { color: var(--accent); }

/* feature cards with a gold icon */
.g-features { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.g-feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 22px; background: rgb(255 255 255 / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.g-feature h3 { margin: 2px 0 6px; font: 600 17px/1.25 var(--display); letter-spacing: -.015em; }
.g-feature p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.g-feature .g-num { display: block; margin: 0 0 2px; font: 700 34px/1 var(--display); letter-spacing: -.04em; }
@media (max-width: 1100px) { .g-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g-features { grid-template-columns: 1fr; } }

/* section heads */
.g-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; margin-bottom: clamp(24px, calc(3 * var(--vw)), 40px); }
.g-head .g-h2 { margin-top: 16px; }
.g-head p { margin: 0 0 6px auto; max-width: 40ch; font-size: 16px; line-height: 1.55; color: var(--muted); }
.g-head .g-side { margin-left: auto; font-size: 15px; font-weight: 500; color: var(--fg-2); text-decoration: none; } a.g-side:hover { color: var(--accent); }

/* gold numbered steps with dotted connectors */
.g-steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 14px; counter-reset: gs; }
.g-step { position: relative; counter-increment: gs; text-decoration: none; }
.g-num-dot, .g-step::before { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #E6CC98, #B08A53 70%); box-shadow: 0 0 0 5px #F1E6CF, 0 6px 14px -4px rgb(122 90 44 / .5); font: 700 15px var(--display); color: #3A2A12; }
.g-step::before { content: counter(gs); position: relative; z-index: 1; }
.g-step::after { content: ''; position: absolute; left: 52px; right: 6px; top: 18px; border-top: 1.5px dotted #C9A468; }
.g-step:last-child::after { display: none; }
.g-step h3 { margin: 18px 0 4px; font: 650 17px/1.2 var(--display); letter-spacing: -.02em; }
.g-step p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* an app window, like the homepage dashboard */
.g-window { padding: 0; }
.g-window-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); font: 600 14px var(--display); }
.g-window-bar img { width: 22px; height: 22px; }
.g-window-bar .g-end { margin-left: auto; font: 500 12px var(--font); color: var(--muted); }

/* the closing call */
.g-final { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding: clamp(32px, calc(5 * var(--vw)), 60px); background: radial-gradient(60% 120% at 100% 0%, #F3E4C4 0%, rgb(255 255 255 / 0) 60%), #fff; }
.g-final .g-h2 { font-size: clamp(44px, calc(6 * var(--vw)), 88px); }
.g-final p { margin: 18px 0 0; max-width: 42ch; font-size: 18px; line-height: 1.55; color: var(--fg-2); }
@media (max-width: 760px) { .g-final { grid-template-columns: 1fr; } }

/* footer */
.g-footer { position: relative; margin-top: clamp(56px, calc(6 * var(--vw)), 88px); border-top: 1px solid var(--border); background: linear-gradient(180deg, var(--bg), #F1EBDF); }
.g-footer .g-wrap { padding-top: 72px; padding-bottom: 36px; }
.g-footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; }
.g-footer .g-logo { font-size: 26px; }
.g-footer-line { margin: 18px 0 0; max-width: 34ch; font-size: 16px; line-height: 1.6; color: var(--muted); }
.g-footer-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.g-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.g-footer-cols h2 { margin: 0 0 14px; font: 600 12px var(--font); letter-spacing: .2em; text-transform: uppercase; color: #B08A53; }
.g-footer-cols a { display: block; padding: 5px 0; text-decoration: none; font-size: 15px; color: var(--fg-2); transition: color .2s; }
.g-footer-cols a:hover { color: var(--accent); }
.g-footer-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) { .g-footer-top { grid-template-columns: 1fr; } }
/* the closing call on inner pages: centred, on a soft gold glow */
.g-closing { position: relative; padding-block: clamp(56px, calc(7 * var(--vw)), 104px) clamp(16px, calc(2 * var(--vw)), 32px); text-align: center; }
.g-closing::before { content: ''; position: absolute; left: 50%; top: 0; z-index: -1; width: min(900px, 90%); height: 100%; transform: translateX(-50%); background: radial-gradient(closest-side, rgb(243 228 196 / .75), rgb(243 228 196 / 0)); pointer-events: none; }
.g-closing .g-struck { margin-inline: auto; font-size: clamp(46px, calc(5.4 * var(--vw)), 92px); }
.g-closing p { margin: 16px auto 0; max-width: 44ch; font-size: 18px; line-height: 1.55; color: var(--fg-2); }
.g-closing .g-cta { justify-content: center; }
/* ---------- the inner pages: a god in every page head (assets/olympus.js brings them to life) ---------- */
.olymp { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding-top: clamp(8px, calc(2 * var(--vw)), 32px); overflow-x: clip; }
.olymp-copy { position: relative; z-index: 3; padding-block: 24px 56px; }
.olymp-copy::before { content: ''; position: absolute; inset: -60px -100px -40px -140px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgb(247 243 236 / .85) 40%, rgb(247 243 236 / 0)); }
.olymp-kicker { display: block; font: 650 clamp(13px, calc(.95 * var(--vw)), 16px)/1.2 var(--display); letter-spacing: .3em; text-transform: uppercase; color: #5B4321; text-shadow: 0 1px 0 rgb(255 255 255 / .75); }
/* titles are struck in gold, like the homepage's name; .ink keeps part of one in plain ink */
.olymp-title, .g-struck { margin: 14px 0 0; padding: 0 .06em .12em 0; font: 800 clamp(54px, calc(6 * var(--vw)), 108px)/.94 var(--display); letter-spacing: -.055em; text-wrap: balance;
  background: linear-gradient(176deg, #F3DDA8 0%, #D7B26C 30%, #A27634 58%, #7C5A2C 72%, #C9A05A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgb(255 248 230 / .9)) drop-shadow(0 -1px 0 rgb(70 48 18 / .22)) drop-shadow(0 10px 18px rgb(91 67 33 / .14)); padding-bottom: .18em; margin-bottom: -.18em; }
.olymp-title .ink, .g-struck .ink { color: #16130E; -webkit-text-fill-color: #16130E; }
.g-orn { display: flex; align-items: center; gap: 12px; width: 240px; margin-top: 22px; }
.g-orn b { width: 8px; height: 8px; flex: none; transform: rotate(45deg); background: radial-gradient(circle at 30% 30%, #FFF1CC, #C9A05A 60%, #8C6634); box-shadow: 0 0 0 1px #8C6634; }
.g-orn i { flex: 1; height: 1px; background: linear-gradient(90deg, #B08A53, rgb(176 138 83 / 0)); }
.olymp-lede { max-width: 34em; margin: 20px 0 0; font-size: 17px; line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }
.olymp-lede strong { color: var(--fg); font-weight: 600; }
.olymp .g-cta { margin-top: 30px; }
/* a row of live numbers under the lede */
.olymp-meta { display: flex; flex-wrap: wrap; gap: 14px 0; margin-top: 30px; }
.olymp-meta > div { padding: 0 26px; border-left: 1px solid var(--border-2); } .olymp-meta > div:first-child { padding-left: 0; border-left: 0; }
.olymp-meta b { display: block; font: 750 clamp(26px, calc(2.1 * var(--vw)), 34px)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: #3B2810; }
.olymp-meta small { display: block; margin-top: 6px; font: 600 10.5px var(--font); letter-spacing: .16em; text-transform: uppercase; color: #8C6634; }
/* the god's box: the image shows until the scene is ready (or if WebGL is off); the canvas is bigger so the motif has room */
.olymp-stage { --sh: clamp(460px, calc(76 * var(--vh)), 740px); position: relative; z-index: 1; justify-self: center; width: min(100%, calc(var(--sh) * .8)); aspect-ratio: 900 / 1125; margin-bottom: -48px; }
.olymp-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; user-select: none; transition: opacity 1.2s var(--ease);
  -webkit-mask-image: radial-gradient(50% 56% at 50% 50%, #000 68%, transparent 97%); mask-image: radial-gradient(50% 56% at 50% 50%, #000 68%, transparent 97%); }
.olymp-stage.gl .olymp-img { opacity: 0; }
.olymp-gl { position: absolute; left: -45%; top: -14%; width: 190%; height: 122%; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.olymp-stage.gl .olymp-gl { opacity: 1; }
.olymp-tip { position: absolute; left: 0; top: 0; z-index: 5; padding: 6px 11px; border-radius: 8px; background: #16130E; color: #F6F1E7; font: 500 12.5px var(--font); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; }
.olymp-tip.on { opacity: 1; } .olymp-tip small { margin-left: 6px; color: #C9A468; }
/* a smaller god for pages that are mostly reading (privacy, terms) */
.olymp--compact .olymp-stage { --sh: clamp(380px, calc(56 * var(--vh)), 540px); margin-bottom: -80px; }
.olymp--compact .olymp-title { font-size: clamp(46px, calc(4.8 * var(--vw)), 84px); }
@media (max-width: 900px) {
  .olymp { grid-template-columns: 1fr; gap: 0; }
  .olymp-copy { padding-bottom: 8px; }
  .olymp-stage { --sh: min(560px, calc(115 * var(--vw))); width: min(100%, calc(var(--sh) * .8)); }
}

/* coins: agents (and anything else) struck as a gold coin with an initial; size with --s */
.g-coin { --s: 44px; position: relative; display: grid; place-items: center; flex: none; width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #FFF1CC 0, #E2C285 30%, #B88E52 62%, #8C6634 100%);
  box-shadow: inset 0 0 0 1.5px #6E4F26, inset 0 0 0 3.5px rgb(255 236 190 / .6), inset 0 0 0 5px rgb(110 79 38 / .3), inset 0 -4px 8px rgb(70 48 18 / .28), 0 8px 18px -8px rgb(70 48 18 / .5);
  color: #4A3418; font: 750 calc(var(--s) * .4)/1 var(--display); text-shadow: 0 1px 0 rgb(255 240 205 / .8), 0 -1px 0 rgb(70 48 18 / .3); text-decoration: none; }
.g-coin.asleep { filter: grayscale(.7) brightness(1.06); opacity: .75; }
.g-coin.awake::after { content: ''; position: absolute; right: 0; bottom: 0; width: calc(var(--s) * .24); height: calc(var(--s) * .24); border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px #F7F3EC; }

/* a toggle struck like the buttons: an ivory track, the chosen one in gold */
.g-seg { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: radial-gradient(120% 150% at 30% 0%, #FFFFFF 0%, #FBF6EC 45%, #EDE1CB 100%);
  box-shadow: inset 0 0 0 1.5px #B08A53, inset 0 0 0 3px rgb(255 250 238 / .95), inset 0 -2px 5px rgb(122 90 44 / .14); }
.g-seg button { height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: #6E5530; font: 600 14px var(--font); cursor: pointer; transition: color .2s, box-shadow .3s; }
.g-seg button:hover { color: #3B2810; }
.g-seg button[aria-pressed="true"] { background: radial-gradient(120% 170% at 30% 0%, #FFF1CC 0%, #E8C988 28%, #C9A05A 58%, #A27634 100%); color: #3B2810;
  box-shadow: inset 0 0 0 1.5px #6E4F26, inset 0 0 0 3px rgb(255 236 190 / .7), inset 0 -3px 6px rgb(70 48 18 / .28), 0 4px 10px -4px rgb(91 67 33 / .5); text-shadow: 0 1px 0 rgb(255 240 205 / .75); }
.g-seg button:focus-visible { outline: 2px solid #8C6634; outline-offset: 2px; }
.g-seg small { margin-left: 6px; font-weight: 500; opacity: .7; }
