/* ============================================================
   2027 "Cinco Puertas" prototype v2 — layered on top of ../css/styles.css
   (tokens, buttons, .eyebrow and the phone .tabbar/.tab look come from there).
   v2: homepage = logo + doors + footer; one app-like page per industry with a dock.
   Throwaway prototype: not wired into build_pages.py.
   ============================================================ */

@font-face {
  font-family: "Poppins Fallback"; src: local("Arial");
  size-adjust: 112%; ascent-override: 93%; descent-override: 31%; line-gap-override: 0%;
}
:root {
  --font-body: "Poppins", "Poppins Fallback", -apple-system, sans-serif;
  --coral-ink: #9a3d20;            /* small coral text on cream only (5.7:1 on #edeae6) */
  --ease-door: cubic-bezier(.2,.7,.2,1);
  --n: 5; --gap: 10px; --grow: 1.8; --row: min(1320px, 96vw);
  --wrap: min(1240px, 92vw);       /* industry + contact pages: ONE left edge for bar, hero, sections, cards, footer */
  --dock-h: 63px;                  /* phone tab bar incl. its top border (same as the live site) */
  --gutter: 16px;
}
html { scroll-padding-top: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- language toggle: both strings live in the DOM, one is hidden ---------- */
:root[lang="en"] .l-es, :root[lang="es"] .l-en { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 300;
  background: var(--coral); color: #2b130b; padding: 12px 18px; border-radius: 10px; font-weight: 500;
}
.skip:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.lang-tog {
  display: inline-flex; align-items: center; padding: 2px; gap: 2px; flex: none;
  border: 1px solid rgba(255,255,255,.2); border-radius: 100px;
  font: 500 11px/1 var(--font-mono); letter-spacing: .08em;
}
.lang-tog button { min-height: 34px; min-width: 36px; padding: 0 8px; border-radius: 100px; color: var(--ink-dim); transition: background-color .2s, color .2s; }
.lang-tog button:hover { color: var(--ink); }
:root[lang="en"] .lang-tog [data-set-lang="en"], :root[lang="es"] .lang-tog [data-set-lang="es"] { background: var(--ink); color: #131110; }
.lang-tog.light { border-color: #cfc8bf; }
.lang-tog.light button { color: #5b5651; min-height: 40px; min-width: 46px; }
:root[lang="en"] .lang-tog.light [data-set-lang="en"], :root[lang="es"] .lang-tog.light [data-set-lang="es"] { background: #23211f; color: #fff; }

/* ============================================================
   HOMEPAGE — logo, the five doors, one "other" line
   ============================================================ */
.home-lang { position: absolute; z-index: 5; top: 18px; right: max(var(--gutter), calc((100vw - var(--row)) / 2)); }
.home-hero { position: relative; width: var(--row); margin: 0 auto; padding: 22px 0 clamp(28px, 4vh, 44px); text-align: center; overflow-x: clip; overflow-clip-margin: 16px; }
.home-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; }
.home-brand img { width: clamp(118px, min(11vw, 17svh), 160px); height: auto; }
.home-tag { display: block; max-width: 30em; font: 400 14px/1.4 var(--font-body); letter-spacing: 0; color: var(--ink-dim); text-wrap: balance; }
.doors-title {
  font: 400 clamp(30px, 4.6vw, 68px)/1.04 var(--font-body); letter-spacing: -.02em;
  margin: clamp(16px, 2.6vh, 28px) auto 0; text-wrap: balance;
}
.home-excl {
  display: inline-block; position: relative; height: 1.06em; width: calc(1.06em * .366);
  vertical-align: -.1em; margin-left: .06em; perspective: 700px;
}
.home-excl .stack {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(9deg) rotateY(var(--turn, 24deg)); transition: transform .6s var(--ease-door);
}
.home-excl img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; transform: translateZ(var(--z)); }
.home-excl img:not(:first-child):not(:last-child) { filter: brightness(.45); }
.home-excl::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 2.2em; height: 2.2em; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(240,120,90,.22), rgba(240,120,90,.06) 55%, transparent); pointer-events: none;
}
@property --z { syntax: "<length>"; inherits: false; initial-value: 0px; }
@keyframes exclFan { from { --z: 0px; } }
@keyframes exclSwing { from { transform: rotateX(9deg) rotateY(-60deg); } }

.doors-sub { margin-top: 10px; font-size: clamp(15px, 1.3vw, 17px); color: var(--ink-dim); }
.doors-sub a, .doors-other a { color: var(--ink); border-bottom: 1px solid rgba(240,120,90,.6); }
.doors-sub a { white-space: nowrap; }                  /* never "(619) / 330-8850" across two lines */
.doors-sub a:hover, .doors-other a:hover { color: var(--coral); }

/* returning visitor: only a small tag on the remembered door (decided before paint) */
.door-badge {
  display: none; position: absolute; z-index: 3; top: 14px; right: 14px;
  font: 500 10px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral); padding: 6px 9px; border-radius: 100px;
  background: rgba(19,17,16,.62); border: 1px solid rgba(240,120,90,.5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

.doors { list-style: none; display: flex; gap: var(--gap); margin-top: 22px; height: clamp(380px, calc(100svh - 372px), 600px); text-align: left; }
.doors > li { position: relative; flex: 1 1 0; min-width: 0; transition: flex-grow .5s var(--ease-door) 60ms; }
.door {
  position: relative; display: block; height: 100%; border-radius: 22px; overflow: hidden;
  background: var(--bg-soft); border: 1px solid rgba(255,255,255,.08); transition: border-color .3s, transform .15s;
}
.door:focus-visible { outline: 2px solid var(--coral); outline-offset: -3px; border-radius: 22px; }
.door picture { position: absolute; inset: 0; }
.door .door-img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: var(--crop, 50% 30%);
  transform: scale(1.05); transition: transform .6s var(--ease-door);
}
.door::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(19,17,16,.10) 0%, rgba(19,17,16,.30) 42%, rgba(19,17,16,.93) 80%);
}
/* typographic door (Church & Nonprofit has no photo yet — decision D7) */
.door-type, .ind-type {
  display: grid; place-items: center; color: var(--coral);
  background: radial-gradient(circle at 50% 38%, rgba(240,120,90,.28), transparent 60%), var(--bg-soft);
}
.door-type svg { width: 72px; height: 72px; margin-top: -24%; }
.door-type .rings, .ind-type .rings { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; color: rgba(240,120,90,.16); }

.door-num {
  position: absolute; z-index: 2; top: 14px; left: 14px;
  font: 400 11px/1 var(--font-mono); letter-spacing: .18em; padding: 6px 9px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(19,17,16,.4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.door-body { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 18px; transition: transform .45s var(--ease-door); }
.door-name { display: block; width: fit-content; max-width: 100%; font: 500 clamp(20px, 1.65vw, 24px)/1.08 var(--font-body); letter-spacing: -.015em; }
.door-trades {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 6px; font-size: 13px; line-height: 1.4; color: #cfc9c2;
}
.door-more { display: none; }
.door-light {
  position: absolute; z-index: 2; left: 16px; bottom: 0; height: 2px; width: 28px;
  background: var(--coral); transform-origin: left; transition: width .5s var(--ease-door);
}
.door-arrow { display: none; }

/* desktop with a real pointer: the pointed (or keyboard-focused) door opens */
@media (hover: hover) and (pointer: fine) and (min-width: 1100px) {
  .door-body { right: auto; width: calc((var(--row) - (var(--n) - 1) * var(--gap)) / (var(--n) - 1 + var(--grow)) - 32px); }
  .door-more {
    display: block; position: absolute; z-index: 2; left: 16px; bottom: 18px;
    width: calc((var(--row) - (var(--n) - 1) * var(--gap)) / (var(--n) - 1 + var(--grow)) * var(--grow) - 32px);
    opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; pointer-events: none;
  }
  .door-more b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 400; font-size: 15px; line-height: 1.35; color: var(--ink); }
  .door-more > span { display: inline-block; margin-top: 10px; font-size: 13px; padding: 8px 14px; border-radius: 10px; background: var(--coral); color: #2b130b; box-shadow: 0 4px 0 rgba(226,96,63,.55); }
  .doors > li:is(:hover, :focus-within) { flex-grow: var(--grow); }
  .doors > li:is(:hover, :focus-within) .door .door-img { transform: scale(1); }
  .doors > li:is(:hover, :focus-within) .door { border-color: rgba(240,120,90,.55); }
  .doors > li:is(:hover, :focus-within) .door-body { transform: translateY(-78px); }
  .doors > li:is(:hover, :focus-within) .door-more { opacity: 1; transform: none; transition-delay: .12s; }
  .doors > li:is(:hover, :focus-within) .door-light { width: calc(100% - 32px); }
}

.doors-other { margin: 18px 0 0; font-size: 14.5px; color: var(--ink-dim); }
.doors-other a { position: relative; display: inline; line-height: 1.5; }
.doors-other a::after { content: ""; position: absolute; inset: -8px -4px; }   /* bigger hit area, no layout change */

/* load motion: position + scale only, never opacity — every word is readable on frame one */
@media (prefers-reduced-motion: no-preference) {
  .home-excl img { animation: exclFan .9s cubic-bezier(.2,.8,.2,1) .15s backwards; }
  .home-excl .stack { animation: exclSwing 1.1s cubic-bezier(.2,.8,.2,1) backwards; }
  .doors > li { animation: doorRise .6s var(--ease-door) backwards; animation-delay: calc(80ms + var(--i, 0) * 50ms); }
  .door-light { animation: lightSweep .7s var(--ease-door) backwards; animation-delay: calc(.3s + var(--i, 0) * 80ms); }
  /* the line under the doors rides with the last door, so a stalled timeline never overlaps it */
  .doors-other { animation: doorRise .6s var(--ease-door) backwards; animation-delay: 280ms; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 960px) {
  .doors > li, .doors-other { animation-name: rowRise; }
}
@keyframes rowRise { from { transform: translateY(10px); } }
@keyframes doorRise { from { transform: translateY(18px); } }
@keyframes lightSweep { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) {
  .home-excl .stack, .doors > li, .door .door-img, .door-body, .door-light { transition: none; }
}

/* ---------- phones + tablets: the doors become rows ---------- */
@media (max-width: 960px) {
  .home-lang { top: 14px; right: var(--gutter); }
  .home-hero { width: auto; padding: 14px var(--gutter) 28px; }
  .home-brand { gap: 6px; }
  .home-brand img { width: 112px; }
  .home-tag { font-size: 13px; max-width: 20em; }
  .doors-title { font-size: 29px; line-height: 1.06; margin-top: 12px; }
  .doors-sub { margin-top: 6px; font-size: 13.5px; line-height: 1.4; }
  .doors { flex-direction: column; height: auto; gap: 5px; margin-top: 12px; }
  .door {
    display: grid; grid-template-columns: 52px 1fr 28px; gap: 12px; align-items: center;
    min-height: 68px; height: auto; padding: 7px 10px 7px 8px; border-radius: 18px;
  }
  .door::after, .door-num { display: none; }
  .door picture { position: static; display: block; width: 52px; height: 52px; }
  .door .door-img { position: static; width: 52px; height: 52px; border-radius: 13px; transform: none; object-position: 50% 50%; }
  .door-type { width: 52px; height: 52px; border-radius: 13px; background: #211e1c; }
  .door-type svg { width: 28px; height: 28px; margin: 0; }
  .door-type .rings { display: none; }
  .door-body { position: static; transform: none !important; min-width: 0; }
  .door-name { font-size: 17px; line-height: 1.15; }
  .door-trades { margin-top: 1px; font-size: 12.5px; line-height: 1.32; -webkit-line-clamp: 2; color: var(--ink-dim); }
  .door-arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #131110; color: var(--coral); }
  .door-light { left: 72px; bottom: 0; }
  .door:active { transform: scale(.985); }
  .door:active .door-light { width: calc(100% - 82px); }
  .door { overflow: visible; }                      /* the photo is a self-clipped 52px thumb here */
  .door-badge { top: -8px; right: 10px; padding: 2px 7px; font-size: 9px; background: var(--bg); }   /* on the top border, above the arrow */
  .doors-other { margin-top: 12px; font-size: 13.5px; line-height: 1.4; }
}
@media (max-width: 359px) { .door-trades { -webkit-line-clamp: 3; } }
@media (min-width: 600px) and (max-width: 960px) {
  .home-hero { padding-top: 22px; }
  .home-brand img { width: 132px; }
  .doors-title { font-size: 40px; margin-top: 18px; }
  .doors-sub { font-size: 15px; }
  .doors { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
  .doors > li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 4px); }   /* only when the count is odd */
  .door-trades { -webkit-line-clamp: 3; }               /* half-width rows: show the whole trade list */
}

/* ============================================================
   TOP BAR (industry + contact pages): logo · chip · EN|ES · Call
   ============================================================ */
.pbar { position: relative; z-index: 20; }
.pbar-inner { width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 13px 0; }
.pbar-logo { display: flex; flex: none; }
.pbar-logo img { height: 50px; width: auto; }
.pbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pbar-call { gap: 7px; min-height: 40px; padding: 0 15px; border-radius: 100px; font-size: 13.5px; }
.pbar-call svg { color: var(--coral); flex: none; }

.nav-ind {
  display: inline-flex; align-items: center; gap: 7px; min-width: 0; min-height: 40px;
  padding: 0 14px; border-radius: 100px; white-space: nowrap;
  border: 1px solid rgba(240,120,90,.45); background: rgba(240,120,90,.08);
  font-size: 13px; font-weight: 400; color: var(--ink);
  transition: border-color .2s, background-color .2s;
}
.nav-ind:hover { border-color: var(--coral); background: rgba(240,120,90,.14); }
.nav-ind svg { color: var(--coral); flex: none; }
.nav-ind b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nav-ind small { font: 500 10.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--coral); }

@media (max-width: 960px) {
  .pbar-inner { width: auto; padding: 10px var(--gutter); gap: 8px; }
  .pbar-logo img { height: 38px; }
}
@media (max-width: 520px) {
  /* phones: the chip says "⇄ Change" (the industry name is the giant word right below) */
  .nav-ind { padding: 0 11px; gap: 6px; }
  .nav-ind b, .nav-ind .sep { display: none; }
  .nav-ind small { font-size: 10px; letter-spacing: .1em; }
  .pbar-actions { gap: 6px; }
  .lang-tog button { min-width: 32px; padding: 0 6px; }
  .pbar-call { padding: 0 12px; font-size: 13px; }
}
@media (max-width: 370px) {
  .pbar-logo img { height: 34px; }
  .pbar-call { width: 40px; padding: 0; }
  .pbar-call span { display: none; }
}

/* ============================================================
   INDUSTRY HERO ("the door, opened")
   ============================================================ */
.ind-hero { width: var(--wrap); margin: 0 auto; padding: clamp(24px, 4vh, 48px) 0 clamp(56px, 7vw, 96px); }
.ind-hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  grid-template-areas: "copy visual";
}
.ind-copy { grid-area: copy; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.ind-folio { font: 400 12px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--coral); }
.ind-copy h1 { margin-top: 18px; }
.ind-kicker { display: block; width: fit-content; max-width: 100%; font: 500 clamp(40px, 4.4vw, 64px)/1 var(--font-body); letter-spacing: -.015em; }
.ind-headline { display: block; margin-top: 14px; font-size: clamp(26px, 2.6vw, 40px); font-weight: 400; line-height: 1.14; letter-spacing: -.02em; text-wrap: balance; }
.ind-sub { margin-top: 20px; font-size: 17px; color: var(--ink-dim); max-width: 600px; }
.ind-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.ind-free { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 16px; font-size: 13.5px; color: var(--ink-dim); }
.ind-free a { color: var(--ink); border-bottom: 1px solid rgba(240,120,90,.6); padding: 6px 0 1px; }
.ind-free a:hover { color: var(--coral); }
.ind-note { margin-top: 14px; font-size: 13px; color: var(--ink-dim); }
.ind-price { margin-top: 10px; font-size: 13.5px; color: #8d8781; }
.ind-price + .ind-price { margin-top: 2px; }
.ind-price .dot, .price-line .dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--coral); vertical-align: middle; margin: 0 9px; }
.ind-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; }
.ind-badges li { font-size: 13px; color: #8d8781; display: inline-flex; align-items: center; gap: 7px; }
.ind-badges li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }

/* sized so photo + sample card clear the floating dock at first paint */
.ind-visual { grid-area: visual; position: relative; justify-self: end; align-self: start; width: min(100%, max(360px, calc((100svh - 250px) * .8))); }
/* top-aligned with the copy: a taller (Spanish) copy column never pushes the photo + sample under the dock */
.ind-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); }
.ind-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--crop, 50% 30%); }
.ind-type { position: absolute; inset: 0; }
.ind-type > svg:not(.rings) { width: 120px; height: 120px; margin-top: -18%; }
.ind-visual .sample { position: absolute; left: -24px; bottom: -24px; z-index: 2; width: min(300px, 80%); }

/* ---------- English sample screen (fictional data) ---------- */
.sample {
  position: relative; width: 100%; max-width: 330px;
  background: #fff; color: #1d1b19; border-radius: 18px; padding: 16px;
  font: 400 13px/1.35 -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; letter-spacing: 0;
  box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 80px rgba(240,120,90,.07);
}
.sample > * + * { margin-top: 10px; }
.sample > .s-title, .sample > .s-top + .s-meta { margin-top: 3px; }
.sample > .s-title + .s-meta { margin-top: 2px; }
.sample .s-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sample .s-eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; color: #8b857e; text-transform: uppercase; }
.sample .s-title { font-size: 15px; font-weight: 600; color: #1d1b19; }
.sample .s-rows { display: grid; gap: 6px; }
.sample .s-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 11px; background: #f4f2ef; font-size: 12.5px; }
.sample .s-row b { font-weight: 600; white-space: nowrap; }
.sample .s-row.sel { background: #fff4f0; box-shadow: inset 0 0 0 2px var(--coral); }
.sample .s-row .k { color: #8b857e; }
.sample .s-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 100px; background: #e3f5ec; color: #1a7f50; font-size: 11.5px; font-weight: 600; }
.sample .s-btn { display: block; padding: 10px; border-radius: 11px; background: #1d1b19; color: #fff; text-align: center; font-size: 12.5px; font-weight: 600; }
.sample .s-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sample .s-chip { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 100px; background: #f0eeea; color: #6f6962; }
.sample .s-chip.on { background: var(--coral); color: #2b130b; }
.sample .s-lines { display: grid; }
.sample .s-line { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid #eceae5; font-size: 13px; }
.sample .s-line:last-child { border-bottom: 0; }
.sample .s-line b { font-weight: 600; white-space: nowrap; }
.sample .s-line.sub { padding-top: 0; color: #8b857e; font-size: 12px; }
.sample .s-total { display: flex; justify-content: space-between; padding-top: 10px; border-top: 2px solid #1d1b19; font-size: 14px; font-weight: 600; }
.sample .s-meta { font-size: 11.5px; color: #8b857e; }
.sample .s-split { display: flex; justify-content: space-between; gap: 10px; }
.sample .s-split + .s-bar { margin-top: 6px; }
.sample .s-bar { height: 8px; border-radius: 8px; background: #eceae5; overflow: hidden; }
.sample .s-bar i { display: block; height: 100%; background: var(--coral); border-radius: 8px; }
.sample .s-ok { color: #1a7f50; font-weight: 600; }
.sample .s-msg { padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: #f0eeea; font-size: 13px; line-height: 1.4; }

/* ============================================================
   FEATURE SECTIONS — one short section per feature, alternating
   ============================================================ */
.fsec {
  width: var(--wrap); margin: 0 auto; padding: clamp(52px, 7vw, 92px) 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center;
  border-top: 1px solid rgba(255,255,255,.07);
}
.fsec.flip .fsec-txt { order: 2; }
.fsec-txt { min-width: 0; max-width: 540px; }
.fsec-eye {
  display: flex; align-items: center; gap: 10px;
  font: 400 12px/1.3 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--coral);
}
.fsec-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(240,120,90,.12); color: var(--coral); }
.fsec h2 { margin-top: 18px; font-size: clamp(26px, 3vw, 40px); line-height: 1.14; text-wrap: balance; }
.fsec-desc { margin-top: 14px; font-size: 16px; color: var(--ink-dim); max-width: 520px; }
.checks { list-style: none; display: grid; gap: 9px; margin-top: 20px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: #e4dfd9; line-height: 1.4; }
.checks svg { flex: none; margin-top: 1px; color: var(--coral); }
.fsec-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.fsec-meta:empty { display: none; }
.feat-tag {
  display: inline-block; font: 500 10.5px/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--coral); border: 1px solid rgba(240,120,90,.35); border-radius: 100px; padding: 6px 10px;
}
.gate-note { font: 500 10px/1.35 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: #f5b301; }
.fsec-note {
  display: inline-block; margin-top: 18px; padding: 10px 16px; border-radius: 14px;
  border: 1px dashed rgba(255,255,255,.22); font-size: 13.5px; color: var(--ink-dim); line-height: 1.45;
}
.fsec-card {
  position: relative; min-width: 0; display: grid; place-items: center;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 48px); border-radius: var(--radius-lg);
  background: radial-gradient(circle at 70% 20%, rgba(240,120,90,.16), transparent 60%), var(--bg-soft);
  border: 1px solid rgba(255,255,255,.06);
}
.fsec-card .sample { box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.fsec[data-gated] .fsec-card { border: 1px dashed rgba(245,179,1,.55); }
@media (prefers-reduced-motion: no-preference) {
  .fsec-card.rise .sample { animation: cardRise .7s cubic-bezier(.2,.8,.2,1) backwards; }
}
@keyframes cardRise { from { transform: translateY(26px) scale(.98); } }

/* ============================================================
   PRICING (one card) + CONTACT (the page's goal)
   ============================================================ */
.psec, .csec { width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 80px) 0; }
.pcard { background: var(--bg-soft); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 52px); }
.pcard h2 { font-size: clamp(26px, 3vw, 40px); text-wrap: balance; }
.pcard .eyebrow { margin-bottom: 14px; }
.pcard-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }
.price-big { font: 300 clamp(48px, 6vw, 84px)/1 var(--font-body); letter-spacing: -.03em; white-space: nowrap; }
.price-big .l-en, .price-big .l-es { font-size: .3em; letter-spacing: 0; color: var(--ink-dim); vertical-align: .9em; margin-right: .3em; }
.price-big .cur { color: var(--coral); }
.price-big b { font-weight: 400; }
.price-big small { font-size: .26em; letter-spacing: 0; color: var(--ink-dim); margin-left: 4px; }
.price-big small .l-en, .price-big small .l-es { font-size: 1em; vertical-align: 0; margin: 0; }
.price-line { margin-top: 18px; color: var(--ink-dim); font-size: 15px; }
.price-extra { margin-top: 8px; color: #8d8781; font-size: 14px; max-width: 680px; }
.cmp { margin-top: 24px; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.cmp > summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 56px; padding: 14px 0; font-size: 16px; font-weight: 500;
}
.cmp > summary::-webkit-details-marker { display: none; }
.plus { flex: none; color: var(--coral); font-size: 26px; font-weight: 300; line-height: 1; transition: transform .25s var(--ease-door); }
details[open] > summary .plus { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .plus { transition: none; } }
.cmp table { width: 100%; border-collapse: collapse; margin: 6px 0 24px; font-size: 14px; }
.cmp th, .cmp td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.07); font-weight: 300; vertical-align: top; }
.cmp thead th { font: 500 12px/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--coral); }
.cmp tbody th { color: var(--ink-dim); }
.cmp td { color: var(--ink); }
.cmp-list { display: none; list-style: none; gap: 10px; margin: 6px 0 22px; }
.cmp-list li { background: var(--bg); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 14px 16px; }
.cmp-list li strong { display: flex; justify-content: space-between; font-weight: 500; font-size: 16px; }
.cmp-list li strong span { color: var(--coral); font-weight: 400; }
.cmp-list li p { font-size: 13.5px; color: var(--ink-dim); margin-top: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.plan { background: var(--bg); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius-md); padding: 24px 22px; }
.plan.hl { border-color: rgba(240,120,90,.55); }
.plan h3 { font: 500 12px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--coral); }
.plan .amt { margin-top: 16px; font-size: 44px; font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.plan .amt small { font-size: 14px; color: var(--ink-dim); letter-spacing: 0; }
.plan .setup { margin-top: 6px; font-size: 13.5px; color: #8d8781; }
.plan ul { list-style: none; margin-top: 18px; display: grid; gap: 8px; }
.plan li { font-size: 14px; color: #d8d2cb; padding-left: 16px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }
.pcard .price-extra { margin-top: 18px; }
.honest { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); font-size: 14.5px; color: #e4dfd9; max-width: 760px; }
.honest svg { flex: none; margin-top: 2px; color: var(--coral); }
.annot { display: inline-block; margin-left: 6px; font: 500 10px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: #f5b301; }

.csec { padding-bottom: clamp(48px, 7vw, 96px); }
.ccard {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start;
  background: var(--card); color: #21201e; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 64px);
}
.ccard .eyebrow { color: var(--coral-ink); margin-bottom: 14px; }
.ccard h2 { color: #191817; font-size: clamp(28px, 3.4vw, 46px); text-wrap: balance; }
.ccard-line { margin-top: 14px; font-size: 16px; color: #5b5651; max-width: 420px; }
.ccard-copy { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.ccard-points { list-style: none; display: grid; gap: 10px; }
.ccard-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.4; color: #2e2b28; }
.ccard-points svg { flex: none; margin-top: 2px; color: var(--coral-ink); }
.ccard-aside { display: flex; flex-direction: column; gap: 18px; padding-top: 22px; border-top: 1px solid rgba(0,0,0,.1); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.f-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f-field.full { grid-column: 1 / -1; }
.f-field label { font-size: 13.5px; font-weight: 500; color: #3a3632; }
.f-star { color: var(--coral-ink); margin-left: 3px; }
.f-field input, .f-field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid #857e77; background: #fff; color: #1d1b19;
  font: 400 16px/1.4 var(--font-body); transition: border-color .2s, box-shadow .2s;
}
.f-field textarea { min-height: 112px; resize: vertical; }
.f-field input::placeholder, .f-field textarea::placeholder { color: #9a938b; }
.f-field input:focus, .f-field textarea:focus { outline: none; border-color: var(--coral-deep); box-shadow: 0 0 0 3px rgba(240,120,90,.28); }
.f-field input[aria-invalid="true"], .f-field textarea[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.f-err { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; color: #b3261e; font-weight: 500; }
.f-err[hidden] { display: none; }
.f-err-ico { flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: #b3261e; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }
.f-send { width: 100%; min-height: 54px; margin-top: 18px; font-size: 16px; font-weight: 500; }
.f-consent { margin-top: 12px; font-size: 12.5px; color: #6b6660; line-height: 1.45; }
.f-req { margin: 0 0 12px; font-size: 12.5px; color: #6b6660; }   /* 4.74:1 on the card, above the first field */
.f-check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin-top: 16px; min-height: 44px; padding: 4px 0; cursor: pointer;
  font-size: 12.5px; line-height: 1.45; color: #4a4642; }
.f-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: #23211f; cursor: pointer; }
.f-check input:focus-visible { outline: 2px solid var(--coral-ink); outline-offset: 2px; }
.f-nojs { padding: 16px 18px; border-radius: 14px; background: #fff; color: #23211f; font-size: 15px; }
.f-done { padding: 28px 24px; border-radius: 18px; background: #fff; text-align: center; }
.f-done:focus { outline: none; }
.f-done:focus-visible { outline: 2px solid var(--coral-deep); outline-offset: 3px; }
.f-done-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e3f5ec; color: #1a7f50; }
.f-done h3 { margin-top: 14px; font-size: 22px; font-weight: 500; color: #191817; }
.proto-note { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 100px; border: 1px dashed #c9a227; color: #7a5b00; font: 500 11px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.f-alt { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.f-alt a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 14.5px; color: #23211f; overflow-wrap: anywhere; }
.f-alt a span { border-bottom: 1px solid var(--coral-deep); }
.f-alt a:hover { color: var(--coral-ink); }
.f-alt svg { color: var(--coral-ink); flex: none; }
.ccard a:focus-visible, .ccard button:focus-visible { outline-color: var(--coral-ink); }

/* contact.html hero */
.c-hero { width: var(--wrap); margin: 0 auto; padding: clamp(28px, 5vh, 64px) 0 0; }
.c-hero h1 { margin-top: 16px; font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
.c-hero .ind-sub { max-width: 640px; }

/* ============================================================
   COMPACT FOOTER (every page)
   ============================================================ */
.pfoot { border-top: 1px solid rgba(255,255,255,.08); background: var(--bg); }
.pfoot-inner { width: var(--wrap); margin: 0 auto; padding: 38px 0 22px; }
.home-page .pfoot-inner { width: var(--row); }      /* the homepage lines up with its doors */
.pf-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr 1fr; gap: 22px 32px; }
.pf-lbl { font: 500 11px/1.3 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 8px; }
.pf-col > a { display: flex; align-items: flex-start; gap: 9px; min-height: 44px; padding: 8px 0; font-size: 14px; line-height: 1.45; color: #cfc9c2; transition: color .2s; overflow-wrap: anywhere; }
.pf-col > a svg { flex: none; margin-top: 2px; color: var(--coral); }
.pf-col > a:hover { color: var(--coral); }
.pf-social { display: flex; flex-wrap: wrap; gap: 4px; margin-left: -10px; }
.pf-social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #cfc9c2; transition: color .2s, background-color .2s; }
.pf-social a:hover { color: var(--coral); background: rgba(255,255,255,.05); }
.pf-social svg { width: 19px; height: 19px; }
.pf-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 22px; margin-top: 26px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); font-size: 12.5px; color: #8d8781; }
.pf-bottom a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #b6b0a9; transition: color .2s; }
.pf-bottom a:hover { color: var(--coral); }
.pf-bottom a svg { color: var(--coral); }
.pf-bottom span:last-child { margin-left: auto; }
.home-page .pfoot { margin-top: 0; }
@media (max-width: 960px) {
  .pfoot-inner, .home-page .pfoot-inner { width: auto; padding-left: var(--gutter); padding-right: var(--gutter); }   /* same 16px gutter as the page */
  .pf-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .pfoot-inner { width: auto; padding: 28px var(--gutter) 16px; }
  .pf-grid { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .pf-grid > :nth-child(n+3) { grid-column: 1 / -1; }
  .pf-col > a { padding: 6px 0; font-size: 13.5px; }
  .pf-bottom { gap: 0 18px; margin-top: 18px; }
  .pf-bottom span:last-child { margin-left: 0; width: 100%; padding-top: 6px; }
}
@media (max-width: 339px) { .pf-grid { grid-template-columns: 1fr; } }

/* ============================================================
   APP DOCK — the live phone tab bar; a floating pill on desktop
   ============================================================ */
body.has-dock { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px)); }
.adock .tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-width: 0; min-height: 52px; padding: 2px 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 10.5px; letter-spacing: .01em; color: var(--ink-dim); transition: color .2s ease;
  -webkit-user-select: none; user-select: none;
}
.adock .tab-ico {
  position: relative; display: grid; place-items: center; width: 50px; height: 30px; border-radius: 15px;
  transition: background-color .2s ease, transform .15s ease;
}
.adock .tab-lbl { line-height: 1.1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
.adock .tab[aria-current], .adock .tab[aria-expanded="true"] { color: var(--ink); font-weight: 600; }
.adock .tab[aria-current] .tab-ico, .adock .tab[aria-expanded="true"] .tab-ico { background: rgba(240,120,90,.16); color: var(--coral); }
.adock .tab:active .tab-ico { transform: scale(.88); }
.adock .tab:focus-visible { outline: none; }
.adock .tab:focus-visible .tab-ico { box-shadow: 0 0 0 2px var(--coral); }
@media (max-width: 960px) {
  /* identical to the live .tabbar (styles.css); restated so the dock never depends on main.js */
  .tabbar.adock {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 140;
    padding: 5px max(6px, env(safe-area-inset-right, 0px)) calc(5px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px));
    background: rgba(19,17,16,.96);
    -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
    border-top: 1px solid rgba(255,255,255,.08); transition: transform .25s ease;
  }
  /* typing: the on-screen keyboard owns the bottom of the screen */
  body.kb-open .tabbar.adock { transform: translateY(110%); }
  html:has(body.has-dock) { scroll-padding-bottom: calc(var(--dock-h) + 16px); }
}
@media (min-width: 961px) {
  body.has-dock { padding-bottom: 104px; }
  .tabbar.adock {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px;
    position: fixed; z-index: 140; left: 50%; bottom: 18px; transform: translateX(-50%);
    width: min(620px, calc(100vw - 32px)); padding: 6px;
    background: rgba(19,17,16,.96); border: 1px solid rgba(255,255,255,.1); border-radius: 22px;
    -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
    box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.4);
  }
  .adock .tab { min-height: 54px; border-radius: 16px; font-size: 11.5px; }
  .adock .tab:hover { color: var(--ink); }
  .adock .tab:hover .tab-ico { background: rgba(255,255,255,.06); }
  .adock .tab[aria-current]:hover .tab-ico, .adock .tab[aria-expanded="true"]:hover .tab-ico { background: rgba(240,120,90,.2); }
  html:has(body.has-dock) { scroll-padding-bottom: 110px; }
}

/* ---------- the "More" sheet: light panel above the bar, scrim, background inert ---------- */
.mscrim {
  position: fixed; inset: 0; z-index: 125; background: rgba(8,7,6,.55);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.mscrim.open { opacity: 1; visibility: visible; }
html:has(body.menu-locked) { overflow: hidden; }
.msheet {
  position: fixed; left: 0; right: 0; z-index: 130; bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
  visibility: hidden; pointer-events: none; transition: visibility 0s linear .36s;
}
.msheet.open { visibility: visible; transition-delay: 0s; }
.msheet.open .mx-panel { pointer-events: auto; }      /* the rest of the strip lets taps reach the scrim */
.msheet :focus-visible { outline-color: var(--coral-ink) !important; }   /* 5.7:1 on the cream panel */
.msheet .mx-panel {
  width: min(640px, 100%); margin: 0 auto;
  max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px - env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column;
  background: #eceae6; color: #23211f; border-radius: 22px 22px 0 0; box-shadow: 0 -18px 60px rgba(0,0,0,.35);
  transform: translateY(calc(100% + 70px)); transition: transform .36s cubic-bezier(.32,.72,0,1);
}
.msheet.open .mx-panel { transform: none; }
.mx-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 20px 12px; border-bottom: 1px solid rgba(0,0,0,.08); }
.mx-title { font: 400 11px/1.3 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: #6b6660; }
.msheet .sheet-x { width: 40px; height: 40px; }
.mx-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 4px 20px 20px; }
.mx-list, .mx-acts { display: grid; grid-template-columns: 1fr; column-gap: 20px; }
.mx-acts { margin-top: 14px; padding-top: 6px; border-top: 1px solid rgba(0,0,0,.1); }
.mx-item {
  display: grid; grid-template-columns: 34px 1fr 16px; align-items: center; gap: 12px;
  min-height: 52px; padding: 8px 4px; border-bottom: 1px solid rgba(0,0,0,.06); border-radius: 10px;
  font-size: 15px; font-weight: 400; color: #23211f; transition: background-color .15s ease;
}
.mx-item:hover { background: rgba(0,0,0,.04); }
.mx-item:active { background: rgba(0,0,0,.07); }
.mx-item[aria-current] .mx-txt { font-weight: 500; }
.mx-item[aria-current] .mx-ico { background: var(--coral); color: #2b130b; }
.mx-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--coral-deep); }
.mx-go { color: #a49d95; display: grid; }
.mx-item:focus-visible, .mx-trades a:focus-visible { outline: 2px solid var(--coral-ink); outline-offset: 2px; }
.mx-lang { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 6px 4px; font: 400 11px/1.3 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: #6b6660; }
.mx-trades { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 14px; margin-top: 12px; padding: 0 4px; font-size: 13.5px; color: #6b6660; }
.mx-trades > span { font: 400 11px/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.mx-trades a { display: inline-flex; align-items: center; min-height: 40px; color: #23211f; text-decoration: underline; text-decoration-color: var(--coral-deep); text-underline-offset: 4px; }
@media (min-width: 600px) { .mx-list, .mx-acts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 961px) {
  /* desktop: a floating card above the floating dock */
  .msheet { bottom: 98px; }
  .msheet .mx-panel {
    width: min(620px, calc(100vw - 32px)); border-radius: 22px; max-height: calc(100vh - 130px);
    box-shadow: 0 30px 80px rgba(0,0,0,.5); opacity: 0; transform: translateY(14px) scale(.985);
    transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
  }
  .msheet.open .mx-panel { opacity: 1; transform: none; }
  .msheet .sheet-grab { display: none; }
  .mx-head { padding-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .msheet .mx-panel, .mscrim, .tabbar.adock { transition-duration: .01s; }
}

/* ============================================================
   Responsive: tablet + phone
   ============================================================ */
@media (max-width: 960px) {
  .ind-hero { width: auto; padding: 4px var(--gutter) 48px; }
  .ind-hero-grid { grid-template-columns: 1fr; grid-template-areas: "photo" "copy" "sample"; gap: 16px; }
  .ind-visual { display: contents; }
  .ind-photo { grid-area: photo; aspect-ratio: auto; height: 132px; border-radius: 22px; }
  .ind-photo img { object-position: var(--band, var(--crop)); }
  .ind-type > svg:not(.rings) { width: 56px; height: 56px; margin: 0; }
  .ind-copy h1 { margin-top: 10px; }
  .ind-kicker { font-size: clamp(34px, 10vw, 44px); }
  .ind-headline { font-size: 22px; line-height: 1.2; margin-top: 8px; }
  .ind-copy .ind-btns { order: 3; margin-top: 18px; }
  .ind-copy .ind-free { order: 4; }
  .ind-copy .ind-sub { order: 5; margin-top: 18px; font-size: 15px; }
  .ind-copy .ind-note { order: 6; }
  .ind-copy .ind-price { order: 7; }
  .ind-copy .ind-badges { order: 8; }
  .ind-btns { display: grid; grid-template-columns: 1fr; width: 100%; gap: 10px; }
  .ind-btns .btn-lg { width: 100%; min-height: 50px; white-space: normal; text-align: center; }
  .ind-visual .sample { grid-area: sample; position: static; width: 100%; max-width: 340px; margin-top: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }

  .fsec { width: auto; margin: 0 var(--gutter); grid-template-columns: 1fr; gap: 24px; padding: 48px 0; }
  .fsec.flip .fsec-txt { order: 0; }
  .fsec h2 { font-size: 26px; margin-top: 14px; }
  .fsec-desc { font-size: 15px; }
  .checks li { font-size: 14.5px; }
  .fsec-card { padding: 28px 18px; border-radius: 22px; }
  .psec, .csec { width: auto; margin: 0 var(--gutter); }
  .ccard { grid-template-columns: 1fr; gap: 22px; }
  .ccard-copy { display: contents; }
  .ccard-head { order: 0; }
  .ccard-form { order: 1; }
  .ccard-aside { order: 2; padding-top: 18px; }
  .plans { grid-template-columns: 1fr; }
  .c-hero { width: auto; padding: 24px var(--gutter) 0; }
}
@media (max-width: 599px) {
  .ind-visual .sample { max-width: none; }
}
/* tablets: the copy reads full width, then the photo and the sample card side by side
   (the photo is never stretched past its 537px source, so it stays sharp) */
@media (min-width: 600px) and (max-width: 960px) {
  .ind-hero { padding-top: 12px; }
  .ind-hero-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "copy copy" "photo sample"; gap: 28px 24px; }
  .ind-copy .ind-sub, .ind-copy .ind-btns, .ind-copy .ind-free, .ind-copy .ind-note, .ind-copy .ind-price, .ind-copy .ind-badges { order: 0; }
  .ind-copy .ind-sub { margin-top: 18px; font-size: 16px; }
  .ind-copy .ind-btns { margin-top: 24px; }
  .ind-headline { font-size: 26px; max-width: 640px; }
  .ind-btns { display: flex; flex-wrap: wrap; width: auto; gap: 12px; }
  .ind-btns .btn-lg { width: auto; }
  .ind-photo { height: auto; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); }
  .ind-photo img { object-position: var(--crop); }
  .ind-type > svg:not(.rings) { width: 96px; height: 96px; }
  .ind-visual .sample { align-self: center; justify-self: center; max-width: 360px; margin-top: 0; }
}
@media (max-width: 640px) {
  .cmp table { display: none; }
  .cmp-list { display: grid; }
  .f-grid { grid-template-columns: 1fr; }
  .ccard { padding: 24px 18px; border-radius: 22px; }
  .pcard { padding: 24px 18px; border-radius: 22px; }
  .ind-price .dot, .price-line .dot { margin: 0 6px; }
  .price-big { font-size: 52px; }
}
@media (hover: none) {
  .btn:active { transform: scale(.97); }
}

/* ============================================================
   Cross-document View Transition: door -> industry page.
   Per-slug names live inline (door photo + name on home; hero photo + kicker on hubs).
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.adock { view-transition-name: lb-dock; }
::view-transition-old(lb-dock) { display: none; }
::view-transition-new(lb-dock) { animation: dockIn .4s .15s cubic-bezier(.2,.8,.2,1) both; }
@keyframes dockIn { from { translate: 0 120%; } }
::view-transition-group(*) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
::view-transition-old(root) { animation: lbOut .22s ease both; }
::view-transition-new(root) { animation: lbIn .32s .08s cubic-bezier(.2,.8,.2,1) both; }
@keyframes lbOut { to { opacity: 0; } }
@keyframes lbIn { from { opacity: 0; transform: translateY(12px); } }

/* ============================================================
   SIX DOORS on phones: tighter rows so all six + the "other" line fit a 360x684 screen
   ============================================================ */
@media (max-width: 599px) {
  .home-hero { padding-top: 10px; }
  .home-brand img { width: 100px; }
  .home-tag { font-size: 12.5px; }
  .doors-title { font-size: 27px; margin-top: 8px; }
  .doors { gap: 4px; margin-top: 10px; }
  .door { grid-template-columns: 44px 1fr 26px; gap: 11px; min-height: 58px; padding: 5px 9px 5px 7px; border-radius: 16px; }
  .door picture, .door .door-img, .door-type { width: 44px; height: 44px; border-radius: 11px; }
  .door-type svg { width: 24px; height: 24px; }
  .door-name { font-size: 16px; }
  .door-trades { font-size: 12px; line-height: 1.28; }
  .door-arrow { width: 26px; height: 26px; }
  .door-light { left: 62px; }
  .doors-other { margin-top: 10px; }
}

/* ============================================================
   CLIENT SHOWCASE under each industry hero (reuses .cs-* from styles.css)
   ============================================================ */
.ind-showcase { padding: clamp(36px, 5vw, 76px) 0 clamp(16px, 3vw, 36px); overflow-x: clip; }
.ind-showcase .client-showcase { margin-top: 0; }
.cs-note { text-align: center; color: var(--ink-dim); font-size: 12.5px; margin-top: 22px; padding: 0 var(--gutter, 16px); }
.cs-top-dark .cs-topr i { background: rgba(255,255,255,.12); }
.cs-logo-full { max-width: 190px; object-fit: contain; object-position: left center; }

/* ============================================================
   PHONES + TABLETS (<=960px), Pablo 2026-10-10: one big photo card per line
   (replaces the compact rows with 44-52px thumbnails above)
   ============================================================ */
@media (max-width: 960px) {
  .doors, .doors[class] { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; height: auto; }
  .doors > li, .doors > li:last-child:nth-child(odd) { grid-column: auto; justify-self: stretch; width: auto; }
  .door {
    display: block; position: relative; height: auto; aspect-ratio: 4 / 3.3; min-height: 0;
    padding: 0 !important; border-radius: 20px; overflow: hidden; grid-template-columns: none;
  }
  .door picture { position: absolute; inset: 0; width: auto; height: auto; }
  .door .door-img, .door .door-type {
    position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0;
    object-fit: cover; object-position: var(--band, var(--crop, 50% 30%)); transform: none;
  }
  .door::after { display: block; background: linear-gradient(180deg, rgba(19,17,16,0) 22%, rgba(19,17,16,.5) 55%, rgba(19,17,16,.93) 100%); }
  .door-num { display: block; top: 12px; left: 12px; }
  .door-badge { top: 12px; right: 12px; padding: 6px 9px; font-size: 10px; background: rgba(19,17,16,.62); }
  .door-body { position: absolute; left: 16px; right: 66px; bottom: 15px; }
  .door-name { font-size: 22px; line-height: 1.1; }
  .door-trades { margin-top: 4px; font-size: 13px; line-height: 1.35; color: #e6e0d9; -webkit-line-clamp: 2; }
  .door-arrow { position: absolute; z-index: 2; right: 14px; bottom: 16px; width: 38px; height: 38px; background: var(--coral); color: #2b130b; }
  .door-light { left: 16px; bottom: 0; }
  .door:active .door-light { width: calc(100% - 32px); }
  .door .door-type svg { position: absolute; top: 16%; left: 50%; width: 52px; height: 52px; margin: 0; transform: translateX(-50%); }
  .door .door-type .rings { display: block; }
}
@media (min-width: 600px) and (max-width: 960px) {
  .door { aspect-ratio: 16 / 10; }
  .door-name { font-size: 28px; }
  .door-trades { font-size: 14.5px; }
}

/* client devices on phones/tablets: one pair per line, as big as the screen allows */
@media (max-width: 959px) {
  .ind-showcase .cs-row { flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 30px; padding-top: 6px; }
  .ind-showcase .cs-slot { --s: .7; }
  .ind-showcase .cs-caption { padding: 0 var(--gutter, 16px); line-height: 1.7; text-wrap: balance; }
}
@media (max-width: 374px) { .ind-showcase .cs-slot { --s: .64; } }
@media (min-width: 414px) and (max-width: 599px) { .ind-showcase .cs-slot { --s: .76; } }
@media (min-width: 600px) and (max-width: 959px) { .ind-showcase .cs-slot { --s: 1.12; } }
/* on phones the website screen gets bigger inside the pair */
@media (max-width: 599px) {
  .ind-showcase .cs-phone { width: 158px; height: 330px; border-radius: 30px; }
  .ind-showcase .cs-pscreen { border-radius: 24px; }
}

/* homepage without the tagline/sub-line: a little more air between logo, heading and cards */
.doors-title { margin-top: clamp(20px, 3.2vh, 34px); }
@media (max-width: 960px) { .doors-title { margin-top: 16px; } .doors { margin-top: 18px; } }

/* ============================================================
   2026-10-10: modern industry label in the top bar (no pill, no tint)
   ============================================================ */
.nav-ind, .nav-ind:hover {
  gap: 12px; min-height: 40px; padding: 0 0 0 16px; border: 0; border-left: 1px solid rgba(255,255,255,.16);
  border-radius: 0; background: none; font-size: 14.5px;
}
.nav-ind b { font-weight: 500; letter-spacing: -.01em; transition: color .2s; }
.nav-change {
  font-size: 12.5px; color: var(--ink-dim); text-decoration: underline; text-decoration-color: rgba(240,120,90,.6);
  text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s;
}
.nav-ind:hover b, .nav-ind:hover .nav-change, .nav-ind:focus-visible .nav-change { color: var(--coral); }
.nav-ind:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; border-radius: 6px; }
@media (max-width: 520px) {
  .nav-ind, .nav-ind:hover { padding-left: 12px; gap: 0; }
  .nav-ind b { display: none; }              /* phones: the giant industry name sits right below */
}

/* minimal industry pages: tighter feature sections now that there's no paragraph or checklist */
.fsec-txt h2 { margin-bottom: 14px; }
.fsec .fsec-meta { margin-top: 4px; }

/* Login next to the language pill (2026-10-10) */
.home-lang { display: flex; align-items: center; gap: 8px; }
.pbar-login {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 15px; border-radius: 100px;
  font-size: 13.5px; color: var(--ink); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.28);
}
.pbar-login svg { color: var(--coral); flex: none; }
.pbar-login:hover { border-color: var(--coral); color: var(--coral); }
@media (max-width: 520px) {
  .pbar .pbar-login { padding: 0; width: 40px; justify-content: center; }
  .pbar .pbar-login span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .pbar .pbar-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .pbar .pbar-call { padding: 0; width: 40px; justify-content: center; }
}
/* hero without buttons: a little air before the price line */
.ind-copy .ind-free { margin-top: 22px; }
.ind-copy .ind-price { margin-top: 18px; }

/* phones: language pill + Login get their own row above the centered logo (no overlap) */
@media (max-width: 600px) {
  .home-lang { position: static; justify-content: flex-end; padding: 12px var(--gutter) 0; }
  .home-hero { padding-top: 2px; }
}

/* ============================================================
   AGENTIC FIRST (2026-10-10)
   ============================================================ */
/* homepage: top row = agentic link (left) + language/Login (right); tagline under the logo */
.home-top {
  position: absolute; z-index: 5; top: 18px; left: 0; right: 0; width: var(--row); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.home-top .home-lang { position: static; }
/* Pablo 2026-10-11: no underline (it doubled up on the language spans); orb + plain text, like the other menu items */
.home-agentic, .pbar-agentic {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; white-space: nowrap;
  font-size: 14.5px; font-weight: 500; color: var(--ink); transition: color .2s;
}
.home-agentic:hover, .pbar-agentic:hover { color: var(--coral); }
.home-tag { font-size: 15px; color: var(--ink-dim); max-width: none; letter-spacing: .01em; }
.home-tag em { font-style: normal; color: var(--coral); font-weight: 500; }
.pbar-agentic { margin-left: 22px; }
@media (max-width: 1099px) { .pbar-agentic { display: none; } }
@media (max-width: 600px) {
  .home-top { position: static; width: auto; padding: 12px var(--gutter) 0; }
  .home-agentic { font-size: 13px; gap: 6px; }
  .home-tag { font-size: 13px; max-width: 22em; }
}
@media (max-width: 400px) {
  .home-top .pbar-login { padding: 0; width: 40px; justify-content: center; }
  .home-top .pbar-login span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
}
.ind-folio svg { color: var(--coral); vertical-align: -2px; margin-right: 7px; }

/* industry pages: the agents section right under the hero */
.agents { width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 84px) 0 clamp(20px, 3vw, 40px); }
.agents-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg);
  background: radial-gradient(120% 120% at 100% 0%, rgba(240,120,90,.16), transparent 55%), #1b1917;
  border: 1px solid rgba(240,120,90,.22);
}
.agents-eye { display: inline-flex; align-items: center; gap: 8px; font: 500 11.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--coral); }
.agents h2 { margin-top: 14px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; text-wrap: balance; }
.agents-line { margin-top: 12px; color: var(--ink-dim); font-size: clamp(15px, 1.3vw, 17px); max-width: 34em; }
.agents-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.agents-list li { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); }
.agents-list b { display: block; font-weight: 500; font-size: 15px; }
.agents-list span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--ink-dim); }
.agents-more { display: inline-block; margin-top: 22px; font-size: 14.5px; color: var(--ink); border-bottom: 1px solid rgba(240,120,90,.6); padding-bottom: 2px; }
.agents-more:hover { color: var(--coral); }
.agents-chat { display: flex; justify-content: center; }
@media (max-width: 960px) {
  .agents { width: auto; margin: 0 var(--gutter); }
  .agents-grid { grid-template-columns: 1fr; padding: 24px 18px; }
  .agents-list { grid-template-columns: 1fr; }
}

/* chat mockup (English sample UI) */
.chat {
  width: 100%; max-width: 360px; background: #fff; color: #1d1b19; border-radius: 22px; overflow: hidden;
  font: 400 13.5px/1.4 -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; letter-spacing: 0;
  box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 80px rgba(240,120,90,.1);
}
.chat-big { max-width: 400px; }
.chat-top { display: flex; align-items: center; gap: 9px; padding: 13px 16px; border-bottom: 1px solid #eee9e3; }
.chat-av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #131110; color: var(--coral); }
.chat-top b { font-weight: 700; }
.chat-top small { margin-left: auto; font-size: 11px; color: #1e9e63; }
.chat-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: #faf8f6; }
.chat-b { max-width: 86%; padding: 9px 12px; border-radius: 16px; display: flex; gap: 6px; align-items: flex-start; }
.chat-b.me { align-self: flex-end; background: #131110; color: #f5f2ee; border-bottom-right-radius: 5px; }
.chat-b.ai { align-self: flex-start; background: #fff; border: 1px solid #ece7e1; border-bottom-left-radius: 5px; }
.chat-b.ok { background: #e9f7ef; border-color: #cdebd9; color: #12663f; font-weight: 600; }
.chat-b.ok svg { flex: none; margin-top: 2px; }
.chat-in { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 12px; padding: 10px 14px; border-radius: 999px; background: #f1eeea; color: #8b857e; }

/* the agentic page */
.ag-hero { width: var(--wrap); margin: 0 auto; padding: clamp(48px, 8vw, 110px) 0 clamp(24px, 4vw, 48px); text-align: center; }
.ag-hero h1 { margin-top: 18px; font-size: clamp(40px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.025em; }
.ag-sub { margin: 18px auto 0; max-width: 36em; color: var(--ink-dim); font-size: clamp(16px, 1.5vw, 19px); text-wrap: balance; }
.ag-label { font: 500 11.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--coral); }
.ag-found { width: var(--wrap); margin: 0 auto; padding: clamp(24px, 4vw, 48px) 0; }
.ag-found .ag-label { text-align: center; }
.ag-cards { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ag-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: #1b1917; border: 1px solid rgba(255,255,255,.08); }
.ag-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(240,120,90,.12); color: var(--coral); }
.ag-card h3 { margin-top: 20px; font-size: clamp(30px, 3vw, 40px); font-weight: 500; letter-spacing: -.02em; }
.ag-what { margin-top: 6px; font-size: 17px; color: var(--ink); }
.ag-detail { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-dim); }
.ag-do { width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 84px) 0; }
.ag-do-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ag-do h2 { margin-top: 14px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; }
.ag-caps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.ag-caps li { display: flex; gap: 12px; align-items: flex-start; }
.ag-cap-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: rgba(240,120,90,.12); color: var(--coral); }
.ag-caps b { display: block; font-weight: 500; font-size: 15px; }
.ag-caps span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--ink-dim); }
.ag-fine { margin-top: 24px; font-size: 13px; color: var(--ink-dim); }
.ag-cta { width: var(--wrap); margin: 0 auto; padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 8vw, 100px); text-align: center; }
.ag-cta h2 { font-size: clamp(28px, 3.4vw, 44px); }
.ag-cta-btns { margin-top: 22px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 960px) {
  .ag-hero, .ag-found, .ag-do, .ag-cta { width: auto; margin: 0 var(--gutter); }
  .ag-cards { grid-template-columns: 1fr; }
  .ag-do-grid { grid-template-columns: 1fr; }
  .ag-caps { grid-template-columns: 1fr; }
  .ag-cta-btns .btn { flex: 1 1 100%; }
}

/* ============================================================
   V6 (2026-10-11): live homepage + doors in the middle; new menu everywhere
   ============================================================ */
/* the doors as the homepage's middle section */
.doors-sec { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); }
.doors-sec .home-hero { padding-top: 0; }
.doors-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  font: 500 12px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim);
}
.doors-eyebrow svg { color: var(--coral); flex: none; }
.doors-eyebrow em { font-style: normal; color: var(--coral); }
.doors-sec .doors-title { margin-top: 14px; }
@media (max-width: 960px) { .doors-sec .home-hero { padding: 0 var(--gutter); } .doors-eyebrow { font-size: 10.5px; letter-spacing: .1em; } }
/* live nav: the agentic link */
.nav-agentic { display: inline-flex; align-items: center; gap: 7px; }
.nav-agentic svg { color: var(--coral); }

/* industry / agentic / contact pages: Industries dropdown + agentic link */
.pbar-menu { display: flex; align-items: center; gap: 22px; margin-left: 22px; min-width: 0; }
.pbar-menu .pbar-agentic { margin-left: 0; }
.pind { position: relative; }
.pind summary {
  list-style: none; display: inline-flex; align-items: center; gap: 9px; min-height: 40px; cursor: pointer;
  padding-left: 18px; border-left: 1px solid rgba(255,255,255,.16); font-size: 14.5px; font-weight: 500; white-space: nowrap;
}
.pind summary::-webkit-details-marker { display: none; }
.pind summary svg { color: var(--ink-dim); transition: transform .2s; }
.pind[open] summary svg { transform: rotate(180deg); }
.pind summary:hover, .pind[open] summary { color: var(--coral); }
.pind-panel {
  position: absolute; z-index: 60; top: calc(100% + 10px); left: 0; width: 380px; max-width: calc(100vw - 32px);
  padding: 10px; border-radius: 20px; background: #f4f2ef; color: #191817;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.pind-head { padding: 8px 10px 6px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: #8d8781; }
.pind-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; }
.pind-item:hover, .pind-item.on { background: #fff; }
.pind-ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: rgba(240,120,90,.13); color: var(--coral-deep); }
.pind-txt b { display: block; font-weight: 500; font-size: 14.5px; }
.pind-txt small { display: block; font-size: 12px; color: #6c6862; line-height: 1.35; }
.pind-ag { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 12px 10px 8px; border-top: 1px solid #ddd8d1; font-size: 13.5px; font-weight: 500; color: var(--coral-ink); }
@media (max-width: 1099px) { .pbar-menu .pbar-agentic { display: none; } }
@media (max-width: 520px) {
  .pbar-menu { margin-left: 10px; }
  .pind summary { padding-left: 10px; font-size: 13px; }
  .pind-lbl { max-width: 92px; overflow: hidden; text-overflow: ellipsis; }
  .pind-panel { position: fixed; top: 64px; left: 12px; right: 12px; width: auto; max-width: none; }
}

/* agentic page: how it works */
.ag-how { width: var(--wrap); margin: 0 auto; padding: clamp(24px, 4vw, 56px) 0; text-align: center; }
.ag-how h2 { margin-top: 12px; font-size: clamp(28px, 3.4vw, 44px); }
.ag-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; counter-reset: s; }
.ag-steps li { position: relative; padding: 26px 24px; border-radius: var(--radius-lg); background: #1b1917; border: 1px solid rgba(255,255,255,.08); }
.ag-steps b { display: block; margin-top: 16px; font-size: 20px; font-weight: 500; }
.ag-steps li > span:last-child { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--ink-dim); }
.ag-step-n { position: absolute; top: 22px; right: 24px; font: 500 12px/1 var(--font-mono); letter-spacing: .14em; color: var(--coral); }
@media (max-width: 960px) { .ag-how { width: auto; margin: 0 var(--gutter); } .ag-steps { grid-template-columns: 1fr; } }

/* Hardware stays in the menu (Pablo, 2026-10-11) */
.pbar-hw { font-size: 14.5px; white-space: nowrap; }
.pbar-hw:has(.l-es), .pbar-hw:has(.l-en) { display: inline-flex; align-items: center; min-height: 40px; }
:root[lang="en"] .pbar-hw:has(.l-es), :root[lang="es"] .pbar-hw:has(.l-en) { display: none; }
.pbar-hw:hover { color: var(--coral); }
@media (max-width: 1099px) { .pbar-hw { display: none !important; } }
.pind-hw { display: flex; align-items: center; gap: 8px; padding: 6px 10px 8px; font-size: 13.5px; font-weight: 500; color: #23211f; }
.pind-hw svg { color: var(--coral-deep); }

/* phones: the Industries menu is an icon button so it never runs into EN | ES */
.pind-grid { display: none; }
@media (max-width: 600px) {
  .pind summary { padding-left: 12px; gap: 4px; }
  .pind-lbl { display: none; }
  .pind-grid { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); color: var(--ink); }
  .pind[open] .pind-grid { border-color: var(--coral); color: var(--coral); }
}

/* ============================================================
   Animated foundation icons: Brain · Memory · Soul (2026-10-11)
   ============================================================ */
.ag-glyph {
  position: relative; display: grid; place-items: center; width: 84px; height: 84px; color: var(--coral);
}
.ag-glyph::before {   /* soft glow behind the line icon */
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,120,90,.22) 0%, rgba(240,120,90,.06) 45%, transparent 70%);
}
.ag-glyph svg { position: relative; width: 64px; height: 64px; overflow: visible; }
.ag-glyph path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.ag-sparks circle { fill: var(--coral); stroke: none; opacity: 0; }
.ag-rewind, .ag-beat { transform-box: fill-box; transform-origin: center; }
.ag-card h3 { margin-top: 14px; }

@media (prefers-reduced-motion: no-preference) {
  /* armed by proto.js only when the card is still off screen: lines hidden until it scrolls in */
  .ag-anim.ag-armed .ag-draw path { stroke-dashoffset: 1; }
  .ag-anim.ag-in .ag-draw path { animation: agDraw 1.5s cubic-bezier(.65,0,.35,1) forwards; }
  .ag-anim.ag-in .ag-hands path { animation-delay: .9s; }
  .ag-anim.ag-in .ag-pulse path { animation-delay: 1s; }
  .ag-anim.ag-in .ag-glyph::before { animation: agGlow 3.2s ease-in-out 1.4s infinite; }
  /* Brain: neurons blink after it's drawn */
  .ag-anim.ag-in .ag-sparks circle { animation: agSpark 2.4s ease-in-out 1.6s infinite; }
  .ag-anim.ag-in .ag-sparks circle:nth-child(2) { animation-delay: 2.2s; }
  .ag-anim.ag-in .ag-sparks circle:nth-child(3) { animation-delay: 2.8s; }
  /* Memory: a small rewind every few seconds */
  .ag-anim.ag-in .ag-rewind { animation: agRewind 4.5s cubic-bezier(.5,0,.25,1) 1.8s infinite; }
  /* Soul: heartbeat + the pulse line redraws */
  .ag-anim.ag-in .ag-beat { animation: agBeat 1.6s ease-in-out 1.6s infinite; }
  .ag-anim.ag-in .ag-pulse path { animation: agDraw 1.4s cubic-bezier(.65,0,.35,1) 1s forwards, agTrace 3.2s linear 2.4s infinite; }
}
@keyframes agDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes agGlow { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes agSpark { 0%, 100% { opacity: 0; } 40%, 60% { opacity: 1; } }
@keyframes agRewind { 0%, 70% { transform: rotate(0); } 85% { transform: rotate(-40deg); } 100% { transform: rotate(0); } }
@keyframes agBeat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.1); } 28% { transform: scale(1); } 42% { transform: scale(1.07); } 56% { transform: scale(1); } }
@keyframes agTrace { 0% { stroke-dashoffset: 1; } 45%, 100% { stroke-dashoffset: 0; } }
@media (max-width: 960px) { .ag-glyph { width: 76px; height: 76px; } .ag-glyph svg { width: 56px; height: 56px; } }

/* "How it works" step icons (same family as Brain · Memory · Soul) */
.ag-steps .ag-glyph { width: 72px; height: 72px; margin: -6px 0 0 -8px; }
.ag-steps .ag-glyph svg { width: 52px; height: 52px; }
.ag-steps b { margin-top: 10px; }
.ag-typing circle { fill: var(--coral); stroke: none; }
.ag-think, .ag-twinkle, .ag-ripple { transform-box: fill-box; transform-origin: center; }
.ag-ripple path { opacity: 0; stroke-dasharray: none; }
@media (prefers-reduced-motion: no-preference) {
  .ag-anim.ag-armed .ag-typing circle { opacity: 0; }
  .ag-anim.ag-in .ag-typing circle { animation: agType 1.3s ease-in-out 1.3s infinite; opacity: .25; }
  .ag-anim.ag-in .ag-typing circle:nth-child(2) { animation-delay: 1.45s; }
  .ag-anim.ag-in .ag-typing circle:nth-child(3) { animation-delay: 1.6s; }
  .ag-anim.ag-in .ag-think { animation: agThink 3.6s ease-in-out 1.5s infinite; }
  .ag-anim.ag-in .ag-twinkle { animation: agTwinkle 2.4s ease-in-out 1.6s infinite; }
  .ag-anim.ag-in .ag-twinkle path { animation-delay: .7s; }
  .ag-anim.ag-in .ag-twinkle-2 { animation-delay: 2.4s; }
  .ag-anim.ag-in .ag-check path { animation: agDraw .8s cubic-bezier(.65,0,.35,1) 1.1s forwards, agCheck 3.4s ease-in-out 2.4s infinite; }
  .ag-anim.ag-in .ag-ripple { animation: agRipple 3.4s ease-out 2.4s infinite; }
}
@keyframes agType { 0%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-1.4px); } 60% { opacity: .4; transform: translateY(0); } }
@keyframes agThink { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(14deg) scale(1.06); } }
@keyframes agTwinkle { 0%, 100% { opacity: .35; transform: scale(.75); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes agCheck { 0%, 8% { stroke-dashoffset: 1; } 30%, 100% { stroke-dashoffset: 0; } }
@keyframes agRipple { 0%, 20% { opacity: 0; transform: scale(1); } 28% { opacity: .55; } 60%, 100% { opacity: 0; transform: scale(1.45); } }

/* ============================================================
   Industry AI section: minimal type + animated icons (2026-10-11)
   ============================================================ */
.agents h2 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.02em; }
.agents-line { margin-top: 14px; font-size: clamp(15px, 1.25vw, 16.5px); line-height: 1.55; max-width: 30em; }
.agents-list { margin-top: 30px; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.agents-list li { padding: 18px 0 20px; border-radius: 0; background: none; border: 0; border-top: 1px solid rgba(255,255,255,.1); }
.agents-list .ag-glyph { width: 52px; height: 52px; margin: -4px 0 4px -8px; }
.agents-list .ag-glyph::before { inset: 4px; }
.agents-list .ag-glyph svg { width: 34px; height: 34px; }
.agents-list b { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.agents-list span { margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--ink-dim); }
@media (max-width: 960px) {
  .agents-list { grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .agents-list b { font-size: 15px; }
  .agents-list span { font-size: 12.5px; }
}
@media (max-width: 340px) { .agents-list { grid-template-columns: 1fr; } }

.ag-fly, .ag-ring, .ag-hop, .ag-tilt, .ag-spin, .ag-drive, .ag-starfill, .ag-dot { transform-box: fill-box; transform-origin: center; }
.ag-ring { transform-origin: 30% 70%; }
.ag-dot circle { fill: var(--coral); stroke: #1b1917; stroke-width: 1.4; }
.ag-starfill path { fill: rgba(240,120,90,0); }
@media (prefers-reduced-motion: no-preference) {
  .ag-anim.ag-armed .ag-dot { transform: scale(0); }
  .ag-anim.ag-in .ag-fly { animation: agFly 3.6s ease-in-out 1.5s infinite; }
  .ag-anim.ag-in .ag-ring { animation: agRing 3s ease-in-out 1.5s infinite; }
  .ag-anim.ag-in .ag-waves path { animation: agDraw .9s ease-out 1s forwards, agWaves 3s ease-in-out 1.9s infinite; }
  .ag-anim.ag-in .ag-dot { animation: agPop .5s cubic-bezier(.3,1.6,.5,1) 1.3s backwards, agPing 2.6s ease-in-out 2s infinite; }
  .ag-anim.ag-in .ag-hop { animation: agHop 2.8s ease-in-out 1.5s infinite; }
  .ag-anim.ag-in .ag-starfill path { animation: agDraw 1.5s cubic-bezier(.65,0,.35,1) forwards, agStar 3.2s ease-in-out 1.6s infinite; }
  .ag-anim.ag-in .ag-tilt { animation: agTilt 2.6s ease-in-out 1.5s infinite; }
  .ag-anim.ag-in .ag-spin { animation: agSpin 4s cubic-bezier(.6,0,.3,1) 1.6s infinite; }
  .ag-anim.ag-in .ag-drive { animation: agDrive 2.2s ease-in-out 1.5s infinite; }
}
@keyframes agFly { 0%, 55%, 100% { transform: translate(0, 0); } 70% { transform: translate(2.5px, -2.5px); } 85% { transform: translate(0, 0); } }
@keyframes agRing { 0%, 60%, 100% { transform: rotate(0); } 66% { transform: rotate(-12deg); } 72% { transform: rotate(10deg); } 78% { transform: rotate(-8deg); } 84% { transform: rotate(6deg); } 90% { transform: rotate(0); } }
@keyframes agWaves { 0%, 55%, 100% { opacity: 1; } 70% { opacity: .2; } 85% { opacity: 1; } }
@keyframes agPop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes agPing { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
@keyframes agHop { 0%, 60%, 100% { transform: translateY(0); } 72% { transform: translateY(-3px); } 84% { transform: translateY(0); } 90% { transform: translateY(-1px); } }
@keyframes agStar { 0%, 100% { fill: rgba(240,120,90,0); } 50% { fill: rgba(240,120,90,.35); } }
@keyframes agTilt { 0%, 55%, 100% { transform: rotate(0) scale(1); } 68% { transform: rotate(-8deg) scale(1.06); } 80% { transform: rotate(4deg) scale(1.02); } }
@keyframes agSpin { 0%, 50% { transform: rotate(0); } 80%, 100% { transform: rotate(360deg); } }
@keyframes agDrive { 0%, 100% { transform: translateX(0); } 40% { transform: translateX(2px) translateY(-.6px); } 60% { transform: translateX(2px); } }
.agents-list li .ag-glyph { display: grid; color: var(--coral); margin-top: -4px; font-size: inherit; }

/* ============================================================
   V7 industry story (Pablo 2026-10-11, after gigs.com/connect): one short step per feature on the left,
   a phone that stays still on the right; its screen is a chat with Atlas doing that step's job.
   Phones: no phone frame, every step carries its own small chat. Without JS everything is visible.
   ============================================================ */
.story { width: var(--wrap); margin: 0 auto; padding: clamp(8px, 2vw, 24px) 0 clamp(48px, 7vw, 96px); overflow-x: clip; overflow-clip-margin: 40px; }
.story-head { max-width: 640px; }
.story-head h2 { font: 500 clamp(30px, 3.4vw, 48px)/1.08 var(--font-body); letter-spacing: -.02em; text-wrap: balance; }
.story-sub { margin-top: 14px; font-size: clamp(15px, 1.3vw, 17px); color: var(--ink-dim); max-width: 54ch; }
.story-more { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--ink); border-bottom: 1px solid rgba(240,120,90,.6); padding: 8px 0 1px; }
.story-more:hover { color: var(--coral); }

.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 7vw, 120px); margin-top: clamp(8px, 2vw, 24px); }
.story-steps { list-style: none; margin: 0; padding: 0 0 0 36px; position: relative; }
.story-steps::before {
  content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.14) 10%, rgba(255,255,255,.14) 90%, transparent);
}
.st { position: relative; min-height: min(70vh, 620px); display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.st::before {
  content: ""; position: absolute; left: -31px; top: 28%; bottom: 28%; width: 3px; border-radius: 3px;
  background: var(--coral); opacity: 0; transform: scaleY(.3); transition: opacity .4s, transform .5s var(--ease-door);
}
.st-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--coral); background: rgba(240,120,90,.1); }
.st h3 { margin-top: 18px; font: 500 clamp(28px, 2.8vw, 40px)/1.08 var(--font-body); letter-spacing: -.02em; }
.st-line { margin-top: 12px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.45; color: var(--ink-dim); max-width: 32ch; }
.st-tag { margin-top: 14px; font: 500 11px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #8d8781; }
.st-chat { display: none; }

/* the phone: a modern handset (titanium edge, side buttons, status bar, Dynamic Island) */
.story-stage {
  --ph-h: min(640px, calc(100vh - 120px), calc(100svh - 120px));
  --ph-r: calc(var(--ph-h) * .088);
  position: sticky; top: max(24px, calc(50vh - var(--ph-h) / 2)); align-self: start; height: var(--ph-h);
  isolation: isolate;
}
.story-stage::before {
  content: ""; position: absolute; inset: 10% -22%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(240,120,90,.24), rgba(240,120,90,.06) 55%, transparent 78%);
}
.sx-phone {
  height: 100%; aspect-ratio: 9 / 19.4; padding: 6px; border-radius: var(--ph-r); position: relative;
  background: linear-gradient(140deg, #4a4541 0%, #1b1917 22%, #121110 50%, #2b2825 78%, #57514c 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.22), inset 0 0 0 2.5px #0b0a09, inset 0 0 0 3.5px rgba(255,255,255,.06),
    0 0 0 1px rgba(0,0,0,.55), 0 70px 110px -45px rgba(0,0,0,.95), 0 40px 80px -40px rgba(240,120,90,.28);
}
.sx-btn { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #5a544f, #2a2724); }
.sx-btn-a { left: -2.5px; top: 17%; height: 4.5%; }
.sx-btn-v1 { left: -2.5px; top: 25%; height: 8%; }
.sx-btn-v2 { left: -2.5px; top: 35%; height: 8%; }
.sx-btn-p { right: -2.5px; left: auto; top: 28%; height: 12%; background: linear-gradient(270deg, #5a544f, #2a2724); }
.sx-screen {
  height: 100%; display: flex; flex-direction: column; overflow: hidden; position: relative;
  border-radius: calc(var(--ph-r) - 6px); color: #1d1a17; font-family: var(--font-body);
  background:
    radial-gradient(130% 55% at 50% -12%, rgba(240,120,90,.20), transparent 62%),
    radial-gradient(90% 40% at 110% 105%, rgba(255,176,120,.16), transparent 70%),
    #fbf8f5;
}
/* a faint glass sheen across the glass */
.sx-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 28%); mix-blend-mode: soft-light; }
.sx-status { position: relative; display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 6px 26px 0 30px; flex: none; }
.sx-status b { font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; }
.sx-island { position: absolute; left: 50%; top: 11px; width: 31%; height: 27px; transform: translateX(-50%); border-radius: 20px; background: #000; }
.sx-sig { display: flex; align-items: center; gap: 5px; color: #1d1a17; }
.sx-top { display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; padding: 2px 12px 10px; flex: none; }
.sx-tb { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #1d1a17; background: rgba(255,255,255,.7); box-shadow: 0 1px 2px rgba(29,26,23,.08); }
.sx-id { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.sx-who { text-align: center; }
.sx-who b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.15; }
.sx-who small { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: #7c756e; }
.sx-who small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34a35f; box-shadow: 0 0 0 2px rgba(52,163,95,.18); }

/* the agent's orb: a slowly turning gradient with a glassy highlight */
.sx-orb { position: relative; display: block; flex: none; width: 34px; height: 34px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 6px 16px -4px rgba(240,120,90,.6), inset 0 0 0 1px rgba(255,255,255,.35); }
.sx-orb::before { content: ""; position: absolute; inset: -30%;
  background: conic-gradient(from 0deg, #f0785a, #ffb36b, #ff8fb1, #c98bff, #f0785a); filter: blur(4px); animation: sxOrb 6s linear infinite; }
.sx-orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), rgba(255,255,255,.3) 30%, transparent 58%); }
.sx-orb.sm { width: 16px; height: 16px; box-shadow: 0 2px 6px -1px rgba(240,120,90,.6); }
@keyframes sxOrb { to { transform: rotate(360deg); } }

.sx-body { flex: 1; position: relative; min-height: 0; }
.sx-chat { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 12px 10px; transition: opacity .35s, visibility .35s; }
.sx-fill { flex: 1 1 0; }
.sx-day { align-self: center; margin: 2px 0 2px; font-size: 10px; font-weight: 500; color: #9a9089; letter-spacing: .02em; }
.story:not(.js) .story-stage .sx-chat:not([data-st="0"]) { display: none; }
.story.js .story-stage .sx-chat { opacity: 0; visibility: hidden; }
.story.js .story-stage .sx-chat.on { opacity: 1; visibility: visible; }

/* message bar */
.sx-in { display: flex; align-items: center; gap: 8px; margin: 0 10px; padding: 5px 5px 5px 6px; flex: none; border-radius: 100px;
  background: rgba(255,255,255,.92); box-shadow: 0 1px 2px rgba(29,26,23,.06), 0 8px 24px -12px rgba(29,26,23,.25), inset 0 0 0 1px rgba(29,26,23,.06); }
.sx-in-plus { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f3eee9; color: #5e5852; }
.sx-in-ph { flex: 1; font-size: 12px; color: #a39a92; }
.sx-in-mic { display: grid; color: #7c756e; }
.sx-in-send { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #1d1a17; color: #fff; }
.sx-homebar { display: block; flex: none; width: 36%; height: 4.5px; margin: 9px auto 7px; border-radius: 3px; background: #1d1a17; opacity: .85; }

/* chat rows: each one grows in from 0 height, so the conversation flows like a real chat */
.sx-m { display: grid; grid-template-rows: 1fr; }
.sx-m > div { min-height: 0; overflow: hidden; display: flex; flex-direction: column; padding: 0 2px 4px; }
.sx-m > div > * { margin-top: 6px; }
.story.js .sx-m { grid-template-rows: 0fr; opacity: 0; transform: translateY(8px) scale(.98); transform-origin: left bottom; transition: grid-template-rows .45s var(--ease-door), opacity .3s, transform .45s var(--ease-door); }
.story.js .sx-m.me { transform-origin: right bottom; }
.story.js .sx-m.in { grid-template-rows: 1fr; opacity: 1; transform: none; }
.sx-bub { width: fit-content; max-width: 84%; padding: 9px 13px; border-radius: 19px; font-size: 12.5px; line-height: 1.42; letter-spacing: -.003em; }
.sx-m.me .sx-bub { align-self: flex-end; color: #fff; border-bottom-right-radius: 6px;
  background: linear-gradient(180deg, #2b2724, #151311); box-shadow: 0 6px 14px -8px rgba(21,19,17,.6); }
.sx-m.ai .sx-bub { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px;
  box-shadow: 0 1px 2px rgba(29,26,23,.05), 0 6px 18px -10px rgba(29,26,23,.18); }
.sx-m.ok .sx-bub { display: flex; align-items: center; gap: 8px; padding: 8px 13px 8px 9px; color: #1d1a17; }
.sx-ok-ico { display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; color: #fff; background: linear-gradient(180deg, #3cb36b, #23894c); }

/* result cards */
.sx-bub.sx-card { display: flex; flex-direction: column; width: 90%; max-width: 90%; padding: 11px 12px 6px; border-radius: 18px; border-bottom-left-radius: 6px; }
.sx-card-head { display: flex; align-items: center; gap: 7px; min-width: 0; }
.sx-card-ico { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; color: var(--coral); background: rgba(240,120,90,.12); }
.sx-card-top { min-width: 0; font: 500 9.5px/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: #8d857e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-card-title { margin-top: 8px; font-size: 13.5px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.sx-card-rows { display: flex; flex-direction: column; margin-top: 6px; }
.sx-card-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 7px 0; font-size: 11.5px; border-top: 1px solid #f0ebe6; }
.sx-card-row:first-child { border-top: 0; }
.sx-card-row span { color: #7c756e; white-space: nowrap; }
.sx-card-row b { font-weight: 600; text-align: right; }
.sx-card-total { margin: 4px -6px 4px; padding: 8px 8px; border: 0; border-radius: 11px; background: linear-gradient(90deg, rgba(240,120,90,.12), rgba(255,179,107,.12)); }
.sx-card-total b { font-size: 14px; color: #c4502f; }
.sx-chips { display: flex; gap: 6px; }
.sx-chip { padding: 7px 13px; border-radius: 100px; background: #fff; font-size: 11.5px; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(29,26,23,.1); }
.sx-chip.on { background: #1d1a17; color: #fff; box-shadow: 0 6px 14px -8px rgba(21,19,17,.6); }

/* "Atlas is working…": a shimmer instead of three dots */
.sx-typing { display: none; align-items: center; gap: 7px; width: fit-content; margin: 8px 0 4px 2px; font-size: 11.5px; font-weight: 500; }
.sx-chat.is-typing .sx-typing { display: flex; }
.sx-typing span { background: linear-gradient(90deg, #a39a92 0%, #a39a92 35%, #1d1a17 50%, #a39a92 65%, #a39a92 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sxShine 1.5s linear infinite; }
@keyframes sxShine { from { background-position: 100% 0; } to { background-position: -150% 0; } }

@media (min-width: 961px) {
  .story.js .st { opacity: .28; transition: opacity .45s; }
  .story.js .st.on { opacity: 1; }
  .story.js .st.on::before { opacity: 1; transform: none; }
  .story:not(.js) .st::before { display: none; }
}
@media (min-width: 961px) and (max-height: 640px) {
  .story-stage { --ph-h: calc(100vh - 48px); top: 24px; }
}
@media (max-width: 960px) {
  .story { width: auto; margin: 0 var(--gutter); }
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-stage { display: none; }
  .story-steps { padding-left: 0; }
  .story-steps::before, .st::before { display: none; }
  .st { min-height: 0; padding: 32px 0; border-top: 1px solid rgba(255,255,255,.08); }
  .st:first-child { border-top: 0; }
  .st h3 { margin-top: 14px; font-size: 26px; }
  .st-line { font-size: 16px; }
  .st-chat { display: block; margin-top: 20px; max-width: 440px; border-radius: 26px; overflow: hidden; color: #1d1a17;
    background: radial-gradient(130% 70% at 50% -20%, rgba(240,120,90,.2), transparent 60%), #fbf8f5;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -30px rgba(0,0,0,.7); }
  .st-chat .sx-top { grid-template-columns: 1fr; justify-items: start; padding: 14px 16px 6px; }
  .st-chat .sx-tb { display: none; }
  .st-chat .sx-id { flex-direction: row; gap: 10px; }
  .st-chat .sx-who { text-align: left; }
  .st-chat .sx-chat { position: static; padding: 0 12px 14px; }
  .st-chat .sx-day { display: none; }
  /* the chat keeps its full height while it plays, so the page below never jumps */
  .story.js .st-chat .sx-m { grid-template-rows: 1fr; transition: opacity .35s, transform .45s var(--ease-door); }
  .st-chat .sx-typing { display: none !important; }
}
@media (min-width: 600px) and (max-width: 960px) {
  .ind-hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "photo"; }
  .ind-photo { aspect-ratio: 16 / 9; }
  .ind-photo img { object-position: var(--band, var(--crop)); }
}
@media (prefers-reduced-motion: reduce) {
  .story.js .sx-m { transition: none; }
  .sx-orb::before, .sx-typing span { animation: none; }
}

/* Atlas's orb as the AI / agentic marker (top bar, menus, the AI tab): same look as the agent in the story phone */
.ai-orb { position: relative; display: inline-block; flex: none; width: var(--s, 16px); height: var(--s, 16px); border-radius: 50%; overflow: hidden;
  vertical-align: middle; box-shadow: 0 2px 8px -1px rgba(240,120,90,.55), inset 0 0 0 1px rgba(255,255,255,.3); }
.ai-orb::before { content: ""; position: absolute; inset: -30%;
  background: conic-gradient(from 0deg, #f0785a, #ffb36b, #ff8fb1, #c98bff, #f0785a); filter: blur(2px); animation: sxOrb 6s linear infinite; }
.ai-orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), rgba(255,255,255,.3) 30%, transparent 58%); }
.tab .ai-orb { margin: 0 auto; }
@media (prefers-reduced-motion: reduce) { .ai-orb::before { animation: none; } }

/* the orb breathes: a pulsing glow, a soft ripple ring and a faster colour swirl (Pablo 2026-10-11) */
.ai-orb, .sx-orb { animation: orbGlow 3.2s ease-in-out infinite; outline: 1px solid rgba(240,120,90,0); outline-offset: 0; }
.ai-orb::before, .sx-orb::before { animation: sxOrb 4s linear infinite, orbHue 7s ease-in-out infinite; }
.ai-orb.ripple, .sx-orb { animation: orbGlow 3.2s ease-in-out infinite, orbRipple 3.2s ease-out infinite; }
.sx-orb.sm { animation: orbGlow 1.6s ease-in-out infinite; }
@keyframes orbGlow {
  0%, 100% { transform: scale(1); box-shadow: 0 0 6px 0 rgba(240,120,90,.55), 0 0 14px 2px rgba(255,143,177,.25), inset 0 0 0 1px rgba(255,255,255,.3); }
  50% { transform: scale(1.07); box-shadow: 0 0 12px 2px rgba(240,120,90,.85), 0 0 26px 6px rgba(255,143,177,.45), inset 0 0 0 1px rgba(255,255,255,.45); }
}
@keyframes orbRipple {
  0% { outline-color: rgba(240,120,90,.55); outline-offset: 0; }
  70%, 100% { outline-color: rgba(240,120,90,0); outline-offset: 7px; }
}
@keyframes orbHue { 0%, 100% { filter: blur(2px) hue-rotate(0deg) saturate(1.1); } 50% { filter: blur(2px) hue-rotate(-18deg) saturate(1.35); } }
@media (prefers-reduced-motion: reduce) {
  .ai-orb, .sx-orb, .ai-orb.ripple, .sx-orb.sm { animation: none; box-shadow: 0 0 10px 1px rgba(240,120,90,.7), inset 0 0 0 1px rgba(255,255,255,.35); }
  .ai-orb::before, .sx-orb::before { animation: none; }
}

/* ============================================================
   Agentic page: live demo chat with Atlas (demo.py + demo.js). Same handset as the industry story.
   ============================================================ */
.dm { width: var(--wrap); margin: 0 auto; padding: clamp(16px, 3vw, 40px) 0 clamp(48px, 7vw, 96px); }
.dm-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 110px); align-items: center; }
.dm-copy h2 { font: 500 clamp(30px, 3.4vw, 48px)/1.08 var(--font-body); letter-spacing: -.02em; text-wrap: balance; max-width: 14em; }
.dm-sub { margin-top: 14px; font-size: clamp(15px, 1.3vw, 17px); color: var(--ink-dim); max-width: 46ch; }
.dm-try { margin-top: 28px; font-size: 13px; color: #8d8781; }
.dm-prompts { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 580px; }
.dm-prompt {
  display: inline-flex; align-items: center; min-height: 42px; padding: 10px 16px; border-radius: 100px; text-align: left;
  background: #1b1917; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); color: var(--ink); font-size: 14px; cursor: pointer;
  transition: background-color .2s, box-shadow .2s, transform .15s;
}
.dm-prompt:hover { background: #24211e; box-shadow: inset 0 0 0 1px rgba(240,120,90,.55); }
.dm-prompt:active { transform: scale(.97); }
.dm-note { margin-top: 22px; font-size: 13px; color: #8d8781; }
.dm-reset { margin-left: 6px; padding: 8px 2px; color: var(--ink); font-size: 13px; border-bottom: 1px solid rgba(240,120,90,.6); cursor: pointer; }
.dm-reset:hover { color: var(--coral); }

.dm-stage { --ph-h: min(680px, calc(100vh - 110px), calc(100svh - 110px)); --ph-r: calc(var(--ph-h) * .088); position: relative; height: var(--ph-h); isolation: isolate; }
.dm-stage::before {
  content: ""; position: absolute; inset: 8% -24%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(240,120,90,.26), rgba(240,120,90,.06) 55%, transparent 78%);
}
.dm-log { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; padding: 0 12px 12px; scrollbar-width: none; overscroll-behavior: contain; }
.dm-log::-webkit-scrollbar { display: none; }
.dm-log:focus-visible { outline: 2px solid var(--coral); outline-offset: -2px; }
.dm-log .sx-m { animation: dmIn .42s var(--ease-door) both; }
.dm-log .sx-m.me { transform-origin: right bottom; }
@keyframes dmIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.dm-act { display: flex; align-items: center; gap: 6px; margin-top: 10px !important; font-size: 10.5px; color: #8d857e; }
.dm-act svg { color: var(--coral); flex: none; }
.dm-chips { flex-wrap: wrap; }
.dm-chips .sx-chip { cursor: pointer; font: 500 11.5px/1.2 var(--font-body); color: #1d1a17; transition: transform .15s, opacity .2s, background-color .2s; }
.dm-chips .sx-chip.on { color: #fff; }
.dm-chips .sx-chip:hover:not(:disabled) { transform: translateY(-1px); }
.dm-chips .sx-chip:disabled { opacity: .4; cursor: default; }
.dm-typing { margin-top: 10px; }
.dm-form { transition: box-shadow .2s; }
.dm-form:focus-within { box-shadow: 0 1px 2px rgba(29,26,23,.06), 0 8px 24px -12px rgba(29,26,23,.25), inset 0 0 0 1.5px rgba(240,120,90,.7); }
.dm-input { flex: 1; min-width: 0; height: 28px; border: 0; padding: 0; background: transparent; font: 400 12.5px/1 var(--font-body); color: #1d1a17; outline: none; }
.dm-input::placeholder { color: #a39a92; }
.dm-form .sx-in-send { border: 0; cursor: pointer; transition: transform .15s, background-color .2s; }
.dm-form .sx-in-send:hover { background: #c4502f; }
.dm-form .sx-in-send:active { transform: scale(.92); }

@media (max-width: 960px) {
  .dm { width: auto; margin: 0 var(--gutter); }
  .dm-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }   /* minmax: the prompt row scrolls, it never widens the page */
  .dm-copy { min-width: 0; }
  .dm-prompts { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scrollbar-width: none; }
  .dm-prompts::-webkit-scrollbar { display: none; }
  .dm-prompt { white-space: nowrap; }
  .dm-stage { --ph-h: min(72svh, 600px); width: 100%; }
  .dm-stage::before { inset: 10% -3%; }
  .dm .sx-phone { width: 100%; aspect-ratio: auto; padding: 0; background: none; border-radius: 26px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -30px rgba(0,0,0,.7); }
  .dm .sx-btn, .dm .sx-status { display: none; }
  .dm .sx-screen { border-radius: 26px; }
  .dm .sx-top { padding-top: 14px; }
  .dm .sx-in { margin-bottom: 12px; }
  .dm .sx-homebar { display: none; }
  .dm-input { font-size: 16px; height: 36px; }          /* 16px: iOS never zooms the page on focus */
  .dm .sx-in-send, .dm .sx-in-plus { width: 36px; height: 36px; }
  .dm-chips .sx-chip { padding: 9px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .dm-log .sx-m { animation: none; } }

/* live site (2026-10-22): language toggle as links, single Hardware link, form send failure */
.lang-tog a { display: inline-grid; place-items: center; min-height: 34px; min-width: 36px; padding: 0 8px; border-radius: 100px; color: var(--ink-dim); transition: background .2s, color .2s; }
.lang-tog a[aria-current="true"] { background: var(--ink); color: #131110; }
.lang-tog a:not([aria-current]):hover { color: var(--ink); }
.pbar-hw { display: inline-flex; align-items: center; min-height: 40px; }
.f-fail { margin-top: 12px; font-size: 14px; color: #ffb4a2; }

/* generated per industry by build.generated_css(True) */
::view-transition-group(door-photo-contractors){border-radius:22px;overflow:clip}
::view-transition-old(door-photo-contractors),::view-transition-new(door-photo-contractors){height:100%;object-fit:cover}
::view-transition-group(door-photo-restaurants){border-radius:22px;overflow:clip}
::view-transition-old(door-photo-restaurants),::view-transition-new(door-photo-restaurants){height:100%;object-fit:cover}
::view-transition-group(door-photo-salons){border-radius:22px;overflow:clip}
::view-transition-old(door-photo-salons),::view-transition-new(door-photo-salons){height:100%;object-fit:cover}
::view-transition-group(door-photo-service-business){border-radius:22px;overflow:clip}
::view-transition-old(door-photo-service-business),::view-transition-new(door-photo-service-business){height:100%;object-fit:cover}
::view-transition-group(door-photo-auto-repair){border-radius:22px;overflow:clip}
::view-transition-old(door-photo-auto-repair),::view-transition-new(door-photo-auto-repair){height:100%;object-fit:cover}
::view-transition-group(door-photo-churches-nonprofits){border-radius:22px;overflow:clip}
::view-transition-old(door-photo-churches-nonprofits),::view-transition-new(door-photo-churches-nonprofits){height:100%;object-fit:cover}
@media (hover:hover) and (pointer:fine) and (min-width:1100px){.home-hero:has(.doors>li:nth-child(1) .door:is(:hover,:focus-visible)) .home-excl .stack{--turn:-38deg}.home-hero:has(.doors>li:nth-child(2) .door:is(:hover,:focus-visible)) .home-excl .stack{--turn:-23deg}.home-hero:has(.doors>li:nth-child(3) .door:is(:hover,:focus-visible)) .home-excl .stack{--turn:-8deg}.home-hero:has(.doors>li:nth-child(4) .door:is(:hover,:focus-visible)) .home-excl .stack{--turn:8deg}.home-hero:has(.doors>li:nth-child(5) .door:is(:hover,:focus-visible)) .home-excl .stack{--turn:23deg}.home-hero:has(.doors>li:nth-child(6) .door:is(:hover,:focus-visible)) .home-excl .stack{--turn:38deg}}
