/* Home v2. The robot deck is the hero at every width: stacked on a phone, side by side on a computer. */
.deck-burger { display: none; }
.deck-eyebrow, .deck-lead, .deck-more { display: none; }
@media (max-width: 700px) {
  #atlasSite .site-header { display: none !important; }
  #atlasSite .hero { padding-top: 2.4rem; padding-bottom: 0.6rem; min-height: 0; }
  #atlasSite .hero .hero-grid { min-height: 0; display: block; }

  /* ---------- hero: the command deck ---------- */
  .deck { display: block; position: relative; height: 100svh; min-height: 560px; padding: 0; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; background: #0a0e1a; }
  .deck > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .deck::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, #0a0e1a00, #070b14); pointer-events: none; z-index: 1; }
  .deck-head { position: absolute; left: 0; right: 0; top: 0; padding: calc(max(10px, env(safe-area-inset-top)) + 43px) 20px 0; text-align: center; pointer-events: none; z-index: 2; }
  .deck-title { margin: 0; font: 800 1.66rem/1.05 Archivo, var(--font-d), sans-serif; letter-spacing: -0.01em; color: #eaf6f8; }
  .deck-title em { display: block; font: italic 500 1.46rem/1.1 "Cormorant Garamond", serif; color: #9af6ff; letter-spacing: 0; margin-top: 2px; }
  .deck-brand { position: absolute; left: 50%; top: max(10px, env(safe-area-inset-top)); z-index: 4; display: block; width: 137px; height: 40px; margin-left: -68.5px; -webkit-tap-highlight-color: transparent; }
  .deck-brand canvas { display: block; width: 137px; height: 40px; filter: drop-shadow(0 0 9px #00f0ff55); }
  .deck-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 16px calc(84px + env(safe-area-inset-bottom)); z-index: 2; pointer-events: none; }
  .deck-foot-in { position: relative; }
  .deck-card { border: 1px solid #00f0ff66; border-radius: 16px; background: #060c16e6; padding: 11px 16px 12px; box-shadow: 0 0 26px #00f0ff22, inset 0 0 18px #00f0ff10; transition: opacity 0.2s ease, transform 0.2s ease; }
  .deck-card.swap { opacity: 0; transform: translateY(6px); }
  .deck-card b { display: block; font: 750 1.06rem/1.2 Archivo, var(--font-d), sans-serif; color: #eaf6f8; }
  .deck-card p { margin: 4px 0 0; font-size: 0.9rem; line-height: 1.45; color: #b9c9d1; }
  .deck-hint { position: absolute; right: 16px; top: 15px; margin: 0; font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: #9af6ffb3; transition: opacity 0.4s ease; }
  .deck-hint.off { opacity: 0; }
  /* The eight dots sit in the bottom band, between the Book Me key and the 24/7 button. */
  .deck-dots { position: absolute; left: var(--deck-dots-l, 172px); right: var(--deck-dots-r, 76px); bottom: calc(18px + env(safe-area-inset-bottom)); height: 56px; z-index: 3; display: flex; justify-content: center; align-items: center; pointer-events: auto; }
  .deck-dots button { flex: 1 1 0; max-width: 18px; height: 40px; border: 0; background: none; padding: 0; position: relative; }
  .deck-dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: #00f0ff40; transition: all 0.25s ease; }
  .deck-dots button[aria-selected="true"]::before { background: #00f0ff; box-shadow: 0 0 12px #00f0ff; transform: scale(1.45); }

  /* ---------- menu key: fixed for the whole page ---------- */
  .deck-burger { position: fixed; right: 14px; top: max(10px, env(safe-area-inset-top)); z-index: 120; width: 44px; height: 44px; border-radius: 14px; border: 1px solid #00f0ff59; background: linear-gradient(160deg, #0b1a2acc, #060c16b3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 0 18px #00f0ff26, inset 0 0 12px #00f0ff14; padding: 0; cursor: pointer; display: grid; grid-template-columns: repeat(3, 5px); gap: 5px; place-content: center; -webkit-tap-highlight-color: transparent; }
  .deck-burger i { width: 5px; height: 5px; border-radius: 50%; background: #00f0ff; opacity: 0.34; transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; }
  .deck-burger i.on { opacity: 1; transform: scale(1.3); box-shadow: 0 0 9px #00f0ff; }
  .deck-burger i.gm { background: #eaf6f8; opacity: 1; box-shadow: 0 0 10px #00f0ff; animation: deckGm 2.4s ease-in-out infinite; }
  @keyframes deckGm { 50% { transform: scale(1.35); } }
  .deck-burger::before, .deck-burger::after { content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 2px; margin: -1px 0 0 -12px; border-radius: 2px; background: #00f0ff; box-shadow: 0 0 8px #00f0ffaa; opacity: 0; transform: rotate(0deg) scaleX(0.2); transition: transform 0.35s ease, opacity 0.25s ease; }
  .deck-burger[aria-expanded="true"]::before { opacity: 1; transform: rotate(45deg); }
  .deck-burger[aria-expanded="true"]::after { opacity: 1; transform: rotate(-45deg); }
  .deck-burger[aria-expanded="true"] i { opacity: 0; transform: scale(0); animation: none; }

  /* The site's own menu, opened by the key, as a full glass sheet (code box on top, links, recent builds). */
  #atlasSite .mobile-nav { inset: 0; z-index: 110; padding: calc(max(10px, env(safe-area-inset-top)) + 58px) 20px 110px; overflow-y: auto; background: #060c16f2; border-bottom: 0; align-content: start; }
  #atlasSite .mobile-nav.open { animation: deckMenuIn 0.3s ease both; }
  @keyframes deckMenuIn { from { opacity: 0; transform: translateY(-8px); } }
  #atlasSite .mobile-nav a { font-family: Archivo, var(--font-d), sans-serif; font-size: 1.25rem; font-weight: 750; border-bottom: 1px solid #00f0ff1f; border-radius: 0; }
  #atlasSite .mobile-nav .mobile-nav-label ~ a { font-size: 1.02rem; font-weight: 600; }
}
@media (max-width: 700px) and (prefers-reduced-motion: reduce) { .deck-burger i.gm { animation: none; } }

/* ---------- 3D windows that stick while their cards scroll under them ---------- */
@media (max-width: 700px) {
  .s3d-wrap { position: relative; }
  .s3d { position: sticky; top: 0; z-index: 6; height: 40svh; min-height: 250px; max-height: 330px; margin: 0 -20px 16px; overflow: hidden; background: #0a0e1a; border-top: 1px solid #00f0ff26; border-bottom: 1px solid #00f0ff4d; box-shadow: 0 18px 30px -8px #05070cf2; }
  .s3d canvas { display: block; width: 100%; height: 100%; }
}

/* Shared by phone and computer: the frame corners, the labels, and the lit card. */
.s3d-c { position: absolute; width: 14px; height: 14px; border: 0 solid #00f0ffb3; pointer-events: none; }
.s3d-c.tl { left: 10px; top: 10px; border-width: 1.5px 0 0 1.5px; }
.s3d-c.tr { right: 10px; top: 10px; border-width: 1.5px 1.5px 0 0; display: none; }
.s3d-c.bl { left: 10px; bottom: 10px; border-width: 0 0 1.5px 1.5px; }
.s3d-c.br { right: 10px; bottom: 10px; border-width: 0 1.5px 1.5px 0; }
.s3d-tag { position: absolute; left: 20px; top: 16px; margin: 0; display: flex; align-items: center; gap: 8px; font: 700 0.66rem/1 Inter, var(--sans), sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: #9af6ff; }
.s3d-tag i { width: 6px; height: 6px; border-radius: 50%; background: #00f0ff; box-shadow: 0 0 10px #00f0ff; animation: s3dBlink 1.6s ease-in-out infinite; }
@keyframes s3dBlink { 50% { opacity: 0.35; } }
.s3d-clock { position: absolute; transform: translate(-50%, -50%); text-align: center; pointer-events: none; white-space: nowrap; padding: 6px 10px 7px; border-radius: 10px; background: #0a0e1ad9; box-shadow: 0 0 0 1px #00f0ff2e, 0 0 16px #0a0e1a; }
.s3d-clock b { display: block; font: 800 1.32rem/1 Archivo, var(--font-d), sans-serif; color: #eaf6f8; font-variant-numeric: tabular-nums; text-shadow: 0 0 14px #00f0ff88; }
.s3d-clock span { display: block; margin-top: 5px; font: 700 0.56rem/1 Inter, var(--sans), sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: #9af6ff; }
.s3d-pips { position: absolute; left: 20px; bottom: 16px; display: flex; gap: 6px; }
.s3d-pips i { width: 22px; height: 3px; border-radius: 2px; background: #00f0ff33; transition: background 0.3s ease, box-shadow 0.3s ease; }
.s3d-pips i.on { background: #00f0ff; box-shadow: 0 0 10px #00f0ff; }
/* The card being read lights up; the rest sit back. */
.s3d-list > * { transition: opacity 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease; opacity: 0.5 !important; transform: none !important; }
.s3d-list > .on { opacity: 1 !important; border-color: #00f0ff8c; box-shadow: 0 0 30px #00f0ff26, inset 0 0 22px #00f0ff0f; transform: scale(1.015) !important; }
.s3d-list > .done { opacity: 0.72 !important; }


/* ---------- say hello window, leaning site cards, live borders on the plans ---------- */
@media (max-width: 700px) {
  .s3d.s3d-hello { position: relative; top: auto; height: 250px; min-height: 0; margin: 0 -20px 1.6rem; box-shadow: none; }
  #atlasSite .site-grid { perspective: 900px; perspective-origin: 50% 40%; }
  #atlasSite .site-card.v2-tilt { transform: rotateX(var(--tilt, 0deg)) scale(var(--sink, 1)) !important; transform-origin: 50% 50%; transition: none; will-change: transform; }
  #atlasSite .site-card.v2-tilt .site-shot { transform: translateY(var(--pan, 0px)) scale(1.07); }
  #atlasSite .site-card.v2-tilt .site-glare { opacity: 1; background: linear-gradient(180deg, transparent 0, #eaf6f81f 46%, #00f0ff2e 50%, transparent 56%); background-size: 100% 260%; background-position: 50% var(--glare, 50%); transform: none; }
}
#atlasSite .plans .plan { position: relative; }
#atlasSite .plans .plan::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; background: conic-gradient(from var(--v2a, 0deg), #00f0ff00 0 68%, #00f0ff 84%, #eaf6f8 90%, #00f0ff00 96%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: v2Trace 6s linear infinite; }
#atlasSite .plans .plan:nth-child(2)::after { animation-delay: -2s; }
#atlasSite .plans .plan:nth-child(3)::after { animation-delay: -4s; }
@property --v2a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes v2Trace { to { --v2a: 360deg; } }
@media (prefers-reduced-motion: reduce) { #atlasSite .plans .plan::after { animation: none; display: none; } }

/* ---------- founders: mid size portraits with a live ring ---------- */
@media (max-width: 700px) {
  #atlasSite .person img { width: 156px; height: 156px; margin-bottom: 16px; border: 2px solid #00f0ff8c; box-shadow: 0 0 0 5px #00f0ff14, 0 0 34px #00f0ff33; }
}

/* ---------- no 3D available: a still of the deck instead of an empty stage ---------- */
@media (max-width: 700px) {
  .deck.no3d { background: #0a0e1a url(deck-poster.jpg) center top / cover no-repeat; }
  .deck.no3d > canvas, .deck.no3d .deck-hint { display: none; }
}

@media (max-width: 700px) {
  .deck.no3d .deck-brand { background: url(/assets/atlas-logo.png) center / 100% auto no-repeat; mix-blend-mode: lighten; }
}


.deck-nav { display: none; }
@media (hover: none) { .deck-arrow:hover { border-color: #00f0ff8c; background: #060c16d9; color: #9af6ff; box-shadow: 0 0 22px #00f0ff33, inset 0 0 14px #00f0ff1a; transform: none; } .deck-arrow:active { background: #00f0ff; color: #0a0e1a; transform: scale(0.94); } }

/* ================= computer layout ================= */
@media (min-width: 701px) {
  #atlasSite .site-header:not(.scrolled) { background: linear-gradient(180deg, #0a0e1ae6, #0a0e1a00); }
  /* ---------- hero: headline and roster on the left, the deck on the right ---------- */
  .deck { display: grid; position: relative; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); grid-template-rows: 1fr auto auto 1.2fr; height: 100vh; height: 100svh; min-height: 620px; max-height: 1040px; padding: var(--header-h, 78px) max(32px, calc((100vw - 1240px) / 2)) 0; overflow: hidden; background: #0a0e1a; user-select: none; -webkit-user-select: none; cursor: grab; }
  .deck { touch-action: pan-y; }
  .deck.grab { cursor: grabbing; }
  /* Arrows at the edges of the scene, level with the robot. */
  .deck-nav { grid-column: 2; grid-row: 1 / -1; align-self: center; position: relative; z-index: 3; display: flex; justify-content: space-between; margin-top: calc(var(--header-h, 78px) * -0.4); padding: 0 clamp(4px, 1vw, 14px); pointer-events: none; }
  .deck-arrow { pointer-events: auto; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid #00f0ff8c; border-radius: 50%; background: #060c16d9; color: #9af6ff; box-shadow: 0 0 22px #00f0ff33, inset 0 0 14px #00f0ff1a; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease; -webkit-tap-highlight-color: transparent; }
  .deck-arrow svg { width: 22px; height: 22px; }
  .deck-arrow:hover { border-color: #00f0ff; background: #00f0ff; color: #0a0e1a; box-shadow: 0 0 34px #00f0ff80; transform: scale(1.08); }
  .deck-arrow:active { transform: scale(0.94); }
  .deck-arrow:focus-visible { outline: 2px solid #00f0ff; outline-offset: 3px; }
  .deck > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .deck::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 46%; background: linear-gradient(90deg, #0a0e1ad9, #0a0e1a00); pointer-events: none; z-index: 1; }
  .deck::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, #0a0e1a00, #070b14); pointer-events: none; z-index: 1; }
  .deck-brand { display: none; }
  .deck-head { grid-column: 1; grid-row: 2; position: relative; z-index: 2; pointer-events: none; }
  .deck-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; padding: 7px 13px; border: 1px solid #00f0ff40; border-radius: 99px; background: #060c1699; font: 700 0.7rem/1 Inter, var(--sans), sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: #9af6ff; }
  .deck-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #00f0ff; box-shadow: 0 0 10px #00f0ff; animation: s3dBlink 1.6s ease-in-out infinite; }
  .deck-title { margin: 0; font: 800 clamp(2rem, 3.9vw, 3.3rem)/1.04 Archivo, var(--font-d), sans-serif; letter-spacing: -0.02em; color: #eaf6f8; text-wrap: balance; }
  .deck-title em { display: block; margin-top: 4px; font: italic 500 clamp(2rem, 3.9vw, 3.3rem)/1.08 "Cormorant Garamond", serif; letter-spacing: 0; color: #9af6ff; }
  .deck-lead { display: block; margin: 20px 0 0; max-width: 29em; font-size: clamp(0.95rem, 1.15vw, 1.06rem); line-height: 1.6; color: #b9c9d1; }
  /* The eight dots become a roster you can click. */
  .deck-dots { grid-column: 1; grid-row: 3; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 440px; margin-top: 26px; }
  .deck-dots button { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid #00f0ff2b; border-radius: 12px; background: #060c16a6; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #b9c9d1; font: 600 0.92rem/1.1 Inter, var(--sans), sans-serif; text-align: left; cursor: pointer; transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; }
  .deck-dots button::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #00f0ff59; transition: background 0.25s ease, box-shadow 0.25s ease; }
  .deck-dots button::after { content: attr(data-name); }
  .deck-dots button:hover { border-color: #00f0ff80; color: #eaf6f8; transform: translateX(3px); }
  .deck-dots button:focus-visible { outline: 2px solid #00f0ff; outline-offset: 2px; }
  .deck-dots button[aria-selected="true"] { border-color: #00f0ff; background: #00f0ff1a; color: #eaf6f8; box-shadow: 0 0 24px #00f0ff26, inset 0 0 14px #00f0ff14; }
  .deck-dots button[aria-selected="true"]::before { background: #00f0ff; box-shadow: 0 0 10px #00f0ff; }
  .deck-foot { grid-column: 2; grid-row: 1 / -1; align-self: end; justify-self: center; position: relative; z-index: 2; width: min(480px, 100%); padding: 0 0 clamp(22px, 4.5vh, 44px); pointer-events: none; }
  .deck-foot-in { position: relative; }
  .deck-card { border: 1px solid #00f0ff66; border-radius: 18px; background: #060c16e6; padding: 15px 20px 17px; box-shadow: 0 0 34px #00f0ff22, inset 0 0 20px #00f0ff10; transition: opacity 0.2s ease, transform 0.2s ease; }
  .deck-card.swap { opacity: 0; transform: translateY(6px); }
  .deck-card b { display: block; font: 750 1.2rem/1.2 Archivo, var(--font-d), sans-serif; color: #eaf6f8; }
  .deck-card p { margin: 5px 0 0; font-size: 0.98rem; line-height: 1.45; color: #cfdde3; }
  .deck-card .deck-more { display: block; margin-top: 7px; font-size: 0.86rem; line-height: 1.5; color: #93a7b1; }
  .deck-hint { position: absolute; right: 20px; top: 19px; margin: 0; font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: #9af6ffb3; transition: opacity 0.4s ease; }
  .deck-hint.off { opacity: 0; }
  .deck.no3d { background: #0a0e1a url(deck-poster.jpg) 78% 60% / auto 108% no-repeat; cursor: default; }
  .deck.no3d > canvas, .deck.no3d .deck-hint { display: none; }

  /* ---------- the words under the deck: headline left, the pitch right ---------- */
  #atlasSite .hero { padding: clamp(3.4rem, 8vh, 5.6rem) 0 clamp(1.5rem, 4vh, 3rem); min-height: 0; }
  #atlasSite .hero .hero-grid { display: block; min-height: 0; }

  /* ---------- 3D windows: the window holds still on one side while its cards scroll past on the other ---------- */
  .s3d-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.6rem); align-items: start; }
  .s3d { position: sticky; top: calc(var(--header-h, 78px) + 16px); height: min(540px, calc(100vh - var(--header-h, 78px) - 56px)); min-height: 360px; overflow: hidden; border: 1px solid #00f0ff3d; border-radius: 22px; background: #0a0e1a; box-shadow: 0 0 60px #00f0ff14, inset 0 0 40px #00f0ff0a; }
  .s3d canvas { display: block; width: 100%; height: 100%; }
  .s3d-c { width: 18px; height: 18px; }
  .s3d-c.tl { left: 14px; top: 14px; } .s3d-c.tr { right: 14px; top: 14px; display: block; } .s3d-c.bl { left: 14px; bottom: 14px; } .s3d-c.br { right: 14px; bottom: 14px; }
  .s3d-tag { left: 44px; top: 20px; }
  .s3d-pips { left: 44px; bottom: 20px; }
  .s3d-clock b { font-size: 1.7rem; }
  .s3d-clock span { font-size: 0.62rem; }
  .s3d-steps .s3d { order: 2; }
  .s3d-wrap .s3d-list { margin-top: 0 !important; padding-top: 6vh; padding-bottom: 14vh; }
  #atlasSite .s3d-wrap .step-grid { grid-template-columns: 1fr; gap: 18px; }
  #atlasSite .s3d-wrap .step-card { padding: 26px 26px 28px; }
  #atlasSite .s3d-wrap .night-log { gap: 16px; }
  #atlasSite .s3d-wrap .night-log li { padding: 20px 22px; }
  #atlasSite .s3d-wrap .night-log li:before { top: 26px; }
  #atlasSite .night.s3d-host { display: block; }
  #atlasSite .night.s3d-host .night-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 1.2rem; }
  #atlasSite .night.s3d-host .night-steps .sample-note { grid-column: 1 / -1; }

  /* ---------- say hello: the manager waves beside the invitation ---------- */
  #atlasSite .final-box.s3d-host { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: clamp(1.8rem, 4vw, 3.4rem); align-items: center; max-width: 1040px; text-align: left; }
  #atlasSite .final-box.s3d-host > * { grid-column: 2; }
  #atlasSite .final-box.s3d-host > .s3d-hello { grid-column: 1; grid-row: 1 / span 6; position: relative; top: auto; height: 400px; min-height: 0; }
  #atlasSite .final-box.s3d-host .eyebrow, #atlasSite .final-box.s3d-host .final-ctas { justify-content: flex-start; }
  #atlasSite .final-box.s3d-host .eyebrow:after { display: none; }
  #atlasSite .final-box.s3d-host .lead { margin-left: 0; margin-right: 0; }

  /* ---------- site cards lean toward the pointer ---------- */
  #atlasSite .site-grid { perspective: 1400px; }
  #atlasSite .site-card.v2-hover { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(var(--lift, 0px)) !important; transform-style: preserve-3d; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease; will-change: transform; }
  #atlasSite .site-card.v2-hover.live { transition: transform 0.08s linear, box-shadow 0.4s ease, border-color 0.4s ease; border-color: #00f0ff99; box-shadow: 0 30px 60px -20px #000c, 0 0 44px #00f0ff26; }
  #atlasSite .site-card.v2-hover .site-glare { opacity: 0; background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 50%), #eaf6f833, #00f0ff14 34%, transparent 62%); transform: none; transition: opacity 0.4s ease; }
  #atlasSite .site-card.v2-hover.live .site-glare { opacity: 1; }

  /* ---------- founders ---------- */
  #atlasSite .person img { width: 168px; height: 168px; margin-bottom: 18px; border: 2px solid #00f0ff8c; box-shadow: 0 0 0 6px #00f0ff14, 0 0 40px #00f0ff33; }
}
@media (min-width: 901px) {
  #atlasSite .hero-copy { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); column-gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
  #atlasSite .hero-copy > .hero-pill { grid-column: 1; grid-row: 1; justify-self: start; }
  #atlasSite .hero-copy > h1 { grid-column: 1; grid-row: 2 / span 3; margin-bottom: 0; }
  #atlasSite .hero-copy > .hero-role { grid-column: 1; grid-row: 5; }
  #atlasSite .hero-copy > .lead { grid-column: 2; grid-row: 2; margin-top: 0.4rem; }
  #atlasSite .hero-copy > .hero-price { grid-column: 2; grid-row: 3; margin-top: 1.1rem; }
  #atlasSite .hero-copy > .hero-micro { grid-column: 2; grid-row: 4; }
  #atlasSite .hero-copy > .hero-ctas { grid-column: 2; grid-row: 5; margin-top: 1.4rem; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .deck { grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); }
  .deck-dots { grid-template-columns: 1fr 1fr; gap: 6px; }
  .deck-dots button { padding: 0 10px; font-size: 0.84rem; min-height: 40px; }
  .deck-card .deck-more { display: none; }
}
@media (min-width: 701px) and (max-height: 700px) {
  .deck-lead { display: none; }
  .deck-dots { margin-top: 18px; }
  .deck-dots button { min-height: 38px; }
  .deck-card .deck-more { display: none; }
}

/* ---------- all in one platform: what the personal agent runs ---------- */
#atlasSite .v2-stack { display: flex; flex-wrap: wrap; gap: 10px; margin: 2rem 0 0; padding: 0; list-style: none; }
#atlasSite .v2-stack li { padding: 11px 17px; border: 1px solid #00f0ff38; border-radius: 99px; background: #060c1699; font: 600 0.95rem/1.2 Inter, var(--sans), sans-serif; color: #dbe9ed; transition: border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease; }
#atlasSite .v2-stack li:hover { border-color: #00f0ff; color: #fff; box-shadow: 0 0 22px #00f0ff33; }
#atlasSite .v2-topics { margin: 1.8rem 0 0; font-size: 0.8rem; line-height: 1.9; letter-spacing: 0.02em; color: #6fa9b3; word-spacing: 0.35em; }
@media (max-width: 700px) { #atlasSite .v2-stack li { padding: 9px 14px; font-size: 0.88rem; } }

/* ---------- header logo: clear background, drawn live (no plate, so no second border) ---------- */
#atlasSite .brand.v2-brand { position: relative; display: block; flex: none; width: 171px; height: 50px; padding: 0; }
#atlasSite .brand.v2-brand .logo-clear { display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 10px #00f0ff4d); }
#atlasSite .brand.v2-brand .logo-draw { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; filter: drop-shadow(0 0 10px #00f0ff4d); }
#atlasSite .brand.v2-brand.ready .logo-clear { opacity: 0; }
#atlasSite .brand.v2-brand.ready .logo-draw { opacity: 1; }
#atlasSite .footer-brand img.footer-logo { height: 46px; width: auto; }

/* ---------- founders cards: LinkedIn and a way to the full story ---------- */
#atlasSite .person-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 6px; }
#atlasSite .person a.person-more { color: #eaf6f8; border: 1px solid #00f0ff40; }
#atlasSite .person a.person-more svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
#atlasSite .person a.person-more:hover { border-color: #00f0ff; background: #00f0ff14; }
#atlasSite .person a.person-more:hover svg { transform: translateX(3px); }

/* ---------- the sites showcase: one big browser window in front, arrows, thumbnails (home and Websites page) ---------- */
.sd { display: block; margin: 2rem 0 0; }
.sd-off { display: none !important; }
.s3d.sd-stage { position: relative; top: auto; z-index: 1; height: clamp(440px, 61vh, 640px); min-height: 0; max-height: none; margin: 0; overflow: hidden; border: 1px solid #00f0ff3d; border-radius: 22px; background: #0a0e1a; box-shadow: 0 0 60px #00f0ff14, inset 0 0 40px #00f0ff0a; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; cursor: grab; outline: none; }
.s3d.sd-stage.over { cursor: pointer; }
.s3d.sd-stage.grab { cursor: grabbing; }
.s3d.sd-stage:focus-visible { border-color: #00f0ff; box-shadow: 0 0 0 2px #00f0ff66, 0 0 60px #00f0ff22; }
.s3d.sd-stage canvas { display: block; width: 100%; height: 100%; }
.sd-count { position: absolute; right: 44px; top: 18px; margin: 0; display: flex; align-items: baseline; gap: 6px; font: 700 0.66rem/1 Inter, AtlasInter, sans-serif; letter-spacing: 0.16em; color: #9af6ffb3; pointer-events: none; }
.sd-count b { font: 800 1.05rem/1 Archivo, AtlasArchivo, sans-serif; letter-spacing: 0.04em; color: #eaf6f8; }
.sd-arrow { position: absolute; top: var(--sd-y, 56%); z-index: 3; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; padding: 0; border: 1px solid #00f0ff8c; border-radius: 50%; background: #060c16d9; color: #9af6ff; box-shadow: 0 0 22px #00f0ff33, inset 0 0 14px #00f0ff1a; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease; -webkit-tap-highlight-color: transparent; }
.sd-arrow svg { width: 22px; height: 22px; }
.sd-prev { left: var(--sd-l, 34px); }
.sd-next { left: var(--sd-r, calc(100% - 34px)); }
.sd-arrow:hover { border-color: #00f0ff; background: #00f0ff; color: #0a0e1a; box-shadow: 0 0 34px #00f0ff80; transform: scale(1.08); }
.sd-arrow:active { transform: scale(0.94); }
.sd-arrow:focus-visible { outline: 2px solid #00f0ff; outline-offset: 3px; }
.sd-cap { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0 0; font: 700 0.78rem/1.2 Inter, AtlasInter, sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: #9af6ff; text-align: center; }
.sd-cap i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #00f0ff; box-shadow: 0 0 12px #00f0ff; animation: s3dBlink 1.6s ease-in-out infinite; }
.sd-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; width: min(860px, 100%); margin: 14px auto 0; padding: 18px 20px 18px 24px; border: 1px solid #00f0ff66; border-radius: 18px; background: #060c16f2; box-shadow: 0 0 26px #00f0ff22, inset 0 0 18px #00f0ff10; color: inherit; text-decoration: none; transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; }
.sd-card:hover { border-color: #00f0ff; box-shadow: 0 0 40px #00f0ff33, inset 0 0 18px #00f0ff14; transform: translateY(-2px); }
.sd-card .sd-info { display: grid; gap: 5px; min-width: 0; }
.sd-card b { font: 750 1.22rem/1.2 Archivo, AtlasArchivo, sans-serif; color: #eaf6f8; }
.sd-card .sd-text { font-size: 0.94rem; line-height: 1.5; color: #b9c9d1; min-height: 1.5em; }
.sd-card .site-visit.sd-go { flex: none; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 13px 20px; border-radius: 999px; background: #00f0ff; color: #0a0e1a; font: 750 0.92rem/1 Inter, AtlasInter, sans-serif; white-space: nowrap; box-shadow: 0 0 24px #00f0ff55; transition: box-shadow 0.25s ease; }
.sd-card:hover .site-visit.sd-go { box-shadow: 0 0 36px #00f0ff99; }
.sd-card .site-visit .arr { width: 18px; height: 18px; transition: transform 0.25s ease; }
.sd-card:hover .site-visit .arr { transform: translateX(3px); }
.sd-thumbs { display: flex; justify-content: center; gap: 10px; width: min(860px, 100%); margin: 14px auto 0; }
.sd-thumbs button { flex: 1 1 0; min-width: 0; max-width: 136px; display: grid; gap: 7px; padding: 0; border: 0; background: none; color: #8fa3ad; font: 600 0.72rem/1.2 Inter, AtlasInter, sans-serif; text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color 0.25s ease; }
.sd-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 9px; border: 1px solid #00f0ff33; opacity: 0.5; transition: opacity 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; }
.sd-thumbs span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-thumbs button:hover img { opacity: 0.85; border-color: #00f0ff99; }
.sd-thumbs button:focus-visible { outline: none; }
.sd-thumbs button:focus-visible img { outline: 2px solid #00f0ff; outline-offset: 2px; }
.sd-thumbs button[aria-selected="true"] { color: #eaf6f8; }
.sd-thumbs button[aria-selected="true"] img { opacity: 1; border-color: #00f0ff; box-shadow: 0 0 18px #00f0ff66; transform: translateY(-2px); }
@media (max-width: 700px) {
  .sd { margin-top: 1.6rem; }
  .s3d.sd-stage { height: 58vh; height: 58svh; min-height: 360px; max-height: 500px; margin: 0 -20px; border-left: 0; border-right: 0; border-radius: 0; }
  .sd-count { right: 20px; top: 14px; }
  .sd-arrow { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .sd-arrow svg { width: 20px; height: 20px; }
  .sd-cap { margin-top: 14px; font-size: 0.7rem; }
  .sd-card { flex-direction: column; align-items: stretch; padding: 16px 16px 16px; }
  .sd-card .sd-text { min-height: 2.9em; }
  .sd-card .site-visit.sd-go { justify-content: center; padding: 14px 20px; }
  .sd-thumbs { gap: 6px; }
  .sd-thumbs img { border-radius: 6px; }
  .sd-thumbs span { display: none; }
  .sd-thumbs button { padding: 5px 0; }
}
@media (hover: none) { .sd-arrow:hover { border-color: #00f0ff8c; background: #060c16d9; color: #9af6ff; box-shadow: 0 0 22px #00f0ff33, inset 0 0 14px #00f0ff1a; transform: none; } .sd-arrow:active { background: #00f0ff; color: #0a0e1a; transform: scale(0.94); } }
@media (prefers-reduced-motion: reduce) { .sd-cap i { animation: none; } }

/* ================= team board: one number, one manager, one text ================= */
.gmb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr) minmax(0, 1fr); grid-template-areas: "how how how" "in mid out" "note note note"; gap: 18px clamp(16px, 2vw, 28px); align-items: stretch; margin-top: clamp(1.6rem, 4vw, 2.6rem); }
.gmb-how { grid-area: how; justify-self: center; display: inline-flex; align-items: center; gap: 11px; margin: 0 0 4px; padding: 10px 18px; border: 1px solid #00f0ff59; border-radius: 99px; background: #060c16cc; font: 600 0.92rem/1.2 Inter, var(--sans), sans-serif; color: #eaf6f8; text-align: center; }
.gmb-tap { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #00f0ff; box-shadow: 0 0 10px #00f0ff; }
.gmb-tap::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid #00f0ff; animation: gmbTap 1.6s ease-out infinite; }
.gmb.touched .gmb-tap::after { animation: none; opacity: 0; }
@keyframes gmbTap { 0% { transform: scale(0.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.gmb-col { position: relative; min-width: 0; padding: 18px; border: 1px solid #00f0ff2b; border-radius: 22px; background: linear-gradient(180deg, #0b1424d9, #070b14f2); box-shadow: inset 0 0 30px #00f0ff08; }
.gmb-in { grid-area: in; } .gmb-mid { grid-area: mid; display: flex; flex-direction: column; align-items: center; } .gmb-out { grid-area: out; }
.gmb-step { display: flex; align-items: center; gap: 10px; align-self: stretch; margin: 0 0 14px; font: 700 0.7rem/1.35 Inter, var(--sans), sans-serif; letter-spacing: 0.13em; text-transform: uppercase; color: #9af6ff; }
.gmb-step b { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #00f0ff; color: #0a0e1a; font-size: 0.74rem; letter-spacing: 0; box-shadow: 0 0 14px #00f0ff66; }

/* 1. the calls */
.gmb-calls { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gmb-calls li { margin: 0; padding: 0; }
.gmb-calls li::before { display: none; }
.gmb-call { position: relative; display: grid; gap: 4px; width: 100%; min-height: 44px; padding: 11px 14px; border: 1px solid #00f0ff26; border-radius: 14px; background: #060c16cc; color: #cfdde3; font: 500 0.9rem/1.35 Inter, var(--sans), sans-serif; text-align: left; cursor: pointer; transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; -webkit-tap-highlight-color: transparent; }
.gmb-kind { display: flex; align-items: center; gap: 6px; font: 700 0.62rem/1 Inter, var(--sans), sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: #7fe9f2; }
.gmb-call.done .gmb-kind::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #00f0ff; box-shadow: 0 0 8px #00f0ff; }
.gmb-call:hover { border-color: #00f0ff80; color: #eaf6f8; }
.gmb-call:focus-visible, .gmb-bot:focus-visible { outline: 2px solid #00f0ff; outline-offset: 2px; }
.gmb-call.on { border-color: #00f0ff; background: linear-gradient(90deg, #00f0ff29, #060c16eb); color: #fff; box-shadow: 0 0 26px #00f0ff33; }
@media (hover: hover) and (pointer: fine) { .gmb-call:hover { transform: translateX(3px); } }

/* 2. the number, the manager and the ring of bots */
.gmb-num { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid #00f0ff80; border-radius: 99px; background: #08202b; color: #eaf6f8; font: 700 0.86rem/1 Inter, var(--sans), sans-serif; transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease; }
.gmb-num svg { width: 16px; height: 16px; color: #00f0ff; }
.gmb-num.hot { border-color: #00f0ff; background: #00f0ff; color: #0a0e1a; box-shadow: 0 0 30px #00f0ff99; }
.gmb-num.hot svg { color: #0a0e1a; animation: gmbRing 0.5s ease 2; }
@keyframes gmbRing { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
.gmb-ring { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin-top: 2px; }
.gmb-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.gmb-wires .orbit { fill: none; stroke: #00f0ff; stroke-opacity: 0.14; stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.gmb-wires .w { stroke: #00f0ff; stroke-opacity: 0.26; stroke-width: 1.2; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; transition: stroke-opacity 0.3s ease; }
.gmb-wires .w.on { stroke-opacity: 1; stroke-width: 2; stroke-dasharray: none; filter: drop-shadow(0 0 4px #00f0ff); }
.gmb-wires .pulse { fill: #fff; opacity: 0; filter: drop-shadow(0 0 3px #00f0ff) drop-shadow(0 0 6px #00f0ff); }
.gmb-wires .pulse.on { opacity: 1; }
.gmb-gm { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; align-content: center; gap: 2px; width: 31%; aspect-ratio: 1; border: 1px solid #00f0ff99; border-radius: 50%; background: radial-gradient(circle, #00f0ff2e, #060c16f5 70%); box-shadow: 0 0 40px #00f0ff40, inset 0 0 24px #00f0ff26; text-align: center; transform: translate(-50%, -50%); transition: box-shadow 0.35s ease; }
.gmb-gm::before { content: ""; position: absolute; inset: -9px; border: 1px dashed #00f0ff59; border-radius: 50%; animation: gmbSpin 22s linear infinite; }
.gmb-gm img { width: 46%; height: auto; filter: drop-shadow(0 0 10px #00f0ff66); }
.gmb-gm b { max-width: 84%; font: 700 clamp(0.62rem, 1.5vw, 0.8rem)/1.15 Inter, var(--sans), sans-serif; color: #eaf6f8; }
.gmb-gm.on { box-shadow: 0 0 70px #00f0ff80, inset 0 0 30px #00f0ff40; }
@keyframes gmbSpin { to { transform: rotate(360deg); } }
.gmb-bot { position: absolute; left: calc(50% + var(--x) * 1%); top: calc(50% + var(--y) * 1%); z-index: 2; display: grid; justify-items: center; gap: 5px; width: 23%; padding: 10px 4px 9px; border: 1px solid #00f0ff33; border-radius: 16px; background: #060c16eb; color: #b9c9d1; font: 600 clamp(0.66rem, 1.45vw, 0.8rem)/1.15 Inter, var(--sans), sans-serif; cursor: pointer; transform: translate(-50%, -50%); transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); -webkit-tap-highlight-color: transparent; }
.gmb-bot[data-i="0"] { --x: 14.93; --y: -36.03; } .gmb-bot[data-i="1"] { --x: 36.03; --y: -14.93; }
.gmb-bot[data-i="2"] { --x: 36.03; --y: 14.93; } .gmb-bot[data-i="3"] { --x: 14.93; --y: 36.03; }
.gmb-bot[data-i="4"] { --x: -14.93; --y: 36.03; } .gmb-bot[data-i="5"] { --x: -36.03; --y: 14.93; }
.gmb-bot[data-i="6"] { --x: -36.03; --y: -14.93; } .gmb-bot[data-i="7"] { --x: -14.93; --y: -36.03; }
.gmb-ico svg { display: block; width: 22px; height: 22px; color: #00f0ff; }
.gmb-bot:hover { border-color: #00f0ff80; color: #eaf6f8; }
.gmb-bot.on { border-color: #00f0ff; background: radial-gradient(circle at 50% 30%, #00f0ff3d, #060c16f5); color: #fff; box-shadow: 0 0 34px #00f0ff66; transform: translate(-50%, -50%) scale(1.1); }
.gmb-bot.done::after { content: ""; position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: #00f0ff; box-shadow: 0 0 8px #00f0ff; }
.gmb-card { align-self: stretch; min-height: 118px; margin-top: 8px; padding: 14px 16px; border: 1px solid #00f0ff59; border-radius: 16px; background: #060c16eb; box-shadow: 0 0 30px #00f0ff14; transition: opacity 0.16s ease, transform 0.16s ease; }
.gmb-card.swap { opacity: 0; transform: translateY(4px); }
.gmb-card-name { display: block; font: 750 1.06rem/1.2 Archivo, var(--font-d), sans-serif; color: #eaf6f8; }
.gmb-card-line { margin: 4px 0 0; font-size: 0.86rem; line-height: 1.45; color: #93a7b1; }
.gmb-card-did { position: relative; margin: 9px 0 0; padding-left: 22px; font-size: 0.94rem; line-height: 1.45; color: #eaf6f8; }
.gmb-card-did::before { content: ""; position: absolute; left: 0; top: 0.28em; width: 14px; height: 14px; border-radius: 50%; background: #00f0ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0e1a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; box-shadow: 0 0 10px #00f0ff88; }
.gmb-card-did.wait::before { background: none; border: 2px solid #00f0ff; border-right-color: transparent; animation: gmbSpin 0.8s linear infinite; }

/* 3. one text to you */
.gmb-phone { padding: 12px; border: 1px solid #00f0ff40; border-radius: 28px; background: #05080f; box-shadow: 0 30px 60px -30px #000, 0 0 40px #00f0ff14; }
.gmb-phone-top { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; border-bottom: 1px solid #00f0ff1f; }
.gmb-av { display: grid; place-items: center; flex: none; width: 36px; height: 36px; overflow: hidden; border: 1px solid #00f0ff80; border-radius: 50%; background: #00f0ff14; }
.gmb-av img { width: 62%; height: auto; }
.gmb-phone-top b { display: block; font: 700 0.92rem/1.2 Inter, var(--sans), sans-serif; color: #eaf6f8; }
.gmb-phone-top small { display: block; font-size: 0.72rem; color: #7f939d; }
.gmb-sample { margin-left: auto; padding: 4px 8px; border: 1px solid #00f0ff55; border-radius: 99px; font: 700 0.58rem/1 Inter, var(--sans), sans-serif; font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; color: #9af6ff; }
.gmb-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 12px 0; padding: 0; list-style: none; }
.gmb-stats li { display: grid; justify-items: center; margin: 0; padding: 8px 4px; border: 1px solid #00f0ff1f; border-radius: 12px; background: #0b1424; font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: #93a7b1; }
.gmb-stats li::before { display: none; }
.gmb-stats b { font: 800 1.4rem/1.1 Archivo, var(--font-d), sans-serif; letter-spacing: 0; color: #eaf6f8; }
.gmb-stats b.bump { animation: gmbBump 0.45s ease; }
@keyframes gmbBump { 40% { transform: scale(1.35); color: #00f0ff; } }
.gmb-thread { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; height: 318px; margin: 0; padding: 0 2px; overflow: hidden; list-style: none; -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%); mask-image: linear-gradient(180deg, transparent, #000 16%); }
.gmb-msg { flex: none; align-self: flex-start; max-width: 94%; margin: 0; padding: 9px 12px; border-radius: 16px 16px 16px 5px; background: #132033; color: #eaf6f8; font-size: 0.86rem; line-height: 1.42; animation: gmbIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.gmb-msg::before { display: none; }
.gmb-msg i { display: block; margin-bottom: 4px; font: 700 0.6rem/1 Inter, var(--sans), sans-serif; font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; color: #7fe9f2; }
.gmb-msg.need { border: 1px solid #00f0ff; background: #00f0ff1f; }
.gmb-msg.sum { border: 1px solid #00f0ff99; background: linear-gradient(135deg, #00f0ff2e, #132033); }
.gmb-msg.typing { display: flex; gap: 4px; padding: 12px 14px; }
.gmb-msg.typing span { width: 6px; height: 6px; border-radius: 50%; background: #9af6ff; animation: gmbDot 1s ease-in-out infinite; }
.gmb-msg.typing span:nth-child(2) { animation-delay: 0.15s; } .gmb-msg.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes gmbIn { from { opacity: 0; transform: translateY(10px) scale(0.97); } }
@keyframes gmbDot { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.gmb-reply { margin: 10px 4px 2px; font-size: 0.75rem; line-height: 1.4; color: #7f939d; }
.gmb-note { grid-area: note; justify-self: center; margin: 0; font-size: 0.75rem; color: #7f939d; text-align: center; }

@media (max-width: 1100px) {
  .gmb { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "how how" "in in" "mid out" "note note"; }
  .gmb-calls { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gmb-call { font-size: 0.82rem; }
}
@media (max-width: 760px) {
  .gmb { grid-template-columns: minmax(0, 1fr); grid-template-areas: "how" "in" "mid" "out" "note"; gap: 14px; }
  .gmb-how { font-size: 0.85rem; padding: 9px 14px; }
  .gmb-col { padding: 14px; border-radius: 18px; }
  .gmb-step { margin-bottom: 11px; }
  /* The calls become one row you swipe, so the ring sits right under your thumb. */
  .gmb-calls { display: flex; gap: 8px; margin: 0 -14px; padding: 2px 14px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .gmb-calls::-webkit-scrollbar { display: none; }
  .gmb-calls li { flex: 0 0 68%; scroll-snap-align: center; }
  .gmb-call { height: 100%; padding: 10px 12px; font-size: 0.84rem; }
  .gmb-bot { padding: 8px 2px 7px; border-radius: 13px; }
  .gmb-ico svg { width: 19px; height: 19px; }
  .gmb-thread { height: 250px; }
}
@media (prefers-reduced-motion: reduce) {
  .gmb-tap::after, .gmb-gm::before, .gmb-num.hot svg, .gmb-msg, .gmb-stats b.bump, .gmb-msg.typing span { animation: none !important; }
}
