/* ==========================================================================
   GeezSoft design system — site.css
   Light, editorial, high-contrast. Navy ink, cool paper, one ember accent.
   One font family. Mobile-first. Reduced-motion aware.
   ========================================================================== */

:root {
  /* Surfaces */
  --paper: #F6F7F9;
  --paper-2: #EEF0F4;
  --paper-3: #E3E6EC;
  --white: #FFFFFF;
  --night: #0B1326;
  --night-2: #121C33;
  --night-3: #1A2541;

  /* Ink */
  --ink: #0B1326;
  --ink-2: #2E3850;
  --muted: #5E6880;
  --muted-2: #8A93A8;
  --on-night: #F3F4F7;
  --on-night-2: #B8BFCF;
  --on-night-3: #7C869C;

  /* Lines */
  --line: #D9DEE7;
  --line-2: #C6CDD9;
  --line-night: rgba(255,255,255,0.10);

  /* Accents */
  --ember: #E4532B;
  --ember-2: #C7431F;
  --ember-soft: #FBE9E2;
  --moss: #1E8A5E;
  --moss-soft: #E0F2E9;
  --sun: #F2B33D;
  --sun-soft: #FCF0D6;
  --sky: #2C6FD6;
  --sky-soft: #E3ECFA;

  /* Type */
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Shape */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Layout */
  --gutter: 20px;
  --container: 1180px;
  --nav-h: 64px;

  --shadow-sm: 0 1px 2px rgba(11,19,38,0.06), 0 1px 1px rgba(11,19,38,0.04);
  --shadow: 0 10px 30px -12px rgba(11,19,38,0.18);
  --shadow-lg: 0 30px 60px -20px rgba(11,19,38,0.30);

  --ease: cubic-bezier(.2,.7,.2,1);
}

@media (min-width: 760px) { :root { --gutter: 32px; --nav-h: 72px; } }

/* ---- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sun-soft); color: var(--ink); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: var(--on-night); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---- Typography ----------------------------------------------------- */
.display { font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; font-size: clamp(36px, 6.4vw, 68px); }
.h1 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; font-size: clamp(32px, 5vw, 54px); }
.h2 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; font-size: clamp(26px, 3.6vw, 40px); }
.h3 { font-weight: 700; letter-spacing: -0.015em; line-height: 1.22; font-size: clamp(19px, 2.2vw, 24px); }
.h4 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; font-size: 17px; }
.lead { font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.62; color: var(--ink-2); }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 0.92em; }
.eyebrow { display: inline-flex; align-items: flex-start; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.eyebrow svg { width: 16px; height: 16px; margin-top: 1px; color: var(--ember-2); }
.eyebrow .dot { flex: none; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: var(--ember); }
.eyebrow .dot.live { background: var(--moss); box-shadow: 0 0 0 4px var(--moss-soft); }
.text-ember { color: var(--ember); }
.balance { text-wrap: balance; }
.measure { max-width: 62ch; }
.prose p + p { margin-top: 1em; }
.prose h2, .prose h3 { margin-top: 1.6em; margin-bottom: .5em; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--ember-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Layout --------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: 820px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-sm { padding-block: clamp(44px, 6vw, 72px); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4.5vw, 48px); }
.section-head .h2 { margin-bottom: 14px; }
.h1 + .lead, .section-head .h1 + .lead, .hero .h1 + .lead { margin-top: 18px; }
.h3 svg, .h4 svg { display: inline-block; vertical-align: -2px; }
.section-head.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: 20px; } }
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.wide-right { grid-template-columns: 5fr 7fr; } .split.wide-left { grid-template-columns: 7fr 5fr; } }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 28px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.hr { border: 0; height: 1px; background: var(--line); margin: 0; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }

/* Dark band */
.band { background: var(--night); color: var(--on-night); }
.band .muted, .band .lead { color: var(--on-night-2); }
.band .eyebrow { color: var(--on-night-3); }
.band .eyebrow svg { color: var(--sun); }
.band .hr { background: var(--line-night); }
.band-2 { background: var(--paper-2); }
.band-white { background: var(--white); }

/* Tibeb — a restrained geometric hairline inspired by woven Ethiopian borders */
.tibeb { height: 10px; background-image: linear-gradient(135deg, var(--line-2) 25%, transparent 25%), linear-gradient(225deg, var(--line-2) 25%, transparent 25%); background-size: 10px 10px; background-position: 0 0, 5px 0; opacity: .8; }
.band .tibeb { background-image: linear-gradient(135deg, rgba(255,255,255,.18) 25%, transparent 25%), linear-gradient(225deg, rgba(255,255,255,.18) 25%, transparent 25%); }

/* ---- Buttons -------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 15px; line-height: 1; border: 1.5px solid transparent; transition: transform .15s var(--ease), background .15s, color .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-ink { background: var(--ink); color: var(--on-night); }
.btn-ink:hover { background: var(--night-3); }
.btn-ember { background: var(--ember-2); color: #fff; }
.btn-ember:hover { background: #B83A18; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); }
.band .btn-outline { color: var(--on-night); border-color: rgba(255,255,255,.22); }
.band .btn-outline:hover { border-color: var(--on-night); }
.band .btn-ink { background: var(--on-night); color: var(--ink); }
.band .btn-ink:hover { background: #fff; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 16px; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; }
.link { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); border-bottom: 1.5px solid var(--line-2); padding-bottom: 2px; transition: border-color .15s; }
.link:hover { border-color: var(--ink); }
.band .link { color: var(--on-night); border-color: rgba(255,255,255,.25); }
.band .link:hover { border-color: var(--on-night); }
.link svg { width: 16px; height: 16px; }
.link.small svg { width: 14px; height: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .cta-row .btn { flex: 1 1 100%; } }

/* ---- Badges / pills ------------------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; white-space: nowrap; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); line-height: 1.2; }
.badge.live { background: var(--moss-soft); color: #145F41; border-color: transparent; }
.badge.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--moss); }
.badge.dev { background: var(--sun-soft); color: #7A4F00; border-color: transparent; }
.badge.planned { background: var(--paper-2); color: var(--muted); border-color: transparent; }
.badge.ember { background: var(--ember-soft); color: var(--ember-2); border-color: transparent; }
.band .badge { background: rgba(255,255,255,.06); border-color: var(--line-night); color: var(--on-night-2); }
.band .badge.live { background: rgba(30,138,94,.18); color: #7ED8AE; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; background: var(--paper-2); color: var(--ink-2); }
a.chip { border: 1px solid transparent; transition: border-color .15s, background .15s; }
a.chip:hover { background: var(--white); border-color: var(--line-2); }
.band .chip { background: rgba(255,255,255,.07); color: var(--on-night-2); }

/* ---- Cards ---------------------------------------------------------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
@media (min-width: 760px) { .card { padding: 28px; } }
.card-link { display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.card-link .icon-tile { align-self: flex-start; }
.card-link .go { align-self: flex-start; margin-top: auto; padding-top: 18px; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.band .card { background: var(--night-2); border-color: var(--line-night); box-shadow: none; }
.band .card-link:hover { border-color: rgba(255,255,255,.22); }
.card .h3, .card .h4 { margin-bottom: 8px; }
.card p { color: var(--muted); }
.band .card p { color: var(--on-night-2); }
.band .product-card .caps, .band .product-card .cat { color: var(--on-night-2); }
.band .product-card .media { border-bottom-color: var(--line-night); }
.icon-tile { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); margin-bottom: 18px; flex: none; }
.icon-tile svg { width: 22px; height: 22px; }
.band .icon-tile { background: rgba(255,255,255,.08); color: var(--on-night); }
.icon-tile.ember { background: var(--ember-soft); color: var(--ember-2); }

/* Feature list */
.feature-list { list-style: none; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.feature-list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--moss-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E8A5E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.band .feature-list li { color: var(--on-night-2); }
.band .feature-list li::before { background-color: rgba(30,138,94,.25); }
ol.feature-list { counter-reset: fl; }
ol.feature-list li::before { counter-increment: fl; content: counter(fl); background: var(--paper-2); color: var(--ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.band ol.feature-list li::before { background: rgba(255,255,255,.1); color: var(--on-night); }
.challenge-list { list-style: none; display: grid; gap: 10px; }
.challenge-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 15px; }
.challenge-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 2px; background: var(--ember); }

/* ---- Nav ------------------------------------------------------------ */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(246,247,249,.92); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
@supports (backdrop-filter: blur(10px)) { .nav { backdrop-filter: blur(10px); } }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.nav-links { display: none; align-items: center; gap: 2px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 11px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover, .nav-links button:hover, .nav-links a[aria-current="page"], .nav-links li.current > a, .nav-links li.current > button { color: var(--ink); background: var(--paper-2); }
.nav-links button svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-links button[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow-lg); display: none; z-index: 20; }
.menu[data-open="true"] { display: block; }
.menu.menu-2[data-open="true"] { display: grid; grid-template-columns: repeat(2, minmax(250px, 1fr)); gap: 0 4px; min-width: 560px; }
.menu a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: 10px; font-size: 14px; text-align: left; }
.menu a strong { font-weight: 700; color: var(--ink); }
.menu a span { font-weight: 500; color: var(--muted); font-size: 13px; line-height: 1.35; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--paper-2); }
.menu .menu-foot { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.menu-2 .menu-foot { grid-column: 1 / -1; }
.nav-cta { display: inline-flex; }
@media (max-width: 379px) { .nav-cta { display: none; } }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; margin-right: -8px; }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .x { display: none; }
.nav-toggle[aria-expanded="true"] .bars { display: none; }
.nav-toggle[aria-expanded="true"] .x { display: block; }
@media (min-width: 1020px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}
/* Mobile drawer */
.drawer { display: none; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; background: var(--paper); overflow-y: auto; padding: 16px var(--gutter) 40px; }
.drawer[data-open="true"] { display: block; }
body.drawer-open { overflow: hidden; }
.drawer-group { border-bottom: 1px solid var(--line); padding: 10px 0; }
.drawer-group > a { display: block; font-weight: 800; font-size: 19px; padding: 8px 0; letter-spacing: -0.01em; }
.drawer-group ul { list-style: none; display: grid; gap: 2px; padding-bottom: 6px; }
@media (min-width: 560px) { .drawer-group ul { grid-template-columns: 1fr 1fr; } }
.drawer-group ul a { display: block; padding: 8px 0; font-weight: 600; font-size: 16px; color: var(--ink-2); }
.drawer-cta { margin-top: 20px; display: grid; gap: 10px; }
@media (min-width: 1020px) { .drawer { display: none !important; } }

/* ---- Hero ----------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(44px, 7vw, 92px) clamp(36px, 5vw, 64px); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.02fr .98fr; gap: 56px; } }
.hero .display { margin-bottom: 20px; }
.hero .lead { margin-bottom: 28px; max-width: 580px; }
.hero-proof { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; color: var(--muted); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--moss); }
.band .hero-proof { color: var(--on-night-2); }
.band .hero-proof svg { color: #7ED8AE; }
.hero-visual { position: relative; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; background:
  radial-gradient(55% 50% at 88% 8%, rgba(44,111,214,.10), transparent 60%),
  radial-gradient(40% 40% at 8% 92%, rgba(228,83,43,.08), transparent 60%); }
.hero-grid-lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .35; mask-image: radial-gradient(70% 70% at 50% 30%, #000 20%, transparent 100%); -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 20%, transparent 100%); }

/* System map (homepage hero illustration) */
.system-map { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow-lg); }
@media (min-width: 760px) { .system-map { padding: 20px; } }
.system-map svg { width: 100%; height: auto; font-family: var(--font); }
@media (max-width: 599px) { .hero-home .hero-visual { display: none; } }
.sm-lbl { font-size: 10px; font-weight: 800; letter-spacing: 2px; fill: var(--muted-2); }
.sm-node rect { fill: var(--paper); stroke: var(--line-2); stroke-width: 1.4; }
.sm-node.sm-core rect { fill: var(--night); stroke: var(--night); }
.sm-node.sm-base rect { fill: var(--paper-2); stroke: var(--line-2); stroke-dasharray: 4 4; }
.sm-t { font-size: 14px; font-weight: 700; fill: var(--ink); }
.sm-s { font-size: 11.5px; font-weight: 500; fill: var(--muted); }
.sm-core-text .sm-t { fill: var(--on-night); }
.sm-core-text .sm-s { fill: var(--on-night-2); }
.sm-mono { font-family: var(--mono); font-size: 10.5px; font-weight: 600; fill: var(--sun); letter-spacing: .5px; }
.sm-link { fill: none; stroke: var(--line-2); stroke-width: 1.6; marker-end: url(#sm-ah); }
.sm-arrow { fill: var(--line-2); }
.sm-flow { stroke: var(--ember); stroke-dasharray: 5 7; }
@media (prefers-reduced-motion: no-preference) {
  .sm-flow { animation: sm-dash 2.4s linear infinite; }
  .sm-flow.sm-two { animation-direction: reverse; }
}
@keyframes sm-dash { to { stroke-dashoffset: -24; } }
.sm-chips rect { fill: var(--paper-2); }
.sm-chips text { font-size: 12.5px; font-weight: 700; fill: var(--ink-2); }

/* Product composition in hero: desktop frame + phone frame overlapping */
.compose { position: relative; max-width: 620px; margin-inline: auto; }
.compose .browser { width: 100%; }
.compose .phone { position: absolute; right: -6px; bottom: -24px; width: 34%; max-width: 190px; box-shadow: var(--shadow-lg); }
@media (max-width: 999px) { .compose { max-width: 560px; } .compose .phone { width: 32%; right: 0; } }
.compose .live-tag { position: absolute; left: 12px; top: -14px; z-index: 2; }

/* Device frames */
.browser { background: var(--night-2); border-radius: 14px; border: 1px solid rgba(255,255,255,.12); overflow: hidden; box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--night-3); border-bottom: 1px solid var(--line-night); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.browser-bar .url { margin-left: 10px; flex: 1; height: 18px; border-radius: 6px; background: rgba(255,255,255,.07); font-size: 10px; line-height: 18px; padding: 0 8px; color: var(--on-night-3); font-family: var(--mono); overflow: hidden; white-space: nowrap; }
.browser img { width: 100%; }
.phone { background: var(--night); border-radius: 26px; padding: 8px; border: 1px solid rgba(255,255,255,.14); overflow: hidden; }
.phone > * { border-radius: 20px; overflow: hidden; }
.phone img { width: 100%; }
.shot { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--night-2); }
.band .shot { border-color: var(--line-night); }

/* ---- Trust strip (homepage) ----------------------------------------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-grid { display: grid; gap: 0; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.trust-item:last-child { border-bottom: 0; }
.trust-item .icon-tile { width: 40px; height: 40px; margin: 0; border-radius: 10px; }
.trust-item .icon-tile svg { width: 20px; height: 20px; }
.trust-item .h4 { font-size: 15.5px; margin-bottom: 4px; }
.trust-item p { font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (min-width: 760px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } .trust-item { padding: 26px 24px 26px 0; border-bottom: 0; } .trust-item:nth-child(odd) { border-right: 1px solid var(--line); } .trust-item:nth-child(even) { padding-left: 24px; } .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (min-width: 1100px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } .trust-item { border-bottom: 0 !important; padding: 28px 24px 28px 0; } .trust-item:nth-child(even) { padding-left: 0; } .trust-item:not(:last-child) { border-right: 1px solid var(--line); margin-right: 24px; } }

/* ---- Metrics -------------------------------------------------------- */
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 900px) { .metrics { grid-template-columns: repeat(var(--cols, 4), 1fr); } }
.metric { background: var(--white); padding: 22px 20px; display: block; }
@media (max-width: 899px) { .metrics > :last-child:nth-child(odd) { grid-column: span 2; } }
.metric:hover { background: var(--paper-2); }
.metric .v { font-weight: 800; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1; }
.metric .l { font-weight: 700; font-size: 14px; margin-top: 10px; }
.metric .n { color: var(--muted); font-size: 13px; margin-top: 4px; line-height: 1.4; }

/* ---- Product cards -------------------------------------------------- */
.product-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; padding: 0; }
.product-card .media { background: var(--night-2); aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); position: relative; }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.product-card .media .placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.product-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.product-card .body .row { gap: 8px; }
.product-card .cat { font-size: 13px; font-weight: 700; color: var(--muted); }
.product-card .caps { list-style: none; display: grid; gap: 6px; color: var(--ink-2); font-size: 14px; }
.product-card .caps li { padding-left: 18px; position: relative; }
.product-card .caps li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 2px; background: var(--ember); }
.product-card .foot { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 10px; }

/* Telegram phone illustration (CSS-only, clearly a diagram) */
.tg-illus { position: relative; width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 40%, rgba(44,111,214,.25), transparent 70%), var(--night-2); padding: 24px; }
.tg-illus .ph { width: 150px; background: #0E1219; border-radius: 22px; border: 1px solid rgba(255,255,255,.14); padding: 6px; box-shadow: var(--shadow-lg); }
.tg-illus .scr { background: #151A22; border-radius: 17px; padding: 12px 10px; display: grid; gap: 8px; }
.tg-illus .t { font-size: 9px; color: #C9CED8; display: flex; justify-content: space-between; font-weight: 700; }
.tg-illus .w { background: linear-gradient(135deg, #2C6FD6, #1B4AA0); border-radius: 10px; padding: 10px; color: #fff; }
.tg-illus .w b { display: block; font-size: 13px; letter-spacing: -.02em; }
.tg-illus .w span { font-size: 8px; opacity: .8; }
.tg-illus .g { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tg-illus .g i { display: block; height: 30px; border-radius: 8px; background: rgba(255,255,255,.08); }
.tg-illus .g i:nth-child(1) { background: linear-gradient(135deg, rgba(242,179,61,.45), rgba(242,179,61,.15)); }
.tg-illus .g i:nth-child(4) { background: linear-gradient(135deg, rgba(30,138,94,.45), rgba(30,138,94,.15)); }
.tg-illus .btn-ill { height: 24px; border-radius: 8px; background: #2C6FD6; color: #fff; font-size: 9px; font-weight: 800; display: grid; place-items: center; }
.illus-note { position: absolute; right: 10px; bottom: 10px; font-size: 10px; font-weight: 700; color: var(--on-night-3); background: rgba(0,0,0,.35); padding: 3px 7px; border-radius: 6px; }

/* ---- Showcase (tabbed product demo) -------------------------------- */
.showcase { display: grid; gap: 28px; }
@media (min-width: 960px) { .showcase { grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; } }
.tabs { display: grid; gap: 6px; }
.tab { text-align: left; padding: 14px 16px; border-radius: 12px; border: 1px solid transparent; display: grid; gap: 4px; color: var(--on-night-2); transition: background .15s, border-color .15s; }
.tab strong { color: var(--on-night); font-weight: 700; font-size: 16px; }
.tab span { font-size: 14px; line-height: 1.45; }
.tab:hover { background: rgba(255,255,255,.05); }
.tab[aria-selected="true"] { background: var(--night-2); border-color: var(--line-night); }
.tab[aria-selected="true"]::before { content: ""; display: block; width: 28px; height: 3px; background: var(--ember); border-radius: 2px; margin-bottom: 6px; }
.panels { position: relative; }
.panel { display: none; }
.panel[data-active="true"] { display: block; }
.panel figure { margin: 0; }
.panel figcaption { margin-top: 12px; font-size: 14px; color: var(--on-night-2); }
@media (max-width: 959px) { .tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 8px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .tabs::-webkit-scrollbar { display: none; } .tab { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-night); } .tab span { display: none; } .tab[aria-selected="true"]::before { display: none; } .tab[aria-selected="true"] { background: var(--on-night); border-color: var(--on-night); } .tab[aria-selected="true"] strong { color: var(--ink); } }

/* ---- Services & industries grids ------------------------------------ */
.service-grid-home { display: grid; gap: 12px; }
@media (min-width: 760px) { .service-grid-home { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .service-grid-home.secondary { grid-template-columns: repeat(4, 1fr); } }
.service-card .items { display: none; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
@media (min-width: 640px) { .service-card .items { display: flex; } }
.service-card .items span { font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--paper-2); padding: 5px 10px; border-radius: 7px; }
.service-card .go { padding-top: 18px; }
.service-card.featured { border-top: 3px solid var(--ember); }
.service-card.featured .h3 { font-size: clamp(20px, 2.2vw, 24px); }
.secondary .service-card .h3 { font-size: 17px; }
.secondary .service-card p { font-size: 14px; }
.split .grid-2 .service-card .h3 { font-size: 18px; }
.split .grid-2 .service-card p { font-size: 14px; }
.industry-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .industry-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
.industry-card { padding: 22px; }
.industry-card .icon-tile { margin-bottom: 14px; }
.industry-card p { font-size: 14px; }
.industry-card .go { padding-top: 14px; font-size: 14px; }
.industry-grid.compact { gap: 10px; }
.industry-grid.compact .industry-card { padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 0 14px; align-items: center; }
.industry-grid.compact .industry-card .icon-tile { width: 36px; height: 36px; margin: 0; border-radius: 9px; grid-row: span 2; }
.industry-grid.compact .industry-card .icon-tile svg { width: 18px; height: 18px; }
.industry-grid.compact .industry-card .h4 { font-size: 15px; margin: 0; }
.industry-grid.compact .industry-card p { display: none; }
.industry-grid.compact .industry-card .go { margin: 0; font-size: 13px; border: 0; padding: 0; color: var(--muted); }
/* Phones: industry tiles collapse to compact rows so the homepage stays scannable */
@media (max-width: 639px) {
  .industry-grid .industry-card { padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; gap: 0 14px; align-items: center; }
  .industry-grid .industry-card .icon-tile { width: 36px; height: 36px; margin: 0; border-radius: 9px; grid-row: span 2; }
  .industry-grid .industry-card .icon-tile svg { width: 18px; height: 18px; }
  .industry-grid .industry-card .h4 { font-size: 15px; margin: 0; }
  .industry-grid .industry-card p { display: none; }
  .industry-grid .industry-card .go { margin: 0; font-size: 13px; border: 0; padding: 0; color: var(--muted); }
}
@media (min-width: 900px) { .split .industry-grid.compact { grid-template-columns: repeat(2, 1fr); } }

/* Work note (homepage) */
.work-note { display: grid; gap: 20px; padding: 24px; border: 1px solid var(--line-night); border-radius: var(--r-lg); background: var(--night-2); }
.work-note p { color: var(--on-night-2); font-size: 15px; }
@media (min-width: 900px) { .work-note { grid-template-columns: 1fr auto; align-items: center; } }

/* Why cards */
.why-card { display: flex; flex-direction: column; }
.why-card .link { align-self: flex-start; margin-top: auto; padding-top: 14px; font-size: 14px; }

/* Callout */
.callout { display: grid; gap: 14px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.callout .icon-tile { margin: 0; }
.callout p { color: var(--ink-2); }
@media (min-width: 900px) { .callout { grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; } }

/* ---- Process / steps ------------------------------------------------ */
.steps { display: grid; gap: 12px; list-style: none; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps.steps-6 { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.step .num { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--ember-2); margin-bottom: 14px; }
.step .h4 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Journey (about) */
.journey { display: grid; gap: 0; position: relative; }
.journey-item { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding-bottom: 28px; position: relative; }
.journey-item::before { content: ""; position: absolute; left: 15px; top: 30px; bottom: 0; width: 2px; background: var(--line); }
.journey-item:last-child::before { display: none; }
.journey-item .k { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.journey-item:last-child .k { background: var(--ember); border-color: var(--ember); color: #fff; }
.journey-item .h4 { margin-bottom: 4px; }
.journey-item p { color: var(--muted); }

/* ---- Case study ----------------------------------------------------- */
.cs-meta { display: grid; gap: 12px 20px; grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
@media (min-width: 760px) { .cs-meta { grid-template-columns: repeat(4, 1fr); } .hero-grid .cs-meta { grid-template-columns: repeat(2, 1fr); } }
.cs-meta div { border-top: 1px solid var(--line); padding-top: 12px; }
.cs-meta .k { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--muted); }
.cs-meta .v { font-weight: 700; margin-top: 4px; }
.cs-body { display: grid; gap: 40px; }
@media (min-width: 960px) { .cs-body { grid-template-columns: 240px 1fr; gap: 64px; align-items: start; } .cs-toc { position: sticky; top: calc(var(--nav-h) + 24px); } }
.cs-toc { display: none; }
@media (min-width: 960px) { .cs-toc { display: block; } }
.cs-toc a { display: block; padding: 6px 0; font-size: 14px; font-weight: 600; color: var(--muted); border-left: 2px solid var(--line); padding-left: 12px; }
.cs-toc a:hover { color: var(--ink); border-color: var(--ink); }
.cs-section { padding-bottom: 40px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.cs-section:last-child { border: 0; }
.cs-section .h3 { margin-bottom: 12px; }
.cs-section p { color: var(--ink-2); font-size: 17px; }
.cs-section .feature-list { margin-top: 16px; }
.cs-section .shot { margin-top: 24px; }
.cs-card { padding: 0; overflow: hidden; }
.cs-card .media { aspect-ratio: 16/9; background: var(--night-2); overflow: hidden; }
.cs-card .media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cs-card .body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.cs-card .body .row { align-items: flex-start; }
.cs-card .body .eyebrow { flex: 1; min-width: 0; }
.cs-card .body .go { padding-top: 24px; }

/* ---- Pricing -------------------------------------------------------- */
.price-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.price { display: flex; flex-direction: column; gap: 16px; position: relative; }
.price.featured { border-color: var(--ink); box-shadow: var(--shadow); }
.price .tag { position: absolute; top: -12px; left: 24px; }
.price .amount { font-weight: 800; font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.price .for { color: var(--muted); min-height: 3.2em; }
.price .note { font-size: 14px; color: var(--muted); }
.price .feature-list { font-size: 15px; }
.price .btn { margin-top: auto; }

/* FAQ */
.faq { display: grid; gap: 8px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--muted); flex: none; width: 24px; text-align: center; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--ink-2); }

/* ---- Technology ----------------------------------------------------- */
.stack-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .stack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .stack-grid { grid-template-columns: repeat(4, 1fr); } }
.stack-card .area { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--muted); margin-bottom: 12px; }
.stack-card ul { list-style: none; display: grid; gap: 6px; font-weight: 600; color: var(--ink-2); }
.status-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.status-list div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; background: var(--white); font-weight: 600; font-size: 15px; }
.arch { background: var(--night); border-radius: var(--r-lg); padding: 8px; overflow-x: auto; }
.arch svg { min-width: 640px; width: 100%; height: auto; display: block; }

/* ---- Contact / inquiry ---------------------------------------------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; } }
.reach { display: grid; gap: 10px; }
.reach a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); font-weight: 600; transition: border-color .15s, transform .15s; }
.reach a:hover { border-color: var(--ink); transform: translateY(-1px); }
.reach .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--paper-2); flex: none; }
.reach .ic svg { width: 20px; height: 20px; }
.reach small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.brief { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); }
.brief-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.brief-head strong { font-size: 14px; }
.brief-progress { display: flex; gap: 6px; }
.brief-progress i { width: 26px; height: 5px; border-radius: 3px; background: var(--line-2); transition: background .2s; }
.brief-progress i.done { background: var(--moss); }
.brief-progress i.active { background: var(--ink); }
.brief-body { padding: 24px 20px 28px; }
@media (min-width: 640px) { .brief-body { padding: 32px 32px 36px; } }
.bstep { display: none; }
.bstep[data-active="true"] { display: block; animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bstep[data-active="true"] { animation: none; } }
.bstep legend.eyebrow { display: block; margin-bottom: 16px; }
.bstep .q { font-weight: 800; font-size: clamp(21px, 2.8vw, 26px); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 6px; }
.bstep .help { color: var(--muted); margin-bottom: 20px; }
.bstep .sub { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--muted); margin: 22px 0 10px; }
.bstep .sub .opt-lbl { text-transform: none; letter-spacing: 0; font-weight: 600; }
.opts { display: grid; gap: 8px; }
@media (min-width: 640px) { .opts.two { grid-template-columns: 1fr 1fr; } }
.opt { text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); min-height: 52px; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--line-2); background: var(--paper); }
.opt[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--on-night); }
.opt strong { font-weight: 700; font-size: 15px; }
.opt span { font-size: 13px; color: var(--muted); }
.opt[aria-pressed="true"] span { color: var(--on-night-2); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: 14px; }
.field label .opt-lbl { color: var(--muted); font-weight: 600; }
.input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--white); transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11,19,38,.08); }
.input[aria-invalid="true"] { border-color: var(--ember); }
textarea.input { min-height: 120px; resize: vertical; }
.err { color: var(--ember-2); font-size: 13px; font-weight: 600; display: none; }
.err[data-show="true"] { display: block; margin-top: 8px; }
.field .err[data-show="true"] { margin-top: 0; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.bactions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.bactions .back { color: var(--muted); font-weight: 700; padding: 10px 4px; min-height: 44px; }
.bactions .back:hover { color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.brief-done { text-align: center; padding: 24px 0 8px; }
.brief-done .check { width: 64px; height: 64px; border-radius: 50%; background: var(--moss-soft); color: var(--moss); display: grid; place-items: center; margin: 0 auto 18px; }
.brief-done .check svg { width: 28px; height: 28px; }
.send-choice { display: grid; gap: 10px; margin-top: 14px; }
.send-choice .btn { justify-content: flex-start; }
.status-msg { margin-top: 14px; font-size: 14px; font-weight: 600; }
.status-msg.bad { color: var(--ember-2); }

/* ---- Final CTA ------------------------------------------------------ */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 20%, rgba(228,83,43,.20), transparent 60%), radial-gradient(40% 50% at 10% 90%, rgba(44,111,214,.18), transparent 60%); pointer-events: none; }
.cta-band .container { position: relative; }
.cta-band .h2 { max-width: 680px; margin-bottom: 14px; }
.cta-band .lead { max-width: 600px; margin-bottom: 28px; }
.cta-alt { margin-top: 20px; font-size: 14px; color: var(--on-night-2); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.cta-alt a { color: var(--on-night); font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.3); }

/* ---- Footer --------------------------------------------------------- */
.footer { background: var(--night); color: var(--on-night-2); padding-block: 56px 28px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 520px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; } .footer-brand { grid-column: auto; } }
.footer .brand { color: var(--on-night); margin-bottom: 14px; }
.footer p { font-size: 14px; max-width: 36ch; }
.footer .footer-tag { color: var(--on-night); font-weight: 700; margin-bottom: 8px; }
.footer .footer-h { color: var(--on-night); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer ul a { font-size: 14px; font-weight: 600; color: var(--on-night-2); }
.footer ul a:hover { color: var(--on-night); }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-night); color: var(--on-night-2); }
.footer-social a:hover { color: var(--on-night); border-color: rgba(255,255,255,.3); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-night); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; }
.footer-bottom a { color: var(--on-night-2); }
.footer-bottom a:hover { color: var(--on-night); }

/* ---- Breadcrumb ----------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); list-style: none; margin-bottom: 20px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a:hover { color: var(--ink); }

/* ---- Announcement --------------------------------------------------- */
.announce { background: var(--ink); color: var(--on-night); font-size: 14px; font-weight: 600; text-align: center; padding: 10px var(--gutter); }
.announce a { color: var(--sun); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Games catalog -------------------------------------------------- */
.games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .games { grid-template-columns: repeat(4, 1fr); } }
.game { display: grid; gap: 5px; align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.game .em { font-size: 26px; line-height: 1; }
.game strong { font-size: 15px; margin-top: 4px; }
.game em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.game span { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.game b { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--ember-2); margin-top: 4px; }
.game .badge { font-size: 11px; padding: 3px 8px; }

/* ---- Reveal (progressive enhancement; no-JS shows everything) ------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---- Utilities ------------------------------------------------------ */
.hide-sm { display: none; } @media (min-width: 760px) { .hide-sm { display: initial; } }
.only-sm { display: initial; } @media (min-width: 760px) { .only-sm { display: none; } }
.center { text-align: center; }
.w-full { width: 100%; }
.overflow-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
table.tbl th, table.tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tbl th { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }

/* Print */
@media print { .nav, .footer, .drawer, .cta-band { display: none !important; } body { background: #fff; } }
