/* Trazaprint landing. Colours and shapes come from brand/ (Bauhaus Trace). */

:root {
  --pine-900: #101E16;
  --pine-800: #17281E;
  --pine-700: #264734;
  --ink: #182C20;
  --bone: #F4EFE6;
  --paper: #FFFDF9;
  --emerald: #16A34A;
  --emerald-text: #0E7435;
  --lime: #D6F83E;
  --red: #DC2626;
  --amber: #D97706;
  --font: "Avenir Next", "Plus Jakarta Sans", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

[data-tone="dark"] {
  --bg: var(--pine-900);
  --fg: var(--bone);
  --muted: rgba(244, 239, 230, .68);
  --card: var(--pine-800);
  --rule: rgba(244, 239, 230, .11);
  --accent: var(--lime);
  --accent-text: var(--lime);
}
[data-tone="light"] {
  --bg: var(--bone);
  --fg: var(--ink);
  --muted: rgba(24, 44, 32, .7);
  --card: var(--paper);
  --rule: rgba(24, 44, 32, .1);
  --accent: var(--emerald);
  --accent-text: var(--emerald-text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--pine-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, dl, dd, table { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ── Buttons, chips ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 600 17px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #E2FF5C; box-shadow: 0 8px 30px rgba(214, 248, 62, .28); }
.btn--ghost { color: var(--bone); box-shadow: inset 0 0 0 1.5px rgba(244, 239, 230, .28); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(244, 239, 230, .6); }
.btn[disabled] { opacity: .6; cursor: default; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
  border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap;
  color: var(--fg, var(--ink)); background: color-mix(in srgb, currentColor 8%, transparent);
}
.chip--ok { color: var(--accent-text, var(--emerald-text)); background: color-mix(in srgb, var(--accent, var(--emerald)) 14%, transparent); }
.chip--ok::before { content: ""; width: 9px; height: 5px; border-left: 2px solid; border-bottom: 2px solid; transform: rotate(-45deg) translateY(-1px); }

.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }

/* Supply level, drawn like a battery. */
.batt { --v: 50; --c: #1F2937; position: relative; display: inline-block; width: 34px; height: 15px; padding: 2px; border-radius: 4.5px; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 35%, transparent); flex: none; }
.batt::after { content: ""; position: absolute; right: -3.5px; top: 4.5px; width: 2.5px; height: 6px; border-radius: 0 2px 2px 0; background: color-mix(in srgb, currentColor 35%, transparent); }
.batt i { display: block; height: 100%; width: calc(var(--v) * 1%); min-width: 3px; border-radius: 2.5px; background: var(--c); }

/* ── Nav ── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(16, 30, 22, .72); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid rgba(244, 239, 230, .08); }
.nav__in { max-width: var(--wrap); margin: 0 auto; height: 60px; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: 12px; }
.nav__links a, .nav__login { color: rgba(244, 239, 230, .78); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav__links a:hover, .nav__login:hover { color: var(--bone); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }

/* ── Sections ── */
main { position: relative; overflow: clip; }
section { position: relative; background: var(--bg); color: var(--fg); padding: 128px 24px; scroll-margin-top: 40px; }
/* Content sits above the trace line and hides it where they overlap. */
.block { position: relative; z-index: 1; }

.eyebrow { font-size: 13.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-text); }
h1, h2, h3 { font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.05; margin-top: 14px; }
h3 { font-size: 1.32rem; line-height: 1.2; letter-spacing: -.02em; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 34em; margin: 18px auto 0; text-wrap: pretty; }
.muted { color: var(--muted); }

.head { width: fit-content; max-width: min(760px, 100%); margin: 0 auto; padding: 34px 28px 30px; text-align: center; background: var(--bg); }
.node { position: absolute; left: 50%; top: -8px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--fg) 22%, transparent); transition: background-color .4s, box-shadow .4s, transform .5s var(--ease); }
.is-live > .node { background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent); transform: scale(1.1); }
.pin { position: absolute; width: 0; height: 0; left: 50%; }
.pin--start { bottom: 48px; }
.pin--end { bottom: 40px; }

/* ── Hero ── */
.hero { padding: 148px 24px 84px; overflow: hidden; text-align: center; background: radial-gradient(120% 80% at 50% 0%, #1D3A2A 0%, var(--pine-900) 62%); }
.hero__deco { position: absolute; width: min(120vh, 1100px); right: -14%; top: -12%; opacity: .5; pointer-events: none; }
.hero__deco .q { fill: rgba(244, 239, 230, .045); transform-box: fill-box; }
.hero__deco .q1 { transform-origin: 100% 100%; animation: roll 26s ease-in-out infinite alternate; }
.hero__deco .q2 { transform-origin: 100% 0; animation: roll 32s ease-in-out infinite alternate-reverse; }
.hero__deco .q3 { transform-origin: 0 0; animation: roll 29s ease-in-out infinite alternate; }
.hero__deco .qd { fill: var(--lime); opacity: .16; filter: blur(1.2px); }
@keyframes roll { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }

.hero__copy { max-width: 900px; margin: 0 auto; }
h1 { font-size: clamp(2.7rem, 7.2vw, 5.6rem); line-height: 1; letter-spacing: -.04em; margin: 18px auto 0; max-width: 10.6em; }
h1 em { font-style: normal; color: var(--lime); }
.hero__sub { font-size: clamp(1.08rem, 1.7vw, 1.32rem); color: var(--muted); max-width: 33em; margin: 26px auto 0; text-wrap: balance; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.hero__note { position: relative; z-index: 1; width: min(1040px, 100%); margin: 16px auto 0; padding-left: 6px; text-align: left; font-size: 12.5px; color: rgba(244, 239, 230, .38); }

.stage { --p: 1; position: relative; z-index: 1; width: min(1040px, 100%); margin: 72px auto 0; transform: perspective(1500px) rotateX(calc((1 - var(--p)) * 16deg)) scale(calc(.93 + var(--p) * .07)); transform-origin: 50% 0; will-change: transform; }
.win { background: var(--paper); color: var(--ink); border-radius: 18px; overflow: hidden; text-align: left; box-shadow: 0 0 0 1px rgba(244, 239, 230, .14), 0 50px 120px -30px rgba(0, 0, 0, .7), 0 0 140px -40px rgba(214, 248, 62, .22); }
.win__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #F1ECE2; border-bottom: 1px solid rgba(24, 44, 32, .08); }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(24, 44, 32, .16); }
.win__bar span { margin: 0 auto; transform: translateX(-24px); font-size: 12px; color: rgba(24, 44, 32, .5); }
.win__body { display: grid; grid-template-columns: 172px 1fr; }
.win__side { display: flex; flex-direction: column; gap: 4px; padding: 18px 12px; border-right: 1px solid rgba(24, 44, 32, .08); background: #FAF7F0; font-size: 13.5px; font-weight: 500; color: rgba(24, 44, 32, .62); }
.win__side svg { margin: 0 0 14px 8px; }
.win__side span { padding: 7px 10px; border-radius: 8px; }
.win__side .is-on { background: rgba(38, 71, 52, .1); color: var(--ink); font-weight: 600; }
.win__main { padding: 20px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { padding: 14px 16px; border-radius: 12px; background: #F6F2EA; }
.kpi small { display: block; font-size: 12px; color: rgba(24, 44, 32, .6); }
.kpi b { display: block; margin-top: 2px; font-size: 26px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi--warn b { color: var(--amber); }
.win__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 12px; margin-top: 12px; }
.panel { padding: 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(24, 44, 32, .09); min-width: 0; }
.panel__t { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.legend { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 11.5px; color: rgba(24, 44, 32, .6); }
.lg { width: 8px; height: 8px; border-radius: 2px; margin-left: 6px; }
.lg--k { background: var(--pine-700); }
.lg--c { background: var(--emerald); }

.bars { display: flex; align-items: flex-end; gap: 3px; height: 132px; }
.bars span { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; height: 100%; transform-origin: 50% 100%; }
.bars u, .bars s { display: block; border-radius: 2.5px; text-decoration: none; }
.bars u { background: var(--emerald); height: calc(var(--c) * 1%); }
.bars s { background: var(--pine-700); height: calc(var(--k) * 1%); }
.js .bars span { transform: scaleY(0); transition: transform .8s var(--ease); transition-delay: calc(var(--i) * 22ms + 200ms); }
.js .bars.is-in span { transform: none; }
.bars--tall { height: 150px; gap: 8px; }
.bars--tall u, .bars--tall s { border-radius: 4px; }

.supplies { display: grid; gap: 11px; }
.supplies li { display: grid; grid-template-columns: 1fr auto 38px; align-items: center; gap: 12px; font-size: 13px; color: rgba(24, 44, 32, .8); }
.supplies b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.batt--low { color: var(--red); }

.float { position: absolute; z-index: 2; text-align: left; background: rgba(255, 253, 249, .97); color: var(--ink); border-radius: 16px; padding: 14px 16px; box-shadow: 0 0 0 1px rgba(24, 44, 32, .07), 0 24px 60px -14px rgba(0, 0, 0, .55); }
.float small { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: rgba(24, 44, 32, .66); }
.float em { display: block; font-style: normal; font-size: 11.5px; color: rgba(24, 44, 32, .5); }
.float--counter { left: -56px; bottom: 74px; animation: bob 7s ease-in-out infinite; }
.float--doc { right: -48px; top: 120px; display: flex; gap: 12px; align-items: center; animation: bob 8s ease-in-out -3s infinite; }
@keyframes bob { 50% { transform: translateY(-9px); } }
.sheet { width: 46px; height: 58px; padding: 9px 7px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px rgba(24, 44, 32, .14); display: grid; gap: 5px; align-content: start; position: relative; overflow: hidden; }
.sheet i { height: 3px; border-radius: 2px; background: rgba(24, 44, 32, .2); }
.sheet .short { width: 55%; }
.sheet::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 14px; background: linear-gradient(rgba(22, 163, 74, 0), rgba(22, 163, 74, .35)); border-bottom: 1.5px solid var(--emerald); animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateY(-16px); } 60%, 100% { transform: translateY(60px); } }
.float__meta { display: grid; gap: 7px; }
.float__meta b { font-size: 13px; font-weight: 600; }
.float__meta > span { display: flex; gap: 6px; }
.float .chip { --accent: var(--emerald); --accent-text: var(--emerald-text); height: 22px; font-size: 11.5px; padding: 0 8px; }

/* Odometer */
.odo { display: flex; font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; margin: 4px 0 2px; }
.odo--xl { font-size: clamp(2.6rem, 5vw, 3.5rem); margin: 2px 0 14px; }
.odo__d { display: block; height: 1.15em; overflow: hidden; }
.odo__s { display: block; transition: transform .9s var(--ease); transform: translateY(calc(var(--d) * -10%)); }
.odo__s b { display: block; height: 1.15em; font-weight: inherit; }
.odo__sep { opacity: .45; }

/* ── Cómo funciona ── */
.how { padding-bottom: 150px; }
.steps { max-width: 1000px; margin: 96px auto 0; display: grid; gap: 136px; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.step__visual { justify-self: center; width: min(400px, 100%); }
.step--flip .step__visual { order: 2; }
.step__text { background: var(--bg); padding: 8px 0; }
.step__n { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.step__text h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.03em; line-height: 1.1; margin: 10px 0 14px; }
.step__text p { color: var(--muted); font-size: 1.08rem; max-width: 26em; text-wrap: pretty; }

.card { background: var(--card); border-radius: 22px; padding: 22px; box-shadow: 0 0 0 1px var(--rule), 0 30px 60px -30px rgba(24, 44, 32, .28); transition: box-shadow .6s, transform .6s var(--ease); }
.card.is-live { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--accent) 55%, transparent), 0 30px 70px -28px rgba(22, 163, 74, .4); }
.card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 15px; }
.card__head b { font-weight: 600; }
.card__head .chip { margin-left: auto; }
.card__foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--muted); }
.card small { font-size: 13px; }

.found { display: grid; gap: 8px; }
.found li { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--fg) 4.5%, transparent); font-size: 14.5px; }
.found li b { font-weight: 600; }
.found li span:last-child { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pr { width: 20px; height: 16px; border-radius: 4px; background: var(--pine-700); position: relative; }
.pr::before { content: ""; position: absolute; left: 4px; right: 4px; top: -4px; height: 5px; border-radius: 2px 2px 0 0; background: color-mix(in srgb, var(--pine-700) 55%, transparent); }
.pr::after { content: ""; position: absolute; right: 3px; top: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }
.js .found li { opacity: .25; transform: translateX(-6px); transition: opacity .5s, transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 160ms + 150ms); }
.js .is-live .found li { opacity: 1; transform: none; }
.found li:nth-child(2) { --i: 1; } .found li:nth-child(3) { --i: 2; } .found li:nth-child(4) { --i: 3; }

.split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.split dt { font-size: 12.5px; color: var(--muted); }
.split dd { font-size: 18px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.toners { display: flex; gap: 12px; margin-top: 16px; }

.evidence { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.evidence th { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: right; padding: 0 0 8px; }
.evidence th:first-child, .evidence td:first-child { text-align: left; }
.evidence td { text-align: right; padding: 9px 0; border-top: 1px solid var(--rule); }
.evidence tbody td:nth-child(2), .evidence tbody td:nth-child(3) { color: var(--muted); }
.evidence tbody td:last-child, .evidence tfoot td:last-child { font-weight: 600; }
.evidence tfoot tr:first-child td { border-top: 1.5px solid color-mix(in srgb, var(--fg) 30%, transparent); font-weight: 600; }
.evidence .sub td { color: var(--muted); border-top: 0; padding-top: 0; }
.evidence .over td { border-top: 0; padding-top: 0; color: var(--accent-text); font-weight: 700; }

/* ── Bento ── */
.bento { max-width: var(--wrap); margin: 64px auto 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile { background: var(--card); border-radius: 24px; padding: 30px; box-shadow: 0 0 0 1px var(--rule); display: flex; flex-direction: column; gap: 26px; min-width: 0; overflow: hidden; }
.tile--7 { grid-column: span 7; } .tile--5 { grid-column: span 5; } .tile--4 { grid-column: span 4; }
.tile__copy p { margin-top: 8px; color: var(--muted); font-size: 1rem; text-wrap: pretty; }
.tile > :last-child:not(.tile__copy) { margin-top: auto; }

.months { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--muted); }
.tonerlist { display: grid; gap: 4px; }
.tonerlist li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 11px 0; border-top: 1px solid var(--rule); font-size: 14.5px; }
.tonerlist li:first-child { border-top: 0; }
.tonerlist b { font-weight: 600; }
.tonerlist .row { display: flex; gap: 9px; grid-row: span 2; }
.tonerlist em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.tonerlist .warn { color: var(--red); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { height: 32px; padding: 0 13px; font-size: 13.5px; }
.alerts { display: grid; gap: 10px; }
.alerts li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--fg) 4.5%, transparent); font-size: 13px; color: var(--muted); }
.alerts b { display: block; font-size: 14.5px; font-weight: 600; color: var(--fg); }
.dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; flex: none; }
.dot--red { background: var(--red); } .dot--amber { background: var(--amber); }
.portal { display: grid; gap: 8px; }
.portal__row { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 14px; background: color-mix(in srgb, var(--fg) 4.5%, transparent); font-size: 14.5px; }
.portal__row b { font-weight: 600; }

/* Documentos */
.search__box { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 14px; background: color-mix(in srgb, var(--fg) 7%, transparent); box-shadow: inset 0 0 0 1px var(--rule); color: var(--muted); }
.typed { color: var(--fg); font-weight: 500; white-space: nowrap; overflow: hidden; border-right: 2px solid var(--lime); padding-right: 2px; }
.js .typed { max-width: 0; }
.js .in .typed { animation: type 1s steps(8) .4s forwards; }
@keyframes type { to { max-width: 9ch; } }
.search__res { display: grid; gap: 8px; margin-top: 10px; }
.search__res li { padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--fg) 4.5%, transparent); font-size: 13.5px; color: var(--muted); display: grid; gap: 2px; }
.search__res b { font-size: 14.5px; font-weight: 600; color: var(--fg); }
.search__res mark { background: var(--lime); color: var(--ink); padding: 0 3px; border-radius: 3px; font-weight: 600; }
.js .search__res li { opacity: 0; transform: translateY(8px); transition: opacity .5s 1.4s, transform .5s var(--ease) 1.4s; }
.js .search__res li + li { transition-delay: 1.55s; }
.js .in .search__res li { opacity: 1; transform: none; }

.sign { display: grid; gap: 14px; justify-items: start; }
.sign svg { width: 100%; max-width: 280px; height: auto; }
.sign__ink { stroke: var(--lime); stroke-dasharray: 520; }
.js .sign__ink { stroke-dashoffset: 520; }
.js .in .sign__ink { animation: draw 1.8s var(--ease) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sign__rule { stroke: var(--rule); }

.fields { display: grid; gap: 8px; }
.fields div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 14px; border-radius: 14px; background: color-mix(in srgb, var(--fg) 4.5%, transparent); font-size: 14.5px; }
.fields dt { color: var(--muted); }
.fields dd { font-weight: 600; text-align: right; }
.boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.box { padding: 16px; border-radius: 16px; background: color-mix(in srgb, var(--fg) 4.5%, transparent); display: grid; gap: 3px; font-size: 13px; color: var(--muted); }
.box b { font-size: 16px; font-weight: 600; color: var(--fg); letter-spacing: -.01em; }
.box--keep { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lime) 40%, transparent); }
.box--keep b { color: var(--lime); }

/* ── Confianza ── */
.rules { max-width: var(--wrap); margin: 64px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rules article { background: var(--card); border-radius: 24px; padding: 28px; box-shadow: 0 0 0 1px var(--rule); }
.rules svg { width: 30px; height: 30px; fill: var(--pine-700); margin-bottom: 22px; }
.rules article:last-child svg { fill: var(--emerald); }
.rules p { margin-top: 8px; color: var(--muted); font-size: .98rem; text-wrap: pretty; }

/* ── Demo ── */
.cta { text-align: center; background: radial-gradient(90% 60% at 50% 100%, #1D3A2A 0%, var(--pine-900) 70%); padding-top: 150px; }
.cta__mark { position: relative; z-index: 1; width: 92px; height: 92px; margin: 0 auto 34px; }
.cta__mark svg { width: 100%; height: 100%; overflow: visible; }
.cta__mark path { fill: var(--bone); }
.cta__mark .ring { fill: var(--pine-900); stroke: rgba(244, 239, 230, .28); stroke-width: 1.5; stroke-dasharray: 3 3; transition: opacity .3s; }
.cta__dot { position: absolute; left: 56.5%; top: 4.6%; width: 38.9%; height: 38.9%; border-radius: 50%; background: var(--lime); transform: scale(0); transition: transform .55s cubic-bezier(.3, 1.6, .5, 1); box-shadow: 0 0 44px rgba(214, 248, 62, .55); }
.cta__mark.is-done .cta__dot { transform: scale(1); }
.cta__mark.is-done .ring { opacity: 0; }
.cta__copy { max-width: 760px; margin: 0 auto; }
.cta h2 { margin-top: 0; }

.form { max-width: 620px; margin: 44px auto 0; padding: 30px; border-radius: 26px; background: var(--card); box-shadow: 0 0 0 1px var(--rule), 0 40px 100px -40px rgba(0, 0, 0, .7); display: grid; gap: 16px; text-align: left; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.form .opt { font-weight: 500; opacity: .7; }
.form input, .form textarea { width: 100%; font: 500 16px/1.4 var(--font); color: var(--fg); background: rgba(244, 239, 230, .06); border: 0; border-radius: 12px; padding: 13px 14px; box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .14); transition: box-shadow .2s, background-color .2s; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--lime); background: rgba(244, 239, 230, .09); }
.form .is-bad { box-shadow: inset 0 0 0 2px #F87171; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 14.5px; font-weight: 600; min-height: 1.4em; text-align: center; color: var(--lime); }
.form__status.is-err { color: #FCA5A5; }
.form__status:empty { display: none; }
.form__fine { font-size: 12.5px; color: var(--muted); text-align: center; }
.form.is-sent > :not(.form__status) { display: none; }
.form.is-sent .form__status { font-size: 1.2rem; padding: 34px 0; }

/* ── Footer ── */
.foot { background: var(--pine-900); color: rgba(244, 239, 230, .6); border-top: 1px solid rgba(244, 239, 230, .08); font-size: 14px; }
.foot__in { max-width: var(--wrap); margin: 0 auto; padding: 34px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot img { height: 26px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--bone); }
.foot p { margin-left: auto; }

/* ── Trace line ── */
.trace { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; display: none; }
.js .trace { display: block; }
.trace__track { stroke: url(#traceGrad); stroke-width: 2; stroke-opacity: .2; stroke-dasharray: 2 9; stroke-linecap: round; }
.trace__line { stroke: url(#traceGrad); stroke-width: 3; stroke-linecap: round; }
.trace__dot { fill: var(--emerald); transition: fill .3s, opacity .3s; }
.trace__halo { fill: var(--emerald); opacity: .2; transition: fill .3s, opacity .3s; }
.trace.on-dark .trace__dot, .trace.on-dark .trace__halo { fill: var(--lime); }
.trace.is-idle .trace__dot, .trace.is-idle .trace__halo { opacity: 0; }

/* ── Reveal ── */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--ri, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1180px) {
  .float--counter { left: -12px; }
  .float--doc { right: -12px; }
}
@media (max-width: 900px) {
  section { padding: 96px 20px; }
  .nav__links { display: none; }
  .hero { padding-top: 124px; }
  .win__body { grid-template-columns: 1fr; }
  .win__side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .win__grid { grid-template-columns: 1fr; }
  .steps { gap: 72px; margin-top: 72px; }
  .step { grid-template-columns: 1fr; gap: 28px; }
  .step--flip .step__visual { order: 0; }
  .step__text { text-align: center; padding: 8px 12px; }
  .step__text p { margin: 0 auto; }
  .tile--7, .tile--5, .tile--4 { grid-column: span 12; }
  .rules { grid-template-columns: 1fr 1fr; }
  .foot p { margin-left: 0; width: 100%; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav__in { padding: 0 16px; gap: 12px; }
  .nav__login { display: none; }
  .hero__cta .btn { width: 100%; }
  .stage { margin-top: 56px; }
  .win__main { padding: 12px; }
  .win__grid .panel:last-child { display: none; }
  .float--doc { display: none; }
  .float--counter { left: 12px; bottom: -52px; }
  .pin--start { bottom: 0; }
  .hero { padding-bottom: 96px; }
  .hero__note { margin-top: 64px; text-align: center; padding: 0; }
  .tile { padding: 24px; border-radius: 20px; }
  .rules { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .boxes { grid-template-columns: 1fr; }
  .head { padding-left: 12px; padding-right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
