/* HostsEditor 主页样式：代码编辑器 / 终端风格。深色取 One Dark，浅色取 GitHub Light，点缀图标的深蓝到紫渐变 */
:root {
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", "PingFang TC", "Hiragino Sans GB", "Microsoft YaHei", "Microsoft JhengHei", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, "PingFang SC", monospace;
  --r: 12px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* 深色：One Dark */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1e2127;
  --bg-2: #21252b;
  --panel: #282c34;
  --panel-2: #2c313a;
  --line: #3a404b;
  --line-2: #323842;
  --fg: #c3c9d4;
  --fg-strong: #eceff4;
  --muted: #8f97a5;
  --cm: #7f848e;
  --kw: #c678dd;
  --fn: #61afef;
  --str: #98c379;
  --num: #d19a66;
  --red: #e06c75;
  --cyan: #56b6c2;
  --ip: #61afef;
  --host: #98c379;
  --sel: rgba(97, 175, 239, .16);
  --gutter: #4b5263;
  --add: rgba(152, 195, 121, .13);
  --del: rgba(224, 108, 117, .15);
  --g1: #61afef;
  --g2: #c678dd;
  --btn-fg: #0f1320;
  --glow-a: rgba(64, 98, 220, .28);
  --glow-b: rgba(150, 82, 220, .18);
  --shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .04);
}

/* 浅色：GitHub Light */
[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f6f8fa;
  --panel: #ffffff;
  --panel-2: #f6f8fa;
  --line: #d0d7de;
  --line-2: #e4e8ec;
  --fg: #24292f;
  --fg-strong: #1f2328;
  --muted: #57606a;
  --cm: #6e7781;
  --kw: #8250df;
  --fn: #0550ae;
  --str: #116329;
  --num: #953800;
  --red: #cf222e;
  --cyan: #1b7c83;
  --ip: #0550ae;
  --host: #116329;
  --sel: rgba(9, 105, 218, .1);
  --gutter: #8c959f;
  --add: rgba(46, 160, 67, .12);
  --del: rgba(207, 34, 46, .1);
  --g1: #1f4fd1;
  --g2: #8250df;
  --btn-fg: #ffffff;
  --glow-a: rgba(31, 79, 209, .10);
  --glow-b: rgba(130, 80, 223, .08);
  --shadow: 0 24px 60px rgba(31, 35, 40, .14), 0 0 0 1px rgba(31, 35, 40, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: 26px;
}
/* 顶部辉光：图标的深蓝到紫 */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 900px;
  pointer-events: none;
  background:
    radial-gradient(700px 420px at 78% 12%, var(--glow-b), transparent 65%),
    radial-gradient(900px 520px at 15% -5%, var(--glow-a), transparent 65%);
  z-index: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fn); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
code { font-family: var(--mono); font-size: .9em; padding: .1em .4em; border-radius: 5px; background: var(--sel); color: var(--fg-strong); }
.mono { font-family: var(--mono); }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; position: relative; z-index: 1; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--panel); padding: 6px 12px; border-radius: 6px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--fn); outline-offset: 2px; border-radius: 4px; }

/* 语法色 */
.c-cm { color: var(--cm); font-style: italic; }
.c-kw { color: var(--kw); }
.c-fn { color: var(--fn); }
.c-op { color: var(--cyan); }
.grad {
  background: linear-gradient(100deg, var(--g1), var(--g2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 页头 */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.top-in { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg-strong); font-weight: 650; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { color: var(--muted); font-size: 14px; padding: 6px 10px; border-radius: 6px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--fg-strong); background: var(--sel); text-decoration: none; }
.tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.seg { display: inline-flex; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); }
.seg button {
  font: 600 12px/1 var(--mono); color: var(--muted); background: none; border: 0; cursor: pointer;
  min-width: 30px; height: 26px; padding: 0 7px; border-radius: 6px; display: inline-grid; place-items: center;
  transition: color .2s, background-color .2s;
}
.seg button:hover { color: var(--fg-strong); }
.seg button[aria-pressed="true"] { background: var(--panel); color: var(--fg-strong); box-shadow: 0 1px 2px rgba(0, 0, 0, .18), inset 0 0 0 1px var(--line); }
.seg svg, .gh svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gh { color: var(--muted); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; transition: color .2s, transform .2s var(--ease); }
.gh svg { fill: currentColor; stroke: none; width: 19px; height: 19px; }
.gh:hover { color: var(--fg-strong); transform: translateY(-1px); }

/* 首屏 */
.hero { padding: 64px 0 40px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.eyebrow { font-size: 13px; margin: 0 0 14px; color: var(--muted); }
.hero-title { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 18px; color: var(--fg-strong); font-weight: 760; }
.hero-title .grad { display: inline-block; }
.lead { font-size: 17px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cta.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 10px;
  text-decoration: none !important; transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .2s;
  line-height: 1.2;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn span { display: flex; flex-direction: column; }
.btn b { font-size: 15px; font-weight: 650; }
.btn small { font-size: 11.5px; opacity: .78; margin-top: 2px; }
.btn-pri { color: var(--btn-fg); background: linear-gradient(110deg, var(--g1), var(--g2)); box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--g2) 60%, transparent); }
.btn-sec { color: var(--fg-strong); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.btn:hover { transform: translateY(-2px); }
.btn-pri:hover { box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--g2) 70%, transparent); }
.req { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; }
.req .ver { color: var(--num); }

/* 编辑器窗口 */
.hero-demo { min-width: 0; }
.ide {
  background: var(--panel); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden;
  border: 1px solid var(--line-2);
}
.ide-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; background: var(--bg-2); border-bottom: 1px solid var(--line-2); }
.lights { display: inline-flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.ide-title { font-size: 12.5px; color: var(--muted); }
.ide-badge { margin-left: auto; font-size: 11px; color: var(--muted); padding: 2px 8px; border-radius: 99px; background: var(--sel); opacity: 0; transition: opacity .3s; }
.ide-badge.on { opacity: 1; }
.ide-body { display: grid; grid-template-columns: 172px minmax(0, 1fr); height: 448px; }
.side { background: var(--bg-2); border-right: 1px solid var(--line-2); padding: 10px 8px; overflow: auto; }
.side-h { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 12px 8px 4px; }
.row {
  width: 100%; display: flex; align-items: center; gap: 8px; padding: 5px 8px; border: 0; border-radius: 6px;
  background: none; color: var(--fg); font: 13px/1.3 var(--sans); cursor: pointer; text-align: left;
  transition: background-color .15s;
}
.row:hover { background: var(--sel); }
.row.is-sel { background: linear-gradient(100deg, color-mix(in srgb, var(--g1) 85%, #000 0%), var(--g2)); color: #fff; }
.row .ico { width: 16px; text-align: center; font-size: 11px; opacity: .8; }
.pf { display: flex; align-items: center; border-radius: 6px; }
.pf .row { flex: 1; min-width: 0; padding-left: 4px; }
.pf .row span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ck {
  flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; padding: 0;
}
.ck i {
  width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--gutter); display: grid; place-items: center;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.ck i::after {
  content: ""; width: 8px; height: 4.5px; border: solid #fff; border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .22s var(--ease);
}
.ck[aria-checked="true"] i { background: linear-gradient(135deg, var(--g1), var(--g2)); border-color: transparent; }
.ck[aria-checked="true"] i::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.ck:hover i { transform: scale(1.1); }
.ck:active i { transform: scale(.9); }
.cloud { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--cyan); stroke-width: 1.4; stroke-linejoin: round; margin-right: -2px; }
.row.is-sel .cloud { stroke: #fff; }

.code-wrap { overflow: auto; position: relative; background: var(--panel); }
.code { font-size: 12.5px; line-height: 20px; padding: 10px 0 24px; counter-reset: ln; min-width: max-content; }
.l { position: relative; display: flex; white-space: pre; padding-right: 20px; min-height: 20px; }
.l::before {
  counter-increment: ln; content: counter(ln); width: 44px; flex: none; text-align: right; padding-right: 16px;
  color: var(--gutter); user-select: none;
}
.l::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .9s;
}
.code .l { z-index: 0; }
.l .m { position: absolute; left: 4px; width: 12px; color: transparent; user-select: none; }
.l.add::after { background: var(--add); opacity: 1; transition: none; }
.l.add .m { color: var(--str); }
.l.fade::after { background: var(--add); opacity: 0; }
.l.del::after { background: var(--del); opacity: 1; transition: none; }
.l.del .m { color: var(--red); }
.l.del .t { opacity: .55; }
.l.gone { opacity: 0; transition: opacity .35s; }
.t { color: var(--fg); }
.tk-cm { color: var(--cm); font-style: italic; }
.tk-mk { color: var(--kw); font-style: normal; }
.tk-id { color: var(--num); font-style: normal; }
.tk-ip { color: var(--ip); }
.tk-h { color: var(--host); }
.tk-blk { color: var(--num); }
.caret {
  display: inline-block; width: 2px; height: 16px; margin-left: 1px; vertical-align: -3px;
  background: var(--fn); animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.code.fadein { animation: codein .28s var(--ease); }
@keyframes codein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.ide-status {
  display: flex; align-items: center; gap: 12px; height: 26px; padding: 0 12px; font-size: 11px;
  background: linear-gradient(100deg, var(--g1), var(--g2)); color: #fff;
}
.ide-status .st-r { margin-left: auto; opacity: .85; white-space: nowrap; }
.toast { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.toast.on { opacity: 1; transform: none; }
.demo-hint { font-size: 12px; color: var(--muted); margin: 14px 2px 0; }

/* 通用区块 */
.sec { padding: 96px 0 40px; }
.sec-h { max-width: 760px; margin-bottom: 40px; }
.sec-h .ln { color: var(--gutter); margin-right: 14px; }
.sec h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 12px; color: var(--fg-strong); font-weight: 720; }
.sub { color: var(--muted); margin: 0; font-size: 16.5px; }

.grid.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 20px 22px 22px;
  transition: transform .3s var(--ease), border-color .3s;
  --mx: 50%; --my: 0%;
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px 160px at var(--mx) var(--my), color-mix(in srgb, var(--g1) 16%, transparent), transparent 70%);
}
.card:hover { transform: translateY(-3px); border-color: var(--line); }
.card:hover::before { opacity: 1; }
.flag { font-size: 12.5px; color: var(--kw); margin: 0 0 10px; }
.card h3 { font-size: 17px; margin: 0 0 6px; color: var(--fg-strong); font-weight: 650; }
.card p:last-child { margin: 0; color: var(--muted); font-size: 14.5px; }
.also { font-size: 13px; margin: 22px 0 0; }

/* 工作方式 */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.panel { background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.panel-h { font-size: 12px; color: var(--muted); padding: 10px 16px; border-bottom: 1px solid var(--line-2); background: var(--bg-2); }
.snippet { margin: 0; padding: 14px 16px; font-size: 12.5px; line-height: 1.7; overflow-x: auto; background: var(--panel); border-bottom: 1px solid var(--line-2); }
.terms { margin: 0; padding: 8px 16px 14px; }
.terms > div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); }
.terms > div:last-child { border-bottom: 0; }
.terms dt { color: var(--fn); font-size: 13px; }
.terms dd { margin: 0; font-size: 14px; color: var(--muted); }
.log { list-style: none; margin: 0; padding: 14px 16px; font-size: 12.5px; line-height: 1.6; background: var(--panel); border-bottom: 1px solid var(--line-2); }
.log li { display: flex; gap: 10px; padding: 2px 0; }
.tag { flex: none; width: 46px; color: var(--cyan); }
.tag::before { content: "["; color: var(--gutter); }
.tag::after { content: "]"; color: var(--gutter); }
.tag.xpc { color: var(--num); }
.tag.root { color: var(--red); }
.tag.ok, .log li.ok span:last-child { color: var(--str); }
/* 日志逐行出现：只动 opacity / transform */
.js .log li { opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .35s var(--ease); }
.js .log.play li { opacity: 1; transform: none; }
.sec-notes { margin: 0; padding: 12px 16px 16px 34px; font-size: 14px; color: var(--muted); }
.sec-notes li { margin: 4px 0; }

/* 截图 */
.shot { margin: 0 auto; max-width: 1040px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: #1e1e1e; }

/* 快捷键 */
.keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; max-width: 920px; }
.key-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.kc { flex: none; min-width: 168px; display: inline-flex; align-items: center; gap: 4px; }
.kc i { font-style: normal; color: var(--gutter); margin: 0 4px; }
kbd {
  font: 600 12px/1 var(--mono); min-width: 24px; height: 24px; padding: 0 6px; display: inline-grid; place-items: center;
  border-radius: 6px; color: var(--fg-strong); background: var(--panel); border: 1px solid var(--line); box-shadow: 0 2px 0 var(--line);
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.steps { list-style: none; counter-reset: st; margin: 0; padding: 0; }
.steps li { counter-increment: st; position: relative; padding: 0 0 18px 44px; color: var(--fg); font-size: 15px; }
.steps li::before {
  content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 0; font: 600 12px/26px var(--mono);
  width: 30px; height: 26px; text-align: center; border-radius: 6px; color: var(--kw); background: var(--sel);
}
.qa details { border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel-2); margin-bottom: 10px; }
.qa summary { cursor: pointer; padding: 14px 16px; font-weight: 600; color: var(--fg-strong); list-style: none; display: flex; gap: 10px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: ">"; flex: none; align-self: flex-start; width: 1em; height: 1.6em; line-height: 1.6em; text-align: center; font-family: var(--mono); color: var(--kw); transition: transform .2s var(--ease); display: inline-block; }
.qa details[open] summary::before { transform: rotate(90deg); }
.qa details p { margin: 0 16px 12px; color: var(--muted); font-size: 14.5px; }
.cmd { position: relative; margin: 0 16px 12px; }
.cmd pre { margin: 0; padding: 36px 14px 12px; font-size: 12px; line-height: 1.7; background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; overflow-x: auto; color: var(--fg); }
.copy {
  position: absolute; top: 6px; right: 6px; font-size: 11px; padding: 4px 8px; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--muted); transition: color .2s;
}
.copy:hover { color: var(--fg-strong); }

/* 下载 */
.dl { padding-bottom: 96px; }
.dl-box {
  text-align: center; padding: 48px 24px; border-radius: 18px; border: 1px solid var(--line-2);
  background:
    radial-gradient(500px 220px at 50% 0%, var(--glow-a), transparent 70%),
    var(--panel-2);
}
.dl-box img { margin: 0 auto 16px; width: 96px; height: 96px; }
.dl-box .sub { max-width: 620px; margin: 0 auto 24px; }

/* 页脚 */
.foot { border-top: 1px solid var(--line-2); padding: 28px 0 36px; font-size: 14px; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--fg-strong); font-weight: 600; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--fg-strong); }
.copy-r { margin: 0 0 0 auto; color: var(--muted); font-size: 12.5px; }

/* 底部状态栏：模仿编辑器 */
.statusbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: 24px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px; font-size: 11px; color: var(--muted); background: var(--bg-2); border-top: 1px solid var(--line-2);
}
.sb-l, .sb-r { display: flex; gap: 14px; align-items: center; }
.sb-brand { color: #fff; background: linear-gradient(100deg, var(--g1), var(--g2)); padding: 0 8px; margin-left: -12px; height: 24px; display: inline-flex; align-items: center; }

/* 滚动渐入 */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* 响应式 */
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero { padding-top: 44px; }
  .grid.feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .nav { display: none; }
}
@media (max-width: 760px) {
  body { padding-bottom: 0; }
  .statusbar { display: none; }
  .wrap { width: calc(100% - 32px); }
  .top-in { height: 56px; gap: 10px; }
  .brand { gap: 8px; font-size: 15px; }
  .brand img { width: 28px; height: 28px; }
  .tools { gap: 4px; }
  .seg button { min-width: 24px; height: 26px; padding: 0 3px; }
  .gh { width: 28px; }
  .hero-title { font-size: 34px; }
  .lead { font-size: 16px; }
  .cta .btn { flex: 1 1 150px; }
  .ide-body { grid-template-columns: 1fr; height: auto; }
  .side { display: flex; gap: 4px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line-2); padding: 8px; scrollbar-width: none; }
  .side::-webkit-scrollbar { display: none; }
  .side-h { display: none; }
  .side > div { display: contents; }
  .row, .pf { flex: none; width: auto; }
  .row.sys { padding: 5px 10px; }
  .pf { background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); padding-right: 4px; }
  .pf .row { padding: 5px 6px 5px 0; }
  .pf .row:hover { background: none; }
  .code-wrap { height: 340px; }
  .code { font-size: 11.5px; line-height: 18px; }
  .l { min-height: 18px; }
  .l::before { width: 34px; padding-right: 10px; }
  .ide-status .st-r { display: none; }
  .grid.feats, .keys { grid-template-columns: minmax(0, 1fr); }
  .key-row { flex-wrap: wrap; gap: 8px 16px; }
  .kc { min-width: 132px; }
  .sec { padding-top: 72px; }
  .terms > div { grid-template-columns: 76px 1fr; }
  .copy-r { margin-left: 0; width: 100%; }
}
@media (max-width: 350px) {
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .log li { opacity: 1; transform: none; }
}
