/* One-minute reset — Cybertruck lab, page-scoped.
   House dark/gold tokens, with lime kept as the film accent. */
@import url('/theme.css');

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/cormorant-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/cormorant-300-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cormorant-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-400-normal.woff2') format('woff2');
}

:root {
  --edge: var(--line);
  --cream: var(--ink);
  --lime: #d9f76a;
  --lime-deep: #7a9a3a;
  --heading: var(--ink);
  --body: var(--muted);
  --soft: var(--bone-dim);
  --blue: var(--lime);
  --green: var(--lime);
  --danger: #e8a0a0;
  --cream-ink: var(--ink);
  --cream-mute: var(--muted);
  --cream-line: var(--line);
  --cream-card: var(--bg-elevated);
  --olive: var(--gold);
  --chart-energy: var(--lime);
  --chart-focus: var(--gold);
  --chart-stress: var(--gold-deep);
}

.reset {
  --reset-bg: var(--bg);
  --reset-card: var(--panel);
  --reset-edge: var(--edge);
  --reset-lime: var(--lime);
  --reset-heading: var(--heading);
  --reset-body: var(--muted);
  --reset-soft: var(--soft);
  scroll-margin-top: 76px;
  background: var(--reset-bg);
  color: var(--reset-body);
  border-bottom: 1px solid var(--reset-edge);
  padding: 42px 4% 48px;
}

.reset-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.reset-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px 48px;
  align-items: start;
}

.reset-eyebrow {
  margin: 0 0 10px;
  color: var(--reset-lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.reset h2 {
  margin: 0 0 14px;
  color: var(--reset-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.reset-lede {
  margin: 0;
  max-width: 42rem;
  color: var(--reset-body);
  font-size: 16px;
  line-height: 1.7;
}

.reset-rule {
  border: 0;
  border-top: 1px solid var(--reset-edge);
  margin: 26px 0 22px;
}

.reset-focus {
  display: block;
  margin: 0 0 8px;
  color: var(--reset-lime);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.reset-focus output {
  font-variant-numeric: tabular-nums;
}

.reset input[type='range'] {
  display: block;
  width: 100%;
  margin: 12px 0 6px;
  padding: 0;
  accent-color: var(--reset-lime);
  background: transparent;
}

.reset-ends {
  display: flex;
  justify-content: space-between;
  margin: 0 0 18px;
  color: var(--reset-body);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.reset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 12px;
}

.reset-btn {
  border-radius: 12px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: transparent;
  color: var(--reset-lime);
  border: 1px solid var(--reset-lime);
}

.reset-btn:hover,
.reset-btn:focus-visible {
  outline: 2px solid var(--reset-lime);
  outline-offset: 2px;
}

.reset-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.reset-btn-solid {
  background: var(--reset-lime);
  color: var(--ink-on-gold);
}

.reset-note,
.reset-hint,
.reset-status {
  margin: 8px 0 0;
  color: var(--reset-body);
  font-size: 12px;
  line-height: 1.55;
}

.reset-status {
  min-height: 1.2em;
  color: var(--reset-soft);
}

.reset-card {
  background: var(--reset-card);
  border: 1px solid var(--reset-edge);
  border-radius: 20px;
  padding: 22px 22px 20px;
}

.reset-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--reset-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reset-card-head span:last-child {
  color: var(--reset-body);
  letter-spacing: 0.12em;
}

.reset-circle-wrap {
  display: grid;
  place-items: center;
  min-height: 220px;
  margin: 8px 0 18px;
}

.reset-circle {
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--reset-lime);
  background: radial-gradient(circle at 50% 42%, #24331c 0%, #111410 72%);
  box-shadow: 0 0 22px rgba(217, 247, 106, 0.28);
  color: var(--reset-heading);
  text-align: center;
  padding: 16px;
  transition: transform 4s ease-in-out, box-shadow 4s ease-in-out;
}

.reset-phase {
  margin: 0;
  color: var(--reset-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.reset-circle.is-in {
  transform: scale(1.16);
  box-shadow: 0 0 42px rgba(217, 247, 106, 0.55);
}

.reset-circle.is-rest {
  transform: scale(1.16);
  box-shadow: 0 0 36px rgba(217, 247, 106, 0.42);
}

.reset-circle.is-out,
.reset-circle.is-idle {
  transform: scale(1);
  box-shadow: 0 0 18px rgba(217, 247, 106, 0.26);
}

.reset-card .reset-actions {
  justify-content: center;
}

.reset-card .reset-hint {
  text-align: center;
}

.reset a {
  color: var(--reset-lime);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 720px) {
  .reset {
    padding: 32px 16px 36px;
  }

  .reset-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .reset-card {
    padding: 18px 16px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reset-circle,
  .reset-circle.is-in,
  .reset-circle.is-rest,
  .reset-circle.is-out,
  .reset-circle.is-idle {
    transition: none;
    transform: none;
    box-shadow: 0 0 14px rgba(217, 247, 106, 0.22);
  }
}
