/* The product page (es: /acerca/, en: /en/about/). Built with tasteskill's kit (public/kit, MIT).
   The page's CSP allows no inline styles or scripts: everything a kit page would write inline lives here. */

@font-face { font-family: 'Bricolage Grotesque Variable'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('/fonts/landing/bricolage-grotesque-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque Variable'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('/fonts/landing/bricolage-grotesque-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible Next Variable'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('/fonts/landing/atkinson-hyperlegible-next-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible Next Variable'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('/fonts/landing/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* start.mjs brand --page software --bg #edf0f2 --ink #13233a --accent #0f8577 --type bricolage, with the
   app's own text face (Atkinson Hyperlegible Next) in place of Figtree and the app's dark-mode teal as the
   accent on the inverse ground (#0f8577 on navy is 2.9:1). */
:root {
  --p-bg: #edf0f2; --p-surface: #ffffff; --p-ink: #13233a; --p-muted: #3d4b5e;
  --p-accent: #0f8577; --p-accent-ink: #ffffff; --p-action: #0f8577; --p-action-ink: #ffffff;
  --p-inv-bg: #13233a; --p-inv-surface: #202f46; --p-inv-ink: #edf0f2; --p-inv-muted: #a9b3bf;
  --p-inv-accent: #3cbfa9; --p-inv-accent-ink: #13233a; --p-inv-action: #0f8577; --p-inv-action-ink: #ffffff;
  --font-display: "Bricolage Grotesque Variable", system-ui, sans-serif;
  --font-text: "Atkinson Hyperlegible Next Variable", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 400;
  --display-tracking: -0.03em;
  --display-tracking-xl: -0.04em;
  --display-stretch: 96%;
}

/* the logo: the app's own mark (icon.svg) beside the name */
.nav__logo .logo-mark { width: 26px; height: 26px; flex: none; }

/* hero: the app's window cut by the art frame, one small card over its lower-left corner */
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; z-index: 2; }
.hero__art .ui-win { border-radius: 12px; }
.hero__art .ui-win__main { padding-right: var(--ly-cut-room); }
.hero__proof { font-size: var(--t-small); color: var(--muted); }
.d-card { background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 14px 32px -18px rgb(0 0 0 / .35); color: #13233a; }
.d-card__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.d-card h5 { margin: 0; font: 600 14px/1.3 var(--font-text); }
.d-chip { font: 600 12px/1 var(--font-text); padding: 5px 8px; border-radius: 999px; background: #d3eae5; color: #0a6b60; }
.d-note__line { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: #3d4a5c; border-top: 1px solid rgb(0 0 0 / .06); }
.d-note__line i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #d3eae5; color: #0a6b60; font-style: normal; font-size: 12px; font-weight: 700; }
.d-note__line b { font-weight: 600; color: #13233a; }
@media (max-width: 1023px) { .hero__art > .ly-piece--note { left: var(--s-4); bottom: var(--s-4); width: 270px; } }

/* app-frame (sections-library.md): the list beside the open item, one window across the wrap */
.app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
.app > .app__pane > .ui-panel, .app > .app__pane > div > .ui-panel { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
.app .ui-doc { padding: 28px 32px; }
@media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane--list { max-height: 252px; }
  .app > .app__pane--list::after { display: none; }
  .app .ui-win__side { display: none; }
  .app .ui-win__body { grid-template-columns: minmax(0, 1fr); }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
}
@media (max-width: 639px) {
  .app.ui { grid-template-rows: minmax(0, 1fr); }
  .app > .app__pane--list { display: none; }
  .app > .app__pane + .app__pane { border-top: 0; }
  .app .ui-doc { padding: 20px; }
}

/* the drawn windows of the three steps (pinned-chapters): each fragment on the lit ground, cut by the frame */
.mo-pc__visual.step-ui { margin: 0; height: 100%; min-height: 320px; display: grid; place-items: start center; padding: 48px 32px 0; overflow: hidden; border-radius: var(--r-lg);
  background: radial-gradient(70% 60% at 18% 12%, color-mix(in oklab, var(--ground-surface) 80%, white), transparent 70%), var(--ground-bg); }
.mo-pc__visual.step-ui > .ui { width: min(440px, 100%); }

/* features-2x2 */
#herramientas .panel { --p-h: 336px; }
#herramientas .stage > .at-rise { --fit-max: 400px; --ax: max(24px, 50% - 200px); --ay: 56px; --ay-sm: 56px; }
#herramientas .stage > .at-rise.at-low { --fit-max: 340px; --ax: max(24px, 50% - 170px); --ay: 40px; --ay-sm: 40px; }
@media (max-width: 639px) { #herramientas .panel { --p-h: 190px; } }
.ui-checks__bar > i { --k: 0.5; }

/* the four figures under the privacy statement (counter-rolls), on the page's columns */
.stats { margin-top: var(--s-8); row-gap: var(--s-6); }
.stat { border-top: 1px solid color-mix(in oklab, var(--ink) 18%, transparent); padding-top: var(--s-4); }
@media (max-width: 1023px) { .stats > .stat { grid-column: auto / span 6; } }
@media (max-width: 639px) { .stats { margin-top: var(--s-7); } .stats > .stat { grid-column: 1 / -1; } }

/* the signed contract card */
.d-sign { width: min(360px, 100%); }
.d-sign__stroke { padding: 6px 0 10px; }
.d-sign__stroke svg { display: block; width: 100%; height: 56px; fill: none; stroke: #13233a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* the second button stands off the linen with a hairline in the ink */
.btn--secondary { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-ink) 40%, transparent); }

/* a phone: the English link lives in the footer, the steps' fragments sit closer to the frame's edges */
@media (max-width: 639px) {
  .nav__actions > .nav__link { display: none; }
  .mo-pc__visual.step-ui { padding: 24px 12px 0; min-height: 0; height: 240px; }
  .mo-pc__visual.step-ui > .ui { width: 100%; }
}

/* the questions, merged under the figures as the section's last element (sections.md: merge short blocks) */
.faq--cols { margin-top: var(--s-8); row-gap: 0; }
@media (min-width: 640px) { .faq--cols > .faq__item:nth-child(2) { padding-top: 0; } }

/* the hero's window takes the lit sage ground: its small grey words step darker to keep 4.5:1 */
.hero__art .ui-win .ui-win__label, .hero__art .ui-win .ui-win__st { color: #3b4752; }
.hero__art .ui-win .ui-win__st.is-work { color: #33482e; }

/* a short desktop window (1280px or wider, 600 to 800px tall: a laptop with its browser bars). From 1280 the kit
   fixes every section at exactly its screens, so content taller than the window ran under the next section
   (the questions under the footer, the name set large over the footer's columns). Here, as the kit already does
   from 640 to 1279, a section keeps at least its screens and grows with what it holds. */
@media (min-width: 1280px) {
  main > :is(section, .section):not(.hero), footer.closing {
    height: auto; min-height: calc(var(--h, 1) * 100vh); min-height: calc(var(--h, 1) * 100svh);
    display: flex; flex-direction: column;
  }
  main > :is(section, .section):not(.hero) > .wrap, footer.closing > .wrap { flex: 1 0 auto; height: auto; min-height: 0; }
}
/* the closing's first row never gets shorter than its content, and the name scales with the window's height too */
footer.closing > .wrap { grid-template-rows: minmax(min-content, 1fr) auto; }
.close__word { font-size: min(clamp(64px, 14.5vw, 216px), 24svh); }
@media (max-width: 639px) { .close__word { font-size: clamp(56px, 19vw, 96px); } }
/* the KDP window keeps a readable height on a short window instead of shrinking to what the screen leaves */
#kdp .app.ui { min-height: 360px; }

/* each tool card opens its tool: the title is the link, and its box covers the card (one target, one name) */
.card--linked { position: relative; }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--r-lg); }
.card__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__link:focus-visible { outline: none; }
.card--linked:has(.card__link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: var(--r-lg); }
