/* ============================================================
   Helm — Landing page styles
   Builds on lib/tokens.css. Brand rules:
   - No shadows, no blur, no gradients inside components.
   - The wheel is the only thing that moves (plus very faint
     intersection-fade entrance for sections, kept subtle).
   - 0.5px borders. Gold is the only colored border.
   ============================================================ */

html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-ui);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
* { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Page shell with the nautical grid ---------- */
.page {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg);
}
.page.with-grid::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(212, 175, 106, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 175, 106, 0.05) 1px, transparent 1px);
  background-size: 34px 34px, 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 0%, transparent 78%);
          mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 0%, transparent 78%);
  z-index: 0;
}
.page > * { position: relative; z-index: 1; }

/* ---------- Layout container ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 160px;
}
@media (max-width: 1380px) {
  .container { padding: 0 120px; }
}
@media (max-width: 1180px) {
  .container { padding: 0 80px; }
}
@media (max-width: 900px) {
  .container { padding: 0 48px; }
}
@media (max-width: 560px) {
  .container { padding: 0 28px; }
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
  max-width: none;
  padding: 0 56px;
}
.nav-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--helm-gold);
  letter-spacing: 0.06em;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 40px;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--helm-fog);
}
.nav-link:hover { color: var(--helm-chalk); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-version {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #5a7290;
  letter-spacing: 0.04em;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: var(--r-button);
  border: 0.5px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  cursor: pointer;
}
.btn-primary {
  background: var(--helm-gold);
  color: var(--helm-abyss);
  border-color: var(--helm-gold);
}
.btn-primary:hover { background: var(--helm-gold); }
.btn-primary:active { background: var(--helm-gold-pressed); border-color: var(--helm-gold-pressed); }
.btn-primary svg { color: var(--helm-abyss); }

.btn-ghost {
  background: transparent;
  color: var(--helm-chalk);
  border-color: rgba(247, 244, 239, 0.22);
}
.btn-ghost:hover { border-color: var(--helm-gold); color: var(--helm-chalk); }
.btn-ghost:active { color: var(--helm-gold-pressed); border-color: var(--helm-gold-pressed); }

.btn-lg {
  font-size: 14px;
  padding: 14px 22px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 56px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 56px; padding: 32px 0 64px; }
}
.eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--helm-gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 0.5px;
  background: var(--helm-gold);
  display: inline-block;
}
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 76px);
  color: var(--helm-chalk);
  letter-spacing: 0.02em;
  line-height: 1.02;
  margin: 22px 0 20px;
  text-wrap: balance;
}
.hero-h1 .accent { color: var(--helm-gold); }
.hero-sub {
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 400;
  color: var(--helm-fog);
  line-height: 1.55;
  max-width: 460px;
  margin: 0 0 32px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-spec {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #5a7290;
}
.hero-spec span::before {
  content: "·";
  margin-right: 18px;
  color: #2a4566;
}
.hero-spec span:first-child::before { content: ""; margin: 0; }

/* ---------- Hero right side — bridge mockup ---------- */
.bridge {
  position: relative;
}
.bridge-frame {
  background: var(--helm-abyss);
  border: 0.5px solid rgba(247, 244, 239, 0.10);
  border-radius: var(--r-window);
  overflow: hidden;
  position: relative;
}
.bridge-menubar {
  height: 28px;
  background: linear-gradient(180deg, rgba(30, 30, 30, 0.92), rgba(20, 20, 20, 0.92));
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #e5e5e5;
  font-size: 12px;
  font-weight: 500;
  border-bottom: 0.5px solid rgba(0,0,0,.4);
  position: relative;
  z-index: 2;
}
.bridge-menubar-left { display: flex; align-items: center; gap: 16px; }
.bridge-menubar-left .app { font-weight: 700; }
.bridge-menubar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #d8d8d8;
  font-size: 11px;
}
.bridge-helm-icon {
  background: transparent;
  border: none;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #d8d8d8;
  border-radius: 4px;
  transition: background 80ms;
}
.bridge-helm-icon.lit { background: rgba(255, 255, 255, 0.12); }
.bridge-desktop {
  position: relative;
  height: 460px;
  background:
    radial-gradient(ellipse 70% 60% at 70% 0%, rgba(212, 175, 106, 0.06), transparent 60%),
    linear-gradient(180deg, #0c1a2f 0%, var(--helm-abyss) 100%);
  overflow: hidden;
}
.bridge-desktop::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(212, 175, 106, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 175, 106, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 0%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 0%, transparent 80%);
  pointer-events: none;
}
.bridge-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1;
}
.bridge-caption-line {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #5a7290;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.bridge-caption-line.gold { color: var(--helm-gold); }

/* ---------- Popover (in-page demo) ---------- */
.demo-popover-wrap {
  position: absolute;
  top: 36px;
  right: 86px;
  width: 320px;
  z-index: 3;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,.55));
}
.demo-popover-arrow {
  position: absolute;
  top: -7px;
  right: 14px;
  width: 14px;
  height: 14px;
  background: var(--helm-abyss);
  border-left: 0.5px solid rgba(247, 244, 239, 0.12);
  border-top: 0.5px solid rgba(247, 244, 239, 0.12);
  transform: rotate(45deg);
}
.demo-popover {
  background: var(--helm-abyss);
  border: 0.5px solid rgba(247, 244, 239, 0.10);
  border-radius: var(--r-window);
  overflow: hidden;
  position: relative;
}
.demo-pop-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 10px;
}
.demo-pop-header .wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--helm-gold);
  letter-spacing: 0.06em;
  line-height: 1;
  flex: 1;
}
.demo-pop-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--helm-fog);
  font-weight: 500;
}
.demo-pop-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--helm-green);
}
.demo-pop-status.is-running .dot { background: var(--helm-gold); }
.demo-pop-section-label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  color: #5a7290;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 16px 8px;
}

.demo-wf-list { padding: 0 12px 8px; }
.demo-wf-row {
  background: var(--helm-navy);
  border: 0.5px solid transparent;
  border-radius: var(--r-card);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  position: relative;
}
.demo-wf-row.is-hovered { border-color: rgba(212, 175, 106, 0.55); }
.demo-wf-row.is-running { border-color: var(--helm-gold); }
.demo-wf-row.is-dim { opacity: 0.38; }

.demo-wf-text { flex: 1; min-width: 0; }
.demo-wf-name {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  color: var(--helm-chalk);
  line-height: 1.2;
}
.demo-wf-summary {
  font-size: 11px;
  font-weight: 500;
  color: var(--helm-fog);
  margin-top: 2px;
  line-height: 1.3;
}
.demo-wf-summary.is-running { color: var(--helm-green); }
.demo-run-btn {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--helm-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.demo-run-btn.is-running {
  background: var(--helm-green-hub);
  border: 0.5px solid var(--helm-green);
}
.demo-run-btn .play-tri {
  width: 0;
  height: 0;
  border-left: 8px solid var(--helm-abyss);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px;
}

.demo-pop-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 10px;
  border-top: 0.5px solid rgba(247, 244, 239, 0.06);
  margin: 4px 4px 0;
}
.demo-pop-footer-link {
  background: transparent;
  border: none;
  color: var(--helm-fog);
  font-size: 11px;
  font-weight: 500;
}
.demo-pop-footer-link.gold { color: var(--helm-gold); }

/* Demo cursor — moves in, clicks, leaves */
.demo-cursor {
  position: absolute;
  pointer-events: none;
  z-index: 4;
  transform: translate(-2px, -2px);
  transition: top 720ms cubic-bezier(.4, 0, .2, 1), left 720ms cubic-bezier(.4, 0, .2, 1), opacity 240ms;
  opacity: 0;
}
.demo-cursor.is-visible { opacity: 1; }
.demo-cursor svg { display: block; }
.demo-cursor.is-clicking::after {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0.5px solid var(--helm-gold);
  animation: cursor-pulse 320ms ease-out;
}
@keyframes cursor-pulse {
  from { transform: scale(0.4); opacity: 1; }
  to   { transform: scale(1.4); opacity: 0; }
}

.demo-toast {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--helm-abyss);
  border: 0.5px solid rgba(247, 244, 239, 0.18);
  color: var(--helm-chalk);
  font-size: 12px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: var(--r-card);
  z-index: 5;
  white-space: nowrap;
}

/* ============================================================
   Section header
   ============================================================ */
.section {
  padding: 96px 0;
  border-top: 0.5px solid rgba(247, 244, 239, 0.06);
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
}
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 56px;
}
@media (max-width: 720px) {
  .section-head { margin-bottom: 40px; }
}
.section-head > div:empty { display: none; }
.section-head .section-title { max-width: 22ch; }
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--helm-gold);
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  color: var(--helm-chalk);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

/* ============================================================
   Anatomy — How it works
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 0.5px solid rgba(247, 244, 239, 0.06);
  border-bottom: 0.5px solid rgba(247, 244, 239, 0.06);
}
@media (max-width: 820px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}
.step {
  padding: 36px 32px;
  border-right: 0.5px solid rgba(247, 244, 239, 0.06);
  position: relative;
  height: 100%;
}
.steps > .reveal:last-child .step { border-right: none; }
@media (max-width: 820px) {
  .step { border-right: none; border-bottom: 0.5px solid rgba(247, 244, 239, 0.06); }
  .steps > .reveal:last-child .step { border-bottom: none; }
}
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--helm-gold);
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.step-title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 18px;
  color: var(--helm-chalk);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.step-body {
  font-size: 14px;
  color: var(--helm-fog);
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 32ch;
}
.step-visual {
  border-top: 0.5px dashed rgba(212, 175, 106, 0.18);
  padding-top: 22px;
}

/* Step 1 — config snippet */
.config-snippet {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--helm-fog);
  overflow-x: auto;
  white-space: pre;
}
.config-snippet .k { color: var(--helm-gold); }
.config-snippet .s { color: var(--helm-chalk); }
.config-snippet .c { color: #5a7290; }
.config-snippet .pun { color: #5a7290; }

/* Step 2 — click visual */
.step-click {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-click-cursor {
  width: 14px;
  height: 16px;
  flex-shrink: 0;
}
.step-click-target {
  flex: 1;
  background: var(--helm-navy);
  border-radius: 8px;
  border: 0.5px solid var(--helm-gold);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-click-target .label {
  font-size: 12px;
  color: var(--helm-chalk);
  font-weight: 500;
}
.step-click-target .hot {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--helm-fog);
}

/* Step 3 — apps lighting up */
.step-apps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.step-app {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--helm-navy);
  border: 0.5px solid rgba(247, 244, 239, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--helm-fog);
  position: relative;
}
.step-app.lit {
  color: var(--helm-gold);
  border-color: var(--helm-gold);
}
.step-app.lit::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--helm-green);
}

/* ============================================================
   Workflow examples
   ============================================================ */
.workflows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px) {
  .workflows { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .workflows { grid-template-columns: 1fr; }
}
.workflow-card {
  background: var(--helm-navy);
  border: 0.5px solid rgba(247, 244, 239, 0.06);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.workflow-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.workflow-name {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 16px;
  color: var(--helm-chalk);
  letter-spacing: -0.01em;
}
.workflow-hotkey {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--helm-fog);
  letter-spacing: 0.04em;
  border: 0.5px solid rgba(247, 244, 239, 0.18);
  padding: 3px 8px;
  border-radius: 5px;
}
.workflow-summary {
  font-size: 12px;
  color: var(--helm-fog);
  line-height: 1.55;
}
.workflow-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.workflow-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--helm-chalk);
  font-weight: 500;
}
.workflow-item .bullet {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--helm-gold);
  flex-shrink: 0;
}
.workflow-item .kind {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #5a7290;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   Features strip
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 0.5px solid rgba(247, 244, 239, 0.06);
  border-bottom: 0.5px solid rgba(247, 244, 239, 0.06);
}
@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
}
.feature {
  padding: 32px;
  border-right: 0.5px solid rgba(247, 244, 239, 0.06);
  height: 100%;
}
.features > .reveal:nth-child(4n) .feature,
.features > .reveal:last-child .feature { border-right: none; }
@media (max-width: 980px) {
  .feature { border-right: 0.5px solid rgba(247, 244, 239, 0.06); }
  .features > .reveal:nth-child(4n) .feature { border-right: 0.5px solid rgba(247, 244, 239, 0.06); }
  .features > .reveal:nth-child(2n) .feature { border-right: none; }
  .features > .reveal:nth-child(-n+2) .feature { border-bottom: 0.5px solid rgba(247, 244, 239, 0.06); }
}
@media (max-width: 560px) {
  .feature { border-right: none; border-bottom: 0.5px solid rgba(247, 244, 239, 0.06); }
  .features > .reveal:last-child .feature { border-bottom: none; }
}
.feature-icon {
  color: var(--helm-gold);
  margin-bottom: 24px;
  display: inline-flex;
}
.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--helm-chalk);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.feature-body {
  font-size: 13px;
  color: #8fa3bc;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 0.5px solid rgba(247, 244, 239, 0.06);
}
.faq-item {
  border-bottom: 0.5px solid rgba(247, 244, 239, 0.06);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  color: var(--helm-chalk);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.faq-q:hover { color: var(--helm-gold); }
.faq-q .sign {
  width: 14px;
  height: 14px;
  position: relative;
  color: var(--helm-gold);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-q .sign::before,
.faq-q .sign::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.faq-q .sign::before { top: 6.5px; left: 0; right: 0; height: 1px; }
.faq-q .sign::after { left: 6.5px; top: 0; bottom: 0; width: 1px; transition: opacity 80ms; }
.faq-item.open .faq-q .sign::after { opacity: 0; }
.faq-a {
  font-size: 14px;
  color: var(--helm-fog);
  line-height: 1.65;
  max-width: 65ch;
  padding: 0 0 22px;
  margin: 0;
}

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  padding: 120px 0;
  text-align: center;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--helm-chalk);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 16px;
}
.final-cta h2 .accent { color: var(--helm-gold); }
.final-cta p {
  font-size: 16px;
  color: var(--helm-fog);
  margin: 0 0 32px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 36px 0 48px;
  border-top: 0.5px solid rgba(247, 244, 239, 0.06);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #5a7290;
  letter-spacing: 0.04em;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-right {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--helm-gold);
  letter-spacing: 0.06em;
}

/* ============================================================
   Reveal — quiet scroll-in. Opacity + a subtle 12px lift.
   Brand says only the wheel moves, but the user asked for this.
   Kept tight: short distance, short duration, no easing flourish.
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 680ms cubic-bezier(.22, .61, .36, 1),
    transform 680ms cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
