/* Tablio marketing site — shared styles (RTL-first, logical properties). */
:root {
  --green-900: #00563B;
  --green-800: #006B49;
  --green-700: #007A55;
  --mint-400: #73B99B;
  --mint-100: #DDEFE6;
  --gold: #B9A46C;
  --gold-bright: #D4A73A;
  --canvas: #F7F6F1;
  --surface: #FFFFFF;
  --ink: #1C2420;
  --ink-soft: #55615B;
  --border: #E4DFD2;
  --border-faint: #EEEAE0;
  --danger: #B3261E;
  --shadow: 0 1px 2px rgba(0, 40, 25, .06), 0 8px 24px rgba(0, 40, 25, .08);
  --radius: 18px;
  --max: 1160px;
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --green-900: #CFE8DB; --green-800: #2E9E6E; --green-700: #5CC495;
    --mint-100: #1C2B24; --canvas: #121614; --surface: #1A201D;
    --ink: #E8EDEA; --ink-soft: #A3B0A9; --border: #353D38; --border-faint: #2A312D;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --green-900: #CFE8DB; --green-800: #2E9E6E; --green-700: #5CC495;
  --mint-100: #1C2B24; --canvas: #121614; --surface: #1A201D;
  --ink: #E8EDEA; --ink-soft: #A3B0A9; --border: #353D38; --border-faint: #2A312D;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--green-800); }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }
section { padding-block: clamp(56px, 9vw, 104px); }
.eyebrow { display: inline-block; color: var(--green-800); font-weight: 600; font-size: .92rem; margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Buttons — one shape everywhere. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; }
.btn-primary { background: var(--green-800); color: #fff; box-shadow: 0 6px 18px rgba(0,107,73,.25); }
.btn-primary:hover { background: var(--green-700); }
.btn-ghost { background: transparent; color: var(--green-800); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--green-800); }
.btn-sm { min-height: 40px; padding: 0 1.1em; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border-faint);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand img { height: 38px; width: auto; }
.nav { display: none; gap: 22px; margin-inline-start: 8px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:hover { color: var(--green-800); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 6px 8px; }
.header-actions .signin { display: none; }
@media (min-width: 980px) { .nav { display: flex; } .header-actions .signin { display: inline-flex; } }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--mint-400) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.hero .wrap { display: grid; gap: 48px; align-items: center; position: relative; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; } }
.hero h1 span { color: var(--green-800); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 28px 18px; }
.assure { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-soft); font-size: .93rem; list-style: none; padding: 0; margin: 0; }
.assure li::before { content: "✓"; color: var(--green-800); font-weight: 700; margin-inline-end: 6px; }

.showcase { position: relative; margin-bottom: 36px; margin-inline-end: 6%; }
.device-desktop {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
  padding: 26px 8px 8px; position: relative;
}
.device-desktop::before {
  content: ""; position: absolute; top: 10px; inset-inline-start: 12px; width: 42px; height: 8px;
  background: radial-gradient(circle, var(--border) 3.5px, transparent 4px) 0 0 / 14px 8px repeat-x;
}
.device-desktop img { border-radius: 8px; width: 100%; height: auto; }
.showcase { perspective: 1600px; }
.device-desktop { transform: rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
:root[dir="ltr"] .device-desktop, [dir="ltr"] .device-desktop { transform: rotateY(6deg) rotateX(2deg); transform-origin: right center; }
.device-phone {
  position: absolute; inset-inline-end: -7%; bottom: -40px; width: 27%; min-width: 96px;
  padding: 7px; border-radius: 26px;
  /* Light metal frame: stays visible on dark and light backgrounds. */
  background: linear-gradient(145deg, #F4F6F5 0%, #C9D1CD 45%, #EEF1EF 70%, #AEB8B3 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,.7),
    inset 0 0 0 3px rgba(0,0,0,.12),
    0 2px 0 1px #8E9893,
    0 30px 50px -10px rgba(0,25,15,.45),
    0 0 0 1px color-mix(in srgb, var(--green-800) 40%, transparent),
    0 0 40px color-mix(in srgb, var(--mint-400) 35%, transparent);
  transform: rotateY(10deg) rotateZ(-2deg) translateZ(40px);
}
[dir="ltr"] .device-phone { transform: rotateY(-10deg) rotateZ(2deg) translateZ(40px); }
.device-phone::before { /* side button */
  content: ""; position: absolute; inset-inline-start: -3px; top: 22%; width: 3px; height: 14%;
  border-radius: 2px; background: #A9B3AE;
}
.device-phone::after { /* camera notch */
  content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 26%; height: 9px; border-radius: 6px; background: #1a201d; opacity: .85;
}
.device-phone img { border-radius: 19px; width: 100%; height: auto; padding-top: 10px; background: #fff; }
.tabi-float { position: absolute; inset-inline-start: -18px; bottom: -44px; width: 96px; animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-7px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .tabi-float { animation: none; } html { scroll-behavior: auto; } }

/* Problem */
.problem { background: var(--surface); border-block: 1px solid var(--border-faint); }
.problem .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .problem .wrap { grid-template-columns: 1fr 1fr; } }
.pains { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.pains li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.pains li::before { content: "✕"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); font-size: .8rem; font-weight: 700; margin-top: 3px; }
.turn { font-size: 1.25rem; font-weight: 700; color: var(--ink); border-inline-start: 4px solid var(--gold); padding-inline-start: 16px; margin: 0; }
.turn span { color: var(--green-800); }

/* Messy sheet illustration */
.sheet { background: var(--canvas); border: 1px solid var(--border); border-radius: 14px; padding: 14px; font-size: .9rem; box-shadow: var(--shadow); overflow-x: auto; }
.sheet table { width: 100%; border-collapse: collapse; }
@media (max-width: 480px) { .sheet { font-size: .8rem; padding: 10px; } .sheet th, .sheet td { padding: 6px; } }
.sheet th, .sheet td { border: 1px solid var(--border); padding: 8px 10px; text-align: start; }
.sheet th { background: var(--mint-100); color: var(--green-900); font-weight: 600; }
.sheet td.bad { background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); position: relative; }
.sheet td.empty::after { content: "فارغة!"; color: var(--danger); font-size: .78rem; }
.sheet caption { caption-side: bottom; text-align: start; color: var(--ink-soft); font-size: .82rem; padding-top: 10px; }

/* Steps */
.steps { display: grid; gap: 20px; margin-top: 40px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.step::before { counter-increment: s; content: counter(s, arabic-indic); display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; background: var(--green-800); color: #fff; font-weight: 700; font-size: 1.2rem; margin-bottom: 16px; }
:lang(en) .step::before { content: counter(s); }
.step p { color: var(--ink-soft); margin: 0; }

/* Features */
.features { background: var(--surface); border-block: 1px solid var(--border-faint); }
.feature-grid { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 680px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { border: 1px solid var(--border-faint); border-radius: var(--radius); overflow: hidden; background: var(--canvas);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .clip { aspect-ratio: 16 / 10; background: var(--mint-100); overflow: hidden; border-bottom: 1px solid var(--border-faint); }
.feature .clip video { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.feature .body { padding: 20px 22px 24px; }
.feature h3 { display: flex; align-items: center; gap: 10px; }
.feature h3 .ic { width: 32px; height: 32px; flex: none; border-radius: 9px; display: grid; place-items: center;
  background: var(--mint-100); color: var(--green-800); }
.feature p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

/* Privacy */
.privacy .card {
  background: linear-gradient(135deg, var(--green-900), var(--green-800)); color: #fff; border-radius: 28px;
  padding: clamp(28px, 6vw, 64px); display: grid; gap: 32px; align-items: center; position: relative; overflow: hidden;
}
:root[data-theme="dark"] .privacy .card { background: linear-gradient(135deg, #0B3A29, #0F5A3E); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .privacy .card { background: linear-gradient(135deg, #0B3A29, #0F5A3E); } }
@media (min-width: 900px) { .privacy .card { grid-template-columns: 1.4fr 1fr; } }
.privacy h2, .privacy .card p { color: #fff; }
.privacy .card p { opacity: .9; }
.privacy ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.privacy li::before { content: "🔒"; margin-inline-end: 10px; }
.privacy a { color: #F3E3B5; font-weight: 600; }
.shield { justify-self: center; width: min(240px, 60vw); }

/* Audience */
.aud-grid { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 700px) { .aud-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .aud-grid { grid-template-columns: repeat(4, 1fr); } }
.aud { background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--radius); padding: 24px; }
.aud .emoji { font-size: 1.9rem; }
.aud p { color: var(--ink-soft); margin: 0; font-size: .95rem; }

/* Video */
.video-sec { padding-top: 0; }
.video-sec .video-box { margin-top: 24px; max-width: 960px; margin-inline: auto; }
.video-box { margin-top: 36px; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(135deg, #00563B, #007A55); display: grid; place-items: center; color: #fff; position: relative; }
.video-box .soon { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 16px; }
.video-box .soon img { width: 110px; }
.play { width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 1.8rem; }

/* Web vs desktop */
.choose { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 820px) { .choose { grid-template-columns: 1fr 1fr; } }
.choice { background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 6px; }
.choice.main { border: 2px solid var(--green-800); }
.choice ul { padding-inline-start: 1.2em; color: var(--ink-soft); margin: 8px 0 22px; }
.choice .btn { margin-top: auto; align-self: flex-start; }
.note { color: var(--ink-soft); margin-top: 18px; font-size: .95rem; }

/* Plans */
.plans { background: var(--surface); border-block: 1px solid var(--border-faint); }
.plan-grid { display: grid; gap: 20px; margin-top: 40px; align-items: stretch; }
@media (min-width: 900px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.plan { border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; background: var(--canvas); display: flex; flex-direction: column; position: relative; }
.plan.pop { border: 2px solid var(--green-800); background: var(--surface); box-shadow: var(--shadow); }
.badge { position: absolute; top: -14px; inset-inline-start: 24px; background: var(--gold-bright); color: #2a2208; font-size: .82rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.plan .members { color: var(--ink-soft); margin-bottom: 18px; }
.price { font-size: 2.5rem; font-weight: 700; color: var(--green-800); line-height: 1; direction: ltr; text-align: end; display: inline-block; }
.price small { font-size: 1rem; color: var(--ink-soft); font-weight: 500; }
.launch-tag { font-size: .85rem; color: var(--ink-soft); margin: 8px 0 14px; }
.after { border-top: 1px dashed var(--border); padding-top: 14px; margin-bottom: 22px; font-size: .95rem; color: var(--ink-soft); }
.after b { color: var(--ink); }
.plan .btn { margin-top: auto; }
.plan-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 28px; color: var(--ink-soft); font-size: .95rem; }
.plan-notes span::before { content: "★"; color: var(--gold-bright); margin-inline-end: 6px; }

/* FAQ */
.faq-list { max-width: 820px; margin: 36px auto 0; display: grid; gap: 12px; }
.faq-list details { background: var(--surface); border: 1px solid var(--border-faint); border-radius: 14px; padding: 4px 22px; }
.faq-list summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--green-800); font-size: 1.4rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { color: var(--ink-soft); margin: 0 0 18px; }

/* Final CTA */
.final { text-align: center; }
.final .tabi-big { width: 140px; margin: 0 auto 12px; animation: bob 2.4s ease-in-out infinite; }
.final .cta { display: flex; justify-content: center; margin-top: 24px; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border-faint); padding-block: 48px 28px; font-size: .95rem; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.foot-grid h4 { margin: 0 0 10px; font-size: .95rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-grid a { color: var(--ink-soft); text-decoration: none; }
.foot-grid a:hover { color: var(--green-800); }
.foot-brand { grid-column: 1 / -1; }
@media (min-width: 820px) { .foot-brand { grid-column: auto; } }
.foot-brand img { height: 34px; margin-bottom: 10px; }
.foot-brand p { color: var(--ink-soft); max-width: 34ch; }
.copy { border-top: 1px solid var(--border-faint); margin-top: 32px; padding-top: 20px; color: var(--ink-soft); font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.theme-toggle { background: none; border: 1px solid var(--border); color: var(--ink-soft); border-radius: 999px; padding: 4px 12px; font: inherit; font-size: .85rem; cursor: pointer; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Feature landing pages */
.crumbs { font-size: .88rem; color: var(--ink-soft); margin-bottom: 14px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--green-800); }
.lp-visual { position: relative; display: grid; place-items: center; margin-bottom: 30px; }
.lp-device { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 10px; box-shadow: var(--shadow), 0 0 50px color-mix(in srgb, var(--mint-400) 25%, transparent); width: 100%; }
.lp-device video { width: 100%; border-radius: 10px; background: var(--mint-100); }
.lp-shield { width: min(300px, 70vw); filter: drop-shadow(0 20px 40px rgba(0,40,25,.3)); }
.lp-visual .tabi-float { inset-inline-start: -10px; bottom: -36px; }
.lp-narrow { max-width: 820px; }
.lp-gets { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .lp-gets { grid-template-columns: 1.3fr 1fr; } }
.gets { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.gets li { display: flex; gap: 12px; }
.gets li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-100); color: var(--green-800); font-weight: 700; font-size: .85rem; margin-top: 3px; }
.lp-quote { margin: 0; background: var(--canvas); border: 1px solid var(--border-faint); border-radius: 22px; padding: 28px; position: relative; }
.lp-quote img { width: 56px; margin-bottom: 10px; }
.lp-quote blockquote { margin: 0 0 12px; font-size: 1.2rem; font-weight: 600; line-height: 1.7; }
.lp-quote figcaption { color: var(--ink-soft); font-size: .9rem; }
.more-grid { display: grid; gap: 12px; margin-top: 28px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.more-card { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border-faint); color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color .15s, transform .15s; }
.more-card:hover { border-color: var(--green-800); transform: translateY(-2px); }
.more-card .ic, .feature .ic { width: 32px; height: 32px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--mint-100); color: var(--green-800); }

/* Home: whole feature card is a link */
a.feature { color: inherit; text-decoration: none; }
.feature .more-link { display: inline-block; margin-top: 12px; color: var(--green-800); font-weight: 600; font-size: .93rem; }
a.feature:hover .more-link { text-decoration: underline; }
a.feature:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; }
.problem .wrap.lp-narrow { display: block; }

/* Inner pages */
.page-hero { padding-block: clamp(48px, 8vw, 88px) clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.page-hero .accent { color: var(--green-800); }
.compare-wrap { overflow-x: auto; margin-top: 32px; border: 1px solid var(--border-faint); border-radius: var(--radius); background: var(--canvas); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .97rem; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--border-faint); text-align: center; }
.compare th[scope="row"] { text-align: start; font-weight: 500; color: var(--ink-soft); }
.compare thead th { font-size: 1.1rem; color: var(--ink); background: var(--surface); }
.compare .pop { background: color-mix(in srgb, var(--mint-100) 60%, transparent); }
.compare thead .pop { color: var(--green-800); }
.compare .yes { color: var(--green-800); font-weight: 700; }
.compare .no { color: var(--ink-soft); }
.compare .price-row td { font-weight: 700; color: var(--green-800); direction: ltr; }
.dl-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 940px) { .dl-grid { grid-template-columns: 1.2fr 1fr; } }
.dl-card { background: var(--surface); border: 1px solid var(--border-faint); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; font-weight: 500; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--canvas); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-800); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green-800) 20%, transparent); }
.hp { position: absolute; inset-inline-start: -9999px; }
.fine { color: var(--ink-soft); font-size: .85rem; margin: 12px 0 0; }
.dl-links { display: grid; gap: 12px; }
.dl-links .ok { color: var(--green-800); font-weight: 700; margin: 0; }
.gets li > span { display: block; }
.faq-group { font-size: 1.35rem; margin-top: 40px; }
.toc { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--radius); padding: 24px; }
@media (min-width: 800px) { .toc { grid-template-columns: repeat(3, 1fr); } }
.toc h3 { font-size: 1rem; margin-bottom: 6px; }
.toc ul { margin: 0; padding-inline-start: 1.1em; color: var(--ink-soft); }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--green-800); }
.tut { display: grid; gap: 24px; align-items: start; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--radius); padding: 22px; margin-top: 18px; scroll-margin-top: 90px; }
@media (min-width: 900px) { .tut { grid-template-columns: 1.1fr 1fr; } }
.tut .clip { border-radius: 12px; overflow: hidden; background: var(--mint-100); }
.tut ol { padding-inline-start: 1.3em; color: var(--ink-soft); display: grid; gap: 6px; margin: 0; }
.timeline { list-style: none; padding: 0; margin: 0; border-inline-start: 3px solid var(--mint-100); }
.news { position: relative; padding: 4px 28px 26px; }
.news::before { content: ""; position: absolute; inset-inline-start: -10px; top: 10px; width: 17px; height: 17px; border-radius: 50%; background: var(--green-800); box-shadow: 0 0 0 4px var(--canvas); }
.news p { color: var(--ink-soft); margin: 0 0 6px; }
[hidden] { display: none !important; }

/* English pages */
html[lang="en"] { --font: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif; }
html[lang="en"] body { line-height: 1.65; }
html[lang="en"] h1 { letter-spacing: -.02em; }
html[lang="en"] .sheet td.empty::after { content: "empty!"; }
html[lang="en"] .price { text-align: start; }
