/* MemoPic — site styles. Self-hosted, no external fonts or frameworks. */

:root {
  --paper: #F3F6F4;
  --paper-2: #E9EFEC;
  --card: #ffffff;
  --ink: #26302E;
  --ink-2: #67746E;
  --line: #E4E9E6;
  --accent: #2E6A62;
  --accent-ink: #ffffff;
  --accent-soft: #E1EDE9;
  --sun: #C27A4E;
  --sun-soft: #F6ECE4;
  --sky: #1E4B45;
  --sky-soft: #DCEAE6;
  --mint: #3C8A5E;
  --mint-soft: #E3F0E9;
  --night: #1E4B45;
  --night-ink: #F4F6F4;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(27, 33, 64, .06), 0 12px 32px -12px rgba(27, 33, 64, .18);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  --font-letter: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --wrap: 1140px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #10211D;
    --paper-2: #16302B;
    --card: #1B332E;
    --ink: #f1eee8;
    --ink-2: #B9C6C1;
    --line: #24423C;
    --accent: #7FB3AA;
    --accent-ink: #1b1010;
    --accent-soft: #22332F;
    --sun: #D9A878;
    --sun-soft: #33311F;
    --sky: #86C2B8;
    --sky-soft: #20423C;
    --mint: #7FD3B0;
    --mint-soft: #17352F;
    --night: #0A1917;
    --night-ink: #f1eee8;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body {
  --font: "Segoe UI", "Noto Sans Arabic", "Geeza Pro", "Noto Naskh Arabic", Tahoma, system-ui, sans-serif;
  --font-display: var(--font);
  line-height: 1.75;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--sky); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic .f { fill: currentColor; stroke: none; }
html[dir="rtl"] .flip { transform: scaleX(-1); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Skip link */
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* Header */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 1.25rem/1 var(--font-display); letter-spacing: -.02em; }
.brand svg { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); background: var(--paper-2); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.dd { position: relative; }
.dd > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink); border: 1px solid var(--line); background: var(--card); }
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary .ic { width: 20px; height: 20px; }
.dd-list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 190px; margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.dd-list a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 600; }
.dd-list a:hover { background: var(--paper-2); }
.dd-list a[aria-current] { background: var(--accent-soft); color: var(--accent); }
.menu-dd { display: none; }
.menu-dd .dd-list { min-width: 230px; }
@media (max-width: 920px) {
  .nav-links { display: none; }
  .menu-dd { display: block; }
  .nav-end { margin-inline-start: auto; }
  .nav-end .nav-cta { display: none; }
}
@media (max-width: 420px) {
  .dd > summary span { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 20px; border-radius: 14px; font: 700 1rem/1.1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 0 -2px color-mix(in srgb, var(--accent) 55%, #000); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; border-radius: 12px; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 20px 8px 16px; border-radius: 16px; text-decoration: none; font-family: var(--font); transition: transform .15s ease; }
.store:hover { transform: translateY(-2px); }
.store .ic { width: 26px; height: 26px; }
.store b { display: block; font-size: 1.15rem; line-height: 1.1; }
.store small { display: block; font-size: .78rem; opacity: .85; font-weight: 600; }
.store-a { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 0 -2px color-mix(in srgb, var(--accent) 55%, #000); }
.store-i { background: var(--ink); color: var(--paper); box-shadow: 0 6px 0 -2px color-mix(in srgb, var(--ink) 55%, #000); }

/* Section scaffolding */
section { padding-block: 72px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: .95rem; }
.h2 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); font-weight: 800; max-width: 22ch; }
.sub { color: var(--ink-2); font-size: 1.08rem; max-width: 62ch; }
.center { text-align: center; }
.center .h2, .center .sub { margin-inline: auto; }

/* Hero */
.hero { padding-block: 40px 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 680px; height: 680px; background: radial-gradient(closest-side, color-mix(in srgb, var(--sun) 45%, transparent), transparent); opacity: .55; pointer-events: none; }
html[dir="rtl"] .hero::before { inset: -20% auto auto -10%; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 3.9rem); font-weight: 850; letter-spacing: -.025em; margin-bottom: 20px; }
html[lang="ar"] .hero h1 { letter-spacing: 0; line-height: 1.3; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--sun) 80%, transparent) 62%); padding-inline: .05em; }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-2); max-width: 58ch; margin-bottom: 28px; }
.hero-note { margin: 18px 0 0; font-size: .92rem; color: var(--ink-2); font-weight: 600; }
@media (max-width: 920px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
}

/* Phone mockup (pure HTML/CSS illustration) */
.mock { position: relative; justify-self: center; width: min(100%, 360px); margin: 0; }
.phone { position: relative; border-radius: 44px; padding: 12px; background: #16302B; box-shadow: 0 30px 60px -20px rgba(27, 33, 64, .45), inset 0 0 0 2px #2E514A; }
.screen { border-radius: 33px; overflow: hidden; background: #FAFCFB; color: #26302E; padding: 16px 14px 18px; font-size: 13px; line-height: 1.4; }
.m-top { display: flex; align-items: center; justify-content: space-between; font: 800 15px/1 var(--font-display); margin: 4px 6px 12px; }
.m-top span { display: inline-flex; align-items: center; gap: 8px; }
.m-top svg { width: 24px; height: 24px; border-radius: 7px; }
.m-chip { font: 700 11px/1 var(--font); background: #E3F0E9; color: #275F46; padding: 5px 9px; border-radius: 999px; }
.m-letter { position: relative; background: #fff; border-radius: 6px; padding: 14px 14px 12px; box-shadow: 0 2px 10px rgba(27, 33, 64, .12); transform: rotate(-1.6deg); font-family: var(--font-letter); color: #2A322F; direction: ltr; text-align: left; }
.m-letter b { display: block; font: 700 11px/1.2 var(--font); letter-spacing: .04em; text-transform: uppercase; color: #6E7A74; }
.m-letter .addr { display: block; margin: 8px 0 10px; font-size: 11px; color: #5A6560; }
.m-letter strong { display: block; font-size: 18px; margin-bottom: 6px; color: #26302E; }
.m-letter .ln { display: block; height: 6px; border-radius: 3px; background: #E6EAE7; margin: 6px 0; }
.m-letter .ln.s { width: 72%; }
.m-letter mark { background: #EFD8B4; color: #26302E; padding: 1px 3px; border-radius: 3px; font-size: 12px; }
.m-card { margin-top: 14px; background: #fff; border-radius: 16px; padding: 12px 12px 10px; box-shadow: 0 1px 2px rgba(27, 33, 64, .08); }
.m-row { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; padding: 7px 0; border-bottom: 1px dashed #E7EAE6; }
.m-row:last-child { border-bottom: 0; }
.m-row .ic { width: 28px; height: 28px; padding: 5px; border-radius: 9px; }
.m-row small { display: block; font: 700 10.5px/1.2 var(--font); text-transform: uppercase; letter-spacing: .06em; color: #7a7f95; }
html[lang="ar"] .m-row small { letter-spacing: 0; font-size: 11.5px; }
.m-row p { margin: 2px 0 0; font-weight: 600; }
.t-what { background: #DCEAE6; color: #1E4B45; }
.t-date { background: #F6ECE4; color: #C27A4E; }
.t-todo { background: #E3F0E9; color: #3C8A5E; }
.m-date { display: inline-block; margin-top: 2px; background: #C27A4E; color: #fff; font-weight: 800; padding: 2px 8px; border-radius: 6px; }
.m-reply { margin-top: 12px; background: #26302E; color: #F4F6F4; border-radius: 16px; padding: 12px 14px; }
.m-reply small { display: block; font: 700 10.5px/1.2 var(--font); text-transform: uppercase; letter-spacing: .06em; color: #C27A4E; margin-bottom: 4px; }
html[lang="ar"] .m-reply small { letter-spacing: 0; font-size: 11.5px; }
.m-reply p { margin: 0; font-family: var(--font-letter); direction: ltr; text-align: left; }
.m-float { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 9px 12px; font-weight: 700; font-size: .85rem; box-shadow: var(--shadow); white-space: nowrap; }
.m-float .ic { width: 20px; height: 20px; color: var(--accent); }
.m-f1 { top: 37%; inset-inline-start: -38px; }
.m-f2 { bottom: 20px; inset-inline-end: -30px; }
.m-f2 .ic { color: var(--mint); }
.mock figcaption { margin-top: 40px; text-align: center; font-size: .8rem; color: var(--ink-2); }
@media (max-width: 520px) {
  .m-f1 { top: -20px; inset-inline-start: 8px; }
  .m-f2 { inset-inline-end: -6px; }
}

/* How it works */
.how { background: var(--card); border-block: 1px solid var(--line); }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 24px 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; background: var(--ink); color: var(--paper); font: 800 1.1rem/1 var(--font-display); }
.steps li:nth-child(2)::before { background: var(--sky); color: #fff; }
.steps li:nth-child(3)::before { background: var(--accent); color: var(--accent-ink); }
.steps li:nth-child(4)::before { background: var(--mint); color: #fff; }
@media (prefers-color-scheme: dark) {
  .steps li:nth-child(2)::before, .steps li:nth-child(4)::before { color: #10211D; }
}
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: .98rem; }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feat { padding: 26px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.feat .ic-wrap { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 16px; }
.feat .ic { width: 28px; height: 28px; }
.feat:nth-child(6n+1) .ic-wrap { background: var(--sky-soft); color: var(--sky); }
.feat:nth-child(6n+2) .ic-wrap { background: var(--sun-soft); color: color-mix(in srgb, var(--sun) 40%, var(--ink)); }
.feat:nth-child(6n+3) .ic-wrap { background: var(--accent-soft); color: var(--accent); }
.feat:nth-child(6n+4) .ic-wrap { background: var(--mint-soft); color: var(--mint); }
.feat:nth-child(6n+5) .ic-wrap { background: var(--sky-soft); color: var(--sky); }
.feat:nth-child(6n+6) .ic-wrap { background: var(--accent-soft); color: var(--accent); }
.feat h3 { font-size: 1.2rem; }
.feat p { margin: 0; color: var(--ink-2); }
@media (max-width: 920px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }
.langs { display: flex; gap: 18px; align-items: center; margin-top: 28px; padding: 20px 24px; border-radius: var(--radius); background: var(--sun-soft); border: 1px solid color-mix(in srgb, var(--sun) 50%, var(--line)); }
.langs .ic { width: 32px; height: 32px; color: var(--ink); }
.langs h3 { font-size: 1.1rem; margin-bottom: 4px; }
.langs p { margin: 0; color: var(--ink-2); }

/* Letters grid */
.letters { background: var(--paper-2); }
.letter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 36px; padding: 0; list-style: none; }
.letter-card { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 18px; background: var(--card); color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 16px; transition: border-color .15s ease, transform .15s ease; }
.letter-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.letter-card .env { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.letter-card b { display: block; font-weight: 700; line-height: 1.35; }
.letter-card small { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; color: var(--sky); font-weight: 700; font-size: .88rem; }
.letter-card small .ic { width: 16px; height: 16px; }
.note { margin-top: 18px; color: var(--ink-2); font-size: .95rem; }

/* Privacy band */
.privacy { background: var(--night); color: var(--night-ink); }
.privacy .kicker { color: #E3A878; }
.privacy .h2 { color: #fff; }
.priv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 36px 0 28px; padding: 0; list-style: none; }
.priv-grid li { padding: 20px 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.priv-grid .ic { width: 30px; height: 30px; color: var(--sun); margin-bottom: 12px; }
.priv-grid h3 { font-size: 1.02rem; color: #fff; }
.priv-grid p { margin: 0; color: #CFD6D3; font-size: .93rem; }
.privacy a.btn { background: var(--sun); color: #26302E; }
@media (max-width: 1040px) { .priv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .priv-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 36px auto 0; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s ease; color: var(--ink-2); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--ink-2); }

/* CTA */
.cta { padding-block: 24px 80px; }
.cta-box { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 44px; border-radius: 28px; background: var(--accent); color: var(--accent-ink); position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 220px; height: 220px; background: var(--sun); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); opacity: .9; }
.cta-box h2 { font-size: clamp(1.7rem, 3.8vw, 2.4rem); color: inherit; }
.cta-box p { margin: 0; font-size: 1.1rem; opacity: .95; }
.cta-box .store-row { position: relative; z-index: 1; }
.cta-box .store-a { background: var(--paper); color: var(--ink); box-shadow: none; }
.cta-box .store-i { box-shadow: none; }
@media (max-width: 820px) { .cta-box { grid-template-columns: 1fr; padding: 32px 24px; } }

/* Footer */
.foot { padding-block: 56px 36px; border-top: 1px solid var(--line); background: var(--card); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 12px; }
html[lang="ar"] .foot-h { letter-spacing: 0; font-size: .9rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-brand p { color: var(--ink-2); max-width: 40ch; margin-top: 12px; }
.foot-fine { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .85rem; }
.foot-fine p { margin: 0 0 6px; }
.foot .en-tag { color: var(--ink-2); font-size: .8rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Article / guides / legal */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font-size: .9rem; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--line); }
.crumbs a { color: var(--ink-2); }
.page-head { padding-block: 40px 28px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 850; max-width: 26ch; }
.page-head .lead { margin-bottom: 0; }
.meta-line { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; color: var(--ink-2); font-size: .9rem; }
.meta-line span { display: inline-flex; align-items: center; gap: 6px; }
.meta-line .ic { width: 18px; height: 18px; }
.article { padding-block: 40px 64px; }
.article-in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .article-in { grid-template-columns: 1fr; } }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .45em; }
.tldr { padding: 20px 22px; border-radius: 18px; background: var(--sun-soft); border: 1px solid color-mix(in srgb, var(--sun) 55%, var(--line)); margin-bottom: 32px; }
.tldr b { display: block; margin-bottom: 6px; font-family: var(--font-display); }
.tldr p { margin: 0; }
.terms { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: .97rem; background: var(--card); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.terms th, .terms td { text-align: start; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.terms tr:last-child td { border-bottom: 0; }
.terms th { background: var(--paper-2); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.terms td:first-child { font-weight: 700; }
.todo { counter-reset: t; list-style: none; padding: 0 !important; }
.todo li { position: relative; padding: 14px 16px 14px 56px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
html[dir="rtl"] .todo li { padding: 14px 56px 14px 16px; }
.todo li::before { counter-increment: t; content: counter(t); position: absolute; inset-inline-start: 14px; top: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .9rem; }
.todo b { display: block; }
.todo span { color: var(--ink-2); }
.phrases { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.phrases li { padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); border-inline-start: 4px solid var(--sky); margin: 0; }
.phrases q { display: block; font-family: var(--font-letter); font-size: 1.08rem; quotes: none; color: var(--ink); }
.phrases span { display: block; color: var(--ink-2); font-size: .93rem; margin-top: 2px; }
.help-list { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.help-list li { padding: 14px 16px; border-radius: 14px; background: var(--mint-soft); margin: 0; }
.help-list b { display: block; }
.sources a { word-break: break-word; }
.practice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--sky-soft); margin: 24px 0; }
.practice .ic { color: var(--sky); margin-top: 2px; }
.practice p { margin: 0; }
.disclaimer { display: flex; gap: 12px; align-items: flex-start; margin-top: 32px; padding: 16px 18px; border-radius: 14px; border: 1px dashed var(--line); color: var(--ink-2); font-size: .93rem; }
.disclaimer p { margin: 0; }
.aside { position: sticky; top: 92px; display: grid; gap: 16px; }
.aside-card { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.aside-card h2 { font-size: 1.2rem; }
.aside-card p { color: var(--ink-2); font-size: .95rem; }
.aside-card .store-row { flex-direction: column; }
.aside-card .store { width: 100%; }
.aside-card ul { list-style: none; margin: 0; padding: 0; }
.aside-card li { margin-bottom: 8px; font-size: .95rem; }
@media (max-width: 960px) { .aside { position: static; } }
.guide-cta { margin-top: 40px; padding: 28px; border-radius: 22px; background: var(--accent); color: var(--accent-ink); }
.guide-cta h2 { margin-top: 0 !important; color: inherit; }
.guide-cta p { opacity: .95; }
.guide-cta .store-a { background: var(--paper); color: var(--ink); box-shadow: none; }
.guide-cta .store-i { box-shadow: none; }
.guides-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; padding: 0; list-style: none; }
.guides-list a { display: block; height: 100%; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.guides-list a:hover { border-color: var(--accent); transform: translateY(-2px); }
.guides-list .tag { display: inline-block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: 6px; }
.guides-list h2 { font-size: 1.15rem; margin-bottom: 8px; }
.guides-list p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.legal-doc h2 { font-size: 1.3rem; }
.legal-doc address { font-style: normal; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 1em; }
.legal-doc dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.legal-doc dt { font-weight: 700; }
.legal-doc dd { margin: 0; }
@media (max-width: 560px) { .legal-doc dl { grid-template-columns: 1fr; } .legal-doc dd { margin-bottom: 8px; } }
.nf { padding-block: 96px; text-align: center; }
.nf-code { font: 900 5rem/1 var(--font-display); color: var(--accent); margin-bottom: 12px; }
