/* MDWebView web 2026 – one stylesheet, no framework, system fonts (no third-party requests). */
:root {
  --ink: #15202b;
  --ink-2: #3d4a57;
  --ink-3: #66727e;
  --paper: #f5f3ee;
  --card: #ffffff;
  --line: #dcd7cc;
  --line-2: #e9e5dc;
  --blue: #1d5fae;
  --blue-d: #154a8a;
  --blue-50: #e8f0fa;
  --teal: #0d7f73;
  --teal-50: #e3f3f0;
  --amber: #f0a500;
  --amber-50: #fdf3da;
  --laser: #e5484d;
  --navy: #0f1d2c;
  --radius: 14px;
  --radius-s: 8px;
  --shadow: 0 1px 2px rgba(21, 32, 43, .06), 0 8px 24px rgba(21, 32, 43, .07);
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-d); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
code, pre { font-family: var(--mono); font-size: .88em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(245, 243, 238, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--line-2); color: var(--ink); }
.nav .lang { font-size: .85rem; border: 1px solid var(--line); }
.nav .cta { background: var(--ink); color: #fff; margin-left: 6px; }
.nav .cta:hover { background: var(--blue-d); color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 600; color: var(--ink); }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 24px 20px; }
  .nav.open { display: flex; }
  .nav .cta { margin-left: 0; text-align: center; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 1rem; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--blue-d); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #0a675d; color: #fff; }
.btn svg { width: 20px; height: 20px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; }
.hero .meta { margin-top: 18px; font-size: .9rem; color: var(--ink-3); }
.hero-art { position: relative; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 32px; } }

/* sections */
section { padding: 80px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
section.dark { background: var(--navy); color: #e8edf2; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark .sub { color: #aab7c4; }
section.dark a { color: #8cc0ff; }
.head { max-width: 760px; margin-bottom: 40px; }
.sub { font-size: 1.1rem; color: var(--ink-2); }

/* editions */
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.edition { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.edition::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; }
.edition.personal::before { background: var(--teal); }
.edition.enterprise::before { background: var(--blue); }
.tag { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; margin-bottom: 12px; }
.tag.personal { background: var(--teal-50); color: var(--teal); }
.tag.enterprise { background: var(--blue-50); color: var(--blue); }
.edition .tag { align-self: flex-start; }
.edition h3 { font-size: 1.6rem; margin-bottom: 6px; }
.price { color: var(--ink-2); margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 0 0 22px; }
.checks li { padding: 7px 0 7px 32px; position: relative; border-top: 1px solid var(--line-2); }
.checks li:first-child { border-top: 0; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230d7f73' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.enterprise .checks li::before { background-color: var(--blue-50); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%231d5fae' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.note { font-size: .9rem; color: var(--ink-3); margin-top: auto; padding-top: 6px; }
.edition .btns { margin-top: 16px; }
@media (max-width: 860px) { .editions { grid-template-columns: 1fr; } }

/* comparison table */
.compare-wrap { overflow-x: auto; margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .97rem; }
.compare th, .compare td { padding: 13px 18px; text-align: left; border-top: 1px solid var(--line-2); vertical-align: top; }
.compare thead th { border-top: 0; background: #faf9f6; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.compare td:nth-child(2), .compare td:nth-child(3), .compare th:nth-child(2), .compare th:nth-child(3) { width: 26%; }
.yes, .no { font-weight: 800; }
.yes { color: var(--teal); }
.no { color: #a8a396; }

/* use cases */
.filters { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.filters button { font: inherit; font-weight: 700; font-size: .92rem; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.case figure { margin: 0; background: #eef1f4; border-bottom: 1px solid var(--line-2); }
.case[data-kind="personal"] figure { background: var(--teal-50); }
.case[data-kind="enterprise"] figure { background: var(--blue-50); }
.case .body { padding: 20px 22px 24px; }
.case .tag { margin-bottom: 8px; }
.case p { color: var(--ink-2); margin: 0; font-size: .97rem; }
.case[hidden] { display: none; }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cases { grid-template-columns: 1fr; } }

/* split feature */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.split.rev > :first-child { order: 2; }
.split ul { padding-left: 1.2em; color: var(--ink-2); }
.split li { margin-bottom: .4em; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.rev > :first-child { order: 0; } }

.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.mode { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; background: var(--card); }
.mode strong { display: block; font-size: .95rem; }
.mode span { font-size: .88rem; color: var(--ink-3); }
section.dark .mode { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
section.dark .mode span { color: #aab7c4; }

/* steps */
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.steps { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps ol { list-style: none; padding: 0; margin: 16px 0 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; color: var(--ink-2); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--teal); }
.steps.enterprise li::before { background: var(--blue); }
.steps li strong { color: var(--ink); display: block; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; padding: 16px 36px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--ink-3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 0 0 18px; }

/* cta band */
.band { background: var(--ink); color: #fff; border-radius: 20px; padding: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.band h2 { color: #fff; }
.band p { color: #c6d0da; margin: 0; }
.band .btns { justify-content: flex-end; }
.band .btn-line { border-color: #fff; color: #fff; }
.band .btn-line:hover { background: #fff; color: var(--ink); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; padding: 32px; } .band .btns { justify-content: flex-start; } }

/* tables + code (enterprise) */
table.plain { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .95rem; }
.plain th, .plain td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--line-2); vertical-align: top; }
.plain thead th { border-top: 0; background: #faf9f6; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.table-wrap { overflow-x: auto; }
pre.code { background: #0f1d2c; color: #d7e2ee; padding: 20px 22px; border-radius: var(--radius); overflow-x: auto; line-height: 1.55; margin: 0; font-size: .85rem; }
pre.code .c { color: #7f93a8; }
pre.code .s { color: #9fd8a8; }
pre.code .k { color: #ffc56b; }
.logos { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.logos li { border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 6px 14px; font-weight: 700; font-size: .9rem; color: var(--ink-2); }
section.dark .logos li { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.15); color: #dbe4ec; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.box p { color: var(--ink-2); margin: 0; font-size: .97rem; }
.box .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-50); display: grid; place-items: center; margin-bottom: 14px; }
.box .ico svg { width: 24px; height: 24px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }

/* legal pages */
.legal { max-width: 780px; padding: 48px 24px 80px; }
.legal h1 { font-size: 2.3rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-2); }
.legal .updated { color: var(--ink-3); font-size: .95rem; }

/* footer */
.foot { background: var(--navy); color: #aab7c4; padding: 48px 0 36px; font-size: .95rem; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot a { color: #dbe4ec; text-decoration: none; }
.foot a:hover { text-decoration: underline; color: #fff; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot .foot-h { color: #fff; margin: 0 0 12px; font-size: .95rem; }
.foot .brand { color: #fff; margin-bottom: 10px; }
.foot .small { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: .85rem; }
.foot button.linklike { background: none; border: 0; padding: 0; font: inherit; color: #dbe4ec; cursor: pointer; }
.foot button.linklike:hover { text-decoration: underline; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr; } }

/* consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin-left: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(15, 29, 44, .22); padding: 20px 22px; font-size: .95rem; }
.consent p { margin: 0 0 14px; color: var(--ink-2); }
.consent .btns { gap: 8px; }
.consent .btn { padding: 9px 16px; font-size: .92rem; }
.consent[hidden] { display: none; }

/* test banner */
.testbar { background: var(--amber); color: var(--ink); text-align: center; font-size: .85rem; font-weight: 700; padding: 6px 12px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .btn:hover { transform: none; } #scanline { display: none; } }

/* phones */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  section { padding: 56px 0; }
  .hero { padding: 24px 0 48px; }
  .lead { font-size: 1.08rem; }
  .btns .btn { flex: 1 1 100%; justify-content: center; }
  .edition { padding: 24px 20px; }
  .compare-wrap { border-radius: 10px; }
  table.compare { min-width: 0; font-size: .88rem; table-layout: fixed; }
  .compare th:first-child, .compare td:first-child { width: 44%; }
  .compare thead th { font-size: .72rem; letter-spacing: .02em; }
  img.phone { max-width: 250px !important; }
  .compare th, .compare td { padding: 10px 10px; }
  .compare td:nth-child(2), .compare td:nth-child(3), .compare th:nth-child(2), .compare th:nth-child(3) { width: 28%; }
  .modes { grid-template-columns: 1fr; }
  .steps { padding: 22px 18px; }
  .band { padding: 26px 20px; border-radius: 16px; }
  .legal { padding: 32px 18px 56px; }
  .legal h1 { font-size: 1.9rem; }
  pre.code { font-size: .78rem; padding: 16px; }
  .consent { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .consent .btn { flex: 1 1 0; }
  .plain th, .plain td { padding: 10px 12px; }
}
picture { display: block; }
picture img { width: 100%; }

/* utility classes (no inline styles in markup) */
img.phone { max-width: 340px; margin: 0 auto; }
img.phone.narrow { max-width: 300px; }
.mt-l { margin-top: 28px; }
.mt-m { margin-top: 18px; }
.code-label { font-size: .9rem; margin-bottom: 8px; }
.foot .foot-h { font-weight: 700; }

/* business landing pages */
.prose { max-width: 760px; }
.prose ul { padding-left: 1.2em; color: var(--ink-2); }
.prose li { margin-bottom: .4em; }
.prose p { color: var(--ink-2); }
.crumbs { font-size: .9rem; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a { color: var(--ink-2); }
a.card-link { display: block; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card-link h3 { color: var(--blue); margin-top: 0; }
a.card-link:hover { border-color: var(--blue); transform: translateY(-2px); }
section.tight { padding: 56px 0; }
@media (max-width: 600px) { section.tight { padding: 40px 0; } }
.stat { border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 32px; display: grid; gap: 6px; justify-items: start; background: rgba(255,255,255,.04); }
.stat .num { font-size: 4rem; font-weight: 800; line-height: 1; color: #fff; }
.stat span:last-child { color: #aab7c4; font-size: 1.05rem; }
section.dark .eyebrow { color: #8cc0ff; }
