/* Tejido brand: cool crisp white, navy #0B1322, blue #0173E6, orange #FF8600, cyan #00D4FC.
   Poppins 700 headings, Rubik body. Never beige or cream. Never uppercase "Qatom" via CSS:
   eyebrows below use letter-spacing only, no text-transform.
   Surface language: frosted glass (translucent cool white, backdrop blur, hairline light edge)
   over a fixed cool mesh of blue and cyan light. */
:root {
  --navy: #0B1322; --blue: #0173E6; --blue-d: #0559B8; --orange: #FF8600; --cyan: #00D4FC;
  --bg: #F3F7FC; --white: #FFFFFF; --line: rgba(11,19,34,.09); --line-solid: #E1E7EF; --text: #0B1322; --muted: #4A5567; --soft: rgba(1,115,230,.09);
  --ok: #08754A; --ok-bg: rgba(10,160,95,.12);
  --r: 16px; --r-sm: 12px;
  --glass: rgba(255,255,255,.58);
  --glass-strong: rgba(255,255,255,.78);
  --glass-edge: rgba(255,255,255,.75);
  --glass-dark: rgba(11,19,34,.62);
  --blur: saturate(180%) blur(22px);
  --shadow: 0 1px 1px rgba(11,19,34,.03), 0 10px 30px -8px rgba(11,40,90,.14);
  --shadow-lg: 0 30px 80px -20px rgba(11,40,90,.35);
  --hi: inset 0 1px 0 rgba(255,255,255,.9);
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 Rubik, Roboto, system-ui, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: clip; }
/* Fixed cool light field behind every glass surface */
body::before { content: ""; position: fixed; inset: -10vmax; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38vmax 38vmax at 8% 12%, rgba(1,115,230,.20), transparent 62%),
    radial-gradient(34vmax 34vmax at 92% 8%, rgba(0,212,252,.22), transparent 60%),
    radial-gradient(40vmax 40vmax at 78% 78%, rgba(1,115,230,.14), transparent 62%),
    radial-gradient(30vmax 30vmax at 12% 88%, rgba(0,212,252,.14), transparent 60%),
    linear-gradient(180deg, #F6F9FD, #EEF4FB);
  animation: drift 40s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(2vmax, -2vmax, 0) scale(1.04); } }
img { max-width: 100%; }
a { color: var(--blue-d); }
h1, h2, h3 { font-family: Poppins, Rubik, sans-serif; font-weight: 700; line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.02em; }
h1 { font-size: clamp(34px, 6vw, 62px); }
h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: 20px; font-family: Rubik, sans-serif; font-weight: 600; letter-spacing: -.005em; }
p { margin: 0 0 .8em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; }
.eyebrow { color: var(--blue-d); font-weight: 600; letter-spacing: .14em; font-size: 13px; margin-bottom: 10px; }
.gloss { display: block; font-size: .58em; font-weight: 400; color: var(--muted); font-family: Rubik, sans-serif; letter-spacing: 0; margin-top: 2px; }
.gloss:empty { display: none; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 99; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Glass primitive */
.glass, .card, .top, .tabbar, .notice, details.grp, .tbl, .langs, dialog {
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-edge); box-shadow: var(--hi), var(--shadow); }

/* Header: floating glass bar */
.top { position: sticky; top: 10px; z-index: 20; margin: 10px 12px 0; border-radius: 16px; background: rgba(255,255,255,.66); }
.top-row { display: flex; align-items: center; gap: 22px; min-height: 66px; padding: 0 18px; max-width: 1200px; }
.brand { flex: none; }
.brand img { display: block; height: 34px; width: auto; }
.mainnav { display: flex; gap: 2px; flex: 1; min-width: 0; }
.mainnav a { white-space: nowrap; color: var(--text); text-decoration: none; font-weight: 500; padding: 8px 10px; border-radius: 12px; font-size: 15px; line-height: 1.25; transition: background .2s; }
.mainnav a:hover { background: rgba(255,255,255,.7); }
.mainnav a.on { color: var(--blue-d); background: rgba(1,115,230,.10); }
.mainnav .navgloss { display: block; font-size: 11px; color: var(--muted); font-weight: 400; line-height: 1; }
.top-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.langs { display: flex; border-radius: 12px; padding: 3px; background: rgba(255,255,255,.55); box-shadow: var(--hi); }
.langs button { border: 0; background: none; font: 600 13px Rubik, sans-serif; padding: 7px 11px; border-radius: 12px; cursor: pointer; color: var(--text); min-width: 38px; transition: background .2s, color .2s; }
.langs button[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: 0 4px 12px rgba(11,19,34,.25); }

/* Buttons and chips */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; padding: 13px 22px; font: 600 17px Rubik, sans-serif; text-decoration: none; cursor: pointer; min-height: 48px; transition: transform .15s var(--ease), box-shadow .2s, background .2s; }
.btn:active { transform: scale(.98); }
.btn-sm { padding: 9px 18px; min-height: 42px; font-size: 16px; border-radius: 12px; }
.btn-orange { background: linear-gradient(180deg, #FF9A2E, var(--orange)); color: var(--navy); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 22px -6px rgba(255,134,0,.55); }
.btn-blue { background: linear-gradient(180deg, #1A84EE, var(--blue-d)); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 22px -6px rgba(1,115,230,.55); }
.btn-ghost { background: rgba(255,255,255,.6); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); color: var(--blue-d); border-color: rgba(5,89,184,.28); box-shadow: var(--hi); }
.btn-ghost:hover { background: rgba(255,255,255,.85); }
.btn-ghost-w { background: rgba(255,255,255,.14); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); color: #fff; border-color: rgba(255,255,255,.45); border-radius: 12px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn-block { width: 100%; white-space: normal; text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.65); border: 1px solid rgba(11,19,34,.08); color: var(--text); }
.chip-blue { background: rgba(1,115,230,.10); border-color: rgba(1,115,230,.18); color: var(--blue-d); }
.chip-live { background: var(--orange); border-color: var(--orange); color: var(--navy); box-shadow: 0 0 0 4px rgba(255,134,0,.15); }
.chip-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); animation: pulse 1.6s infinite; }
.chip-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-ok { background: var(--ok-bg); border-color: rgba(10,160,95,.2); color: var(--ok); }
.chip-outline { background: rgba(255,255,255,.7); border: 1.5px solid var(--orange); }
.chip-example { background: rgba(255,255,255,.55); border: 1.5px dashed #8A94A6; color: var(--muted); }
@keyframes pulse { 50% { opacity: .3; } }
.pill-btn { border: 1px solid var(--glass-edge); background: rgba(255,255,255,.6); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--hi); border-radius: 12px; padding: 8px 16px; font: 600 15px Rubik, sans-serif; cursor: pointer; }
.pill-btn[aria-pressed="true"] { background: var(--navy); color: #fff !important; border-color: var(--navy); }

/* Layout pieces */
section { padding: 56px 0; }
.page-head { padding-top: 48px; padding-bottom: 24px; }
.lead { font-size: 19px; color: var(--muted); max-width: 760px; }
.card { border-radius: var(--r); padding: 24px; transition: transform .25s var(--ease), box-shadow .25s; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--hi), var(--shadow-lg); }
.card .card { background: rgba(255,255,255,.55); }
.card-example { border: 1.5px dashed rgba(120,135,160,.55); }
.grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.grid > *, .side > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.side { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.notice { border-radius: var(--r-sm); padding: 16px 20px; display: flex; gap: 12px; align-items: flex-start; border-left: 4px solid var(--orange); }
.notice-blue { border-left-color: var(--blue); background: rgba(232,242,253,.7); }
.dark { background: rgba(11,19,34,.88); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); color: #fff; border-radius: var(--r); padding: 28px; border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), var(--shadow-lg); }
.dark .eyebrow { color: var(--orange); }
.dark p, .dark li { color: #D5DCE6; }

/* Hero: deep blue light with glass on top */
.hero { position: relative; overflow: hidden; color: #fff; padding: 84px 0 132px; margin-top: -86px; padding-top: 170px;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(0,212,252,.45), transparent 60%),
    radial-gradient(50% 70% at 10% 90%, rgba(1,115,230,.7), transparent 60%),
    linear-gradient(160deg, #0173E6 0%, #0A3F86 45%, #0B1322 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(180deg, transparent, rgba(243,247,252,.0)); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero .eyebrow { color: #FFB25C; }
.hero .lead { color: #D3E0F2; }
.hero h1 { margin-bottom: 18px; max-width: 900px; }
.hero .tag { color: #fff; font-size: 20px; font-weight: 500; margin-bottom: 4px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.stats { margin-top: -80px; position: relative; z-index: 2; }
.stats .card { background: rgba(255,255,255,.74); box-shadow: var(--hi), var(--shadow-lg); }
.stat .num { font-family: Poppins, sans-serif; font-weight: 700; font-size: 40px; line-height: 1.1; letter-spacing: -.02em; }
.stat .lbl { color: var(--muted); }
.step-n { font-family: Poppins, sans-serif; font-weight: 700; font-size: 15px; color: #fff; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, var(--blue), var(--navy)); margin-bottom: 14px; box-shadow: 0 8px 18px -6px rgba(1,115,230,.6); }

/* Needs */
.bar { height: 10px; background: rgba(11,19,34,.08); border-radius: 12px; overflow: hidden; margin: 14px 0 8px; box-shadow: inset 0 1px 2px rgba(11,19,34,.08); }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 12px; transition: width .9s var(--ease); }
.bar.big { height: 22px; }
.need h3 { margin-top: 4px; }
.need .who { color: var(--muted); font-size: 15px; }
.need .amt { font-size: 16px; }
.need .amt b { font-size: 18px; }
.split-row { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; color: var(--muted); margin: 8px 0 14px; }
.split-row b { color: var(--text); }
.need-live { border: 1.5px solid rgba(255,134,0,.65); box-shadow: var(--hi), 0 0 0 6px rgba(255,134,0,.07), var(--shadow); }
.flash { animation: flash 1.2s ease; }
@keyframes flash { 0% { box-shadow: 0 0 0 10px rgba(255,134,0,.25); } 100% { box-shadow: var(--hi), var(--shadow); } }
.linklike { background: none; border: 0; color: var(--blue-d); text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; padding: 0; }

/* Feed */
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.feed li:first-child { border-top: 0; }
.feed .amt { font-family: Poppins, sans-serif; font-weight: 700; font-size: 22px; min-width: 64px; }
.feed .mono { white-space: nowrap; }
.feed .when { margin-left: auto; color: var(--muted); font-size: 14px; white-space: nowrap; }
.feed li.new { animation: slidein .6s ease; }
@keyframes slidein { from { transform: translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Amount picker */
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px 0 20px; }
.amounts button { border: 1px solid var(--glass-edge); background: rgba(255,255,255,.6); box-shadow: var(--hi), 0 4px 14px -6px rgba(11,40,90,.2); border-radius: 16px; padding: 18px 8px; font: 700 28px Poppins, sans-serif; cursor: pointer; color: var(--text); transition: all .2s var(--ease); }
.amounts button[aria-pressed="true"] { border-color: var(--blue); background: rgba(1,115,230,.12); color: var(--blue-d); box-shadow: 0 0 0 4px rgba(1,115,230,.15); }

/* Timeline */
.tl { list-style: none; padding: 0; margin: 0; }
.tl > li { position: relative; padding: 0 0 30px 64px; }
.tl > li::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 3px; background: rgba(11,19,34,.1); border-radius: 3px; }
.tl > li:last-child::before { display: none; }
.tl > li.ok::before { background: linear-gradient(180deg, var(--blue), var(--cyan)); }
.tl .dot { position: absolute; left: 0; top: 0; width: 45px; height: 45px; border-radius: 50%; display: grid; place-items: center; font: 700 18px Poppins, sans-serif; background: rgba(255,255,255,.75); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-edge); box-shadow: var(--hi), var(--shadow); color: var(--muted); }
.tl li.ok .dot { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.tl li.now .dot { background: var(--orange); border-color: var(--orange); color: var(--navy); box-shadow: 0 0 0 6px rgba(255,134,0,.18); }
.tl h3 { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 4px; font-size: 21px; }
.tl h3 small { font: 400 15px Rubik, sans-serif; color: var(--muted); }
.roles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.role { border: 1px solid var(--glass-edge); border-radius: 16px; padding: 14px; background: rgba(255,255,255,.6); box-shadow: var(--hi); }
.role.ok { border-color: rgba(1,115,230,.4); background: rgba(1,115,230,.12); }
.role b { display: block; }

/* Table */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--r); overflow: hidden; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.tbl th { background: rgba(255,255,255,.55); font-weight: 600; }
.tbl tr:last-child td { border-bottom: 0; }

/* Skills */
details.grp { border-radius: 16px; margin-bottom: 10px; }
details.grp[open] { background: var(--glass-strong); }
details.grp summary { cursor: pointer; padding: 13px 16px; display: flex; gap: 10px; align-items: center; justify-content: space-between; font-weight: 500; list-style: none; }
details.grp summary::-webkit-details-marker { display: none; }
details.grp > div { padding: 0 16px 14px; color: var(--muted); font-size: 15px; }
.tier { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 12px; white-space: nowrap; }
.tier-0 { background: rgba(11,19,34,.07); color: var(--text); }
.tier-1 { background: rgba(1,115,230,.12); color: var(--blue-d); }
.tier-2 { background: var(--navy); color: #fff; }
.tier-3 { background: var(--orange); color: var(--navy); }
details.why summary { color: var(--blue-d); font-weight: 600; cursor: pointer; margin: 8px 0; }
.av { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(160deg, rgba(1,115,230,.18), rgba(0,212,252,.2)); color: var(--blue-d); display: grid; place-items: center; font-weight: 700; flex: none; box-shadow: var(--hi); }

/* QR */
.qrbox { background: #fff; border-radius: 16px; padding: 14px; display: inline-block; box-shadow: var(--shadow); }
.qrbox svg, .qrbox img { display: block; width: 100%; height: auto; }

/* Confirm page (phone) */
.phone { max-width: 480px; margin: 0 auto; }
textarea, input[type=text], select { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid rgba(11,19,34,.12); border-radius: 12px; background: rgba(255,255,255,.75) !important; box-shadow: inset 0 1px 2px rgba(11,19,34,.05); }
.big-count { font-family: Poppins, sans-serif; font-weight: 700; font-size: clamp(28px, 8vw, 44px); line-height: 1.15; overflow-wrap: anywhere; }

/* Stage view (projector) */
.stage { min-height: 100vh; color: #fff; padding: 32px 0; position: relative;
  background: radial-gradient(50% 60% at 85% 15%, rgba(0,212,252,.3), transparent 60%), radial-gradient(60% 70% at 10% 90%, rgba(1,115,230,.45), transparent 60%), #0B1322; }
.stage .grid { align-items: stretch; }
.stage .card { background: rgba(255,255,255,.95); color: var(--text); }
.stage .huge { font-family: Poppins, sans-serif; font-weight: 700; font-size: clamp(56px, 8vw, 110px); line-height: 1; letter-spacing: -.03em; }
.stage .of { font-size: 26px; color: #C9D6E8; }
.stage .role { color: #fff; font-size: 20px; background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.stage .role.ok { background: rgba(1,115,230,.45); border-color: rgba(0,212,252,.6); }
.stage .langs { background: rgba(255,255,255,.08) !important; border-color: rgba(255,255,255,.2) !important; }
.stage .feed .amt { font-size: 30px; }
.stage-on .top, .stage-on .foot, .stage-on .tabbar, .confirm-on .tabbar { display: none; }
.stage-on .hero { margin-top: 0; }

/* Footer */
.foot { color: #fff; padding: 40px 0 120px; margin-top: 48px; background: linear-gradient(160deg, #0A2F63, #0B1322 60%); border-radius: 16px 16px 0 0; }
.foot p { color: #C9D6E8; margin: 8px 0 0; font-size: 15px; }
.foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a { color: #fff; font-size: 15px; }

/* Tab bar (phones): floating glass dock */
.tabbar { display: none; }
dialog { border-radius: 16px; padding: 24px; max-width: 420px; background: rgba(255,255,255,.82); box-shadow: var(--hi), 0 30px 80px rgba(11,19,34,.35); }
dialog::backdrop { background: rgba(11,19,34,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* Browsers without backdrop-filter get solid cool white */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass, .card, .top, .tabbar, .notice, details.grp, .tbl, .langs, dialog, .btn-ghost, .pill-btn { background: rgba(255,255,255,.95); }
  .dark { background: var(--navy); }
}

@media (max-width: 1300px) { #cta-back { display: none; } }
@media (max-width: 1000px) {
  .stage .grid { grid-template-columns: minmax(0,1fr) !important; }
  .mainnav { display: none; }
  .side { grid-template-columns: minmax(0, 1fr); }
  .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .g3 { grid-template-columns: 1fr; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30; padding: 8px 4px; border-radius: 16px; background: rgba(255,255,255,.7); box-shadow: var(--hi), 0 14px 40px -10px rgba(11,40,90,.35); }
  .tabbar a { text-align: center; color: var(--muted); text-decoration: none; font-size: 11px; padding: 5px 2px; line-height: 1.2; border-radius: 16px; transition: background .2s; }
  .tabbar a.on { color: var(--blue-d); font-weight: 600; background: rgba(1,115,230,.10); }
  .tabbar svg { display: block; margin: 0 auto 3px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top { margin: 8px 8px 0; top: 8px; border-radius: 16px; }
  .top-row { gap: 10px; min-height: 58px; padding: 0 12px; }
  .brand img { height: 26px; }
  .langs button { padding: 6px 7px; min-width: 30px; font-size: 12px; }
  .hide-sm { display: none; }
  .g2, .g4 { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr; }
  .hero { padding: 140px 0 110px; margin-top: -74px; }
  .card { padding: 18px; border-radius: 16px; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .tbl td { border: 0; padding: 4px 14px; }
  .tbl td[data-l]::before { content: attr(data-l) ": "; color: var(--muted); }
  .tl > li { padding-left: 56px; }
  .amounts button { font-size: 24px; }
  .chip { white-space: normal; }
  .feed .when { margin-left: 0; flex-basis: 100%; padding-left: 76px; }
  .page-head { padding-top: 32px; }
}
@media print {
  .top, .foot, .tabbar, .noprint { display: none !important; }
  body { background: #fff; } body::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Photo led home (giving site layout): photo hero and photo tiles */
.hero { background:
    linear-gradient(105deg, rgba(11,19,34,.92) 0%, rgba(6,61,130,.78) 48%, rgba(1,115,230,.35) 100%),
    url("assets/photos/hands.jpg") center 45% / cover no-repeat,
    linear-gradient(160deg, #0173E6 0%, #0A3F86 45%, #0B1322 100%); }
.photo { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 80% 10%, rgba(0,212,252,.55), transparent 60%), linear-gradient(160deg, #0173E6, #0B1322); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.card.tile { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.tile .photo { aspect-ratio: 16 / 10; }
.tile-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tile-body p { flex: 1; }
.tile .more { color: var(--blue-d); font-weight: 600; }
a.card.tile:hover .photo img { transform: scale(1.04); }

/* ---------- Interaction layer: menus and buttons respond to touch, mouse and keyboard ---------- */
a, button, summary, label { -webkit-tap-highlight-color: transparent; }
.btn, .pill-btn, .langs button, .amounts button, .menu-btn, .mainnav a, .mnav a, .tabbar a, .foot a, details.grp summary, a.card {
  transition: transform .18s var(--ease), box-shadow .22s var(--ease), background-color .2s, color .2s, border-color .2s, opacity .2s; }
.btn:active, .pill-btn:active, .langs button:active, .amounts button:active, .menu-btn:active { transform: scale(.96); }
.btn:focus-visible, .pill-btn:focus-visible, .langs button:focus-visible, .menu-btn:focus-visible, .mainnav a:focus-visible, .mnav a:focus-visible, .tabbar a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
@media (hover: hover) {
  .btn:not([disabled]):hover { transform: translateY(-1px); }
  .btn-orange:not([disabled]):hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 14px 28px -8px rgba(255,134,0,.7); filter: saturate(1.08); }
  .btn-blue:not([disabled]):hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 14px 28px -8px rgba(1,115,230,.7); }
  .btn-ghost:hover { border-color: rgba(5,89,184,.5); }
  .btn-ghost-w:hover { background: rgba(255,255,255,.22); }
  .langs button:not([aria-pressed="true"]):hover { background: rgba(1,115,230,.10); color: var(--blue-d); }
  .pill-btn:not([aria-pressed="true"]):hover { border-color: rgba(5,89,184,.35); }
  .amounts button:not([aria-pressed="true"]):hover { border-color: rgba(1,115,230,.45); transform: translateY(-1px); }
  .mainnav a:hover, .mnav a:not(.btn):hover { background: rgba(1,115,230,.08); color: var(--blue-d); }
  .menu-btn:hover { background: rgba(255,255,255,.9); }
  details.grp summary:hover { background: rgba(255,255,255,.5); }
  .foot a:hover { color: #fff; text-decoration-color: var(--cyan); }
}
.mainnav a { position: relative; }
.mainnav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s var(--ease); }
.mainnav a.on::after { transform: scaleX(1); }
@media (hover: hover) { .mainnav a:hover::after { transform: scaleX(.5); } }

/* Menu button and drop down panel */
.menu-btn { display: none; flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--glass-edge); background: rgba(255,255,255,.6); cursor: pointer; padding: 0; position: relative; box-shadow: var(--hi); }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] { background: var(--navy); border-color: var(--navy); }
.menu-btn[aria-expanded="true"] span { background: #fff; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mnav { display: grid; gap: 2px; padding: 4px 12px 14px; max-width: 1200px; margin: 0 auto; opacity: 0; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.mnav.open { opacity: 1; transform: none; }
.mnav[hidden] { display: none; }
.mnav a:not(.btn) { display: flex; align-items: center; min-height: 46px; padding: 10px 12px; border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 500; }
.mnav a.on { color: var(--blue-d); background: rgba(1,115,230,.10); }
.mnav .btn { margin-top: 8px; }
.mnav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.mnav-grid > div { display: grid; gap: 2px; align-content: start; }
.mnav-grid > div + div { border-left: 1px solid var(--line); padding-left: 12px; }

/* Header tightens a little once you scroll */
.top { transition: box-shadow .25s var(--ease), background-color .25s; }
.scrolled .top { background: rgba(255,255,255,.8); box-shadow: var(--hi), 0 12px 30px -12px rgba(11,40,90,.28); }
.top-row { transition: min-height .25s var(--ease); }
.scrolled .top-row { min-height: 58px; }

/* Phone tab bar: pressed and current states */
.tabbar a:active { transform: scale(.94); }
.tabbar a.on svg { transform: translateY(-1px); }
.tabbar svg { transition: transform .2s var(--ease); }

@media (max-width: 1000px) { .menu-btn { display: block; } }
@media (max-width: 640px) { .mnav-grid { grid-template-columns: 1fr; } .mnav-grid > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 6px; margin-top: 6px; } }
@media (prefers-reduced-motion: reduce) { .mnav { transform: none; } }

/* Long button labels wrap instead of pushing the page sideways */
.btn { max-width: 100%; }
@media (max-width: 640px) { .btn { white-space: normal; text-align: center; } }

/* ---------- Journeys (same design as tejido.org) ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--blue-d); text-decoration: none; }
.h-sm { font-size: clamp(22px, 2.6vw, 28px); }
.persona { font-weight: 600; color: var(--blue-d); margin: 0; }
.jcard { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.jcard h3 { margin: 12px 0 6px; } .jcard .more { margin-top: auto; color: var(--blue-d); font-weight: 600; }
.jc-top { display: flex; align-items: center; gap: 10px; }
.jc-n { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font: 700 16px Poppins, sans-serif; color: #fff; background: linear-gradient(160deg, var(--blue), var(--navy)); }
.jc-lanes { display: flex; gap: 4px; margin-bottom: 14px; } .jc-lanes i { width: 18px; height: 6px; border-radius: 3px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; padding: 16px 20px; font-size: 14px; }
.legend span { display: inline-flex; gap: 8px; align-items: center; } .legend i { width: 12px; height: 12px; border-radius: 4px; }
.chip-money { background: rgba(11,19,34,.08); color: var(--navy); font-size: 12px; }
.dg { margin: 0; padding: 22px; } .dg-cap { display: flex; gap: 10px; align-items: center; font-weight: 600; margin-bottom: 18px; }
.swim-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.swim { display: grid; min-width: 560px; }
.sw-h { font: 700 13px Poppins, sans-serif; color: var(--muted); text-align: center; padding: 0 0 8px; }
.sw-lane { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; padding: 8px 8px 8px 0; border-top: 1px solid var(--line); }
.sw-lane i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.sw-cell { border-top: 1px solid var(--line); display: grid; place-items: center; min-height: 40px; position: relative; }
.sw-cell::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(11,19,34,.06); }
.sw-dot { position: relative; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 13px Rubik, sans-serif; text-decoration: none; box-shadow: 0 4px 10px -2px rgba(11,40,90,.35); transition: transform .15s var(--ease); }
.sw-dot:hover { transform: scale(1.12); }
.side.jsplit { margin-top: 28px; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.jsteps { list-style: none; margin: 0; padding: 0; }
.jsteps li { position: relative; padding: 0 0 16px 52px; }
.jsteps li::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 0; width: 2px; background: rgba(11,19,34,.12); }
.jsteps li:last-child::before { display: none; }
.js-n { position: absolute; left: 0; top: 4px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 14px Poppins, sans-serif; color: #fff; background: var(--rc); box-shadow: 0 6px 14px -4px rgba(11,40,90,.4); }
.js-card { padding: 16px 18px; border-left: 4px solid var(--rc); scroll-margin-top: 110px; }
.js-card h3 { margin: 8px 0 4px; font-size: 18px; }
.js-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.js-role { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; color: var(--muted); } .js-role i { width: 10px; height: 10px; border-radius: 3px; background: var(--rc); }
.jsteps li.pulse .js-card { box-shadow: 0 0 0 4px rgba(0,212,252,.45), var(--shadow); }
.jside { display: grid; gap: 22px; align-content: start; position: sticky; top: 100px; }
.branches { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.branches li { display: flex; gap: 12px; align-items: flex-start; }
.diamond { flex: none; width: 12px; height: 12px; margin-top: 6px; transform: rotate(45deg); border: 2px solid var(--orange); border-radius: 2px; }
.jguard ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.pager { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.pager .card { display: flex; flex-direction: column; gap: 6px; padding: 18px; color: inherit; text-decoration: none; }
/* Photo banners on inner pages */
.banner-wrap { margin: 4px auto 8px; }
.banner { border-radius: 16px; aspect-ratio: 21 / 6; box-shadow: var(--shadow-lg); }
/* Exhaustive footer */
.foot-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-brand p { color: #C9D6E8; font-size: 15px; margin: 10px 0 0; max-width: 460px; }
.foot-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.foot-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.fcol h4 { font: 600 15px Rubik, sans-serif; color: #fff; margin: 0 0 12px; }
.fcol a { display: block; color: #D5DCE6; text-decoration: none; padding: 5px 0; font-size: 14px; line-height: 1.4; }
.foot-base { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #AEBBCD; font-size: 14px; }
.langs-dark { background: rgba(255,255,255,.08) !important; border-color: rgba(255,255,255,.18) !important; box-shadow: none !important; display: inline-flex; }
.langs-dark button { color: #fff; } .langs-dark button[aria-pressed="true"] { background: #fff; color: var(--navy); }
@media (max-width: 1080px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .jside { position: static; } }
@media (max-width: 860px) { .side.jsplit { grid-template-columns: minmax(0, 1fr); } .pager { grid-template-columns: minmax(0, 1fr); } .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .banner { aspect-ratio: 16 / 7; } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 4px; } .fcol { border-bottom: 1px solid rgba(255,255,255,.1); padding: 10px 0; } }
/* Header: nav never runs under the language toggle; the full menu button shows at every width */
.mainnav { overflow: hidden; }
.menu-btn { display: block; }
@media (max-width: 1440px) { .mainnav a:last-child { display: none; } }
@media (max-width: 1180px) { .mainnav a { padding: 8px 8px; font-size: 14px; } }

/* =====================================================================
   UI/UX refinement pass (shared by tejido.org and tejido.net)
   Type scale, spacing rhythm, contrast, 12px buttons, readable footer.
   ===================================================================== */
:root { --muted: #475366; --text: #0B1322; }
body { font-size: 17px; line-height: 1.62; letter-spacing: .002em; }
h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.06; letter-spacing: -.028em; margin-bottom: .35em; }
h2 { font-size: clamp(27px, 3.3vw, 40px); line-height: 1.12; letter-spacing: -.022em; }
h3 { font-size: 19px; line-height: 1.3; }
p, li { text-wrap: pretty; }
h1, h2 { text-wrap: balance; }
.lead { font-size: clamp(17.5px, 1.5vw, 20px); line-height: 1.6; color: var(--muted); max-width: 68ch; }
.eyebrow { font-size: 12.5px; letter-spacing: .12em; font-weight: 600; color: var(--blue-d); margin-bottom: 14px; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; line-height: 1.55; }
a { text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Spacing rhythm */
section { padding: 88px 0; }
section.tight { padding: 36px 0; }
.page-head { padding-top: 52px; padding-bottom: 20px; }
.sec-head { margin-bottom: 36px; }
.grid { gap: 24px; }
.card { padding: 28px; }
.wrap { padding-left: 28px; padding-right: 28px; }

/* Buttons: 12px corners everywhere, calmer sizes */
.btn, .btn-sm, .btn-ghost-w, .pill-btn, .menu-btn { border-radius: 12px; }
.btn { min-height: 48px; padding: 12px 22px; font-size: 16px; font-weight: 600; letter-spacing: .005em; }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: 15px; }
.actions { gap: 12px; }

/* Chips and labels: smaller, quieter */
.chip { font-size: 12.5px; padding: 4px 10px; border-radius: 8px; letter-spacing: .01em; }
.tier { border-radius: 8px; }

/* Header: lighter nav weight, clear current page */
.mainnav a { font-size: 15px; font-weight: 500; color: #1C2638; }
.langs button { font-size: 12.5px; }

/* Footer: readable, airy columns */
.foot { padding: 72px 0 56px; }
.foot-top { padding-bottom: 40px; margin-bottom: 44px; }
.foot-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important; gap: 44px 48px !important; }
.fcol h4, .foot-grid h4 { font: 600 12.5px Rubik, sans-serif; letter-spacing: .12em; color: #8FD3F0; margin: 0 0 18px; }
.fcol a, .foot-grid a { display: block; font-size: 15.5px !important; line-height: 1.45 !important; color: #E3EAF3 !important; padding: 7px 0 !important; text-decoration: none; opacity: .92; }
.fcol a:hover, .foot-grid a:hover { opacity: 1; color: #fff !important; text-decoration: underline; text-decoration-color: var(--cyan); }
.fcol a + a, .foot-grid a + a { margin-top: 2px; }
.foot-brand p { font-size: 15.5px; line-height: 1.6; color: #C9D6E8; }
.foot-base { margin-top: 56px; padding-top: 28px; font-size: 14.5px; line-height: 1.6; color: #B4C1D3; display: grid; gap: 10px; }
.foot-base p { margin: 0; max-width: 80ch; }
.foot-base .langs { margin-top: 8px; justify-self: start; }

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .card { padding: 22px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 36px 28px !important; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  section { padding: 52px 0; }
  section.tight { padding: 24px 0; }
  .page-head { padding-top: 32px; padding-bottom: 12px; }
  .sec-head { margin-bottom: 26px; }
  .card { padding: 20px; }
  .foot { padding: 52px 0 120px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; }
  .fcol { padding: 20px 0 !important; border-bottom: 1px solid rgba(255,255,255,.1); }
  .fcol h4 { margin-bottom: 10px; }
  .fcol a { padding: 9px 0 !important; }
}
/* Footer: deliberate three column layout on desktop, two on tablets, one on phones */
.foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 48px 64px !important; }
.foot-grid .fcol { max-width: 340px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 36px 32px !important; } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; } .foot-grid .fcol { max-width: none; } .foot-grid .fcol:last-child { border-bottom: 0; } .foot-base { margin-top: 24px; } }

/* =====================================================================
   Grouped header: hover dropdowns on desktop, accordion panel on phones,
   language dropdown. Shared by tejido.org and tejido.net.
   ===================================================================== */
.mainnav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; overflow: visible !important; }
.mainnav > a, .dd-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 12px !important; border-radius: 12px; border: 0; background: none; font: 500 15px Rubik, sans-serif !important; color: #1C2638; text-decoration: none; cursor: pointer; white-space: nowrap; }
.mainnav > a:last-child { display: inline-flex !important; }
.mainnav > a::after { display: none !important; }
.mainnav > a.on, .dd.on > .dd-btn { color: var(--blue-d); background: rgba(1,115,230,.09); }
@media (hover: hover) { .mainnav > a:hover, .dd-btn:hover, .dd:hover > .dd-btn { background: rgba(1,115,230,.08); color: var(--blue-d); } }
.chev { width: 10px; height: 10px; transition: transform .2s var(--ease); }
.dd { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; padding: 8px; border-radius: 16px; z-index: 40;
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-edge); box-shadow: var(--hi), 0 24px 50px -16px rgba(11,40,90,.35);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* hover bridge */
.dd-right .dd-menu, .dd-menu.dd-right { left: auto; right: 0; min-width: 180px; }
.dd.open > .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd.open > .dd-btn .chev { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1001px) { .dd:hover > .dd-menu { opacity: 1; visibility: visible; transform: none; } .dd:hover > .dd-btn .chev { transform: rotate(180deg); } }
.dd-menu a, .dd-menu button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 10px 12px; border-radius: 12px; border: 0; background: none; color: var(--text); text-decoration: none; font: 500 15px Rubik, sans-serif; text-align: left; cursor: pointer; }
.dd-menu a small { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.dd-menu a:hover, .dd-menu button:hover, .dd-menu a:focus-visible, .dd-menu button:focus-visible { background: rgba(1,115,230,.08); color: var(--blue-d); }
.dd-menu a.on { color: var(--blue-d); background: rgba(1,115,230,.06); }
/* Language dropdown */
.lang-dd .dd-btn { gap: 6px; border: 1px solid var(--glass-edge); background: rgba(255,255,255,.6); box-shadow: var(--hi); font-weight: 600 !important; font-size: 14px !important; }
.lang-dd .dd-menu button { flex-direction: row; justify-content: space-between; align-items: center; }
.lang-dd .dd-menu button[aria-pressed="true"] { color: var(--blue-d); font-weight: 600; }
.lang-dd .dd-menu button span { font-size: 12px; color: var(--muted); font-weight: 600; }
.lang-dd .ico { color: var(--blue-d); }
/* Phone and tablet: accordion panel */
.mnav-groups { display: grid; gap: 4px; }
.mnav-groups details { border-radius: 12px; }
.mnav-groups summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 10px 12px; border-radius: 12px; font-weight: 600; cursor: pointer; }
.mnav-groups summary::-webkit-details-marker { display: none; }
.mnav-groups details[open] summary { color: var(--blue-d); background: rgba(1,115,230,.06); }
.mnav-groups details[open] summary .chev { transform: rotate(180deg); }
.mnav-groups details > div { display: grid; gap: 2px; padding: 4px 0 8px 12px; }
.mnav-groups a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 500; }
.mnav-groups a.on { color: var(--blue-d); background: rgba(1,115,230,.08); }
.mnav-groups > a { font-weight: 600; }
.mnav-langs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.mnav-langs button { flex: 1; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.7); font: 600 14px Rubik, sans-serif; cursor: pointer; }
.mnav-langs button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.menu-btn { display: none !important; }
@media (max-width: 1000px) { .mainnav { display: none !important; } .menu-btn { display: block !important; } .top-right .lang-dd { display: none; } }
@media (min-width: 1001px) { .mnav { display: none !important; } }

/* =====================================================================
   Skills first: hero line, "not crowdfunding" comparison, skilled examples
   ===================================================================== */
.hero .skills-first { display: inline-block; margin: 6px 0 14px; padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff; font-weight: 600; font-size: 17px; line-height: 1.4; }
.sec-row { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.sec-row h2 { margin: 0; }
.sx-title { margin: 28px 0 16px; }
.sk-top { padding-top: 8px; padding-bottom: 40px; }
.sk-top .grid.g4 { margin-bottom: 8px; }
.cmp { margin-top: 24px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-solid); background: rgba(255,255,255,.75); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 2fr); }
.cmp-row > * { padding: 14px 18px; border-top: 1px solid var(--line); line-height: 1.5; }
.cmp-head > * { border-top: 0; font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.cmp .cmp-a { color: var(--muted); }
.cmp .cmp-b { background: rgba(1,115,230,.07); color: var(--navy); font-weight: 500; }
.cmp-head .cmp-b { background: var(--blue); color: #fff; }
@media (max-width: 760px) {
  .cmp { border: 0; background: none; overflow: visible; display: grid; gap: 12px; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: minmax(0, 1fr); border-radius: 16px; overflow: hidden; border: 1px solid var(--line-solid); background: rgba(255,255,255,.85); }
  .cmp-row > * { border-top: 0; padding: 10px 16px; }
  .cmp-row > b { padding-top: 14px; }
  .cmp-row .cmp-a::before, .cmp-row .cmp-b::before { content: attr(data-l); display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; margin-bottom: 2px; }
  .cmp-row .cmp-a::before { color: var(--muted); }
  .cmp-row .cmp-b { border-left: 4px solid var(--blue); }
  .cmp-row .cmp-b::before { color: var(--blue-d); }
}

/* the old "hide last nav link" rule must not hide the last dropdown item */
.mainnav .dd-menu a:last-child { display: flex !important; }

/* accessibility: focus ring with sufficient contrast (replaces cyan) */
:focus-visible { outline: 3px solid #0559B8; outline-offset: 2px; }
.btn:focus-visible, .pill-btn:focus-visible, .langs button:focus-visible, .menu-btn:focus-visible, .mainnav a:focus-visible, .mnav a:focus-visible, .tabbar a:focus-visible { outline: 3px solid #0559B8; outline-offset: 2px; }

/* journey swimlane: scroll hint and right edge fade on phones */
.swim-hint { display: none; margin: 0 0 6px; }
.swim-fade { position: relative; }
.nf { padding-bottom: 48px; }
@media (max-width: 640px) {
  .mnav-langs button, .langs button { min-height: 44px; min-width: 44px; }
  .swim-hint { display: block; }
  .swim-fade::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 40px; pointer-events: none; background: linear-gradient(to right, rgba(255,255,255,0), #fff); }
}

.stats-wait { margin: 12px 0 0; }
