:root {
  --bg: #F4EEE4;
  --bg-2: #EDE5D7;
  --card: #FBF8F2;
  --ink: #16130F;
  --ink-2: #4A433A;
  --muted: #8C8273;
  --line: #DCD1BF;
  --ember: #E2541C;
  --ember-soft: rgba(226, 84, 28, .12);
  --shadow: 0 1px 0 rgba(22,19,15,.04), 0 24px 60px -30px rgba(22,19,15,.25);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F0D0B; --bg-2: #16130F; --card: #1A1612; --ink: #F2EBDF; --ink-2: #C7BCAB;
    --muted: #8A7F70; --line: #2C2620; --ember: #F06A33; --ember-soft: rgba(240,106,51,.14);
    --shadow: 0 1px 0 rgba(0,0,0,.3), 0 30px 70px -30px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F0D0B; --bg-2: #16130F; --card: #1A1612; --ink: #F2EBDF; --ink-2: #C7BCAB;
  --muted: #8A7F70; --line: #2C2620; --ember: #F06A33; --ember-soft: rgba(240,106,51,.14);
  --shadow: 0 1px 0 rgba(0,0,0,.3), 0 30px 70px -30px rgba(0,0,0,.8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}
::selection { background: var(--ember); color: #fff; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.dot { color: var(--ember); }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] .grain { mix-blend-mode: screen; opacity: .04; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .grain { mix-blend-mode: screen; opacity: .04; } }

.label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); margin: 0;
}

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .4s var(--ease), border-color .4s, padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-color: var(--line); padding-top: 12px; padding-bottom: 12px;
}
.logo { font-family: var(--serif); font-size: 30px; line-height: 1; text-decoration: none; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  text-decoration: none; font-size: 14px; color: var(--ink-2); position: relative; padding: 4px 0;
  transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ember);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  display: grid; place-items: center; transition: border-color .3s, transform .5s var(--ease);
}
.theme-toggle:hover { border-color: var(--ink); transform: rotate(25deg); }
.theme-toggle svg { width: 18px; height: 18px; grid-area: 1 / 1; transition: opacity .3s, transform .5s var(--ease); }
.theme-toggle .i-moon { opacity: 0; transform: scale(.6); }
:root[data-theme="dark"] .theme-toggle .i-sun { opacity: 0; transform: scale(.6); }
:root[data-theme="dark"] .theme-toggle .i-moon { opacity: 1; transform: none; }

/* HERO */
.hero {
  min-height: 100vh; padding: 130px var(--gutter) 60px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 45% at 50% 30%, var(--ember-soft), transparent 70%);
}
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow .rule { width: 40px; height: 1px; background: var(--line); }

.hero-stage { height: clamp(120px, 22vw, 290px); display: flex; align-items: center; justify-content: center; width: 100%; }
.hero-word {
  font-family: var(--serif); font-size: clamp(76px, 17vw, 250px); line-height: .9; letter-spacing: -.035em;
  display: inline-flex; align-items: baseline; white-space: nowrap; position: relative;
  transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s var(--ease);
}
.hero-word.out { opacity: 0; transform: translateY(-14px); filter: blur(8px); }
.hero-word.in-start { opacity: 0; transform: translateY(18px); filter: blur(8px); transition: none; }
.hero-word .keep { display: inline-block; }
.hero-word .slice {
  display: inline-block; width: 2px; align-self: stretch; margin: 0 .04em; background: var(--ember);
  transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease);
}
.hero-word .cut {
  display: inline-block; font-style: italic; color: var(--ink);
  transition: color .5s var(--ease), transform 1.1s var(--ease), opacity 1.1s var(--ease);
}
.hero-word.sliced .slice { transform: scaleY(1.08); }
.hero-word.sliced .cut { color: var(--ember); }
.hero-word.dropped .cut { transform: translate(.18em, .45em) rotate(7deg); opacity: 0; }
.hero-word.dropped .slice { transform: scaleY(0); transform-origin: bottom; }

.hero-title {
  font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 64px); line-height: 1.02;
  letter-spacing: -.02em; margin: 26px 0 0;
}
.hero-title em { color: var(--ember); }
.hero-sub { max-width: 560px; color: var(--ink-2); font-size: 17px; margin: 18px auto 0; }
.hero-sub b { font-weight: 500; color: var(--ink); font-family: var(--serif); font-size: 1.2em; font-style: italic; }

.lookup {
  margin-top: 40px; width: min(640px, 100%); position: relative;
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 22px;
  box-shadow: var(--shadow); transition: border-color .3s, box-shadow .3s;
}
.lookup:focus-within { border-color: var(--ink); }
.lookup-icon { width: 20px; height: 20px; color: var(--muted); flex: none; }
.lookup input {
  flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 19px; padding: 12px 6px;
}
.lookup input::placeholder { color: var(--muted); }
.lookup-btn {
  display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--bg); padding: 14px 22px; font-weight: 500; font-size: 15px;
  transition: background .3s, transform .3s var(--ease);
}
.lookup-btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.lookup-btn:hover { background: var(--ember); color: #fff; }
.lookup-btn:hover svg { transform: translateX(3px); }

.try { margin-top: 18px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; align-items: center; }
.try button {
  border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 5px 12px;
  font-size: 13px; color: var(--ink-2); transition: all .25s;
}
.try button:hover { border-color: var(--ink); color: var(--ink); }

/* RESULT */
.result { width: min(820px, 100%); margin-top: 34px; }
.result-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 44px); text-align: left; position: relative; overflow: hidden;
  animation: rise .7s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.result-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-2);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.badge.official::before { background: var(--ember); }
.badge.coined::before { background: transparent; border: 1px solid var(--ember); }
.copy-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: transparent;
  border-radius: 999px; padding: 7px 14px; font-size: 13px; color: var(--ink-2); transition: all .25s;
}
.copy-btn svg, .ghost svg { width: 15px; height: 15px; }
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
.result-main { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: end; margin-top: 18px; }
.result-short {
  font-family: var(--serif); font-size: clamp(72px, 13vw, 150px); line-height: .9; letter-spacing: -.035em; margin: 0;
  overflow-wrap: anywhere;
}
.result-short .p { color: var(--ember); }
.result-info { padding-bottom: 12px; display: grid; gap: 10px; }
.from { font-family: var(--mono); font-size: 15px; margin: 0; color: var(--ink-2); }
.from .k { color: var(--ink); }
.from .c { color: var(--ember); text-decoration: line-through; text-decoration-thickness: 1px; opacity: .8; }
.said { font-family: var(--mono); font-size: 13px; color: var(--muted); margin: 0; }
.meaning { margin: 0; font-size: 17px; }
.example { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink-2); line-height: 1.2; }
.alts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--muted); margin-top: 6px; }
.alts span.chip { font-family: var(--serif); font-size: 19px; color: var(--ink); border-bottom: 1px solid var(--line); padding: 0 2px; }
.whole-word { font-family: var(--serif); font-size: clamp(72px, 13vw, 150px); line-height: .9; margin: 0; letter-spacing: -.035em; }
.whole-note { font-size: 17px; color: var(--ink-2); max-width: 460px; margin: 0; }

/* MARQUEE */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden;
  padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: scroll 90s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--serif); font-size: clamp(30px, 4vw, 48px); white-space: nowrap; padding: 0 28px;
  display: inline-flex; align-items: baseline; gap: 28px;
}
.marquee-item i { color: var(--muted); font-size: .55em; font-style: normal; font-family: var(--mono); letter-spacing: .05em; }
.marquee-item::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); align-self: center; margin-left: 28px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* SECTIONS */
.section { padding: clamp(80px, 12vw, 160px) var(--gutter) 0; max-width: 1320px; margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 8vw, 112px); line-height: .92;
  letter-spacing: -.03em; margin: 18px 0 0;
}
.section-sub { color: var(--ink-2); font-size: 18px; margin: 22px 0 0; max-width: 560px; }

/* WORD OF THE DAY */
.wotd-card {
  background: var(--ink); color: var(--bg); border-radius: 32px; padding: clamp(28px, 5vw, 64px);
  position: relative; overflow: hidden;
}
.wotd-card::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,84,28,.45), transparent 65%); pointer-events: none;
}
.wotd-card .label { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.wotd-meta { display: flex; justify-content: space-between; gap: 16px; position: relative; z-index: 1; }
.wotd-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-top: 40px; position: relative; z-index: 1; }
.wotd-word { font-family: var(--serif); font-size: clamp(88px, 15vw, 220px); line-height: .85; letter-spacing: -.04em; margin: 0; overflow-wrap: anywhere; }
.wotd-word .p { color: var(--ember); }
.wotd-detail { display: grid; gap: 14px; padding-bottom: 14px; }
.wotd-detail p { margin: 0; }
.wotd-from { font-family: var(--mono); font-size: 15px; }
.wotd-from .c { color: var(--ember); text-decoration: line-through; text-decoration-thickness: 1px; }
.wotd-said { font-family: var(--mono); font-size: 13px; color: color-mix(in srgb, var(--bg) 60%, transparent); }
.wotd-meaning { font-size: 18px; }
.wotd-example { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.15; color: color-mix(in srgb, var(--bg) 82%, transparent); }

/* DICTIONARY */
.dict-tools { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.filter {
  flex: 1 1 320px; max-width: 460px; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--ink); padding: 10px 2px;
}
.filter svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.filter input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 17px; }
.filter input::placeholder { color: var(--muted); }
.pos-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.pos-filter button {
  border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 7px 14px;
  font-size: 13px; color: var(--ink-2); transition: all .25s;
}
.pos-filter button:hover { border-color: var(--ink); color: var(--ink); }
.pos-filter button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.az {
  position: sticky; top: 64px; z-index: 10; display: flex; gap: 2px; flex-wrap: wrap;
  padding: 12px 0; margin-bottom: 18px; background: var(--bg); border-bottom: 1px solid var(--line);
  transition: background .5s var(--ease);
}
.az a, .az span {
  font-family: var(--mono); font-size: 12px; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 8px; text-decoration: none;
}
.az a { color: var(--ink); transition: background .2s, color .2s; }
.az a:hover { background: var(--ink); color: var(--bg); }
.az span { color: var(--line); }

.letter-group { display: grid; grid-template-columns: 120px 1fr; border-top: 1px solid var(--line); }
.letter-group:first-child { border-top: 0; }
.letter {
  font-family: var(--serif); font-size: 72px; line-height: 1; padding-top: 22px; color: var(--ember);
  position: sticky; top: 120px; align-self: start;
}
.group-entries { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.entry {
  padding: 28px 24px 30px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative; cursor: pointer; transition: background .35s var(--ease);
  outline: none;
}
.entry:hover, .entry:focus-visible { background: var(--card); }
.entry-head { display: flex; align-items: baseline; gap: 12px; }
.entry-short { font-family: var(--serif); font-size: 46px; line-height: 1; letter-spacing: -.02em; margin: 0; }
.entry-pos { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 18px; }
.entry-from { font-family: var(--mono); font-size: 13px; margin: 12px 0 0; color: var(--ink-2); }
.entry-from .c { color: var(--ember); text-decoration: line-through; text-decoration-thickness: 1px; opacity: .85; }
.entry-from .resp { color: var(--muted); }
.entry-said { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; margin: 4px 0 0; }
.entry-meaning { margin: 14px 0 0; font-size: 15px; }
.entry-example { margin: 8px 0 0; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink-2); line-height: 1.25; }
.entry-copy {
  position: absolute; top: 22px; right: 18px; opacity: 0; transform: translateY(4px);
  transition: opacity .3s, transform .3s var(--ease); color: var(--muted);
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
}
.entry:hover .entry-copy, .entry:focus-visible .entry-copy { opacity: 1; transform: none; }
.empty { color: var(--ink-2); font-size: 17px; padding: 40px 0; }

/* RULES */
.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-row {
  display: grid; grid-template-columns: 120px 1.1fr 1fr; gap: 32px; align-items: center;
  padding: 40px 0; border-top: 1px solid var(--line);
}
.rule-row:last-child { border-bottom: 1px solid var(--line); }
.rule-num { font-family: var(--mono); font-size: 13px; color: var(--ember); letter-spacing: .1em; }
.rule-text h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 48px); line-height: 1; margin: 0; letter-spacing: -.015em; }
.rule-text p { margin: 12px 0 0; color: var(--ink-2); max-width: 420px; }
.rule-ex { display: grid; gap: 10px; }
.rule-ex p { margin: 0; font-family: var(--serif); font-size: 28px; line-height: 1.3; }
.rule-ex s { color: var(--ember); text-decoration-thickness: 1px; opacity: .8; }
.rule-ex .arrow { color: var(--muted); font-size: .7em; }
.rule-ex .tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  display: inline-block; vertical-align: middle; margin: -4px 14px 0 0;
  width: 44px; text-align: center; padding: 4px 0; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2);
}
.rule-ex .yes .tag { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.rule-ex .no { color: var(--muted); }
.rule-ex .no s { color: var(--muted); }

/* SPEAK */
.speak-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.speak-pane {
  background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 24px 28px 30px;
  display: flex; flex-direction: column; min-height: 300px;
}
.speak-pane.out { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.speak-pane.out .label { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.pane-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ghost {
  display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 12px; font-size: 12px; color: inherit; opacity: .8; transition: opacity .25s, border-color .25s;
}
.speak-pane.out .ghost { border-color: color-mix(in srgb, var(--bg) 25%, transparent); }
.ghost:hover { opacity: 1; border-color: currentColor; }
.speak-pane textarea {
  flex: 1; resize: none; background: none; border: 0; outline: 0;
  font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25;
}
.speak-output { flex: 1; margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; overflow-wrap: anywhere; }
.speak-output mark {
  background: none; color: var(--ember); position: relative; cursor: help;
  border-bottom: 1px solid currentColor;
}
.speak-output mark.coined { border-bottom-style: dashed; }
.speak-stats { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin: 18px 0 0; color: color-mix(in srgb, var(--bg) 55%, transparent); }

/* FOOTER */
.footer { padding: clamp(100px, 14vw, 180px) var(--gutter) 40px; max-width: 1320px; margin: 0 auto; }
.footer-mark {
  font-family: var(--serif); font-size: clamp(96px, 22vw, 330px); line-height: .8; letter-spacing: -.05em; margin: 0;
  border-bottom: 1px solid var(--line); padding-bottom: 30px;
}
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 14px; color: var(--ink-2); }
.footer-row p { margin: 0; }

/* TOAST */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-size: 14px;
  transition: opacity .35s, transform .45s var(--ease); pointer-events: none; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.seen { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .wotd-body { grid-template-columns: 1fr; }
  .rule-row { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .speak-grid { grid-template-columns: 1fr; }
  .letter-group { grid-template-columns: 1fr; }
  .letter { position: static; font-size: 56px; padding: 26px 0 8px; }
  .entry { border-left: 0; padding-left: 0; padding-right: 0; }
  .entry:hover { background: transparent; }
  .entry-copy { opacity: 1; transform: none; right: 0; }
}
@media (max-width: 600px) {
  .lookup { padding-left: 16px; }
  .lookup input { font-size: 17px; padding: 10px 4px; }
  .lookup-btn { padding: 12px 16px; }
  .lookup-btn span { display: none; }
  .result-main { grid-template-columns: 1fr; gap: 14px; }
  .az { top: 58px; }
  .az a, .az span { width: 25px; height: 26px; font-size: 11px; }
  .group-entries { grid-template-columns: 1fr; }
  .rule-ex p { font-size: 23px; }
  .hero { padding-top: 110px; }
  .eyebrow span:not(:last-child) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
