/* ============================================================
   AutoBlogLab — main stylesheet
   Palette: "Litmus" — lab paper, litmus crimson, titration blue
   Type: Familjen Grotesk (display) / Inter (body) / Space Mono (labels)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --paper: #f8f6f1;
  --paper-2: #f1eee6;
  --ink: #17131f;
  --ink-soft: #4b4556;
  --ink-faint: #857e92;
  --line: #e3dfd4;
  --grid-line: rgba(39, 67, 207, 0.07);
  --crimson: #d5244a;
  --crimson-deep: #a91437;
  --crimson-soft: #fbe8ec;
  --blue: #2743cf;
  --blue-deep: #1b2f96;
  --blue-soft: #e8ebfb;
  --green: #178a5b;
  --green-soft: #e2f3ea;
  --amber: #b97f10;
  --amber-soft: #faf1dc;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(23, 19, 31, 0.05), 0 12px 32px -12px rgba(23, 19, 31, 0.14);
  --shadow-lg: 0 2px 4px rgba(23, 19, 31, 0.06), 0 24px 56px -16px rgba(23, 19, 31, 0.22);
  --radius: 12px;
  --radius-lg: 18px;
  --font-display: "Familjen Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;
  --container: 1180px;
  --header-h: 68px;
}

/* Dark theme overrides */
[data-theme="dark"] {
  --paper: #14111b;
  --paper-2: #1b1725;
  --ink: #f1eef7;
  --ink-soft: #b7b0c4;
  --ink-faint: #776f86;
  --line: #2b2536;
  --grid-line: rgba(120, 140, 255, 0.06);
  --crimson: #ff5c7c;
  --crimson-deep: #ff8ba1;
  --crimson-soft: #33121c;
  --blue: #7c8fff;
  --blue-deep: #a5b2ff;
  --blue-soft: #1a1f3d;
  --green: #4cd598;
  --green-soft: #10291e;
  --amber: #e8b45a;
  --amber-soft: #2c2211;
  --card: #1d1926;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -12px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.45), 0 24px 56px -16px rgba(0, 0, 0, 0.65);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  z-index: 300;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.section {
  padding: clamp(56px, 9vw, 108px) 0;
}

.section--tight {
  padding: clamp(40px, 6vw, 72px) 0;
}

/* Graph-paper texture band */
.grid-band {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Mono eyebrow label */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--crimson);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.lead {
  font-size: 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
  line-height: 1.2;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--crimson);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--crimson-deep);
  box-shadow: 0 10px 24px -8px rgba(213, 36, 74, 0.55);
}

[data-theme="dark"] .btn--primary {
  color: #1b0710;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  box-shadow: 0 10px 24px -8px rgba(23, 19, 31, 0.5);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.btn--lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 9px 16px;
}

[data-theme="dark"] .announce {
  background: var(--blue-soft);
  color: var(--ink);
}

.announce a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex: none;
}

.logo .tld {
  color: var(--crimson);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > a,
.nav-dd > button {
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 13px;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.main-nav > a:hover,
.nav-dd > button:hover {
  color: var(--ink);
  background: var(--paper-2);
  text-decoration: none;
}

.main-nav > a[aria-current="page"] {
  color: var(--crimson);
}

.nav-dd {
  position: relative;
}

.nav-dd .caret {
  transition: transform 0.15s ease;
}

.nav-dd[data-open="true"] .caret {
  transform: rotate(180deg);
}

.dd-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
}

.nav-dd[data-open="true"] .dd-panel {
  display: block;
}

.dd-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.92rem;
}

.dd-panel a:hover {
  background: var(--paper-2);
  text-decoration: none;
}

.dd-panel a small {
  display: block;
  color: var(--ink-faint);
  font-size: 0.78rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-soft);
}

.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid color-mix(in srgb, var(--blue) 30%, transparent);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--crimson);
  position: relative;
  white-space: nowrap;
}

.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.14em;
  background: var(--crimson-soft);
  z-index: -1;
}

.hero .lead {
  max-width: 520px;
  font-size: 1.13rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 18px;
}

.hero-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-faint);
}

/* ---------- The Bench (signature hero panel) ---------- */
.bench {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.bench-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.bench-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.bench-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bench-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.bench-body {
  padding: 18px;
}

.bench-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.bench-input-row input {
  flex: 1;
  min-width: 0;
}

.sample {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 10px;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sample:last-child {
  margin-bottom: 0;
}

.sample-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.sample-id {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 2px 8px;
  border-radius: 6px;
}

.sample-angle {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
}

.sample-score {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-faint);
  min-width: 52px;
  text-align: right;
}

.sample-bar {
  height: 6px;
  background: var(--paper-2);
  border-radius: 999px;
  overflow: hidden;
}

.sample-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--crimson));
  border-radius: 999px;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.sample.is-winner {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}

.sample .winner-tag {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--green);
  color: #fff;
  padding: 3px 9px;
  border-radius: 999px;
}

.sample.is-winner .winner-tag {
  display: inline-block;
}

.sample.is-winner .sample-score {
  color: var(--green);
}

.bench-foot {
  padding: 12px 18px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-faint);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

/* ---------- Works-with strip ---------- */
.works-strip {
  border-block: 1px solid var(--line);
  padding: 22px 0;
}

.works-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.works-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.works-logos {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: center;
}

.works-logos span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-faint);
  opacity: 0.85;
}

/* ---------- Stats "lab report" band ---------- */
.stats-band {
  background: var(--ink);
  color: var(--paper);
}

[data-theme="dark"] .stats-band {
  background: var(--paper-2);
  color: var(--ink);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}

[data-theme="dark"] .stats-grid {
  background: var(--line);
  border-color: var(--line);
}

.stat-cell {
  background: var(--ink);
  padding: 26px 22px;
}

[data-theme="dark"] .stat-cell {
  background: var(--paper-2);
}

.stat-cell .num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: #ff7d97;
}

[data-theme="dark"] .stat-cell .num {
  color: var(--crimson);
}

.stat-cell .lbl {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 4px;
}

/* ---------- Protocol cards (features) ---------- */
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.protocol {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.protocol:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.protocol .tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  position: absolute;
  top: 18px;
  right: 20px;
}

.protocol .p-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--crimson-soft);
  color: var(--crimson);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.protocol:nth-child(even) .p-icon {
  background: var(--blue-soft);
  color: var(--blue);
}

.protocol h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.protocol p {
  font-size: 0.93rem;
  margin: 0;
}

/* ---------- Pipeline (how it works) ---------- */
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: stage;
}

.stage {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
}

.stage::before {
  counter-increment: stage;
  content: "0" counter(stage);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--crimson);
  display: block;
  margin-bottom: 10px;
}

.stage:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint);
  font-size: 1.1rem;
  z-index: 2;
}

.stage h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.stage p {
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Periodic table (content types) ---------- */
.periodic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
}

.element {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.element:hover {
  transform: translateY(-2px);
  border-color: var(--crimson);
}

.element .sym {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--crimson);
  line-height: 1;
}

.element:nth-child(even) .sym {
  color: var(--blue);
}

.element .no {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ink-faint);
  float: right;
}

.element .name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 8px;
}

.element .desc {
  font-size: 0.73rem;
  color: var(--ink-faint);
}

/* ---------- Dashboard mockup ---------- */
.mockup {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 0.8rem;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.mockup-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.mockup-bar i:first-child { background: #f26d6d; }
.mockup-bar i:nth-child(2) { background: #f2c66d; }
.mockup-bar i:nth-child(3) { background: #6dd693; }

.mockup-url {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-faint);
  margin-left: 8px;
}

.mockup-body {
  display: grid;
  grid-template-columns: 168px 1fr;
  min-height: 320px;
}

.mockup-side {
  border-right: 1px solid var(--line);
  padding: 14px 10px;
  background: var(--paper-2);
}

.mockup-side .mi {
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--ink-soft);
  margin-bottom: 2px;
}

.mockup-side .mi.on {
  background: var(--crimson-soft);
  color: var(--crimson);
  font-weight: 600;
}

.mockup-main {
  padding: 16px;
}

.mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: var(--card);
}

.mockup-row .m-title {
  font-weight: 600;
  color: var(--ink);
}

.mockup-row .m-meta {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-faint);
}

.pill {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
}

.pill--green { background: var(--green-soft); color: var(--green); }
.pill--blue { background: var(--blue-soft); color: var(--blue); }
.pill--amber { background: var(--amber-soft); color: var(--amber); }
.pill--red { background: var(--crimson-soft); color: var(--crimson); }

/* ---------- Comparison table ---------- */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 660px;
}

.compare th,
.compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.compare thead th {
  font-family: var(--font-display);
  font-size: 0.95rem;
  background: var(--paper-2);
}

.compare thead th.hl {
  background: var(--crimson);
  color: #fff;
}

.compare tbody tr:last-child td {
  border-bottom: none;
}

.compare td.hl {
  background: var(--crimson-soft);
  font-weight: 600;
}

.compare .yes { color: var(--green); font-weight: 700; }
.compare .no { color: var(--ink-faint); }

/* ---------- Field notes (testimonials) ---------- */
.notes-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.note {
  flex: 0 0 min(360px, 84vw);
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--crimson);
  border-radius: var(--radius);
  padding: 22px;
}

.note:nth-child(even) {
  border-left-color: var(--blue);
}

.note .n-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}

.note blockquote {
  margin: 0 0 14px;
  font-size: 0.97rem;
  color: var(--ink);
}

.note .n-who {
  display: flex;
  align-items: center;
  gap: 10px;
}

.note .n-ava {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--blue-soft);
  color: var(--blue);
  flex: none;
}

.note .n-who strong {
  display: block;
  font-size: 0.88rem;
}

.note .n-who span {
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.notes-ctrl {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.notes-ctrl button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
}

.notes-ctrl button:hover {
  border-color: var(--ink);
}

/* ---------- Pricing ---------- */
.price-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  margin: 0 auto 36px;
}

.price-toggle button {
  border: none;
  background: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-soft);
}

.price-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.price-toggle .save-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  background: var(--green-soft);
  color: var(--green);
  padding: 3px 9px;
  border-radius: 999px;
  margin-right: 6px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan--hot {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px var(--crimson-soft), var(--shadow);
}

.plan .hot-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--crimson);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan h3 {
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.plan .p-for {
  font-size: 0.83rem;
  color: var(--ink-faint);
  margin-bottom: 16px;
}

.plan .price {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plan .price .per {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0;
}

.plan .bill-note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-faint);
  min-height: 18px;
  margin-bottom: 16px;
}

.plan ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  flex: 1;
}

.plan li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 6px 0 6px 26px;
  position: relative;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23178a5b' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/9px no-repeat;
}

.plan li.na {
  color: var(--ink-faint);
  text-decoration: line-through;
}

.plan li.na::before {
  background: var(--paper-2);
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  padding: 17px 20px;
}

.faq-q .fx {
  font-size: 1.3rem;
  color: var(--crimson);
  transition: transform 0.2s ease;
  flex: none;
  line-height: 1;
}

.faq-item[data-open="true"] .fx {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.faq-item[data-open="true"] .faq-a {
  display: block;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--crimson-deep), var(--crimson) 55%, var(--blue));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin-inline: auto;
}

.cta-band .btn--primary {
  background: #fff;
  color: var(--crimson-deep);
}

.cta-band .btn--primary:hover {
  background: var(--paper);
}

.cta-band .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: clamp(44px, 6vw, 72px) 0 28px;
  margin-top: clamp(56px, 8vw, 96px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
  padding: 4px 0;
}

.footer-col a:hover {
  color: var(--crimson);
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
}

.footer-social a:hover {
  color: var(--crimson);
  border-color: var(--crimson);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.83rem;
  color: var(--ink-faint);
}

.footer-bottom .legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: var(--ink-faint);
}

.footer-bottom a:hover {
  color: var(--crimson);
}

/* ---------- Forms ---------- */
.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.field .hint {
  font-size: 0.76rem;
  color: var(--ink-faint);
  font-weight: 400;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
select,
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px var(--crimson-soft);
}

.field-error {
  display: none;
  font-size: 0.78rem;
  color: var(--crimson);
  margin-top: 5px;
}

.field.has-error .field-error {
  display: block;
}

.pw-wrap {
  position: relative;
}

.pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 6px 8px;
}

.pw-toggle:hover {
  color: var(--ink);
}

.form-success {
  display: none;
  background: var(--green-soft);
  border: 1px solid color-mix(in srgb, var(--green) 35%, transparent);
  color: var(--green);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.94rem;
  margin-bottom: 18px;
}

.form-success.show {
  display: block;
}

/* ---------- Auth pages ---------- */
.auth-wrap {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 48px 0;
}

.auth-card {
  width: min(430px, 92vw);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 34px 30px;
}

.auth-card h1 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.auth-card .auth-sub {
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.auth-alt {
  text-align: center;
  font-size: 0.88rem;
  margin-top: 18px;
  color: var(--ink-soft);
}

.demo-hint {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-faint);
  background: var(--paper-2);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  margin-top: 16px;
}

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 20, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  width: min(480px, 100%);
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  max-height: 88vh;
  overflow-y: auto;
}

.modal h3 {
  margin-bottom: 8px;
}

.modal-close-row {
  display: flex;
  justify-content: flex-end;
}

.modal .x {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ink-faint);
  line-height: 1;
  padding: 4px;
}

.modal .x:hover {
  color: var(--ink);
}

.checkout-summary {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 0.9rem;
  margin: 14px 0 18px;
}

.checkout-summary .row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.checkout-summary .row.total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 10px;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Toast ---------- */
.toast-zone {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toast-in 0.25s ease;
  max-width: 320px;
}

[data-theme="dark"] .toast {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
}

.toast--success::before { content: "✓"; color: var(--green); font-weight: 700; }
.toast--error::before { content: "!"; color: var(--crimson); font-weight: 700; }
.toast--info::before { content: "i"; color: var(--blue); font-family: var(--font-mono); font-weight: 700; }

@keyframes toast-in {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(560px, 94vw);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px 20px;
  z-index: 240;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  font-size: 0.87rem;
  margin-bottom: 12px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 84px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
  font-size: 1.1rem;
}

.to-top.show {
  display: inline-flex;
}

/* ---------- Generator page ---------- */
.gen-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  align-items: start;
}

.gen-form,
.gen-output {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.gen-form h2,
.gen-output h2 {
  font-size: 1.15rem;
}

.gen-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}

.range-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

input[type="range"] {
  flex: 1;
  accent-color: var(--crimson);
}

.range-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  min-width: 66px;
  text-align: right;
}

.gen-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.gen-output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.gen-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.output-box {
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--paper);
  white-space: pre-wrap;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink);
  overflow-wrap: break-word;
}

.output-empty {
  color: var(--ink-faint);
  text-align: center;
  padding: 60px 20px;
  font-size: 0.92rem;
}

.output-meta {
  display: flex;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
  margin-top: 12px;
  flex-wrap: wrap;
}

.gen-loading {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 60px 20px;
  justify-content: center;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.gen-loading.show {
  display: flex;
}

.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid var(--line);
  border-top-color: var(--crimson);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Blog ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.post-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.post-cover {
  height: 160px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

.post-cover--a { background: linear-gradient(135deg, var(--crimson-deep), var(--crimson)); }
.post-cover--b { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); }
.post-cover--c { background: linear-gradient(135deg, #1f5e46, var(--green)); }

.post-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-body h3 {
  font-size: 1.08rem;
}

.post-body h3 a {
  color: var(--ink);
}

.post-body p {
  font-size: 0.9rem;
  flex: 1;
}

.post-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-faint);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.article {
  max-width: 720px;
  margin-inline: auto;
}

.article h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.article h2 {
  font-size: 1.45rem;
  margin-top: 1.6em;
}

.article p,
.article li {
  font-size: 1.02rem;
  line-height: 1.75;
}

.article .article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.article .a-ava {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--crimson-soft);
  color: var(--crimson);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
}

.article .a-meta strong {
  display: block;
  font-size: 0.92rem;
}

.article .a-meta span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-faint);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(44px, 6vw, 76px) 0 clamp(30px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(36px, 5vw, 56px);
}

.page-hero p {
  max-width: 620px;
  font-size: 1.06rem;
}

/* ---------- Legal ---------- */
.legal {
  max-width: 760px;
  margin-inline: auto;
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 1.8em;
}

.legal .updated {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-faint);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: start;
}

.founder-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.founder-ava {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson), var(--blue));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.value-card .v-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--crimson);
  letter-spacing: 0.14em;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 16px;
}

.contact-info-card h3 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- 404 ---------- */
.nf-wrap {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}

.nf-code {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 700;
  color: var(--crimson);
  line-height: 1;
  margin-bottom: 8px;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .protocol-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .stage:not(:last-child)::after { display: none; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gen-layout { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 84vw);
    background: var(--card);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 84px 20px 20px;
    gap: 2px;
    transform: translateX(105%);
    transition: transform 0.25s ease;
    z-index: 150;
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav > a,
  .nav-dd > button {
    width: 100%;
    justify-content: space-between;
    font-size: 1rem;
    padding: 12px 14px;
  }

  .nav-dd .dd-panel {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--paper-2);
    margin: 4px 0 8px;
  }

  .nav-burger {
    display: inline-flex;
    z-index: 160;
    position: relative;
  }

  .header-actions .btn--ghost {
    display: none;
  }
}

@media (max-width: 640px) {
  .protocol-grid,
  .pipeline,
  .plans,
  .post-grid,
  .values-grid,
  .gen-2col {
    grid-template-columns: 1fr;
  }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .bench-input-row { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .to-top { bottom: 130px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
