/* Pylno website. Same quiet green language as the extension:
   soft ground, white cards, one accent, generous space, system type.
   Always light (no dark variant), by the owner's choice. */

:root {
  --ground: #f4f7f5;
  --paper: #ffffff;
  --ink: #14201a;
  --ink-2: #2b3a32;
  --muted: #5d6a62;
  --faint: #8a968f;
  --line: #e1e8e3;
  --line-soft: #ebf0ec;
  --accent: #0f7a4d;
  --accent-hover: #0b6640;
  --accent-ink: #ffffff;
  --accent-soft: #e2efe9;
  --accent-glow: rgba(15, 122, 77, 0.18);
  --pro: #8a5300;
  --pro-soft: #fff0d4;
  --bad: #d92d20;
  --shadow-sm: 0 1px 2px rgba(20, 32, 26, 0.05), 0 1px 3px rgba(20, 32, 26, 0.06);
  --shadow-lg: 0 2px 6px rgba(20, 32, 26, 0.05), 0 24px 64px -12px rgba(13, 60, 40, 0.22);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1160px;
  --prose: 700px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI Variable Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-feature-settings: 'kern', 'liga', 'calt';
}
img, video, svg { display: block; max-width: 100%; }
.i { flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
img, video { height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; letter-spacing: -0.028em; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -0.012em; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; font-size: 1.05rem; letter-spacing: -0.015em; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand:hover { color: var(--ink); }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--line) 55%, transparent); }
.nav a[aria-current='page'] { color: var(--accent); }
.header-cta { margin-left: auto; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: color-mix(in srgb, var(--line) 55%, transparent); }
.menu[open] summary .i-menu, .menu:not([open]) summary .i-close { display: none; }
.menu nav { position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 32px)); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; display: grid; }
.menu nav a:not(.btn) { padding: 12px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.menu nav a:not(.btn):hover { background: var(--ground); }
.menu nav .btn { margin: 6px; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  background: var(--accent); color: var(--accent-ink); font: 600 1rem/1 var(--font); letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 6px 18px -6px var(--accent-glow);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn svg { flex: none; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 0.92rem; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 1.06rem; border-radius: 14px; }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.btn-block { width: 100%; white-space: normal; text-align: center; height: auto; min-height: 46px; padding-block: 12px; line-height: 1.25; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding-top: clamp(56px, 9vw, 112px); text-align: center; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 30%, var(--accent-glow), transparent 70%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); font-size: 0.88rem; font-weight: 550; box-shadow: var(--shadow-sm);
}
.eyebrow img { width: 18px; height: 18px; border-radius: 5px; }
.hero h1 { margin: 26px auto 0; max-width: 20ch; }
.hero .lead { margin: 22px auto 0; max-width: 40rem; font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); line-height: 1.55; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.trust { list-style: none; margin: 26px 0 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.93rem; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { color: var(--accent); }

/* demo video in a browser window */
.showcase { margin: clamp(48px, 7vw, 80px) auto 0; max-width: 1080px; padding-inline: var(--gutter); }
.window { border-radius: 16px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.window-bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: color-mix(in srgb, var(--ground) 70%, var(--paper)); border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.window-bar span { margin: 0 auto; padding: 4px 14px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); color: var(--faint); font-size: 0.78rem; }
.window video { width: 100%; aspect-ratio: 16 / 10; background: var(--ground); }
.window img { width: 100%; }
.window video { cursor: pointer; }
.showcase figcaption { margin-top: 16px; color: var(--muted); font-size: 0.93rem; text-align: center; }

/* -------------------------------------------------------------- sections */
.section { padding-block: var(--section); }
.section.tint { background: var(--paper); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 46rem; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head .kicker { color: var(--accent); font-weight: 650; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.section-head h2 { margin-top: 12px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.12rem; }

/* how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.section.tint .steps li { background: var(--ground); box-shadow: none; }
.steps li::before {
  counter-increment: step; content: counter(step); display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 0.95rem;
}
.steps h3 { margin-top: 18px; }
.steps p { margin-top: 8px; color: var(--muted); }

/* features */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vw, 120px); }
.feature.flip .feature-media { order: -1; }
.feature-copy .kicker { color: var(--accent); font-weight: 650; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.feature-copy h2 { margin-top: 12px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.feature-copy > p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }
.feature-media picture, .feature-media img { border-radius: var(--radius); }
.feature-media img { border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; }
.checks svg { flex: none; margin-top: 4px; color: var(--accent); }
.tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: var(--pro-soft); color: var(--pro); font-size: 0.68rem; font-weight: 750; letter-spacing: 0.05em; vertical-align: 2px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section.tint .card { background: var(--ground); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.card h3, .card h2.h3 { margin-top: 18px; font-size: 1.2rem; font-weight: 650; letter-spacing: -0.012em; }
.card p { margin-top: 8px; color: var(--muted); }
a.card { display: block; color: inherit; text-decoration: none; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
a.card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: inherit; }
a.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--accent); font-weight: 600; font-size: 0.95rem; }

/* facts at a glance */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { background: var(--paper); padding: 22px 24px; }
.facts dt { color: var(--muted); font-size: 0.85rem; font-weight: 550; }
.facts dd { margin: 6px 0 0; font-size: 1.12rem; font-weight: 650; letter-spacing: -0.01em; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow-sm); }
.plan.pro { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.plan h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.plan .price { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; }
.plan .price b { font-size: 3rem; font-weight: 750; letter-spacing: -0.04em; line-height: 1; }
.plan .price span { color: var(--muted); }
.plan .note { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
.plan .checks { margin: 24px 0 28px; flex: 1; align-content: start; }
.plan .fine { margin-top: 14px; color: var(--muted); font-size: 0.85rem; text-align: center; }
.badge { position: absolute; top: -13px; left: 32px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.78rem; font-weight: 700; }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 0.98rem; }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: color-mix(in srgb, var(--ground) 60%, var(--paper)); font-size: 0.85rem; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 22%; }
.compare tbody th { font-weight: 500; }
.compare .yes, .compare .no { display: inline-flex; vertical-align: middle; }
.compare .yes { color: var(--accent); }
.compare .no { color: var(--faint); }

/* faq */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 4px; font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; margin-left: auto; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details > div { padding: 0 4px 24px; color: var(--muted); }
.faq details > div p + p { margin-top: 10px; }

/* closing call to action */
.cta { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(48px, 8vw, 88px) var(--gutter); text-align: center; color: #fff;
  background: radial-gradient(80% 120% at 85% 0%, #1d9a66 0%, transparent 60%), linear-gradient(160deg, #0f7a4d, #0b5c3b); }
.cta h2 { color: #fff; }
.cta p { margin: 14px auto 0; max-width: 34rem; color: rgba(255, 255, 255, 0.82); font-size: 1.12rem; }
.cta .actions { margin-top: 30px; }
.cta .btn { background: #fff; color: #0b5c3b; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.35); }
.cta .btn:hover { background: #f0f7f3; color: #0b5c3b; }

/* --------------------------------------------------------- inner pages */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.25rem); max-width: 20ch; }
.page-head .lead { margin-top: 18px; max-width: 42rem; color: var(--muted); font-size: 1.18rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; font-size: 0.9rem; color: var(--faint); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.doc { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(40px, 6vw, 88px); align-items: start; padding-bottom: var(--section); }
.toc { position: sticky; top: 100px; font-size: 0.92rem; }
.toc h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); font-weight: 650; }
.toc ol { list-style: none; margin: 12px 0 0; padding: 0 0 0 14px; border-left: 1px solid var(--line); display: grid; gap: 8px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--accent); }

.prose { max-width: var(--prose); font-size: 1.06rem; color: var(--ink-2); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2em; letter-spacing: -0.02em; scroll-margin-top: 96px; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--faint); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose code { font: 0.9em var(--mono); background: var(--line-soft); padding: 2px 6px; border-radius: 6px; }
.prose blockquote { margin: 1.4em 0; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--ink); border: 0; }
.prose blockquote p { margin: 0; }
.prose .table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.prose tr:last-child td { border-bottom: 0; }
.prose .al-center { text-align: center; }
.prose .al-right { text-align: right; }
.prose th { font-size: 0.85rem; color: var(--muted); font-weight: 600; background: color-mix(in srgb, var(--ground) 60%, var(--paper)); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

.related { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.related h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.related .cards { margin-top: 18px; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related .card { padding: 20px 22px; }
.related .card h3 { margin: 0; font-size: 1.02rem; }
.related .card p { font-size: 0.93rem; }

.index-list { display: grid; gap: 14px; padding-bottom: var(--section); }

/* transcript */
.transcript { max-width: 780px; margin: clamp(40px, 6vw, 64px) auto 0; }
.transcript ol { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 4px; }
.transcript li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.transcript time { color: var(--accent); font: 600 0.92rem var(--mono); padding-top: 2px; }
.transcript a { text-decoration: none; align-self: start; }
.transcript a:hover time { text-decoration: underline; }
.transcript b { display: block; color: var(--ink); }
.transcript span { color: var(--muted); }

/* ---------------------------------------------------------------- footer */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); background: var(--paper); font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-grid p { margin-top: 12px; color: var(--muted); max-width: 22rem; }
.footer-grid h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); font-weight: 650; }
.footer-grid ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a { color: var(--ink-2); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid .footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); }
.footer-social a:hover { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.footer-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--faint); font-size: 0.85rem; }
.footer-base { align-items: center; }
.langs { margin-left: auto; position: relative; }
.langs summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-2); background: var(--paper); }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.langs ul { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 10; list-style: none; margin: 0; padding: 6px; width: 230px; max-height: 60vh; overflow: auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); display: grid; }
.langs a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.langs a:hover { background: var(--ground); }
.langs a[aria-current] { color: var(--accent); font-weight: 600; }
/* CJK: break at phrase boundaries, no tight tracking on headings, no wide tracking on small caps. */
:lang(ja), :lang(ko), :lang(zh) { word-break: auto-phrase; }
:lang(ja) .hero h1, :lang(zh) .hero h1, :lang(ko) .hero h1 { max-width: 13em; }
:lang(ja) :is(h1, h2, h3), :lang(zh) :is(h1, h2, h3), :lang(ko) :is(h1, h2, h3) { letter-spacing: 0; }
:lang(ja) .kicker, :lang(zh) .kicker, :lang(ko) .kicker { letter-spacing: 0.04em; }
.muted { color: var(--muted); }
.lang-hint { position: fixed; z-index: 60; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 16px; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-weight: 600; }
.lang-hint a { text-decoration: none; }
.lang-hint button { border: 0; background: transparent; width: 32px; height: 32px; border-radius: 9px; font-size: 20px; line-height: 1; color: var(--faint); cursor: pointer; }
.lang-hint button:hover { background: var(--ground); color: var(--ink); }
.home-cta + .site-footer, .section + .site-footer { margin-top: 0; }
.section:not(.tint) + .home-cta { padding-top: 0; }
.home-cta { padding-bottom: clamp(56px, 7vw, 96px); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .nav, .header-cta { display: none; }
  .menu { display: block; }
  .steps, .cards { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .steps, .cards, .cards.two, .related .cards, .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 28px 22px; }
  .facts { grid-template-columns: 1fr; }
  /* Full-width buttons: long labels (uk, de, …) wrap instead of running out of the button.
     Block layout with an inline icon, so a wrapped label stays centred together with its icon. */
  .actions .btn { display: block; width: 100%; white-space: normal; text-align: center; height: auto; padding: 12px 20px; line-height: 20px; }
  .actions .btn-lg { padding-block: 16px; font-size: 1rem; }
  .actions .btn svg { display: inline-block; vertical-align: top; margin-right: 10px; }
  .window-bar span { display: none; }
  .compare th, .compare td { padding: 12px 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .transcript li { grid-template-columns: 52px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
