/* Miarina Media landing — transcription of design/Miarina Media - Landing.dc.html.
   Fonts are self-hosted: the page makes no third-party request. */

@font-face {
  font-family: Manrope;
  src: url('/assets/fonts/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
/* Material Symbols Rounded, reduced to the icons of this page. */
@font-face {
  font-family: 'Icons';
  src: url('/assets/fonts/icons.woff2') format('woff2');
  font-weight: 400;
  font-display: block;
}

:root {
  --bg: #101820;
  --surface: #182530;
  --surface-2: #1f2f3b;
  --sidebar: #0d141b;
  --line: #243545;
  --line-strong: #2a3d4e;
  --divider: #1b2935;
  --row: #1f2f3b;
  --fg: #f5f7fa;
  --muted: #94a3b8;
  --faint: #64748b;
  --accent: #35c9bd;
  --accent-hover: #4fd6cb;
  --accent-ink: #062320;
  --accent-subtle: #1f3a3c;
  --chip-border: #2e6a68;
  --planned: #e8b04b;
  --planned-ink: #1a1204;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Manrope, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--accent-ink); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, p { margin: 0; }

.icon {
  font-family: 'Icons';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  display: inline-block;
}
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.accent { color: var(--accent); }

/* ------------------------------------------------------------ top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 20, 27, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
}
.topbar-inner { max-width: 1200px; margin: 0 auto; height: 64px; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.brand:hover { color: var(--fg); }
.topbar-links { flex: 1; display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.topbar-links a { color: var(--muted); }
.topbar-links a:hover { color: var(--fg); }
.btn-small { height: 40px; padding: 0 16px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.btn-small:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-small .icon { font-size: 18px; }
@media (max-width: 720px) { .topbar-links { display: none; } .topbar-inner { justify-content: space-between; } }

/* --------------------------------------------------------------- hero */
.hero { max-width: 1200px; width: 100%; margin: 0 auto; padding: 88px 24px 72px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.pill { font: 500 12px var(--mono); color: var(--accent); padding: 5px 12px; border-radius: 14px; border: 1px solid var(--chip-border); background: var(--accent-subtle); }
.hero h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.lead { max-width: 600px; font-size: 18px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.downloads { display: flex; flex-direction: column; align-items: center; gap: 14px; scroll-margin-top: 96px; }
.download-buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-download { height: 56px; border-radius: 8px; display: flex; align-items: center; gap: 12px; text-align: left; }
.btn-download.primary { padding: 0 26px 0 22px; background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 32px rgba(53, 201, 189, .18); }
.btn-download.primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-download.primary .icon { font-size: 24px; }
.btn-download.secondary { padding: 0 22px 0 18px; background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--fg); }
.btn-download.secondary:hover { background: #26384a; color: var(--fg); }
.btn-download.secondary .icon { font-size: 22px; color: var(--muted); }
.btn-text { display: flex; flex-direction: column; line-height: 1.2; }
.btn-label { font-size: 16px; font-weight: 800; }
.secondary .btn-label { font-size: 15px; font-weight: 700; }
.btn-meta { font: 500 11.5px var(--mono); opacity: .75; }
.secondary .btn-meta { opacity: 1; color: var(--muted); }
.note { font-size: 13px; color: var(--muted); }
.checksums { font-size: 12.5px; color: var(--muted); max-width: 100%; }
.checksums summary { cursor: pointer; }
.checksums dl { margin: 10px 0 0; text-align: left; display: grid; gap: 4px; }
.checksums dt { font-weight: 700; color: var(--fg); margin-top: 6px; }
.checksums dd { margin: 0; font: 400 11.5px var(--mono); overflow-wrap: anywhere; }

.hero-shots { width: 100%; margin-top: 32px; position: relative; display: flex; justify-content: center; padding-bottom: 40px; }
.shot-windows { width: min(100%, 960px); border-radius: 12px; border: 1px solid var(--line-strong); background: var(--sidebar); overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .55); }
.shot-android { position: absolute; right: max(0px, calc(50% - 520px)); bottom: 0; width: clamp(120px, 20vw, 210px); border-radius: 28px; border: 6px solid #1a232c; background: var(--bg); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }

/* ----------------------------------------------------------- sections */
.section { max-width: 1200px; width: 100%; margin: 0 auto; padding: 72px 24px; display: flex; flex-direction: column; gap: 36px; }
#fonctions { padding-top: 96px; padding-bottom: 48px; }
.section.narrow { max-width: 860px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.eyebrow { font: 500 12px var(--mono); color: var(--accent); }
.eyebrow-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.badge-soon { font: 700 10.5px var(--mono); padding: 2px 7px; border-radius: 4px; background: var(--planned); color: var(--planned-ink); }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.h2-small { font-size: 28px; letter-spacing: -.02em; }
.body { font-size: 16px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.body.small { font-size: 14px; }
.stack { display: flex; flex-direction: column; gap: 18px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { padding: 24px; border-radius: 10px; background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.card-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-subtle); color: var(--accent); display: grid; place-items: center; font-size: 24px; }
.card-title { font-size: 17px; font-weight: 700; }
.card-text { font-size: 14px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.frame { border-radius: 12px; border: 1px solid var(--line-strong); background: var(--sidebar); overflow: hidden; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.5; }
.checks .icon { font-size: 20px; color: var(--accent); }
.checks .soon { color: var(--muted); }
.checks .soon .icon { color: var(--planned); }

.tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: start; }
.table-card { border-radius: 10px; border: 1px solid var(--line); overflow: hidden; }
.table-head { padding: 14px 18px; background: var(--surface); display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.table-head .icon { font-size: 20px; color: var(--accent); }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--row); font-size: 14px; }
.row > span:first-child { font-weight: 600; }
.row .mono { font-size: 12.5px; color: var(--muted); text-align: right; }
.soon-text { color: var(--planned); font-size: 13px; font-weight: 600; }

.privacy { padding: clamp(28px, 5vw, 56px); border-radius: 16px; background: var(--surface); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px; }
.privacy h2 { font-size: clamp(28px, 3.6vw, 40px); }
.privacy-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.privacy-list li { display: flex; gap: 14px; }
.privacy-list .icon { font-size: 22px; color: var(--accent); }
.privacy-list div { display: flex; flex-direction: column; gap: 2px; }
.privacy-list strong { font-size: 15px; }
.privacy-list div span { font-size: 14px; line-height: 1.55; color: var(--muted); }

.compare-wrap { border-radius: 10px; border: 1px solid var(--line); overflow-x: auto; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.compare thead { background: var(--surface); }
.compare th, .compare td { padding: 12px 18px; text-align: left; }
.compare thead th { padding: 14px 18px; font-weight: 700; }
.compare thead .icon { font-size: 20px; color: var(--accent); vertical-align: -5px; margin-right: 8px; }
.compare tbody tr { border-top: 1px solid var(--row); }
.compare tbody th { font-weight: 400; width: 50%; }
.compare td { width: 25%; }
.compare .yes .icon { font-size: 20px; color: var(--accent); }
.compare .no { color: var(--faint); }

.faq { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 16px 0; font-size: 16px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span:first-child { flex: 1; }
.faq summary .icon { font-size: 22px; color: var(--muted); transition: transform .15s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 720px; }

.changelog { display: flex; flex-direction: column; }
.release { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.release-meta { display: flex; flex-direction: column; gap: 6px; }
.release-meta .mono { font-size: 15px; font-weight: 500; }
.release .current { color: var(--accent); font-size: 12.5px; font-weight: 600; }
.release ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.55; color: #c9d4e0; }
@media (max-width: 560px) { .release { grid-template-columns: 1fr; gap: 10px; } }

/* ------------------------------------------------------------- footer */
.footer { background: var(--sidebar); border-top: 1px solid var(--divider); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 48px 24px 40px; display: flex; flex-direction: column; gap: 32px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-about { display: flex; flex-direction: column; gap: 12px; max-width: 340px; }
.footer-about .brand { font-size: 15px; }
.footer-about p { font-size: 13px; line-height: 1.6; color: var(--muted); }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.footer-head { font-weight: 700; }
.footer-cols a { color: var(--muted); }
.footer-cols a:hover { color: var(--fg); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--divider); font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------- text pages */
.doc { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; display: flex; flex-direction: column; gap: 16px; }
.doc h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.doc h2 { font-size: 20px; letter-spacing: -.01em; margin-top: 24px; }
.doc-lead { font-size: 15px; color: var(--muted); }
.doc p, .doc li { font-size: 15px; line-height: 1.7; color: #c9d4e0; }
.doc ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.doc strong { color: var(--fg); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--fg); }
