/* imajix.app — styles. Dark theme only. No frameworks, no external resources. */

:root {
  color-scheme: dark;
  --ij-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Inter", "Segoe UI", sans-serif;

  --ij-blue: #007AFF;          /* graphics, icons */
  --ij-blue-strong: #0066D6;   /* button fill under white text (5.4:1) */
  --ij-link: #409CFF;          /* links and accent text on dark (6.6:1) */
  --ij-pin: #FF453A;           /* red pin: graphics only */

  --ij-bg: #0B1220;
  --ij-bg-alt: #0F1830;
  --ij-surface: #141E3A;
  --ij-surface-2: #1C2848;
  --ij-line: rgba(255, 255, 255, .10);
  --ij-line-strong: rgba(255, 255, 255, .24);
  --ij-chip: rgba(255, 255, 255, .07);

  --ij-text: #F5F5F7;
  --ij-text-2: #B4BDD0;
  --ij-text-3: #8F9AB2;
  --ij-text-legal: #C2CADB;

  --ij-ok: #3DDC68;
  --ij-ok-bg: rgba(61, 220, 104, .14);
  --ij-accent-bg: rgba(64, 156, 255, .14);

  --ij-radius-btn: 14px;
  --ij-radius-card: 24px;
  --ij-radius-lg: 28px;
  --ij-container: 1180px;
  --ij-gutter: clamp(16px, 4vw, 40px);
  --ij-section: clamp(72px, 10vw, 128px);
  --ij-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ij-font);
  background: var(--ij-bg);
  color: var(--ij-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
a:hover { opacity: .85; }
:focus-visible { outline: 3px solid #409CFF; outline-offset: 3px; border-radius: 8px; }
[id] { scroll-margin-top: 24px; }

.ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  padding: 12px 16px; border-radius: 12px; background: var(--ij-blue-strong); color: #fff;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.container { max-width: var(--ij-container); margin: 0 auto; padding-inline: var(--ij-gutter); }
.container-narrow { max-width: 860px; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--ij-radius-btn);
  font: inherit; font-size: 17px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; max-width: 100%;
}
.btn-primary { background: var(--ij-blue-strong); color: #fff; }
.btn-soon { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: var(--ij-text); cursor: default; }
.btn-soon:hover { opacity: 1; }
.btn-sm { min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; border-color: var(--ij-line); background: transparent; color: var(--ij-text-2); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 17px; font-weight: 600; color: var(--ij-link); text-decoration: none;
}

/* ---------- header ---------- */
.site-header { background: var(--ij-bg); border-bottom: 1px solid var(--ij-line); position: relative; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--ij-text-2); }
.nav a { text-decoration: none; padding: 8px 0; }
.nav a[aria-current="page"] { color: var(--ij-text); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.mnav { display: none; position: relative; }
.mnav summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; background: var(--ij-chip);
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav .ico-close { display: none; }
.mnav[open] .ico-menu { display: none; }
.mnav[open] .ico-close { display: block; }
.mnav-panel {
  position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 32px));
  display: flex; flex-direction: column; padding: 8px;
  background: var(--ij-surface); border: 1px solid var(--ij-line); border-radius: 20px; box-shadow: var(--ij-shadow);
}
.mnav-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; font-size: 16px; text-decoration: none; }
.mnav-panel a[aria-current="page"] { background: var(--ij-accent-bg); color: var(--ij-link); font-weight: 600; }
.mnav-note { padding: 10px 14px 8px; font-size: 13px; color: var(--ij-text-3); }

@media (max-width: 899px) {
  .nav, .header-actions .btn-sm { display: none; }
  .mnav { display: block; }
}

/* ---------- hero ---------- */
.hero {
  background-color: #0B1220;
  background-image:
    radial-gradient(640px 460px at 78% 42%, rgba(10, 132, 255, .20), rgba(10, 132, 255, 0) 70%),
    radial-gradient(420px 320px at 88% 70%, rgba(255, 59, 48, .14), rgba(255, 59, 48, 0) 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}
.hero-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: clamp(40px, 6vw, 72px); align-items: center;
  padding-block: clamp(56px, 9vw, 112px) clamp(64px, 9vw, 120px);
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .10);
  font-size: 13px; font-weight: 600; color: #D5DBE8;
}
.pill .ico { color: var(--ij-pin); }
.hero h1 { font-size: clamp(42px, 6.6vw, 76px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.hero-lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.45; color: #B9C2D6; max-width: 34em; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero-note { font-size: 14px; color: #98A3BB; }

.hero-visual { position: relative; height: 620px; max-width: 540px; width: 100%; justify-self: center; }
.photo-card { position: absolute; background: #F7F8FA; box-shadow: 0 24px 50px rgba(0, 0, 0, .45); }
.photo-card svg { width: 100%; height: auto; }
.photo-a { left: 0; top: 96px; width: 52%; max-width: 250px; padding: 9px; border-radius: 14px; transform: rotate(-8deg); }
.photo-a svg { border-radius: 7px; }
.photo-b { left: 10%; top: 300px; width: 44%; max-width: 210px; padding: 8px; border-radius: 13px; transform: rotate(5deg); }
.photo-b svg { border-radius: 6px; }
.phone {
  position: absolute; right: 0; top: 0; width: 300px; height: 612px; padding: 11px; border-radius: 54px; background: #1B2033;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .10);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: #A9DA98; }
.phone-screen > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.phone-island { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 88px; height: 26px; border-radius: 999px; background: #0B0E18; }
.phone-sheet {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 16px; border-radius: 30px;
  background: rgba(255, 255, 255, .94); color: #0B1220; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.sheet-row { display: flex; align-items: center; gap: 10px; }
.sheet-thumb { flex: none; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(#3C8DE0, #F2B27E); }
.sheet-text { display: flex; flex-direction: column; min-width: 0; }
.sheet-text strong { font-size: 14px; font-weight: 600; }
.sheet-text span { font-size: 12px; color: #4A5468; }
.sheet-btn { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 12px; background: #0066D6; color: #fff; font-size: 14px; font-weight: 600; }

@media (max-width: 560px) {
  .photo-card { display: none; }
  .phone { right: auto; left: 50%; transform: translateX(-50%); }
}

/* ---------- sections ---------- */
.section { padding-block: var(--ij-section); }
.section-alt { background: var(--ij-bg-alt); }
.stack { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 56px); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.section-head-wide { max-width: 760px; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--ij-link); }
.section h2, .cta h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.lead { font-size: 18px; color: var(--ij-text-2); text-wrap: pretty; }

.card {
  display: flex; flex-direction: column; gap: 14px; padding: 28px;
  border-radius: var(--ij-radius-card); background: var(--ij-surface); border: 1px solid var(--ij-line);
}
.card h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
.card p { font-size: 15px; color: var(--ij-text-2); }
.card > .ico { color: var(--ij-link); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 20px; }

/* steps */
.step { gap: 16px; }
.step h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.015em; }
.step p { font-size: 16px; }
.step-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ij-chip); }
.c-blue { color: var(--ij-link); }
.c-pin { color: var(--ij-pin); }
.c-ok { color: var(--ij-ok); }
.step-num { font-size: 14px; font-weight: 600; color: var(--ij-text-3); }

/* modes */
.mode { gap: 24px; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--ij-radius-lg); }
.mode-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.mode-head > div { display: flex; flex-direction: column; gap: 6px; }
.mode h3 { font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
.mode .mode-head p { font-size: 16px; }
.badge { flex: none; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.badge-ok { background: var(--ij-ok-bg); color: var(--ij-ok); }
.badge-accent { background: var(--ij-accent-bg); color: var(--ij-link); }
.checklist { display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; }
.checklist .ico { color: var(--ij-link); margin-top: 2px; stroke-width: 2.2; }

/* AI results */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: clamp(36px, 6vw, 72px); align-items: center; }
.split-top { align-items: start; }
.split-copy { display: flex; flex-direction: column; gap: 18px; }
.split-copy .lead { max-width: 32em; }
.results { display: flex; flex-direction: column; gap: 12px; }
.result-card { padding: 8px; border-radius: var(--ij-radius-lg); background: var(--ij-surface); border: 1px solid var(--ij-line); box-shadow: var(--ij-shadow); }
.result-row { display: flex; align-items: center; gap: 14px; padding: 14px; border-bottom: 1px solid var(--ij-line); }
.result-row:last-child { border-bottom: 0; }
.thumb { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; }
.thumb-lake { background: linear-gradient(#3C8DE0, #F2B27E 70%, #3E4F86 71%); }
.thumb-town { background: linear-gradient(#9FC6E8 40%, #F0D7B5 41%); }
.thumb-shot { background: var(--ij-surface-2); color: var(--ij-text-3); }
.thumb-dark { background: #141A2B; color: #8C97AF; }
.thumb-trees { background: linear-gradient(#CFE3D0, #4F7D5A); color: #fff; }
.result-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.result-text strong { font-size: 16px; font-weight: 600; }
.result-text span { font-size: 14px; color: var(--ij-text-3); }
.status {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  background: var(--ij-chip); color: var(--ij-text-2); font-size: 13px; font-weight: 700;
}
.status-found { background: var(--ij-ok-bg); color: var(--ij-ok); }
.status .ico { stroke-width: 2.6; }
.caption { font-size: 14px; color: var(--ij-text-3); text-align: center; }

/* credits */
.facts { display: flex; flex-direction: column; gap: 14px; font-size: 17px; color: var(--ij-text-2); }
.facts li { display: flex; gap: 12px; }
.facts strong { flex: none; min-width: 84px; color: var(--ij-text); }
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 12px; }
.pack { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 22px; border: 1.5px dashed var(--ij-line-strong); background: var(--ij-surface); }
.pack small { font-size: 14px; font-weight: 600; color: var(--ij-text-3); }
.pack strong { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.pack span { font-size: 16px; color: var(--ij-text-2); }
.fineprint { font-size: 14px; color: var(--ij-text-3); }

/* faq */
.faq { border-radius: var(--ij-radius-card); background: var(--ij-surface); border: 1px solid var(--ij-line); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--ij-line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 24px;
  font-size: 18px; font-weight: 600; list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--ij-text-3); stroke-width: 2.2; transition: transform .2s ease; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details > p, .faq details > div { padding: 0 24px 24px; font-size: 16px; color: var(--ij-text-2); max-width: 44em; display: flex; flex-direction: column; gap: 10px; }
.faq--sm summary { font-size: 17px; }
.faq details ul { list-style: disc; padding-left: 22px; }
.faq details ol { list-style: decimal; padding-left: 22px; }
.faq a, .prose a, .text-link { color: var(--ij-link); }

/* final CTA */
.cta {
  background-color: #0B1220;
  background-image:
    radial-gradient(520px 320px at 50% 0%, rgba(10, 132, 255, .22), rgba(10, 132, 255, 0) 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}
.cta-inner {
  max-width: 820px; margin: 0 auto; padding: clamp(72px, 10vw, 120px) var(--ij-gutter);
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.cta-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.cta p { font-size: 18px; color: #B9C2D6; }

/* ---------- footer ---------- */
.site-footer { background: var(--ij-bg); border-top: 1px solid var(--ij-line); }
.footer-inner { padding-block: 48px 40px; display: flex; flex-direction: column; gap: 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.footer-brand .brand { font-size: 17px; }
.footer-brand .brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer-brand p { font-size: 14px; color: var(--ij-text-2); }
.footer-brand a.mail { font-size: 14px; color: var(--ij-link); text-decoration: none; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 32px; font-size: 14px; color: var(--ij-text-2); }
.footer-nav a { text-decoration: none; padding: 10px 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--ij-line); font-size: 13px; color: var(--ij-text-3); }

/* ---------- inner pages ---------- */
.page { padding-block: clamp(32px, 5vw, 56px) clamp(72px, 9vw, 112px); display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.page-head { display: flex; flex-direction: column; gap: 16px; }
.back { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--ij-link); text-decoration: none; }
.page-title { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.page-lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--ij-text-2); max-width: 36em; text-wrap: pretty; }

.contact {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(24px, 4vw, 40px); border-radius: var(--ij-radius-lg); border: 1px solid rgba(255, 255, 255, .10);
  background-color: #0B1220;
  background-image:
    radial-gradient(420px 260px at 90% 20%, rgba(10, 132, 255, .25), rgba(10, 132, 255, 0) 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}
.contact-copy { display: flex; flex-direction: column; gap: 10px; flex: 1 1 360px; min-width: 0; }
.contact h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; line-height: 1.15; }
.contact p { font-size: 16px; color: #B9C2D6; max-width: 34em; }

.cols { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 48px); align-items: flex-start; }
.cols-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cols-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cols-main h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.025em; line-height: 1.15; }
.cols-side .card h2 { font-size: 21px; letter-spacing: -.015em; line-height: 1.25; }
.cols-side .card p, .cols-side .card li { font-size: 16px; color: var(--ij-text-2); }
.cols-side .card > .c-pin { color: var(--ij-pin); }
.card ol { list-style: decimal; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.numbered { list-style: decimal; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }

/* legal */
.doc-tabs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; }
.doc-tabs a { padding: 10px 16px; border-radius: 999px; background: var(--ij-chip); color: var(--ij-text-2); text-decoration: none; }
.doc-tabs a[aria-current="page"] { background: var(--ij-text); color: var(--ij-bg); }
.legal-head { display: flex; flex-direction: column; gap: 20px; padding-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--ij-line); }
.legal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 15px; color: var(--ij-text-3); }
.legal { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-start; }
.toc { flex: 1 1 240px; max-width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 20px; background: var(--ij-surface); border: 1px solid var(--ij-line); }
.toc h2 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ij-text-3); }
.toc ol { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.toc a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--ij-text-2); text-decoration: none; }
.toc a:hover { background: var(--ij-chip); opacity: 1; }
@media (min-width: 900px) { .toc { max-width: 320px; position: sticky; top: 24px; } }

.prose { flex: 999 1 560px; min-width: 0; max-width: 720px; font-size: 17px; line-height: 1.65; color: var(--ij-text-legal); }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 14px; }
.prose > h2 { margin-top: 44px; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -.02em; color: var(--ij-text); }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { margin-top: 28px; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; color: var(--ij-text); }
.prose > h4 { margin-top: 22px; font-size: 17px; color: var(--ij-text); }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose ol { list-style: decimal; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose li > ul, .prose li > ol { margin-top: 6px; }
.prose blockquote { margin: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--ij-line-strong); color: var(--ij-text-2); }
.prose hr { border: 0; border-top: 1px solid var(--ij-line); margin: 36px 0; }
.prose strong { color: var(--ij-text); }
.prose code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .92em; padding: 2px 6px; border-radius: 6px; background: var(--ij-chip); }
.table-wrap { overflow-x: auto; margin-top: 18px !important; border-radius: 16px; border: 1px solid var(--ij-line); }
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.table-wrap caption { text-align: left; padding: 14px 16px 0; font-size: 14px; color: var(--ij-text-3); }
.table-wrap th { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--ij-line); color: var(--ij-text); }
.table-wrap td { padding: 12px 16px; border-bottom: 1px solid var(--ij-line); }
.table-wrap tr:last-child td { border-bottom: 0; }
.prose > .prose-foot { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--ij-line); font-size: 15px; }
.prose-foot a { color: var(--ij-link); text-decoration: none; padding: 6px 0; }

/* 404 */
.notfound { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; padding: 72px var(--ij-gutter); }
.notfound h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -.035em; line-height: 1.05; }
.notfound p { color: var(--ij-text-2); font-size: 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
