/* Atriovia marketing site. Hand-written, no build step.
   Direction: "atrio al amanecer". Warm stone paper, deep navy ink, one marigold accent,
   arches as the recurring shape. Mock screens (.m) follow the product's own palette. */

/* ---------- Fonts (self-hosted, see README for licences) ---------- */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/fraunces-latin.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/fraunces-latin-italic.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/public-sans-latin.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/bricolage-grotesque-latin.woff2) format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;
  --paper: #F7F2E9;
  --paper-2: #EFE7D8;
  --paper-3: #FFFDF8;
  --ink: #14233A;
  --ink-2: #44536A;
  --ink-3: #5C687B;
  --sun: #E8940F;
  --sun-deep: #8A5605;
  --sun-tint: #FBEBCB;
  --line: rgba(20, 35, 58, .13);
  --line-strong: rgba(20, 35, 58, .28);
  --night: #101B2F;
  --night-2: #18263F;
  --on-night: #F3EEE3;
  --on-night-2: #B9C3D4;
  --btn-bg: #14233A;
  --btn-ink: #FFFDF8;
  --shadow: 0 30px 60px -30px rgba(20, 35, 58, .35), 0 8px 20px -12px rgba(20, 35, 58, .18);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);

  /* product palette for mock screens (day) */
  --m-bg: #F3F6FA; --m-card: #FFFFFF; --m-ink: #17263B; --m-soft: #5B6B80;
  --m-acc: #E8940F; --m-acc-ink: #8F5A06; --m-acc-tint: #FDF3E0; --m-on-acc: #FFFFFF;
  --m-tint: #EAF1F9; --m-good: #227952; --m-good-tint: #E4F2EB;
  --m-bad: #B63929; --m-bad-tint: #F9E7E4; --m-info: #1D5DB5; --m-info-tint: #E3ECFB;
  --m-line: #E2E9F1; --m-hair: #EDF2F8; --m-phone: #0E1626;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0C1322;
    --paper-2: #121B2E;
    --paper-3: #16203A;
    --ink: #EEF1F6;
    --ink-2: #B4BECF;
    --ink-3: #94A1B8;
    --sun: #FFA45C;
    --sun-deep: #FFB57A;
    --sun-tint: rgba(255, 164, 92, .14);
    --line: rgba(232, 237, 246, .13);
    --line-strong: rgba(232, 237, 246, .3);
    --night: #070C17;
    --night-2: #101A2D;
    --btn-bg: #FFA45C;
    --btn-ink: #1D1003;
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), 0 8px 20px -12px rgba(0, 0, 0, .5);

    --m-bg: #0D1322; --m-card: #151D31; --m-ink: #E8EDF6; --m-soft: #8D9BB5;
    --m-acc: #FFA45C; --m-acc-ink: #FFA45C; --m-acc-tint: rgba(255,164,92,.13); --m-on-acc: #221305;
    --m-tint: #1B2540; --m-good: #57C99B; --m-good-tint: rgba(87,201,155,.15);
    --m-bad: #F5806F; --m-bad-tint: rgba(242,109,95,.15); --m-info: #6FA8FF; --m-info-tint: rgba(111,168,255,.15);
    --m-line: #263252; --m-hair: #1D2740; --m-phone: #334162;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--sun); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sun); color: #1D1003; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1.1rem; border-radius: 10px;
  background: var(--btn-bg); color: var(--btn-ink); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; }

h1, h2, .display { font-family: var(--serif); font-weight: 380; letter-spacing: -.018em; line-height: 1.04; text-wrap: balance; }
h1 em, h2 em, .display em { font-style: italic; font-weight: 340; color: var(--sun-deep); }
h1 { font-size: clamp(2.6rem, 6.3vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-family: var(--serif); font-weight: 480; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--sun-deep);
}
.eyebrow::before { content: ""; width: 1.1rem; height: .95rem; border: 2px solid currentColor; border-bottom: 0; border-radius: 999px 999px 0 0; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3.1rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 1.5px solid var(--btn-bg);
  background: var(--btn-bg); color: var(--btn-ink); font-weight: 650; font-size: 1rem; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 24px -14px rgba(20, 35, 58, .6); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn--small { min-height: 2.6rem; padding: .5rem 1.1rem; font-size: .93rem; }
.btn--sun { background: var(--sun); border-color: var(--sun); color: #1D1003; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; gap: 1rem; min-height: 4.4rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand svg { width: 2rem; height: 2rem; flex: none; }
.brand__name { font-family: var(--serif); font-size: 1.55rem; font-weight: 440; letter-spacing: -.02em; line-height: 1; }
.logo-arch { stroke: var(--ink); }
.logo-sun { fill: var(--sun); }
.top__nav ul { display: flex; gap: 1.6rem; }
.top__nav a { text-decoration: none; font-size: .95rem; font-weight: 550; color: var(--ink-2); padding: .5rem 0; }
.top__nav a:hover, .top__nav a[aria-current="page"] { color: var(--ink); }
.lang { display: inline-flex; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 2px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; }
.lang a, .lang span { padding: .32rem .7rem; border-radius: 999px; text-decoration: none; line-height: 1.3; }
.lang [aria-current] { background: var(--ink); color: var(--paper); }
.top__signin { font-weight: 650; font-size: .95rem; text-decoration: none; white-space: nowrap; padding: .5rem .2rem; }
@media (max-width: 980px) { .top__nav { display: none; } }
@media (max-width: 640px) {
  .top .btn { display: none; }
  .top__signin { display: none; }
  .top__in { gap: .7rem; min-height: 3.9rem; }
  .brand__name { font-size: 1.35rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 30% -30% auto 10%; height: 90%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--sun) 26%, transparent), transparent 70%);
  opacity: .8;
}
.hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); } }
.hero h1 { margin-block: 1.4rem 1.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__note { margin-top: 1.4rem; font-size: .93rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
.hero__note li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__note li::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--sun); }

.art { position: relative; width: 100%; max-width: 620px; margin-inline: auto; aspect-ratio: 1 / 1.16; }
.art__arch {
  position: absolute; inset: 0 11% 10% 11%; border-radius: 999px 999px 18px 18px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 74%, #FFE2A6 0, #F6B552 13%, rgba(240, 150, 50, .55) 30%, transparent 56%),
    linear-gradient(180deg, #14233A 0%, #2B3F63 30%, #8C6C6E 56%, #E7A768 76%, #F6D49B 100%);
  box-shadow: var(--shadow);
}
.art__arch::before, .art__arch::after {
  content: ""; position: absolute; border: 1px solid rgba(255, 244, 220, .28); border-bottom: 0; border-radius: 999px 999px 0 0;
}
.art__arch::before { inset: 7% 9% 0 9%; }
.art__arch::after { inset: 15% 19% 0 19%; border-color: rgba(255, 244, 220, .16); }
.art__win { position: absolute; left: 0; right: 9%; bottom: 0; font-size: clamp(9px, 2.5vw, 12px); }
.art__phone { position: absolute; right: 0; bottom: 5%; width: 29%; }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(4rem, 9vw, 7.5rem); }
.sec__head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.8rem); }
.sec__head h2 { margin-block: 1.1rem 1.2rem; }
.arcade { display: block; width: 100%; height: 26px; color: var(--line-strong); }
.arcade-rule { border: 0; margin: 0; }

/* problem */
.pains { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
@media (min-width: 720px) { .pains { grid-template-columns: 1fr 1fr; } }
.pain { background: var(--paper); padding: clamp(1.5rem, 3vw, 2.3rem); display: grid; gap: .7rem; align-content: start; }
.pain__k { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--sun-deep); }
.pain blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.22; font-weight: 400; letter-spacing: -.01em; text-wrap: balance; }
.pain p { color: var(--ink-2); font-size: 1rem; }
.pains-after { margin-top: 2rem; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.3; max-width: 34em; }

/* jobs */
.job { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
@media (min-width: 940px) {
  .job { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .job:nth-of-type(even) .job__text { order: 2; }
}
.job__n { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--sun-deep); display: block; margin-bottom: .8rem; }
.job h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; letter-spacing: -.015em; line-height: 1.08; margin-bottom: 1rem; text-wrap: balance; }
.job__text > p { color: var(--ink-2); max-width: 32em; }
.ticks { margin-top: 1.5rem; display: grid; gap: .75rem; max-width: 33em; }
.ticks li { position: relative; padding-left: 1.9rem; font-size: 1rem; line-height: 1.5; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 1rem; height: 1.05rem;
  border: 2px solid var(--sun); border-bottom: 0; border-radius: 999px 999px 0 0;
  background: linear-gradient(var(--sun), var(--sun)) 50% 100% / .3rem .45rem no-repeat;
}
.ticks b { font-weight: 650; }
.shot { position: relative; }
.shot__stage {
  position: relative; padding: clamp(1rem, 2.2vw, 1.7rem); border-radius: 28px;
  background: linear-gradient(160deg, var(--paper-2), color-mix(in srgb, var(--sun) 16%, var(--paper-2)));
  border: 1px solid var(--line);
}
.shot figcaption { margin-top: .8rem; font-size: .82rem; color: var(--ink-3); }

/* audience */
.who { display: grid; gap: 1.2rem; }
@media (min-width: 860px) { .who { grid-template-columns: repeat(3, 1fr); } }
.who__card {
  padding: 0 1.7rem 2rem; border: 1px solid var(--line); border-radius: 999px 999px 20px 20px / 11rem 11rem 20px 20px;
  background: var(--paper-3); display: grid; gap: .9rem; align-content: start; text-align: center;
}
.who__card svg { width: 2.6rem; height: 2.6rem; margin: 3.4rem auto .3rem; color: var(--sun-deep); }
.who__card p { color: var(--ink-2); font-size: 1rem; text-align: left; }
.who__card ul { text-align: left; display: grid; gap: .45rem; font-size: .95rem; color: var(--ink-2); padding-top: .9rem; border-top: 1px solid var(--line); }
.who__card li { padding-left: 1.1rem; position: relative; }
.who__card li::before { content: ""; position: absolute; left: 0; top: .62em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--sun); }

/* bilingual band */
.band { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; left: 50%; bottom: -55%; width: min(1200px, 150vw); aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(232, 148, 15, .3), transparent 70%); pointer-events: none;
}
.band .eyebrow, .band h2 em { color: #FFB866; }
.band .lede { color: var(--on-night-2); }
.band .wrap { position: relative; }
.duo { display: grid; gap: 1.2rem; align-items: start; }
@media (min-width: 820px) { .duo { grid-template-columns: 1fr 1fr; gap: 2rem; } .duo > :last-child { margin-top: 2.5rem; } }
.duo__tag { display: inline-block; margin-bottom: .7rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-2); }
.band__points { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; gap: 1.5rem 2.5rem; }
@media (min-width: 820px) { .band__points { grid-template-columns: repeat(3, 1fr); } }
.band__points li { border-top: 1px solid rgba(243, 238, 227, .2); padding-top: 1.1rem; color: var(--on-night-2); font-size: 1rem; }
.band__points b { display: block; font-family: var(--serif); font-weight: 440; font-size: 1.25rem; color: var(--on-night); margin-bottom: .35rem; }

/* trust */
.trust { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 940px) { .trust { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .trust .sec__head { position: sticky; top: 6.5rem; align-self: start; margin-bottom: 0; } }
.trust__list { display: grid; gap: 0; }
.trust__list li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .3rem 1rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.trust__list li:last-child { border-bottom: 1px solid var(--line); }
.trust__list svg { width: 1.7rem; height: 1.7rem; color: var(--sun-deep); margin-top: .15rem; }
.trust__list h3 { font-size: 1.3rem; }
.trust__list p { grid-column: 2; color: var(--ink-2); font-size: 1rem; }
.trust__more { margin-top: 1.5rem; font-size: .95rem; color: var(--ink-3); }

/* early access */
.cta { padding-block: clamp(1rem, 3vw, 2rem) clamp(4rem, 9vw, 7rem); }
.cta__box {
  position: relative; overflow: hidden; text-align: center; color: #14233A;
  padding: clamp(5.5rem, 13vw, 9.5rem) clamp(1.4rem, 6vw, 5rem) clamp(3rem, 7vw, 5rem);
  border-radius: 999px 999px 28px 28px / clamp(11rem, 30vw, 22rem) clamp(11rem, 30vw, 22rem) 28px 28px;
  background:
    radial-gradient(circle at 50% 108%, #FFE9BE 0, #F8C36A 22%, rgba(246, 181, 82, 0) 60%),
    linear-gradient(180deg, #F3E3C4 0%, #F6D49B 60%, #F2BD6B 100%);
}
.cta__box h2 { max-width: 15em; margin-inline: auto; }
.cta__box h2 em { color: #7A4A02; }
.cta__box p { max-width: 36em; margin: 1.3rem auto 0; color: #2E3C52; font-size: 1.1rem; }
.cta__box .hero__cta { justify-content: center; }
.cta__box .btn { background: #14233A; border-color: #14233A; color: #FFFDF8; }
.cta__box .btn--ghost { background: transparent; color: #14233A; border-color: rgba(20, 35, 58, .45); }
.cta__mail { margin-top: 1.5rem; font-size: .95rem; color: #2E3C52; }
.cta__box a:focus-visible { outline-color: #14233A; }

/* faq */
.faq { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 940px) { .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.faq details, .faq-list details { border-top: 1px solid var(--line); }
.faq details:last-of-type, .faq-list details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary, .faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding-block: 1.3rem; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 440; line-height: 1.25;
}
.faq summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq-list summary::after {
  content: ""; flex: none; width: .7rem; height: .7rem; border-right: 2px solid var(--sun-deep); border-bottom: 2px solid var(--sun-deep);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease;
}
.faq details[open] summary::after, .faq-list details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details p, .faq-list details p { padding-bottom: 1.5rem; color: var(--ink-2); max-width: 40em; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 3rem 2.5rem; font-size: .95rem; color: var(--ink-2); }
.foot__in { display: grid; gap: 2rem; }
@media (min-width: 600px) { .foot__in { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .foot__in { grid-template-columns: 1.3fr repeat(4, 1fr); } .foot__brand { grid-column: auto; } }
.foot__brand p { margin-top: .9rem; max-width: 24em; }
.foot h2 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .9rem; }
.foot ul { display: grid; gap: .55rem; }
.foot__legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-3); }

/* 404 */
.lost { min-height: 72vh; display: grid; place-items: center; text-align: center; padding-block: 4rem; }
.lost__arch { width: 9rem; height: 10.5rem; margin: 0 auto 2rem; border-radius: 999px 999px 10px 10px; background: radial-gradient(circle at 50% 78%, #FFE2A6 0, #F6B552 18%, transparent 60%), linear-gradient(180deg, #14233A, #2B3F63 40%, #E7A768 85%); }
.lost p { margin: 1.2rem auto 0; color: var(--ink-2); max-width: 30em; }
.lost .hero__cta { justify-content: center; }

/* ---------- Mock screens (styled after the product UI) ---------- */
.m {
  font-family: "Public Sans", "Segoe UI", sans-serif; font-size: clamp(10.5px, 2.9vw, 12.5px); line-height: 1.45;
  color: var(--m-ink); text-align: left;
}
.m b, .m strong { font-weight: 650; }
.m-win { background: var(--m-bg); border: 1px solid var(--m-line); border-radius: 1.1em; overflow: hidden; box-shadow: var(--shadow); }
.m-bar { display: flex; align-items: center; gap: .6em; padding: .7em 1em; background: var(--m-card); border-bottom: 1px solid var(--m-line); }
.m-brand { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; margin-right: auto; }
.m-brand svg { width: 1.5em; height: 1.5em; }
.m-brand .logo-arch { stroke: var(--m-ink); }
.m-brand .logo-sun { fill: var(--m-acc); }
.m-lang { display: inline-flex; border: 1px solid var(--m-line); border-radius: 99em; font-size: .78em; font-weight: 700; overflow: hidden; }
.m-lang span { padding: .2em .7em; color: var(--m-soft); }
.m-lang .on { background: var(--m-acc-ink); color: var(--m-on-acc); }
.m-av { width: 2em; height: 2em; border-radius: 50%; background: var(--m-tint); display: grid; place-items: center; font-size: .78em; font-weight: 700; }
.m-body { padding: 1.1em; display: grid; gap: .9em; }
.m-split { display: grid; grid-template-columns: 10.5em 1fr; }
.m-side { background: var(--m-card); border-right: 1px solid var(--m-line); padding: .8em .6em; display: grid; gap: .15em; align-content: start; }
.m-side i { font-style: normal; font-size: .68em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--m-soft); padding: .9em .6em .3em; }
.m-side span { padding: .42em .6em; border-radius: .55em; font-weight: 600; font-size: .92em; }
.m-side .on { background: var(--m-acc-tint); color: var(--m-acc-ink); box-shadow: inset 3px 0 0 var(--m-acc-ink); }
@media (max-width: 560px) { .m-split { grid-template-columns: 1fr; } .m-side { display: none; } }
.m-eye { font-size: .74em; letter-spacing: .06em; text-transform: uppercase; color: var(--m-soft); font-weight: 600; }
.m-h { font-family: "Bricolage Grotesque", "Public Sans", sans-serif; font-weight: 650; font-size: 1.7em; line-height: 1.1; letter-spacing: -.01em; }
.m-h2 { font-family: "Bricolage Grotesque", "Public Sans", sans-serif; font-weight: 650; font-size: 1.15em; line-height: 1.2; }
.m-soft { color: var(--m-soft); font-size: .88em; }
.m-card { background: var(--m-card); border: 1px solid var(--m-hair); border-radius: 1em; padding: 1em 1.1em; display: grid; gap: .6em; }
.m-card--top { border-top: 3px solid var(--m-acc-ink); }
.m-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7em; }
.m-tile { background: var(--m-card); border: 1px solid var(--m-hair); border-radius: .9em; padding: .8em .9em; display: grid; gap: .2em; min-width: 0; }
.m-tile .m-eye { font-size: .64em; }
.m-num { font-family: "Bricolage Grotesque", "Public Sans", sans-serif; font-weight: 700; font-size: 1.3em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-num small { font-size: .62em; font-weight: 650; }
.m-big { font-size: 1.9em; }
.m-row { display: flex; align-items: center; justify-content: space-between; gap: .8em; padding-block: .6em; border-top: 1px solid var(--m-hair); }
.m-row:first-of-type { border-top: 0; }
.m-row > div { min-width: 0; }
.m-row b { display: block; }
.m-link { color: var(--m-acc-ink); font-weight: 650; font-size: .88em; white-space: nowrap; text-decoration: underline; text-underline-offset: .2em; }
.m-chip { display: inline-block; border-radius: 99em; padding: .12em .65em; font-size: .76em; font-weight: 650; background: var(--m-tint); color: var(--m-ink); white-space: nowrap; }
.m-chip--good { background: var(--m-good-tint); color: var(--m-good); }
.m-chip--bad { background: var(--m-bad-tint); color: var(--m-bad); }
.m-chip--info { background: var(--m-info-tint); color: var(--m-info); }
.m-chip--acc { background: var(--m-acc-tint); color: var(--m-acc-ink); }
.m-btn { display: inline-block; padding: .5em 1em; border-radius: .65em; background: var(--m-acc-ink); color: var(--m-on-acc); font-weight: 700; font-size: .9em; border: 1.5px solid var(--m-acc-ink); white-space: nowrap; }
.m-btn--ghost { background: transparent; color: var(--m-acc-ink); }
.m-btns { display: flex; flex-wrap: wrap; gap: .5em; }
.m-meter { display: grid; gap: .3em; }
.m-meter__top { display: flex; justify-content: space-between; gap: 1em; font-size: .9em; white-space: nowrap; }
.m-meter__top span:last-child { color: var(--m-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-meter__bar { height: .55em; border-radius: 99em; background: var(--m-tint); overflow: hidden; }
.m-meter__bar span { display: block; height: 100%; border-radius: 99em; background: var(--m-good); }
.m-meter__bar .amber { background: var(--m-acc); }
.m-meter__bar .red { background: var(--m-bad); }
.m-meter__bar .info { background: var(--m-info); }
.w-13 { width: 13%; } .w-46 { width: 46%; } .w-58 { width: 58%; } .w-71 { width: 71%; } .w-77 { width: 77%; } .w-83 { width: 83%; } .w-96 { width: 96%; }
.m-phone { background: var(--m-bg); border: .45em solid var(--m-phone); border-radius: 2.2em; overflow: hidden; box-shadow: var(--shadow); font-size: clamp(8.5px, 1.9vw, 10.5px); }
.m-phone .m-body { padding: 1em .9em 1.4em; gap: .8em; }
.m-phone__notch { height: 1.5em; background: var(--m-card); display: grid; place-items: center; }
.m-phone__notch::after { content: ""; width: 32%; height: .5em; border-radius: 99em; background: var(--m-phone); opacity: .85; }
.m-stack { display: grid; gap: .9em; }
.m-two { display: grid; gap: .9em; align-items: start; }
@media (min-width: 520px) { .m-two { grid-template-columns: 1.05fr .95fr; } .m-two--pass { grid-template-columns: .8fr 1.2fr; } }
.m-float { box-shadow: var(--shadow); }
.m-pass { text-align: center; justify-items: center; }
.m-pass svg { width: min(11em, 100%); height: auto; background: #fff; padding: .6em; border-radius: .8em; border: 1px solid var(--m-line); color: #14233A; }
.m-note { font-size: .82em; color: var(--m-soft); background: var(--m-tint); border-radius: .7em; padding: .55em .8em; }
.m-ol { display: grid; gap: .45em; counter-reset: a; }
.m-ol li { counter-increment: a; display: grid; grid-template-columns: 1.6em 1fr; font-size: .93em; }
.m-ol li::before { content: counter(a) "."; color: var(--m-soft); font-weight: 650; }
.band .m-card { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s cubic-bezier(.16, 1, .3, 1) both; }
  .rise-2 { animation-delay: .1s; } .rise-3 { animation-delay: .2s; } .rise-4 { animation-delay: .32s; } .rise-5 { animation-delay: .5s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .9s cubic-bezier(.16, 1, .3, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}
@media print { .top, .skip { display: none; } }
@media (min-width: 980px) { .hero::before { inset: -20% -10% auto 35%; height: 120%; } }
#producto { padding-bottom: 0; }
.m-tile .m-eye { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-phone .m-h { font-size: 1.4em; }
@media (max-width: 560px) { .art__phone { width: 33%; } .m-phone .m-link { display: none; } }

/* ---------- Mobile menu (no script: a details element) ---------- */
.menu { display: none; }
.menu summary {
  list-style: none; cursor: pointer; display: grid; place-items: center; width: 2.6rem; height: 2.6rem;
  border: 1.5px solid var(--line-strong); border-radius: 999px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 1.2rem; height: 1.2rem; }
.menu[open] summary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.menu nav {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 0 var(--gutter) 1rem; max-height: calc(100vh - 4rem); overflow-y: auto;
}
.menu nav a { display: block; padding: .85rem 0; border-top: 1px solid var(--line); font-size: 1.05rem; font-weight: 600; text-decoration: none; }
@media (max-width: 980px) { .menu { display: block; } }

/* ---------- Inner pages ---------- */
.crumbs { padding-top: 1.3rem; font-size: .88rem; color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .2rem .5rem; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.phero { padding-block: clamp(1.6rem, 4vw, 2.8rem) clamp(1.5rem, 4vw, 2.5rem); }
.phero h1 { font-size: clamp(2.15rem, 5vw, 3.8rem); margin-block: 1.1rem 1.2rem; max-width: 17em; }
.phero .lede { max-width: 40em; }
.phero__meta { margin-top: 1rem; font-size: .88rem; color: var(--ink-3); }
.phero__shot { margin-top: clamp(2rem, 5vw, 3.2rem); }
.shot--wide { max-width: 900px; }
.sec--tight { padding-block: clamp(2.2rem, 5vw, 3.6rem); }
.sec--tight .sec__head { margin-bottom: clamp(1.3rem, 3vw, 2rem); }
.sec--tight .sec__head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-block: .9rem 0; }
.sec--tight .sec__head .lede { margin-top: 1rem; }
.flow > * + * { margin-top: 1.1rem; }
.flow > p, .flow > .dots, .flow > .nums { max-width: 44rem; color: var(--ink-2); }
.flow a:not(.card):not(.more):not(.btn), .prose a:not(.card):not(.more):not(.btn) { text-decoration-color: var(--sun); }
.dots, .nums { display: grid; gap: .6rem; padding-left: 1.3rem; }
.dots { list-style: disc; }
.nums { list-style: decimal; }
.dots li::marker { color: var(--sun); }
.nums li::marker { color: var(--sun-deep); font-weight: 700; }
.flow > .ticks { max-width: none; }
.band--box + .ticks { margin-top: 2rem; }
@media (min-width: 860px) { .flow > .ticks { grid-template-columns: 1fr 1fr; gap: 1rem 3rem; } }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr)); }
.card {
  display: grid; gap: .6rem; align-content: start; padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px;
  background: var(--paper-3); text-decoration: none;
}
.card p { color: var(--ink-2); font-size: 1rem; }
.card--link { transition: transform .2s ease, border-color .2s ease; }
.card--link:hover { transform: translateY(-2px); border-color: var(--sun); }
.more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; font-size: .95rem; color: var(--sun-deep); text-decoration: none; }
.more svg { width: 1em; height: 1em; flex: none; }
a.more:hover { text-decoration: underline; }
.card .more { margin-top: .3rem; }
.job__more { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.who__card > .more { justify-self: start; text-align: left; }
.who__card > .more svg { width: 1em; height: 1em; margin: 0; }
.who__also { margin-top: 1.6rem; color: var(--ink-2); }
.steps { display: grid; gap: 1rem; counter-reset: step; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.steps li {
  counter-increment: step; padding: 1.3rem 1.4rem 1.5rem; border-top: 3px solid var(--sun); background: var(--paper-3);
  border-radius: 0 0 16px 16px; display: grid; gap: .5rem; align-content: start;
}
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--serif); font-style: italic; color: var(--sun-deep); font-size: 1.1rem; }
.steps p { color: var(--ink-2); font-size: 1rem; }
.note { border-left: 4px solid var(--sun); background: var(--sun-tint); border-radius: 0 16px 16px 0; padding: 1.3rem 1.5rem; max-width: 46rem; display: grid; gap: .5rem; }
.faq-list { max-width: 46rem; }
.legal { font-size: .9rem; color: var(--ink-3); max-width: 46rem; }
.sources { max-width: 46rem; margin-top: 2rem; padding: 1.3rem 1.5rem; border: 1px solid var(--line); border-radius: 16px; display: grid; gap: .7rem; font-size: .95rem; }
.sources h3 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.sources ul { display: grid; gap: .5rem; padding-left: 1.2rem; list-style: disc; color: var(--ink-2); overflow-wrap: anywhere; }
.tbl { overflow-x: auto; max-width: 46rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-3); }
.tbl table { border-collapse: collapse; width: 100%; min-width: 31rem; font-size: .93rem; }
.tbl caption { text-align: left; padding: .8rem 1rem; font-size: .85rem; color: var(--ink-3); }
.tbl th, .tbl td { padding: .65rem 1rem; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; color: var(--ink-2); }
.tbl thead th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.tbl tbody th { color: var(--ink); }
.tbl td { font-variant-numeric: tabular-nums; }
.band--box { border-radius: 24px; padding: clamp(1.2rem, 4vw, 2.5rem); }

/* articles and glossary */
.article { display: grid; gap: 2rem; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.aside { display: grid; gap: 1.5rem; order: -1; }
.aside__card { display: none; }
@media (min-width: 1000px) {
  .article { grid-template-columns: minmax(0, 1fr) 17rem; gap: 4rem; align-items: start; }
  .aside { order: 0; position: sticky; top: 6rem; }
  .aside__card { display: grid; }
}
.prose { max-width: 44rem; min-width: 0; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.12; margin-top: 2.6rem; scroll-margin-top: 6rem; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose b { color: var(--ink); font-weight: 650; }
.toc { padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: 16px; }
.toc h2, .aside__card h2 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); line-height: 1.4; }
.toc ol, .toc ul { display: grid; gap: .5rem; font-size: .93rem; margin-top: .8rem; }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.toc--terms ul { display: flex; flex-wrap: wrap; gap: .4rem; }
.toc--terms a { display: block; padding: .25rem .7rem; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; }
@media (min-width: 1000px) {
  .toc--terms ul { display: grid; gap: .1rem; max-height: 52vh; overflow-y: auto; }
  .toc--terms a { border: 0; padding: .22rem 0; font-size: .9rem; }
}
.aside__card { padding: 1.4rem; border-radius: 18px; background: var(--paper-2); gap: .8rem; justify-items: start; }
.aside__card p { font-size: .95rem; color: var(--ink-2); }
.gloss { margin-top: 2.8rem; }
.gloss h2 { margin-top: 0; }
.gloss__lede { margin-top: .5rem; }
.gloss dl { margin: 1.2rem 0 0; }
.term { padding: 1.4rem 0; border-top: 1px solid var(--line); scroll-margin-top: 6rem; }
.term dt { display: grid; gap: .3rem; }
.term dfn { font-family: var(--serif); font-style: normal; font-size: 1.45rem; font-weight: 480; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.term__en { font-size: .9rem; font-weight: 600; color: var(--sun-deep); }
.term dd { margin-top: .7rem; display: grid; gap: .6rem; }
.term__src { font-size: .85rem; overflow-wrap: anywhere; }
.term .term__src, .term .term__src a { color: var(--ink-3); }
.term:target { background: var(--sun-tint); margin-inline: -1rem; padding-inline: 1rem; border-radius: 12px; border-top-color: transparent; }
@media (prefers-reduced-motion: reduce) { .card--link { transition: none; } }
@media print { .menu, .aside, .cta { display: none; } }
.tbl td:not(:last-child) { white-space: nowrap; }
@media (max-width: 999px) { .toc--terms ul { max-height: 9.6rem; overflow-y: auto; padding-right: .3rem; } }
