/* rIDM website. Dark only; one accent family (ice / periwinkle light) on a navy base. */
:root {
  color-scheme: dark;
  --bg: #070B18;
  --bg-2: #0B1124;
  --raised: #0E1530;
  --raised-2: #141C3A;
  --line: rgba(160, 180, 255, 0.14);
  --line-2: rgba(160, 180, 255, 0.26);
  --text: #EEF1FF;
  --muted: #A3ACD1;
  --dim: #7C86B2;
  --ice: #9BE1FF;
  --ice-2: #C9F1FF;
  --peri: #6C7CFF;
  --peri-2: #8F9CFF;
  --gold: #FFD48A;
  --display: "Funnel Display", "Funnel Sans", system-ui, sans-serif;
  --body: "Funnel Sans", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1180px;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: radial-gradient(1400px 700px at 72% -8%, #141D45 0%, var(--bg) 60%);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--ice); text-decoration: none; }
a:hover { color: var(--ice-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 4px; }
code { font-family: var(--mono); font-size: 0.88em; }
p code, li code, td code, th code, dd code { color: var(--ice-2); background: rgba(155, 225, 255, 0.08); padding: 0.05em 0.35em; border-radius: 5px; }
pre { margin: 0; font-family: var(--mono); overflow-x: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ice); color: var(--bg); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }

/* sky: the light at the top and a faint dot grid */
.sky { position: absolute; inset: 0 0 auto 0; height: 1200px; pointer-events: none; overflow: hidden; z-index: 0; }
.aurora { position: absolute; inset: 0; }
.aurora::before, .aurora::after { content: ""; position: absolute; border-radius: 50%; filter: blur(34px); }
.aurora::before { width: 980px; height: 620px; top: -260px; right: -120px; background: radial-gradient(ellipse at center, rgba(108, 124, 255, 0.62) 0%, rgba(108, 124, 255, 0.28) 38%, transparent 68%); }
.aurora::after { width: 640px; height: 420px; top: -120px; right: 140px; background: radial-gradient(ellipse at center, rgba(155, 225, 255, 0.55) 0%, rgba(155, 225, 255, 0.18) 42%, transparent 70%); }
.grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(180, 200, 255, 0.16) 1px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 85%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 85%);
}
main, header, footer { position: relative; z-index: 1; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(7, 11, 24, 0.6); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; color: var(--text); }
.brand:hover { color: var(--text); text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.nav nav { display: flex; gap: 24px; margin-left: 12px; }
.nav nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav nav a:hover { color: var(--text); text-decoration: none; }
.nav-cta { margin-left: auto; }
@media (max-width: 860px) { .nav nav .nav-page { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: 15px; letter-spacing: 0.005em; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(180deg, #E4F7FF, #B4E5FF); color: #071022; box-shadow: 0 0 0 1px rgba(201, 241, 255, 0.5), 0 10px 40px -10px rgba(155, 225, 255, 0.55); }
.btn-primary:hover { color: #071022; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(201, 241, 255, 0.7), 0 16px 48px -10px rgba(155, 225, 255, 0.75); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(14, 21, 48, 0.5); }
.btn-ghost:hover { color: var(--text); border-color: rgba(160, 180, 255, 0.5); }
.btn-quiet { height: 38px; padding: 0 14px; color: var(--text); border: 1px solid var(--line-2); font-size: 14px; }
.btn-quiet:hover { color: var(--text); background: rgba(160, 180, 255, 0.08); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn-primary:hover { transform: none; } }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; row-gap: 56px; align-items: center; padding-top: 96px; }
.hero-copy { max-width: 620px; }
.release { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; font-size: 14px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; background: rgba(14, 21, 48, 0.55); }
.release .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 12px var(--ice); flex: none; }
.release a { color: var(--text); }
h1 { font-family: var(--display); font-weight: 650; font-size: clamp(42px, 5.6vw, 76px); line-height: 1.0; letter-spacing: -0.035em; margin: 0 0 26px; text-wrap: balance; }
.lede { font-size: 19px; line-height: 1.6; color: var(--muted); margin: 0 0 32px; max-width: 58ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.status { margin: 22px 0 0; font-size: 14px; color: var(--dim); max-width: 52ch; }

/* the token */
.token { position: relative; padding-top: 30px; }
.beam { position: absolute; left: 50%; top: -120px; width: min(620px, 100vw); height: 360px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(201, 241, 255, 0.34) 0%, rgba(155, 225, 255, 0.12) 40%, transparent 70%); filter: blur(18px); pointer-events: none; }
.token-card {
  position: relative;
  background: linear-gradient(180deg, rgba(24, 34, 74, 0.92), rgba(12, 18, 40, 0.94));
  border: 1px solid rgba(180, 200, 255, 0.22);
  border-top-color: rgba(220, 240, 255, 0.55);
  border-radius: 18px;
  padding: 18px 22px 22px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(7, 11, 24, 0.6), 0 -20px 80px -40px rgba(155, 225, 255, 0.5);
  transform: perspective(1400px) rotateX(3deg) rotateY(-4deg);
}
.token-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.chip { background: rgba(155, 225, 255, 0.12); color: var(--ice-2); border: 1px solid rgba(155, 225, 255, 0.3); border-radius: 6px; padding: 2px 8px; font-size: 12px; }
.token-body { font-size: 13.5px; line-height: 1.65; color: var(--text); white-space: pre; }
.token-body .k { color: var(--peri-2); }
.token-body .s { color: var(--ice-2); }
.token-body .n { color: var(--gold); }
.token-body .key { color: var(--dim); }
.token-body .slug { color: #FFFFFF; text-shadow: 0 0 14px rgba(155, 225, 255, 0.9); font-weight: 600; }
.token-sig { margin-top: 16px; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.06); overflow: hidden; }
.token-sig span { display: block; height: 100%; width: 78%; border-radius: 4px; background: linear-gradient(90deg, var(--peri) 0%, var(--ice) 60%, #FFFFFF 100%); box-shadow: 0 0 18px rgba(155, 225, 255, 0.9); }
.token-note { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* quick start strip */
.quick { grid-column: 1 / -1; border: 1px solid var(--line-2); border-radius: var(--radius); background: linear-gradient(180deg, rgba(14, 21, 48, 0.85), rgba(9, 14, 32, 0.9)); box-shadow: 0 24px 60px -30px rgba(0,0,0,.8); overflow: hidden; }
.quick-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.quick-head strong { color: var(--text); font-weight: 600; }
.copy-btn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(160, 180, 255, 0.06); color: var(--text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; flex: none; }
.copy-btn:hover { background: rgba(160, 180, 255, 0.14); }
.copy-btn svg { width: 15px; height: 15px; }
.quick pre { padding: 20px 22px; font-size: 14.5px; line-height: 1.75; color: var(--text); }
.quick .c, .term .c { color: var(--dim); }
.quick .p, .term .p { color: var(--ice); font-weight: 600; }
.quick-foot { margin: 0; padding: 12px 18px 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 64px; row-gap: 48px; }
  .token { max-width: 560px; }
  .token-card { transform: none; }
}

/* issuer strip */
.issuer { padding-top: 110px; }
.issuer-line { margin: 0 0 28px; font-family: var(--mono); font-weight: 500; font-size: clamp(19px, 3.2vw, 40px); letter-spacing: -0.02em; color: var(--text); overflow-wrap: anywhere; }
.issuer-line .t { color: var(--dim); }
.issuer-line .slug2 { color: var(--ice-2); text-shadow: 0 0 22px rgba(155, 225, 255, 0.55); }
.issuer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 28px; border-top: 1px solid var(--line-2); position: relative; }
.issuer-grid::before { content: ""; position: absolute; top: -1px; left: 0; width: 38%; height: 1px; background: linear-gradient(90deg, var(--ice), transparent); }
.issuer-grid p { margin: 0; color: var(--muted); font-size: 15.5px; }
.issuer-grid strong { color: var(--text); font-weight: 600; display: block; margin-bottom: 4px; font-family: var(--display); font-size: 17px; }
@media (max-width: 800px) { .issuer-grid { grid-template-columns: 1fr; gap: 22px; } }

/* sections */
.section { padding-top: 140px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
h2 { font-family: var(--display); font-weight: 650; font-size: clamp(34px, 4vw, 52px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 18px; text-wrap: balance; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; max-width: 62ch; }
h3 { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 10px; }

/* surfaces: a cell is the one raised panel used throughout */
.cell { position: relative; padding: 26px 26px 28px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(20, 28, 58, 0.55), rgba(12, 18, 40, 0.75)); border: 1px solid var(--line); overflow: hidden; }
.cell::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 241, 255, 0.55), transparent); }
.cell p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.cell p + p { margin-top: 10px; }

/* why: bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.span2 { grid-column: span 2; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .span2 { grid-column: auto; } .cell { padding: 22px 20px; } }
.mini { margin: -6px 0 22px; }
.rls .row { display: grid; grid-template-columns: 112px 1fr 1fr 1fr; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--dim); border: 1px solid var(--line); margin-bottom: 6px; }
.rls .row i { display: block; height: 7px; border-radius: 4px; background: rgba(160, 180, 255, 0.12); }
.rls .row.on { color: var(--ice-2); border-color: rgba(155, 225, 255, 0.45); background: rgba(155, 225, 255, 0.06); box-shadow: 0 0 24px -6px rgba(155, 225, 255, 0.5); }
.rls .row.on i { background: linear-gradient(90deg, var(--ice), var(--peri-2)); }
.rls .row-note { font-family: var(--mono); font-size: 12px; color: var(--dim); padding: 4px 2px 0; }
.kms { display: flex; flex-wrap: wrap; gap: 8px; }
.key-chip { font-family: var(--mono); font-size: 12.5px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; }
.key-chip.on { color: #071022; background: var(--ice); border-color: var(--ice); box-shadow: 0 0 20px -4px var(--ice); }

/* architecture */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.shot { margin: 0; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--raised); overflow: hidden; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8); }
.shot.wide { grid-column: 1 / -1; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 12px 16px; font-size: 14.5px; line-height: 1.5; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 800px) { .shots { grid-template-columns: 1fr; } }

.arch { display: grid; gap: 48px; }
.arch-svg { width: 100%; max-width: 960px; height: auto; display: block; margin-inline: auto; font-family: var(--body); font-size: 13px; }
.arch-svg .box { fill: rgba(14, 21, 48, 0.8); stroke: var(--line-2); }
.arch-svg .node { fill: url(#nodefill); stroke: rgba(155, 225, 255, 0.6); stroke-width: 1.2; }
.arch-svg .node.dashed { stroke-dasharray: 6 5; fill: rgba(14, 21, 48, 0.5); }
.arch-svg .tenant { fill: rgba(9, 14, 32, 0.8); stroke: var(--line); }
.arch-svg .tenant.on { stroke: rgba(155, 225, 255, 0.5); }
.arch-svg .t-muted { fill: var(--muted); font-size: 12.5px; }
.arch-svg .t-text { fill: var(--text); font-size: 15px; font-weight: 500; }
.arch-svg .t-title { fill: var(--text); font-size: 16px; font-weight: 600; font-family: var(--display); }
.arch-svg .t-accent { fill: var(--ice); font-size: 12px; font-family: var(--mono); }
.arch-svg .t-mono { fill: var(--ice-2); font-size: 17px; font-family: var(--mono); font-weight: 500; }
.arch-svg .t-mono-sm { font-size: 13px; font-family: var(--mono); fill: var(--ice); }
.arch-svg .flow { fill: none; stroke: url(#ln); stroke-width: 1.5; stroke-dasharray: 5 7; stroke-linecap: round; animation: flow 2.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) { .arch-svg .flow { animation: none; stroke-dasharray: none; opacity: .8; } }
.arch-notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 6px; }
.arch-notes h3 { font-size: 18px; margin-bottom: 4px; }
.arch-notes p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .arch-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .arch-notes { grid-template-columns: 1fr; } }
.arch-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 700px) { .arch-svg { min-width: 700px; } }

/* standards: the index */
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.specs .cell { padding: 22px 22px 18px; }
.specs h3 { font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.specs h3 + h3 { margin-top: 26px; }
.specs h3 .n { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--ice); border: 1px solid rgba(155, 225, 255, 0.3); border-radius: 6px; padding: 1px 7px; }
.spec { list-style: none; margin: 0; padding: 0; }
.spec li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--text); }
.spec li:first-child { border-top: 0; }
.spec .lead { flex: 1; min-width: 12px; border-bottom: 1px dotted rgba(160, 180, 255, 0.35); transform: translateY(-4px); }
.spec .ref { font-family: var(--mono); font-size: 12.5px; color: var(--ice); white-space: nowrap; }
.spec .ref:empty { display: none; }
.spec-no { margin: 22px 0 0; padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(255, 156, 138, 0.25); background: rgba(255, 156, 138, 0.05); font-size: 14.5px; color: var(--muted); }
.spec-no strong { color: var(--text); display: block; margin-bottom: 8px; font-family: var(--display); font-size: 16px; }
.spec-no .out { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.spec-no .out span { font-family: var(--mono); font-size: 12.5px; color: #FFB3A5; text-decoration: line-through; text-decoration-color: rgba(255, 156, 138, 0.8); border: 1px solid rgba(255, 156, 138, 0.3); border-radius: 999px; padding: 3px 10px; }
.spec-no code { color: var(--ice-2); }
@media (max-width: 960px) { .specs { grid-template-columns: 1fr; } }

/* code */
.code-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.codeblock { border-radius: var(--radius); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(16, 24, 52, 0.9), rgba(9, 14, 32, 0.95)); box-shadow: 0 30px 80px -40px rgba(0,0,0,.9), 0 0 60px -30px rgba(108, 124, 255, 0.5); overflow: hidden; }
.codeblock-head { display: flex; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--muted); }
.codeblock-head .crate { color: var(--ice); }
.codeblock pre { padding: 20px 22px 24px; font-size: 13.5px; line-height: 1.7; color: var(--text); }
.codeblock .k { color: var(--peri-2); }
.codeblock .s { color: var(--ice-2); }
.codeblock .c { color: var(--dim); font-style: italic; }
.codeblock .f { color: var(--gold); }
.prose p { color: var(--muted); margin: 0 0 20px; font-size: 16px; }
.prose h3 { font-size: 18px; margin: 26px 0 10px; }
.checks { margin: 0 0 24px; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15.5px; margin-bottom: 8px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px var(--ice); }
.resp { display: grid; gap: 8px; margin-bottom: 22px; }
.resp div { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: baseline; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(14, 21, 48, 0.5); font-size: 14.5px; color: var(--muted); }
.resp b { font-family: var(--mono); font-size: 15px; }
.s401 { color: #FF9C8A; } .s403 { color: var(--gold); } .s200 { color: var(--ice); }
@media (max-width: 900px) { .code-grid { grid-template-columns: minmax(0, 1fr); } }

/* deploy */
.deploy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.deploy-grid .cell { display: grid; grid-template-rows: auto auto 1fr auto; }
.term { margin: 18px 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(7, 11, 24, 0.7); overflow: hidden; }
.term pre { padding: 14px 16px; font-size: 13.5px; line-height: 1.7; color: var(--text); }
.term-tag { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--dim); }
.term-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 8px var(--ice); }
.cell .more { margin: 0; font-size: 14.5px; }
@media (max-width: 760px) { .deploy-grid { grid-template-columns: 1fr; } }

.verify { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 14px; }
.verify .cell { padding-bottom: 26px; }
.chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 20px 0 18px; }
.chain div { position: relative; padding: 0 8px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.chain div b { display: block; font-family: var(--mono); font-weight: 500; font-size: 12.5px; color: var(--ice-2); margin-bottom: 4px; }
.chain div::before { content: ""; display: block; height: 2px; margin-bottom: 12px; border-radius: 2px; background: linear-gradient(90deg, var(--ice), rgba(155, 225, 255, 0.15)); box-shadow: 0 0 12px rgba(155, 225, 255, 0.5); }
.chain div:last-child::before { background: linear-gradient(90deg, var(--ice), #FFFFFF); }
.verify pre { padding: 20px 22px; font-size: 13.5px; line-height: 1.7; color: var(--text); }
.verify .cmd { color: var(--ice); }
.verify .v { color: var(--gold); }
@media (max-width: 900px) { .verify { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; } }

/* migrate */
.compare-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(20, 28, 58, 0.45), rgba(12, 18, 40, 0.7)); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 18px; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--muted); padding-top: 16px; padding-bottom: 12px; }
.compare tbody th { font-weight: 500; color: var(--muted); font-size: 14px; width: 130px; }
.compare td { color: var(--muted); }
.compare .us { color: var(--text); background: rgba(155, 225, 255, 0.05); }
.compare thead .us { color: var(--ice-2); box-shadow: inset 0 2px 0 var(--ice); }
.migrate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.migrate-grid ul { margin: 14px 0 18px; padding: 0; list-style: none; }
.migrate-grid li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.migrate-grid li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px var(--ice); }
@media (max-width: 760px) { .migrate-grid { grid-template-columns: 1fr; } }

/* closing + footer */
.closing { padding: 160px 0 110px; text-align: center; }
.closing h2 { margin-bottom: 28px; font-size: clamp(34px, 5vw, 60px); }
.closing .actions { justify-content: center; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 40px 0 48px; border-top: 1px solid var(--line); font-size: 14.5px; }
.foot .fine { margin: 14px 0 0; color: var(--dim); max-width: 36ch; }
.foot h3 { font-size: 14px; color: var(--text); margin: 6px 0 12px; font-family: var(--body); font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ice-2); }
@media (max-width: 800px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 420px) { .foot { grid-template-columns: 1fr; } }

/* 404 */
.notfound { padding: 120px 0 140px; }
.notfound > * { max-width: 640px; }
.notfound .code-line { font-family: var(--mono); color: var(--ice); margin: 0 0 16px; font-size: 14px; }
.notfound h1 { font-size: clamp(36px, 5vw, 56px); }
.notfound p { color: var(--muted); font-size: 17px; }
.notfound ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.notfound li a { display: block; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line); background: rgba(14, 21, 48, 0.5); color: var(--text); }
.notfound li a:hover { border-color: var(--line-2); text-decoration: none; color: var(--ice-2); }
