/* 3Apps · site institucional · design system Rocket Group */
:root {
  color-scheme: light;
  --bg: #F3F2EF; --bg-2: #E8E6E1; --fg: #121214; --muted: #5E5E64; --body: #46464C;
  --line: #D6D4CE; --card: #FFFFFF; --card-line: #DAD8D2;
  --btn-bg: #121214; --btn-fg: #F3F2EF;
  --n1: #0B0B0D; --n2: #17171A; --n3: #303036;
  --nfg: #F2F1EE; --nmuted: #A3A3A9; --nbody: #C8C8CC; --nline: #34343A; --ncard: rgba(255,255,255,0.05);
  --warn: #E09A4A;
  --display: "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
  --pad: 22px;
  --sec: 80px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #101012; --bg-2: #161619; --fg: #EDECE8; --muted: #9C9CA2; --body: #B9B9BF;
    --line: #2A2A2F; --card: #19191C; --card-line: #2A2A2F;
    --btn-bg: #EDECE8; --btn-fg: #101012;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101012; --bg-2: #161619; --fg: #EDECE8; --muted: #9C9CA2; --body: #B9B9BF;
  --line: #2A2A2F; --card: #19191C; --card-line: #2A2A2F;
  --btn-bg: #EDECE8; --btn-fg: #101012;
}
@media (min-width: 760px) { :root { --pad: 40px; --sec: 120px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--n1); color: var(--fg);
  font-family: var(--text); font-size: 17px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (min-width: 760px) { body { font-size: 18px; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--nfg); color: var(--n1); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(1180px + var(--pad) * 2); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.sec { padding-top: var(--sec); padding-bottom: var(--sec); position: relative; }
.light {
  background: var(--bg); color: var(--fg);
  --c-muted: var(--muted); --c-body: var(--body); --c-line: var(--line); --c-card: var(--card); --c-card-line: var(--card-line);
  --c-btn-bg: var(--btn-bg); --c-btn-fg: var(--btn-fg); --c-ghost: var(--line); --c-soft: var(--bg-2);
}
.light.alt { background: var(--bg-2); --c-soft: var(--bg); }
.night {
  background: linear-gradient(165deg, var(--n1) 0%, var(--n2) 55%, var(--n3) 100%); color: var(--nfg);
  --c-muted: var(--nmuted); --c-body: var(--nbody); --c-line: var(--nline); --c-card: var(--ncard); --c-card-line: #3A3A40;
  --c-btn-bg: #F2F1EE; --c-btn-fg: #0E0E10; --c-ghost: #4A4A51; --c-soft: rgba(255,255,255,0.04);
}
.night.flat { background: var(--n1); }

/* ---------- type ---------- */
.h1 { font-size: clamp(42px, 11.5vw, 92px); letter-spacing: -0.045em; line-height: 0.98; text-wrap: balance; }
.h1.sm { font-size: clamp(40px, 9.6vw, 78px); }
.h2 { font-size: clamp(32px, 8.4vw, 60px); letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
.h3 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.015em; line-height: 1.15; }
.h4 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.25; }
.lead { font-size: clamp(19px, 2.3vw, 23px); font-weight: 300; line-height: 1.42; color: var(--c-muted); max-width: 40em; }
.kicker { font-size: 14px; font-weight: 500; color: var(--c-muted); letter-spacing: 0.01em; display: inline-flex; align-items: center; gap: 10px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--app, currentColor); }
.body { color: var(--c-body); max-width: 62ch; }
.body + .body { margin-top: 16px; }
.small { font-size: 14px; line-height: 1.5; color: var(--c-muted); }
.statement { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 5.2vw, 56px); letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; max-width: 18em; }
.tnum { font-variant-numeric: tabular-nums; }

.head { display: flex; flex-direction: column; gap: 20px; max-width: 780px; margin-bottom: 48px; }
@media (min-width: 760px) { .head { margin-bottom: 64px; } }
.head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }

/* links & buttons */
.tlink { font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color .2s; }
.tlink:hover { text-decoration-color: currentColor; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; white-space: nowrap;
  background: var(--c-btn-bg); color: var(--c-btn-fg); border: 1px solid var(--c-btn-bg); cursor: pointer;
  transition: opacity .2s, border-color .2s, background-color .2s;
}
.btn:hover { opacity: .88; }
.btn.ghost { background: transparent; color: inherit; border-color: var(--c-ghost); }
.btn.ghost:hover { opacity: 1; border-color: currentColor; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--nfg);
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(11,11,13,0.72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; padding: 6px 0; }
.brand img { width: 120px; height: auto; }
.nav { display: none; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--nmuted); padding: 10px 14px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--nfg); }
.nav a[aria-current="page"] { background: rgba(255,255,255,0.06); }
.nav .btn { margin-left: 12px; min-height: 44px; padding: 0 20px; font-size: 15px; color: var(--n1); background: var(--nfg); border-color: var(--nfg); }
.nav .btn:hover { color: var(--n1); }
.menu-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid #3A3A40; background: transparent; display: inline-grid; place-items: center; cursor: pointer; margin-right: -6px; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--nfg); position: relative; transition: transform .3s var(--ease), background-color .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--nfg); transition: transform .3s var(--ease); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 980px) { .nav { display: flex; } .menu-btn { display: none; } }

.menu {
  position: fixed; inset: 0; z-index: 40; color: var(--nfg);
  background: linear-gradient(165deg, var(--n1) 0%, var(--n2) 70%, var(--n3) 100%);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) var(--pad) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow-y: auto;
  visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.menu-open .menu { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
.menu-main a { display: block; font-family: var(--display); font-weight: 600; font-size: 34px; letter-spacing: -0.03em; line-height: 1.1; padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--nline); }
.menu-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.menu-apps a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; padding: 10px; border: 1px solid var(--nline); border-radius: 16px; }
.menu-apps img { width: 36px; height: 36px; border-radius: 9px; }
.menu-open { overflow: hidden; }
@media (min-width: 980px) { .menu { display: none; } }

/* ---------- hero ---------- */
.hero { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 56px); padding-bottom: 72px; overflow: hidden; }
@media (min-width: 760px) { .hero { padding-top: calc(var(--header-h) + 96px); padding-bottom: 112px; } }
.hero-grid { display: grid; gap: 56px; position: relative; z-index: 1; align-items: center; }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 64px; } }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero .lead { max-width: 30em; }
.hero-apps { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--nmuted); }
.hero-apps .stack-ic { display: flex; }
.hero-apps .stack-ic img { width: 34px; height: 34px; border-radius: 9px; border: 2px solid var(--n2); margin-left: -8px; }
.hero-apps .stack-ic img:first-child { margin-left: 0; }
@media (max-width: 559px) { .hero-copy .btns .btn { flex: 1 1 100%; } }

.ln { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.ln > span { display: block; }
.js .reveal .ln > span { transform: translateY(110%); }
.js .fade { opacity: 0; }
.is-ready .reveal .ln > span { transform: none; transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.is-ready .fade { opacity: 1; transition: opacity .9s ease; transition-delay: calc(380ms + var(--d, 0ms)); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal .ln > span { transform: none; }
  .js .fade { opacity: 1; }
}

/* decorative curves */
.curves { position: absolute; right: -8%; bottom: -4%; width: min(900px, 120%); height: auto; pointer-events: none; z-index: 0; opacity: .9; }
.curves path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }

/* ---------- live panel ---------- */
.panel {
  background: rgba(255,255,255,0.04); border: 1px solid var(--nline); border-radius: 24px; padding: 22px;
  display: flex; flex-direction: column; gap: 18px; position: relative;
  box-shadow: 0 40px 120px rgba(0,0,0,0.35);
}
@media (min-width: 760px) { .panel { padding: 28px; } }
.panel-head { display: flex; align-items: center; gap: 12px; }
.panel-head img { width: 40px; height: 40px; border-radius: 10px; }
.panel-head .t { display: flex; flex-direction: column; line-height: 1.25; }
.panel-head strong { font-family: var(--display); font-size: 17px; font-weight: 600; }
.panel-head span { font-size: 14px; color: var(--nmuted); }
.panel-tag { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--nfg); border: 1px solid #4A4A51; border-radius: 999px; padding: 6px 12px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.panel-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--nfg); display: block; }
.panel-num { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.panel-num .big { font-family: var(--display); font-weight: 600; font-size: clamp(48px, 9vw, 76px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.panel-num .sub { font-size: 15px; color: var(--nmuted); }
.chart { position: relative; height: 200px; margin-top: 4px; }
@media (min-width: 760px) { .chart { height: 230px; } }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .grid line { stroke: #2A2A2F; stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .line { fill: none; stroke: var(--nfg); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart .ylab { position: absolute; left: 0; font-size: 12px; color: #77777E; transform: translateY(-120%); font-variant-numeric: tabular-nums; }
.chart .tip { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--nfg); box-shadow: 0 0 0 6px rgba(242,241,238,0.12), 0 0 24px rgba(242,241,238,0.45); }
.chart .mark { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--n2); border: 2px solid var(--nfg); }
.chart .mark-lab { position: absolute; font-size: 12px; line-height: 1.3; color: var(--nbody); white-space: nowrap; transform: translate(-50%, -150%); background: rgba(11,11,13,0.8); padding: 4px 8px; border-radius: 8px; border: 1px solid var(--nline); }
.chart-axis { position: relative; height: 18px; font-size: 12px; color: #77777E; }
.chart-axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.chart-axis span:first-child { transform: none; }
.chart-axis span:last-child { transform: translateX(-100%); }
.panel-foot { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--nline); padding-top: 18px; gap: 16px; }
.panel-foot div { display: flex; flex-direction: column; gap: 4px; }
.panel-foot strong { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 4vw, 30px); letter-spacing: -0.03em; line-height: 1; }
.panel-foot span { font-size: 13.5px; line-height: 1.35; color: var(--nmuted); }
.panel-cap { font-size: 12.5px; color: #77777E; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 28px; } }
.stat { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--c-line); padding-top: 20px; }
.stat .big { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 5.4vw, 60px); letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat .lbl { font-size: 15px; line-height: 1.4; color: var(--c-muted); max-width: 16em; }
.stats-src { margin-top: 28px; }

/* ---------- app index (portfolio rows) ---------- */
.app-index { border-bottom: 1px solid var(--c-line); }
.app-row a {
  display: grid; grid-template-columns: 64px 1fr 44px; grid-template-areas: "ic id go" "desc desc desc" "stat stat stat";
  gap: 16px 18px; align-items: center; padding: 28px 0; border-top: 1px solid var(--c-line); text-decoration: none; position: relative;
  transition: background-color .3s;
}
.app-ic { grid-area: ic; width: 64px; height: 64px; border-radius: 15px; }
.app-id { grid-area: id; display: flex; flex-direction: column; gap: 2px; }
.app-name { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.03em; line-height: 1.05; }
.app-cat { font-size: 14px; color: var(--c-muted); display: inline-flex; align-items: center; gap: 8px; }
.app-cat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--app); }
.app-desc { grid-area: desc; color: var(--c-body); font-size: 16.5px; line-height: 1.5; }
.app-stat { grid-area: stat; display: flex; align-items: baseline; gap: 10px; }
.app-stat strong { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.03em; white-space: nowrap; }
.app-stat span { font-size: 14px; color: var(--c-muted); line-height: 1.35; }
.app-go { grid-area: go; justify-self: end; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-ghost); display: grid; place-items: center; transition: background-color .25s, border-color .25s, color .25s; }
.app-go svg { width: 18px; height: 18px; }
.app-row a:hover .app-go, .app-row a:focus-visible .app-go { background: var(--app); border-color: var(--app); color: #0E0E10; }
.app-row a:hover { background: rgba(255,255,255,0.025); }
.light .app-row a:hover { background: rgba(0,0,0,0.02); }
@media (min-width: 900px) {
  .app-row a { grid-template-columns: 72px minmax(170px, 1fr) minmax(0, 1.7fr) minmax(150px, 0.9fr) 44px; grid-template-areas: "ic id desc stat go"; gap: 32px; padding: 32px 12px; margin: 0 -12px; border-radius: 4px; }
  .app-ic { width: 72px; height: 72px; border-radius: 17px; }
  .app-stat { flex-direction: column; gap: 4px; }
}
.also { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 760px) { .also { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- split ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 88px; } .split.wide-media { grid-template-columns: 0.9fr 1.1fr; } .split.media-first > :first-child { order: 2; } }
.split-copy { display: flex; flex-direction: column; gap: 22px; }
.photo { position: relative; }
.photo img { width: 100%; border-radius: 20px; object-fit: cover; background: var(--c-soft); }
.photo figcaption { margin-top: 12px; font-size: 14px; color: var(--c-muted); }
.ratio-43 img { aspect-ratio: 4 / 3; } .ratio-32 img { aspect-ratio: 3 / 2; } .ratio-45 img { aspect-ratio: 4 / 5; } .ratio-34 img { aspect-ratio: 3 / 4; } .ratio-169 img { aspect-ratio: 16 / 9; }

/* ---------- sticky stacked pillars ---------- */
.pillars { display: grid; gap: 40px; }
@media (min-width: 960px) { .pillars { grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; } .pillars .head { position: sticky; top: calc(var(--header-h) + 48px); margin-bottom: 0; } }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-card {
  position: sticky; top: calc(var(--header-h) + 24px + var(--i, 0) * 16px);
  background: linear-gradient(160deg, #1D1D21 0%, #151518 100%); border: 1px solid #3A3A40; border-radius: 24px;
  padding: 28px; display: flex; flex-direction: column; gap: 16px; min-height: 280px;
  box-shadow: 0 -12px 40px rgba(0,0,0,0.35);
}
@media (min-width: 760px) { .stack-card { padding: 40px; min-height: 300px; } }
.stack-card p { color: var(--nbody); }
.stack-card .proof { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--nline); font-size: 15px; color: var(--nfg); display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.stack-card .proof strong { font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; }
.stack-card.inv { background: #F2F1EE; color: #121214; border-color: #F2F1EE; }
.stack-card.inv p { color: #46464C; }
.stack-card.inv .proof { border-color: #CFCDC7; color: #121214; }

/* ---------- journey (process / timeline) ---------- */
.journey { position: relative; display: grid; gap: 28px; --p: 0; }
.journey-track { position: absolute; left: 13px; top: 14px; bottom: 14px; width: 2px; background: var(--c-line); }
.journey-fill { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p) * 100%); background: var(--c-btn-bg); }
.step { position: relative; padding-left: 52px; display: flex; flex-direction: column; gap: 6px; }
.step-dot { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--c-line); background: var(--bg); display: grid; place-items: center; font-family: var(--display); font-size: 12px; font-weight: 600; color: var(--c-muted); transition: background-color .3s, border-color .3s, color .3s; }
.night .step-dot { background: var(--n2); }
.step.on .step-dot { background: var(--c-btn-bg); border-color: var(--c-btn-bg); color: var(--c-btn-fg); }
.step h3 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.2; padding-top: 2px; }
.step p { color: var(--c-body); font-size: 16px; line-height: 1.5; }
@media (min-width: 1000px) {
  .journey.h { grid-template-columns: repeat(var(--n, 6), 1fr); gap: 24px; }
  .journey.h .journey-track { left: 14px; right: 14px; top: 13px; bottom: auto; width: auto; height: 2px; }
  .journey.h .journey-fill { height: 100%; width: calc(var(--p) * 100%); }
  .journey.h .step { padding-left: 0; padding-top: 52px; }
}

.timeline { position: relative; --p: 0; }
.timeline .journey-track { left: 13px; }
.tl-item { position: relative; padding: 0 0 56px 52px; display: grid; gap: 8px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-year { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.04em; line-height: 1; color: var(--c-muted); transition: color .4s; }
.tl-item.on .tl-year { color: var(--nfg); }
.tl-item h3 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.02em; }
.tl-item p { color: var(--c-body); max-width: 56ch; }
.tl-item .step-dot { top: 10px; }
@media (min-width: 900px) {
  .tl-item { grid-template-columns: 200px 1fr; column-gap: 48px; padding-left: 64px; }
  .tl-item .tl-year { grid-row: span 2; }
}

/* ---------- feature list (attribute rows) ---------- */
.feats { border-bottom: 1px solid var(--c-line); }
.feat { display: grid; gap: 10px; padding: 26px 0; border-top: 1px solid var(--c-line); }
.feat h3 { font-size: clamp(21px, 2.3vw, 26px); letter-spacing: -0.015em; line-height: 1.2; }
.feat p { color: var(--c-body); max-width: 60ch; }
@media (min-width: 860px) { .feat { grid-template-columns: minmax(220px, 0.8fr) 1.6fr; gap: 48px; padding: 30px 0; } }

/* ---------- cards ---------- */
.cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards.c2 { grid-template-columns: 1fr 1fr; } .cards.c3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cards.c4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 999px) { .cards.c4 { grid-template-columns: 1fr 1fr; } }
.card { background: var(--c-card); border: 1px solid var(--c-card-line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 760px) { .card { padding: 36px; } }
.card p { color: var(--c-body); }
.card .ic-line { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--c-card-line); display: grid; place-items: center; }
.card .ic-line svg { width: 22px; height: 22px; }
.card.inv { background: var(--c-btn-bg); color: var(--c-btn-fg); border-color: var(--c-btn-bg); }
.card.inv p { color: inherit; opacity: .78; }

/* app cards (apps page) */
.appcard { gap: 18px; }
.appcard-top { display: flex; align-items: center; gap: 16px; }
.appcard-top img { width: 64px; height: 64px; border-radius: 15px; }
.appcard-top .t { display: flex; flex-direction: column; gap: 2px; }
.appcard .mini { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); margin-top: 4px; }
.appcard .mini strong { display: block; font-family: var(--display); font-size: 26px; letter-spacing: -0.03em; line-height: 1.1; }
.appcard .mini span { font-size: 14px; color: var(--c-muted); }
.appcard .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.appcard .links .btn { min-height: 44px; font-size: 15px; padding: 0 18px; }

/* pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--c-ghost); font-size: 15px; font-weight: 500; }

/* ---------- press ---------- */
.press { border-bottom: 1px solid var(--c-line); }
.press-item a { display: grid; gap: 8px; padding: 26px 0; border-top: 1px solid var(--c-line); text-decoration: none; }
.press-item .outlet { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.press-item .date { font-size: 14px; color: var(--c-muted); }
.press-item .title { color: var(--c-body); font-size: 17px; }
.press-item .go { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.press-item a:hover .go { text-decoration-color: currentColor; }
@media (min-width: 860px) { .press-item a { grid-template-columns: 200px 1fr auto; gap: 40px; align-items: baseline; padding: 30px 0; } .press-item .meta { display: flex; flex-direction: column; gap: 4px; } }

/* ---------- people ---------- */
.people { display: grid; gap: 24px; }
@media (min-width: 760px) { .people { grid-template-columns: 1fr 1fr; } }
.person { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; background: var(--c-card); border: 1px solid var(--c-card-line); border-radius: 24px; padding: 20px; }
@media (min-width: 1000px) { .person { grid-template-columns: 168px 1fr; gap: 28px; padding: 24px; } }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.person .t { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.person .role { font-size: 14px; color: var(--c-muted); }
.person p { color: var(--c-body); font-size: 16px; }

.gallery { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.gallery figure { position: relative; overflow: hidden; border-radius: 20px; background: var(--c-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; font-size: 12.5px; line-height: 1.3; color: #F2F1EE; background: rgba(11,11,13,0.66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 6px 10px; border-radius: 10px; width: fit-content; max-width: calc(100% - 20px); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-wide img { aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 190px; gap: 16px; }
  .gallery figure { grid-column: span 4; grid-row: span 2; }
  .gallery img, .gallery .g-wide img { aspect-ratio: auto; }
  .gallery .g-wide { grid-column: span 8; }
  .gallery .g-tall { grid-row: span 3; }
  .gallery .g-short { grid-row: span 1; }
}

/* ---------- org / group ---------- */
.org { display: grid; gap: 16px; }
.org-top { background: #F2F1EE; color: #121214; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.org-top img { width: 180px; }
.org-kids { display: grid; gap: 16px; position: relative; }
@media (min-width: 760px) { .org-kids { grid-template-columns: 1fr 1fr; } }
.org-kid { background: var(--ncard); border: 1px solid #3A3A40; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.org-kid.me { border-color: #8A8A90; }
.org-kid ul { display: flex; flex-direction: column; gap: 8px; color: var(--nbody); font-size: 16px; }
.org-kid li { display: flex; gap: 10px; }
.org-kid li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #6A6A70; margin-top: .62em; flex: none; }
.org-link { display: grid; place-items: center; height: 24px; }
.org-link span { width: 2px; height: 100%; background: #9A9893; }

/* ---------- app page hero ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--nmuted); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--nfg); }
.crumbs span[aria-hidden] { opacity: .6; }
.app-hero-id { display: flex; align-items: center; gap: 18px; }
.app-hero-id img { width: 88px; height: 88px; border-radius: 20px; box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
@media (min-width: 760px) { .app-hero-id img { width: 96px; height: 96px; border-radius: 22px; } }
.app-hero-id .t { display: flex; flex-direction: column; gap: 4px; }
.app-hero-id strong { font-family: var(--display); font-size: 26px; letter-spacing: -0.02em; line-height: 1; }
.store .btn svg { width: 16px; height: 16px; }

.icon-stage { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; display: grid; place-items: center; }
.icon-stage .rings { position: absolute; inset: 0; }
.icon-stage .rings circle { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.icon-stage > img { width: 40%; border-radius: 22%; box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06); position: relative; z-index: 1; }
.chip { position: absolute; z-index: 2; background: rgba(23,23,26,0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid #3A3A40; border-radius: 16px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.chip strong { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; line-height: 1.1; }
.chip span { font-size: 13px; color: var(--nmuted); }
.chip.c1 { left: 0; top: 14%; } .chip.c2 { right: 0; bottom: 16%; } .chip.c3 { right: 4%; top: 6%; }

.phones { display: flex; justify-content: center; gap: 16px; align-items: flex-start; }
.phone { width: min(46%, 250px); border-radius: 40px; padding: 8px; background: #0B0B0D; border: 1px solid #3A3A40; box-shadow: 0 40px 100px rgba(0,0,0,0.45); }
.phone img { border-radius: 32px; width: 100%; }
.phone.lift { margin-top: 48px; }
.phones-cap { text-align: center; margin-top: 14px; font-size: 13px; color: var(--nmuted); }

.steps-grid { counter-reset: s; }
.disclaimer { margin-top: 32px; padding: 20px 24px; border-radius: 20px; background: var(--c-soft); font-size: 15px; color: var(--c-muted); max-width: 760px; }

/* other apps strip */
.others { display: grid; gap: 12px; }
@media (min-width: 760px) { .others { grid-template-columns: repeat(3, 1fr); } }
.other { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--c-line); border-radius: 20px; text-decoration: none; transition: border-color .2s; }
.other:hover { border-color: var(--c-ghost); }
.other img { width: 48px; height: 48px; border-radius: 12px; }
.other .t { display: flex; flex-direction: column; line-height: 1.3; }
.other strong { font-family: var(--display); font-size: 19px; letter-spacing: -0.01em; }
.other span { font-size: 14px; color: var(--c-muted); }

/* ---------- CTA band ---------- */
.cta { display: grid; gap: 40px; }
@media (min-width: 960px) { .cta { grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: end; } }
.channels { border-bottom: 1px solid var(--c-line); }
.channel { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0; border-top: 1px solid var(--c-line); align-items: center; }
.channel strong { font-weight: 600; font-size: 16px; }
.channel span { font-size: 14px; color: var(--c-muted); grid-column: 1; }
.channel a { grid-row: 1 / span 2; grid-column: 2; font-size: 15px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 15px; font-weight: 600; padding: 0; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--fg); background: var(--card); border: 1px solid var(--card-line);
  border-radius: 16px; padding: 14px 16px; min-height: 52px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--fg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fg) 12%, transparent); }
.field .err { font-size: 14px; color: var(--warn); min-height: 0; }
.field.invalid input, .field.invalid textarea { border-color: var(--warn); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--card-line); background: var(--card); font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.chips input:checked + span { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.chips input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 3px; }
.form-status { font-size: 15px; color: var(--muted); min-height: 1.5em; }
.form-status.ok { color: var(--fg); }

/* ---------- boilerplate / brand kit ---------- */
.boiler { background: var(--card); border: 1px solid var(--card-line); border-radius: 24px; padding: 28px; display: grid; gap: 20px; }
@media (min-width: 760px) { .boiler { padding: 40px; } }
.boiler blockquote { margin: 0; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--body); }
.brandkit { display: grid; gap: 16px; }
@media (min-width: 760px) { .brandkit { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .brandkit { grid-template-columns: repeat(4, 1fr); } }
.kit { border: 1px solid var(--card-line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.kit .tile { height: 160px; display: grid; place-items: center; padding: 28px; }
.kit .tile img { max-height: 60px; width: auto; max-width: 70%; }
.kit .tile.dark { background: #121214; } .kit .tile.lightt { background: #F3F2EF; }
.kit .meta { padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--card); font-size: 15px; }

/* ---------- legal ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; line-height: 1.15; margin: 48px 0 16px; }
.legal h3 { font-size: 20px; letter-spacing: -0.01em; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--body); }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.legal th, .legal td { text-align: left; padding: 14px 12px 14px 0; border-top: 1px solid var(--line); vertical-align: top; color: var(--body); }
.legal th { color: var(--muted); font-weight: 600; }
.legal .caps { font-size: 14px; letter-spacing: 0.01em; }
.legal-wrap { overflow-x: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--n1); color: var(--nfg); padding: 72px 0 calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #1E1E22; }
.foot-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; } }
.foot-brand { display: flex; flex-direction: column; gap: 18px; }
.foot-brand img { width: 132px; }
.foot-brand p { color: var(--nmuted); font-size: 15px; max-width: 26em; }
.foot-col h2 { font-family: var(--text); font-size: 13px; font-weight: 600; color: #8A8A90; margin-bottom: 14px; letter-spacing: 0.02em; }
.foot-col ul { display: grid; gap: 4px; }
.foot-col a { text-decoration: none; color: var(--nbody); font-size: 15px; display: inline-block; padding: 6px 0; transition: color .2s; }
.foot-col a:hover { color: var(--nfg); }
@media (max-width: 899px) { .foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (min-width: 900px) { .foot-cols { display: contents; } }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #2A2A2F; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; font-size: 13px; color: #8A8A90; }
.foot-bottom .endorse { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.foot-bottom .endorse img { width: 120px; opacity: .9; }

/* ---------- misc ---------- */
.mt-s { margin-top: 24px; } .mt-m { margin-top: 40px; } .mt-l { margin-top: 64px; }
.center { text-align: center; }
.notfound { min-height: 100svh; display: flex; align-items: center; }
.divider { height: 1px; background: var(--c-line); margin: 64px 0; }
.lede-img { margin-top: 56px; }
.lede-img img { border-radius: 20px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 900px) { .lede-img img { aspect-ratio: 21 / 9; } }
.lede-img figcaption { margin-top: 12px; font-size: 14px; color: var(--nmuted); }
.quiet { color: var(--c-muted); }
.vals { counter-reset: none; }
.mv { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 760px) { .mv { grid-template-columns: 1fr 1fr; } }

/* preview router (bundle only) */
.route[hidden] { display: none !important; }
.chart.pending .line, .chart.pending .tip, .chart.pending .area { opacity: 0; }
.chart .area { transition: opacity .4s; }
@media (min-width: 1040px) { .hero-h1 { font-size: clamp(60px, 5.9vw, 86px); } }
.hero { position: relative; }
body { overflow-x: clip; }
@media (min-width: 1000px) { .journey.h .journey-track { right: calc((100% - (var(--n) - 1) * 24px) / var(--n) - 14px); } }
.split-copy .body + .body { margin-top: 0; }
.stat { min-width: 0; }
@media (max-width: 899px) {
  .stat .big { font-size: clamp(32px, 8.6vw, 52px); }
  .stats .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 519px) { .chart-axis .opt { display: none; } }
.tl-item.on .step-dot { background: var(--c-btn-bg); border-color: var(--c-btn-bg); }
.night .tl-item .step-dot { background: var(--n2); }
.night .tl-item.on .step-dot { background: var(--nfg); border-color: var(--nfg); }
.gallery img { object-position: center 30%; }
@media (min-width: 1040px) { .hero-grid .h1.sm { font-size: clamp(48px, 4.9vw, 70px); } }
.kit .meta a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1199px) {
  .stats[style*="--cols:5"] { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .stats[style*="--cols:5"] .stat .big { font-size: clamp(36px, 3.1vw, 40px); }
}
@media (min-width: 900px) {
  .stats[style*="--cols:4"] .stat .big { font-size: clamp(38px, 4.4vw, 60px); }
  .split-copy .stat .big { font-size: clamp(32px, 3vw, 44px); }
}

/* ---------- idiomas ---------- */
.head-actions { display: flex; align-items: center; gap: 8px; }
.flag { display: inline-block; width: 20px; height: 14px; border-radius: 3px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,0.18); }
.flag svg { width: 100%; height: 100%; display: block; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid #3A3A40; background: transparent; color: var(--nfg); font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s, background-color .2s; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: #6A6A70; background: rgba(255,255,255,0.05); }
.lang-btn svg:not(.flag svg) { width: 14px; height: 14px; color: var(--nmuted); transition: transform .2s; }
.lang-btn[aria-expanded="true"] > svg { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; padding: 6px; border-radius: 16px; background: #17171A; border: 1px solid #3A3A40; box-shadow: 0 24px 60px rgba(0,0,0,0.5); z-index: 60; list-style: none; margin: 0; }
.lang-menu[hidden] { display: none; }
.lang-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; text-decoration: none; color: var(--nbody); font-size: 15px; font-weight: 500; }
.lang-menu a:hover, .lang-menu a:focus-visible { background: rgba(255,255,255,0.06); color: var(--nfg); }
.lang-menu a[aria-current="true"] { color: var(--nfg); }
.lang-menu a[aria-current="true"]::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--nfg); }
@media (max-width: 979px) { .lang-btn .lang-code { display: none; } .lang-btn { padding: 0 11px; } }
@media (min-width: 980px) { .head-actions { margin-left: 4px; } .nav .btn { margin-left: 8px; } }
.foot-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.foot-langs a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; color: var(--nbody); border: 1px solid #2E2E33; border-radius: 999px; padding: 7px 12px; transition: border-color .2s, color .2s; }
.foot-langs a:hover { color: var(--nfg); border-color: #5A5A60; }
.btn .flag { margin-right: -2px; }
