/* SynVox Nova · website 2.0. Paper, ink and sand, with Manrope for display and Inter for text. */
@font-face { font-family: Manrope; src: url('/assets/fonts/Manrope-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: Inter; src: url('/assets/fonts/Inter-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #f5f2ec;
  --surface: #fbf9f5;
  --sand: #e8dfd2;
  --sand-2: #efe9e0;
  --ink: #2b2824;
  --ink-2: #4a4238;
  --muted: #685a4b;
  --soft: #8a7a67;
  --line: #dcd2c4;
  --line-2: #e7e0d5;
  --green-bg: #e1ebe2;
  --green: #2d5e43;
  --amber-bg: #f4e8d2;
  --amber: #74500f;
  --red-bg: #f6e1dc;
  --red: #9b3424;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgb(43 40 36 / 6%), 0 8px 24px rgb(43 40 36 / 6%);
  --display: Manrope, 'Segoe UI', system-ui, sans-serif;
  --text: Inter, 'Segoe UI', system-ui, sans-serif;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--text); font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--soft); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .6; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
svg.i-fill { fill: currentColor; stroke: none; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-weight: 300; font-size: clamp(38px, 6.2vw, 66px); line-height: 1.04; letter-spacing: -.035em; }
h1 > span { display: block; }
h2 { font-weight: 300; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -.03em; }
h3 { font-weight: 500; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.h-small { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: -.015em; }
p { margin: 0; }
.wrap { width: min(1400px, 100% - 32px); margin-inline: auto; }
@media (min-width: 1024px) { .wrap { width: min(1400px, 100% - 96px); } }
.narrow { max-width: 760px; }
.wrap.narrow { width: min(760px, 100% - 32px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 8px; transform: translateY(-200%); }
.skip:focus { transform: none; }
main { display: block; padding-bottom: 32px; }
main:focus { outline: none; }

/* Signed-in state (html classes set by /js/boot.js from a hint, confirmed by /js/common.js). */
html:not(.s-in) .only-in, html.s-in .only-out, html:not(.s-admin) .only-admin, html.s-pro .only-free, html:not(.s-pro) .only-pro { display: none !important; }

/* ---------------------------------------------------------------- buttons, links, pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); border-radius: var(--radius); background: transparent; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.2; text-decoration: none; transition: background .15s, color .15s, transform .15s, box-shadow .15s; }
.btn:hover { text-decoration: none; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:not(:disabled):hover { background: var(--ink-2); box-shadow: 0 6px 16px rgb(43 40 36 / 12%); }
.btn-outline { background: var(--surface); border-color: var(--line); }
.btn-outline:not(:disabled):hover { border-color: var(--ink); }
.btn-lg { min-height: 52px; padding: 0 22px; font-size: 15px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn svg { width: 17px; height: 17px; }
.link-button { background: none; border: 0; padding: 4px 0; font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link-button.danger { color: var(--red); }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.arrow-link:hover { border-color: var(--ink); }
.arrow-link svg { width: 15px; height: 15px; transition: transform .15s; }
.arrow-link:hover svg { transform: translateX(2px); }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pill-green { background: var(--green-bg); border-color: transparent; color: var(--green); }
.pill-amber { background: var(--amber-bg); border-color: transparent; color: var(--amber); }
.pill-red { background: var(--red-bg); border-color: transparent; color: var(--red); }
.pill-dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.round { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-bg); color: var(--green); flex-shrink: 0; }
.round svg { width: 16px; height: 16px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow > span[aria-hidden="true"] { width: 18px; height: 1px; background: currentColor; }
.lead { margin-top: 18px; font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 620px; }
.fine { font-size: 13px; line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }
.label { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.soft { color: var(--soft); }
.notice { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius); background: var(--amber-bg); color: var(--amber); font-size: 14px; }
.status { min-height: 1.2em; margin-top: 10px; font-size: 14px; color: var(--muted); }
.status.is-error { color: var(--red); }
.status.is-ok { color: var(--green); }
.pending { display: inline-block; padding: 2px 8px; border: 1px dashed #b69663; border-radius: 6px; background: #fbf3e4; color: var(--amber); font-size: 12.5px; font-weight: 500; }

/* ---------------------------------------------------------------- header */
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: block; width: 150px; flex-shrink: 0; }
.brand img { width: 100%; }
.menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; border-radius: 10px; background: none; }
.menu-toggle svg { width: 22px; height: 22px; }
.site-menu { display: none; }
.menu-toggle[aria-expanded="true"] + .site-menu { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 4px; padding: 12px 16px 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgb(43 40 36 / 8%); }
html:not(.js) .site-menu { display: flex; flex-direction: column; position: static; padding: 0 0 16px; }
html:not(.js) .menu-toggle { display: none; }
html:not(.js) .header-row { flex-wrap: wrap; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nav-links a, .nav-plain { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 4px; font-size: 15px; text-decoration: none; color: var(--ink); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--soft); }
.nav-links a:hover, .nav-plain:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-plain svg { width: 17px; height: 17px; }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding-top: 8px; border-top: 1px solid var(--line-2); margin-top: 6px; }
.lang-menu { position: relative; }
.lang-menu summary { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 4px; font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary svg { width: 14px; height: 14px; transition: transform .15s; }
.lang-menu[open] summary svg { transform: rotate(180deg); }
.lang-menu ul { position: absolute; z-index: 5; top: calc(100% + 4px); left: -8px; min-width: 150px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 7px; font-size: 14px; text-decoration: none; }
.lang-menu a:hover { background: var(--sand-2); }
.lang-menu a[aria-current="true"] { font-weight: 600; }
.focus-header .nav-plain { font-size: 14px; color: var(--muted); }
/* The notice under the header, written from the admin «Textos de la web» (hidden while empty). */
.site-notice { background: var(--amber-bg); color: var(--amber); border-bottom: 1px solid #ead7b4; }
.site-notice p { padding: 11px 0; font-size: 14px; font-weight: 500; text-align: center; }
@media (min-width: 1000px) {
  .brand { width: 168px; }
  .menu-toggle { display: none; }
  .site-menu, html:not(.js) .site-menu { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 24px; position: static; flex-direction: row; padding: 0; }
  .nav-links { flex-direction: row; gap: 26px; margin-left: auto; margin-right: auto; }
  .nav-links a { font-size: 14px; }
  .header-actions { flex-wrap: nowrap; gap: 20px; padding: 0; margin: 0; border: 0; }
  .nav-plain { font-size: 14px; }
  .header-row { min-height: 84px; }
}

/* ---------------------------------------------------------------- footer and consent */
.site-footer { margin-top: 56px; border-top: 1px solid var(--line); background: var(--sand-2); }
.footer-grid { display: grid; gap: 28px; padding: 40px 0 28px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand img { width: 150px; }
.footer-brand p { margin-top: 12px; color: var(--muted); font-size: 14px; }
.footer-brand .footer-release { margin-top: 6px; font-size: 12.5px; }
.site-footer h2 { font-family: var(--text); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: 6px 0; font-size: 14px; text-decoration: none; color: var(--ink); }
.site-footer li a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding: 18px 0 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom .link-button { font-size: 13px; color: var(--muted); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.consent { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-inline: auto; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 20px 48px rgb(43 40 36 / 18%); }
.consent-title { font-weight: 600; margin-bottom: 4px; }
.consent-text p:last-child { font-size: 14px; color: var(--muted); }
.consent-actions { display: flex; gap: 10px; }
.consent-actions .btn { flex: 1; }
@media (min-width: 760px) { .consent { flex-direction: row; align-items: center; } .consent-actions { flex: none; } .consent-actions .btn { flex: none; min-width: 120px; } }

/* ---------------------------------------------------------------- sections */
.section { padding-top: 56px; }
@media (min-width: 900px) { .section { padding-top: 80px; } }
.section-head { max-width: 760px; margin-bottom: 32px; }
/* Wide screens: the title on the left, its text or button on the right, in one band. */
.section-head.split { display: grid; gap: 4px 48px; max-width: none; }
.section-head.split .lead { margin-top: 14px; }
@media (min-width: 1000px) {
  .section-head.split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; }
  .section-head.split > :last-child { justify-self: end; margin-top: 0; }
  .section-head.split .lead { max-width: 560px; }
}
.section-link { margin-top: 24px; }
.page-hero { padding-top: 48px; padding-bottom: 32px; }
@media (min-width: 900px) { .page-hero { padding-top: 72px; } }

/* home: hero */
.hero { display: grid; gap: 40px; padding-top: 44px; }
.tagline { margin-top: 18px; font-family: var(--display); font-size: clamp(19px, 2.2vw, 24px); font-weight: 300; color: var(--soft); letter-spacing: -.01em; }
.hero .lead { margin-top: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.release-meta { margin-top: 14px; font-size: 13px; color: var(--muted); }
.plan-line { margin-top: 12px; font-size: 14px; color: var(--green); font-weight: 500; }
.plan-line a { color: var(--green); }
.hero .fine { margin-top: 6px; }
.hero-visual { position: relative; margin: 0; padding-top: 22px; }
.hero-visual figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); }
@media (min-width: 1000px) { .hero { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 72px; padding-top: 64px; } .hero .lead { max-width: 560px; } }

/* illustrative product view */
.mock { position: relative; z-index: 1; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; font-size: 11px; line-height: 1.35; color: var(--ink); }
.mock-bar { display: flex; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid var(--line-2); color: var(--muted); font-size: 10px; }
.mock-body { display: grid; grid-template-columns: 112px 1fr; min-height: 280px; }
.mock-side { display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; border-right: 1px solid var(--line-2); background: var(--paper); }
.mock-side img { width: 84px; margin: 0 4px 12px; }
.mock-side span { padding: 6px 8px; border-radius: 6px; color: var(--muted); }
.mock-side .on { background: var(--sand); color: var(--ink); }
.mock-side .gap { margin-top: 14px; }
.mock-side .end { margin-top: auto; }
.mock-main { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.mock-head strong { display: block; font-family: var(--display); font-weight: 400; font-size: 17px; }
.mock-head small { color: var(--muted); }
.mock-head .pill { font-size: 8.5px; padding: 3px 8px; }
.mock-chain { padding: 7px 10px; border-radius: 6px; background: var(--sand); color: var(--muted); font-size: 10px; }
.mock-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; }
.mock-card { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 8px; background: var(--sand-2); }
.mock-card strong { font-weight: 600; }
.mock-card small { color: var(--muted); font-size: 10px; }
.mock-wave { width: 100%; height: 40px; margin: 6px 0; fill: var(--ink); stroke: none; opacity: .75; }
.mock-btn { align-self: flex-start; margin-top: auto; padding: 6px 12px; border-radius: 6px; background: var(--ink); color: var(--paper); }
.mock-select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.mock-link { margin-top: auto; color: var(--green) !important; }
@media (max-width: 480px) { .mock-body { grid-template-columns: 1fr; } .mock-side { display: none; } .mock-cols { grid-template-columns: 1fr; } }

/* home: demo */
.demo-modes { display: grid; gap: 16px; }
@media (min-width: 1000px) { .demo-modes { grid-template-columns: 1fr 1fr; gap: 24px; } }
.demo-mode { display: flex; flex-direction: column; gap: 18px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.mode-name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 28px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.demo-mode h3 { margin-top: 8px; font-size: 22px; font-weight: 400; }
.ab { display: grid; gap: 10px; }
.ab-item { margin: 0; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--radius); background: var(--sand-2); }
.ab-item.is-result { background: var(--green-bg); }
.ab-item figcaption { display: flex; flex-direction: column; gap: 1px; }
.ab-item strong { font-weight: 600; }
.ab-item figcaption span { font-size: 13px; color: var(--muted); }
.ab-item.is-result figcaption span { color: var(--green); }
.ab-item audio { display: block; width: 100%; height: 40px; }
.ab-arrow { justify-self: center; align-self: center; color: var(--soft); transform: rotate(90deg); }
@media (min-width: 640px) {
  .ab { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .ab-arrow { transform: none; }
}
.transcript summary { cursor: pointer; width: fit-content; font-size: 14px; font-weight: 500; padding: 4px 0; }
.transcript dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 8px 0 0; font-size: 14px; }
.transcript dt { font-weight: 600; }
.transcript dd { margin: 0; color: var(--muted); }

/* home: how it works */
.steps .n, .guide .n { font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--soft); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.steps li { padding: 22px; border-top: 1px solid var(--line); }
.steps h3 { margin: 10px 0 6px; }
.steps p { font-size: 14.5px; color: var(--muted); }
.steps-compact li { padding: 18px 0; }
.callout { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 28px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.callout h3, .callout .h-small { margin-bottom: 4px; }
.callout p { color: var(--muted); font-size: 14.5px; }
.callout-green { background: var(--green-bg); border-color: transparent; }
.callout-green p, .callout-green a:not(.btn) { color: var(--green); }
@media (min-width: 760px) { .callout { flex-direction: row; align-items: center; justify-content: space-between; padding: 26px 30px; } }

/* home: costs */
.cost-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .cost-grid { grid-template-columns: 1fr 1fr; } }
.panel { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.panel-sand { background: var(--sand); border-color: transparent; }
.panel h3 { margin-bottom: 8px; font-family: var(--display); font-size: 24px; font-weight: 400; }
.panel > p { color: var(--muted); font-size: 14.5px; }
.panel .h-small + p, .panel .h-small + .fine { margin-top: 6px; }
.panel .arrow-link { margin-top: 16px; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.panel-head a { font-size: 14px; }
.price { margin: 16px 0 4px; font-family: var(--display); font-size: 30px; font-weight: 300; letter-spacing: -.02em; }
.ticks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: 14.5px; }
.ticks svg { margin-top: 3px; color: var(--green); }
.tiles { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); text-decoration: none; transition: border-color .15s; }
.tile:hover { border-color: var(--ink); }
.tile strong { font-weight: 600; font-size: 15px; }
.tile span { font-size: 14px; color: var(--muted); }

/* home: community teaser, privacy, faq */
.card-row { display: grid; gap: 14px; }
@media (min-width: 860px) { .card-row { grid-template-columns: repeat(3, 1fr); } }
.info-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; min-height: 180px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; transition: border-color .15s, transform .15s; }
.info-card:hover { border-color: var(--ink); }
.info-card strong { font-family: var(--display); font-size: 21px; font-weight: 400; letter-spacing: -.01em; }
.info-card > span:not(.label):not(.more) { color: var(--muted); font-size: 14.5px; }
.info-card .more { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 500; }
.info-card .label { margin: 0; }
.trust-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .trust-grid { grid-template-columns: 1fr 1.4fr; gap: 56px; } }
.privacy-card { padding: 28px; border-radius: var(--radius-lg); background: var(--sand); }
.privacy-card h2 { margin: 18px 0 10px; font-size: clamp(26px, 3vw, 34px); }
.privacy-card p { color: var(--ink-2); margin-bottom: 18px; }
.trust .h-small { margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 500; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { transition: transform .15s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: 15px; max-width: 680px; }

/* ---------------------------------------------------------------- plans */
.plans-hero { display: grid; gap: 32px; }
@media (min-width: 960px) { .plans-hero { grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; } }
.fact-list { margin: 28px 0 0; display: grid; gap: 0; }
.fact-list div { padding: 16px 0; border-top: 1px solid var(--line); }
.fact-list dt { font-weight: 600; }
.fact-list dd { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.price-card, .download-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.price-card .pill, .download-card .pill { align-self: flex-start; }
.price-card h2, .download-card h2 { font-size: 30px; }
.price-big { font-family: var(--display); font-size: 44px; font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.price-big small { display: block; margin-top: 8px; font-family: var(--text); font-size: 13px; letter-spacing: 0; color: var(--muted); }
.price-card .ticks { margin: 4px 0 8px; }
.table-scroll { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.compare, .data { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td, .data th, .data td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.compare thead th, .data thead th { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--sand-2); }
.compare tbody th { font-weight: 500; }
.compare tr:last-child > *, .data tr:last-child > * { border-bottom: 0; }
.compare td:last-child { color: var(--green); font-weight: 500; }
.compare { min-width: 560px; }

/* ---------------------------------------------------------------- download */
.download-hero { display: grid; gap: 32px; }
@media (min-width: 960px) { .download-hero { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; } }
.link-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; font-size: 14px; font-weight: 500; }
.download-card .release-meta { margin: 0; }
.download-progress { display: flex; align-items: center; gap: 12px; }
.download-progress progress { flex: 1; height: 4px; appearance: none; border: 0; border-radius: 4px; background: var(--line); overflow: hidden; }
.download-progress progress::-webkit-progress-bar { background: var(--line); }
.download-progress progress::-webkit-progress-value { background: var(--ink); }
.download-progress progress::-moz-progress-bar { background: var(--ink); }
.download-status { min-height: 1.2em; font-size: 14px; color: var(--muted); }
.mobile-note { padding: 14px; border-radius: var(--radius); background: var(--sand-2); font-size: 14px; display: grid; gap: 10px; justify-items: start; }
.hash summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.hash code { display: block; margin-top: 6px; font-size: 12px; word-break: break-all; color: var(--ink-2); }
.spec-list { margin: 16px 0 0; border-top: 1px solid var(--line); }
.spec-list div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-weight: 600; font-size: 14.5px; }
.spec-list dd { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 760px) { .spec-list div { grid-template-columns: 240px 1fr; gap: 24px; } }

/* ---------------------------------------------------------------- help */
.help-hero h1 { max-width: 780px; }
.search { position: relative; display: flex; align-items: center; max-width: 640px; margin-top: 28px; }
.search svg { position: absolute; left: 16px; color: var(--muted); }
.search input { width: 100%; min-height: 54px; padding: 0 16px 0 46px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 16px; }
.search input:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.search-empty { margin-top: 12px; color: var(--muted); }
.help-cards .info-card { min-height: 0; }
.articles { display: grid; gap: 14px; }
@media (min-width: 1000px) { .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; } }
.article { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.article h2 { font-size: 24px; font-weight: 400; margin-bottom: 10px; }
.article p + p { margin-top: 10px; }
.article p { color: var(--ink-2); }
.article:target { border-color: var(--ink); }
.guide { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.guide-step { display: flex; gap: 18px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.guide-step h2 { font-size: 24px; font-weight: 400; margin-bottom: 8px; }
.guide-step ul { margin: 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 6px; }

/* ---------------------------------------------------------------- community */
.community-layout { display: grid; gap: 24px; }
@media (min-width: 1000px) { .community-layout { grid-template-columns: 200px 1fr 280px; gap: 32px; align-items: start; } }
.side-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-nav a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14.5px; text-decoration: none; }
.side-nav a:hover { background: var(--sand-2); }
.side-nav a[aria-current] { background: var(--surface); border: 1px solid var(--line); }
.side-nav .fine { margin-top: 12px; padding: 0 12px; }
@media (max-width: 999px) { .community-layout .side-nav { display: none; } }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { min-height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; }
.tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.post-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.post-card { display: block; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; transition: border-color .15s; }
.post-card:hover { border-color: var(--ink); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 12.5px; color: var(--muted); }
.post-card h3 { margin: 10px 0 6px; font-size: 21px; font-weight: 500; }
.post-card p { color: var(--muted); font-size: 14.5px; }
.post-admin { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
/* Only for administrators: create, edit and delete posts right from the community pages. */
.admin-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--green-bg); color: var(--green); }
.feed .admin-bar { margin-bottom: 16px; }
.admin-bar > p:first-child { flex: 1 1 auto; font-size: 14px; }
.admin-bar .status { flex-basis: 100%; margin: 0; color: var(--green); }
.admin-bar .status:empty { display: none; }
.community-aside { display: grid; gap: 14px; }
.post-layout { display: grid; gap: 24px; padding-top: 32px; }
@media (min-width: 960px) { .post-layout { grid-template-columns: 1fr 300px; gap: 48px; align-items: start; } .post-layout .crumbs { grid-column: 1 / -1; } }
.crumbs { font-size: 13.5px; color: var(--muted); }
.post h1 { font-size: clamp(32px, 4.6vw, 50px); margin: 12px 0 14px; }
.post .post-summary { font-size: 18px; color: var(--muted); margin-bottom: 26px; }
.post-aside { display: grid; gap: 14px; }
.mini-facts { margin: 12px 0 0; display: grid; gap: 0; }
.mini-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
.mini-facts dt { color: var(--muted); }
.mini-facts dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.prose { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 26px; font-weight: 400; margin-top: 34px; }
.prose h3 { font-size: 20px; margin-top: 26px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose code { padding: 1px 6px; border-radius: 5px; background: var(--sand-2); font-size: .92em; }
.board { display: grid; gap: 16px; }
@media (min-width: 860px) { .board { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.board-col { padding: 18px; border-radius: var(--radius-lg); background: var(--sand-2); }
.board-title { display: flex; align-items: center; gap: 10px; font-family: var(--text); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--soft); }
.dot-building { background: #b9893c; }
.dot-available { background: var(--green); }
.board-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.board-card { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.board-card strong { display: block; font-weight: 600; }
.board-card p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.board-card a { display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 500; }
.board-card .card-actions { display: flex; gap: 14px; margin-top: 10px; }
.board-note { margin-top: 20px; }

/* ---------------------------------------------------------------- legal, chooser, 404 */
.legal { padding-top: 48px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); }
.legal .updated { margin: 12px 0 26px; font-size: 14px; color: var(--muted); }
.legal h2 { font-size: 24px; font-weight: 500; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal li:target { background: var(--amber-bg); border-radius: 6px; }
.legal code { font-size: .9em; padding: 1px 5px; border-radius: 4px; background: var(--sand-2); }
.chooser { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.chooser img { width: 180px; }
.chooser ul { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; }
.chooser a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.not-found div[lang] { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.not-found div[lang] p { margin-top: 6px; color: var(--muted); }

/* ---------------------------------------------------------------- sign-in, account, subscribe */
.auth { padding-top: 56px; }
.auth h1 { font-size: clamp(32px, 5vw, 50px); }
.auth-box { margin: 28px 0 18px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
#google-button { min-height: 44px; }
.dev-area { margin-top: 4px; }
#google-area + .dev-area:not([hidden]), #google-missing + .dev-area { padding-top: 0; }
.dev-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.account { padding-top: 44px; }
.account h1 { margin-top: 16px; font-size: clamp(32px, 5vw, 52px); }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 32px; }
@media (min-width: 960px) { .account-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; } .account-nav { position: sticky; top: 20px; padding: 10px; border-radius: var(--radius-lg); background: var(--sand); } }
@media (max-width: 959px) { .account-nav ul { display: flex; gap: 6px; overflow-x: auto; } .account-nav a { white-space: nowrap; border: 1px solid var(--line); } }
.account-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.account-main .callout { margin-top: 0; }
.plan-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.plan-head h2 { font-size: 24px; font-weight: 400; }
.price-mid { margin: 14px 0 6px; font-family: var(--display); font-size: 32px; font-weight: 300; letter-spacing: -.02em; }
.plan-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; }
.plan-foot p { color: var(--muted); font-size: 14.5px; }
.plan-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.device-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0; }
.device-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.device-list strong { display: block; font-weight: 500; }
.device-list small { color: var(--muted); font-size: 13px; }
.account .mini-facts + .btn { margin-top: 16px; }
.subscribe { padding-top: 40px; }
.subscribe h1 { font-size: clamp(30px, 4.6vw, 48px); }
.stepper { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 26px 0 24px; padding: 0; font-size: 14px; color: var(--muted); }
.stepper li { display: flex; align-items: center; gap: 8px; }
.stepper .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.stepper li[aria-current] { color: var(--ink); font-weight: 500; }
.stepper li[aria-current] .n { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.stepper li.done .n { background: var(--green-bg); border-color: transparent; color: var(--green); }
.subscribe-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .subscribe-grid { grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; } }
.subscribe-grid .panel > div > * + * { margin-top: 14px; }
.account-email { font-size: 18px; font-weight: 500; overflow-wrap: anywhere; }
.summary-name { margin-top: 12px; font-weight: 600; }

/* ---------------------------------------------------------------- admin */
.admin { padding-top: 40px; }
.admin-title { font-size: clamp(30px, 4.4vw, 46px); }
.admin-gate { margin-top: 28px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.admin-gate p + * { margin-top: 14px; }
.admin-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 28px; }
.admin-body > p { margin: 0; }
.admin-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 960px) { .admin-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.admin-header .nav-links a[aria-current="page"] { font-weight: 600; }
.stat-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .stat-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } }
.stat { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.stat small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat strong { display: block; margin-top: 6px; font-family: var(--display); font-size: 34px; font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
.stat span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.chart { display: block; width: 100%; height: auto; margin-top: 14px; }
.chart line { stroke: var(--line); stroke-width: 1; }
.chart text { fill: var(--muted); stroke: none; font: 11px var(--text); }
@media (max-width: 600px) { .chart text { font-size: 19px; } }
.chart-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.bar-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.bar-list li { display: grid; grid-template-columns: 110px 1fr 36px; align-items: center; gap: 10px; font-size: 14px; }
.bar-list meter { width: 100%; height: 8px; }
.bar-list li.muted { display: block; color: var(--muted); }
.bar-list span:last-child { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.data td a { font-weight: 500; }
.data td small { display: block; color: var(--muted); font-size: 12.5px; }
.data { min-width: 640px; }
.data tbody tr:hover { background: var(--paper); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.toolbar input[type="search"] { flex: 1 1 260px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.form { display: grid; gap: 14px; margin-top: 14px; }
.form label, .editor label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea, .editor input:not([type="checkbox"]):not([type="radio"]), .editor select, .editor textarea { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-weight: 400; font-size: 15px; }
.form textarea, .editor textarea { min-height: 0; resize: vertical; line-height: 1.55; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); } .form-row .grow { grid-column: span 2; } }
.form-actions, .editor-actions { display: flex; flex-wrap: wrap; gap: 10px; }
label.check { display: flex !important; align-items: center; gap: 10px; font-weight: 400 !important; margin-top: 14px; }
label.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.pill-choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-choice legend { font-size: 14px; font-weight: 500; margin-bottom: 8px; padding: 0; }
.pill-choice label { display: inline-flex !important; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 400 !important; cursor: pointer; }
.pill-choice label:has(input:checked) { background: var(--green-bg); border-color: transparent; color: var(--green); font-weight: 500 !important; }
.pill-choice input { accent-color: var(--green); }
.editor { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1000px) { .editor { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } .editor-side { position: sticky; top: 20px; } }
.editor-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.md-field { display: grid; gap: 0; }
.md-tools { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; background: var(--sand-2); }
.md-tools button { min-height: 32px; padding: 0 10px; border: 0; border-radius: 6px; background: none; font-size: 13px; }
.md-tools button:hover { background: var(--surface); }
.md-field textarea { border-radius: 0 0 var(--radius) var(--radius) !important; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 14px !important; }
.md-field .fine { margin-top: 8px; }
.editor-side .h-small { margin-bottom: 10px; }
.mini-steps { margin: 14px 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.editor-actions { margin-top: 16px; }
.editor-actions .btn-outline { flex: 1; }
.preview { margin-top: 16px; }
.plain-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; }
.plain-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 14px; padding: 12px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
.plain-list small { color: var(--muted); }
.plain-list .empty { color: var(--muted); }
.chart-box { position: relative; }
.chart .hit { cursor: default; stroke: none; }
.chart path.bar { fill: var(--ink); stroke: none; }
.chart path.bar.on { fill: var(--green); }
.chart-tip { position: absolute; top: 0; width: 120px; padding: 6px 8px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 12px; text-align: center; pointer-events: none; }
.table-view summary { cursor: pointer; font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.data.compact { min-width: 0; margin-top: 8px; }
.data.compact th, .data.compact td { padding: 8px 10px; }
.text-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.text-group { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.text-item { display: grid; gap: 14px; }
.text-item-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.text-item-head h3 { font-size: 17px; font-weight: 600; font-family: var(--text); }
.text-item-head a { font-size: 13.5px; }
.text-langs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 860px) { .text-langs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.text-field { display: grid; gap: 6px; }
.text-field label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.text-field input, .text-field textarea { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); font-size: 15px; line-height: 1.5; resize: vertical; }
.text-field .count { justify-self: end; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.text-item .status { margin: 0; }
.text-item .status:empty { display: none; }
