:root {
  --paper: #f1eee5;
  --paper-deep: #e5e0d4;
  --ink: #0a0a0a;
  --blue: #2450ff;
  --blue-dark: #1536bd;
  --red: #e83e35;
  --muted: #76736c;
  --line: rgba(10, 10, 10, 0.24);
  --line-soft: rgba(10, 10, 10, 0.12);
  --white: #fff;
  --font-sans: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --gutter: clamp(1rem, 2.2vw, 2.25rem);
  --content-max: 1600px;
  --header-height: 5.25rem;
  --ease: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--paper);
  color-scheme: light;
  text-rendering: optimizeLegibility;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
}

button,
input {
  color: inherit;
  font: inherit;
}

button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

p,
h1,
h2 {
  margin: 0;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.shell {
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.tech-label {
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.105em;
  line-height: 1.2;
  text-transform: uppercase;
}

.app-header {
  position: relative;
  z-index: 10;
  height: var(--header-height);
  border-bottom: 1px solid var(--ink);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(14px);
}

.app-header__inner {
  display: grid;
  width: min(100%, var(--content-max));
  height: 100%;
  grid-template-columns: 3fr 4fr 5fr;
  align-items: stretch;
  margin-inline: auto;
  padding-left: var(--gutter);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 780;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.wordmark__clock {
  position: relative;
  display: block;
  width: 2.55rem;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.wordmark__clock::before,
.wordmark__clock::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  background: var(--ink);
  content: "";
  transform-origin: 50% 100%;
}

.wordmark__clock::before {
  height: 0.7rem;
  transform: translate(-50%, -100%) rotate(0deg);
}

.wordmark__clock::after {
  height: 0.52rem;
  transform: translate(-50%, -100%) rotate(115deg);
}

.wordmark__clock span {
  position: absolute;
  top: -0.3rem;
  right: 0.3rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--red);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.25rem);
  padding-inline: clamp(1rem, 2vw, 2rem);
  border-left: 1px solid var(--line);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.header-meta__local {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.header-meta__local i {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0.22rem rgba(36, 80, 255, 0.14);
}

.data-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.utility-button {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem clamp(0.6rem, 1vw, 1rem);
  border-left: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 740;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition:
    background var(--ease),
    color var(--ease);
}

.utility-button:hover,
.utility-button:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.utility-button--danger:hover,
.utility-button--danger:focus-visible {
  background: var(--red);
  color: var(--white);
}

.utility-button--file input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.tracker-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}

.grid-lines {
  position: absolute;
  inset: 0;
  width: min(100% - (var(--gutter) * 2), calc(var(--content-max) - (var(--gutter) * 2)));
  margin-inline: auto;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc((100% - (11 * clamp(0.75rem, 1.4vw, 1.5rem))) / 12),
    var(--line-soft) calc((100% - (11 * clamp(0.75rem, 1.4vw, 1.5rem))) / 12),
    var(--line-soft) calc((100% - (11 * clamp(0.75rem, 1.4vw, 1.5rem))) / 12 + 1px),
    transparent calc((100% - (11 * clamp(0.75rem, 1.4vw, 1.5rem))) / 12 + 1px),
    transparent calc((100% - (11 * clamp(0.75rem, 1.4vw, 1.5rem))) / 12 + clamp(0.75rem, 1.4vw, 1.5rem))
  );
  opacity: 0.55;
  pointer-events: none;
}

.tracker-section .shell {
  position: relative;
  z-index: 1;
}

.section-intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.4vw, 1.5rem);
  align-items: end;
  padding-block: clamp(3.5rem, 7vw, 7rem) clamp(2.5rem, 5vw, 5rem);
}

.section-intro .tech-label {
  grid-column: 1 / span 2;
  align-self: start;
  padding-top: 0.55rem;
}

.section-intro h1 {
  grid-column: 3 / span 7;
  font-size: clamp(3.1rem, 7.4vw, 8rem);
  font-weight: 760;
  letter-spacing: -0.072em;
  line-height: 0.84;
  text-transform: uppercase;
}

.section-intro h1 span {
  color: var(--blue);
}

.section-intro__copy {
  grid-column: 10 / -1;
  padding-bottom: 0.45rem;
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.timer-workspace {
  display: grid;
  grid-template-columns: 7fr 5fr;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 0.7rem 0.7rem 0 var(--ink);
}

.timer-form {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(1.25rem, 2.7vw, 2.75rem);
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.67rem;
  font-weight: 720;
  letter-spacing: 0.105em;
}

.field input {
  width: 100%;
  min-height: 4.65rem;
  padding: 0.8rem 0;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  outline: 0;
  background: transparent;
  font-size: clamp(1.15rem, 2.1vw, 2rem);
  font-weight: 580;
  letter-spacing: -0.035em;
  transition:
    border-color var(--ease),
    color var(--ease);
}

.field input::placeholder {
  color: #9b978d;
  opacity: 1;
}

.field input:hover,
.field input:focus {
  border-color: var(--blue);
}

.field input:focus-visible {
  outline: 0;
  box-shadow: 0 3px 0 var(--red);
}

.field input:disabled {
  color: var(--muted);
  cursor: not-allowed;
}

.timer-actions {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 0.45rem;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 3.55rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.9rem 1rem;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 740;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition:
    color var(--ease),
    background var(--ease),
    opacity var(--ease),
    transform var(--ease);
}

.button::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  transform: translateY(102%);
  background: var(--blue);
  content: "";
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateY(0);
}

.button:hover,
.button:focus-visible {
  color: var(--white);
}

.button:active {
  transform: translateY(2px);
}

.button:disabled {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.button:disabled::before {
  display: none;
}

.button--primary,
.button--ink {
  background: var(--ink);
  color: var(--paper);
}

.button--stop::before {
  background: var(--red);
}

.form-hint {
  min-height: 1.25rem;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.45;
}

.timer-display {
  display: flex;
  min-width: 0;
  min-height: 24rem;
  flex-direction: column;
  padding: clamp(1.25rem, 2.7vw, 2.75rem);
  border-left: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background 400ms ease;
}

.timer-workspace[data-status="running"] .timer-display {
  background: var(--blue);
}

.timer-workspace[data-status="paused"] .timer-display {
  background: var(--red);
}

.timer-display__top,
.timer-display__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.65rem;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.status-badge i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--paper);
  opacity: 0.4;
}

.timer-workspace[data-status="running"] .status-badge i {
  opacity: 1;
  animation: pulse 1.5s ease-out infinite;
}

.timer-workspace[data-status="paused"] .status-badge i {
  opacity: 1;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  }
  70% {
    box-shadow: 0 0 0 0.42rem rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.timer-digits {
  margin-block: auto;
  padding-block: 2rem;
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5.1vw, 5.8rem);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 1;
  white-space: nowrap;
}

.timer-display__rule {
  height: 1px;
  margin-bottom: 1.1rem;
  background: currentColor;
  opacity: 0.45;
}

.timer-display__bottom strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.tracker-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block: clamp(2.75rem, 5vw, 5.5rem);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.fact {
  display: grid;
  min-height: 7.25rem;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  padding: 1.2rem clamp(0.8rem, 2vw, 2rem);
  border-right: 1px solid var(--ink);
}

.fact:first-child {
  padding-left: 0;
}

.fact:last-child {
  border-right: 0;
}

.fact__number {
  align-self: start;
  padding-top: 0.18rem;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 720;
}

.fact > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.fact__label {
  font-size: 0.62rem;
  font-weight: 720;
  letter-spacing: 0.1em;
}

.fact strong {
  font-size: clamp(1.2rem, 2.1vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.fact--accent strong {
  color: var(--blue);
}

.manual-section,
.entries-section {
  padding-block: clamp(4.5rem, 8vw, 8rem);
  border-bottom: 1px solid var(--ink);
}

.manual-section {
  background: var(--blue);
  color: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.section-heading h2,
.entries-heading h2 {
  margin-top: 1.1rem;
  font-size: clamp(2.8rem, 6vw, 7rem);
  font-weight: 750;
  letter-spacing: -0.068em;
  line-height: 0.87;
}

.section-heading > p {
  max-width: 32rem;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.manual-form {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(10rem, 2fr) minmax(11rem, 3fr);
  gap: clamp(0.75rem, 1.4vw, 1.5rem);
  align-items: end;
}

.manual-form .field input {
  border-color: var(--white);
  color: var(--white);
}

.manual-form .field input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.manual-form .field input:hover,
.manual-form .field input:focus {
  border-color: var(--white);
}

.manual-form .button {
  min-height: 4.65rem;
  border-color: var(--ink);
}

.manual-form .button::before {
  background: var(--red);
}

.entries-section {
  background: var(--paper);
}

.entries-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.entry-counter {
  display: flex;
  min-width: 7rem;
  flex-direction: column;
  align-items: flex-end;
}

.entry-counter strong {
  color: var(--blue);
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  font-variant-numeric: tabular-nums;
  font-weight: 740;
  letter-spacing: -0.07em;
  line-height: 0.85;
}

.entry-counter span {
  margin-top: 0.55rem;
  font-size: 0.63rem;
  font-weight: 720;
  letter-spacing: 0.1em;
}

.entries-wrap {
  width: 100%;
  overflow-x: auto;
  border-top: 2px solid var(--ink);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

th,
td {
  padding: 1.15rem 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th:first-child,
td:first-child {
  padding-left: 0;
}

th:last-child,
td:last-child {
  padding-right: 0;
  text-align: right;
}

th {
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 720;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

td {
  font-size: 0.84rem;
  font-weight: 520;
}

tbody tr {
  transition: background var(--ease);
}

tbody tr:hover {
  background: rgba(36, 80, 255, 0.045);
}

tbody tr.is-active {
  background: rgba(36, 80, 255, 0.08);
}

.entry-description {
  max-width: 22rem;
  font-size: 0.95rem;
  font-weight: 650;
}

.small {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.55rem;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill::before {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--muted);
  content: "";
}

.pill--active {
  border-color: var(--blue);
  color: var(--blue);
}

.pill--active::before {
  background: var(--blue);
  animation: pulse-blue 1.5s ease-out infinite;
}

.pill--paused {
  border-color: var(--red);
  color: var(--red);
}

.pill--paused::before {
  background: var(--red);
}

.pill--manual::before {
  border-radius: 0;
  background: var(--ink);
}

@keyframes pulse-blue {
  0% {
    box-shadow: 0 0 0 0 rgba(36, 80, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 0.35rem rgba(36, 80, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(36, 80, 255, 0);
  }
}

.action-btn {
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 0.61rem;
  font-weight: 740;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition:
    background var(--ease),
    color var(--ease);
}

.action-btn:hover,
.action-btn:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.empty {
  display: grid;
  min-height: 13rem;
  place-items: center;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.empty__inner {
  max-width: 27rem;
  padding: 2rem;
}

.empty strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.empty p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.summary {
  display: grid;
  grid-template-columns: 3fr repeat(3, minmax(0, 2fr));
  margin-top: clamp(3rem, 6vw, 6rem);
  border: 1px solid var(--ink);
}

.summary__intro,
.summary__metric {
  min-width: 0;
  padding: clamp(1rem, 2vw, 2rem);
  border-right: 1px solid var(--ink);
}

.summary > :last-child {
  border-right: 0;
}

.summary__intro p {
  max-width: 19rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 520;
  line-height: 1.4;
}

.summary__metric {
  display: flex;
  min-height: 9rem;
  flex-direction: column;
  justify-content: space-between;
}

.summary__metric span {
  font-size: 0.61rem;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.summary__metric strong {
  font-size: clamp(1.35rem, 2.45vw, 2.6rem);
  font-weight: 720;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.summary__metric--blue {
  background: var(--blue);
  color: var(--white);
}

.summary-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.5;
}

.summary-note code {
  color: var(--ink);
  font-family: var(--font-mono);
}

.app-footer {
  background: var(--ink);
  color: var(--paper);
}

.app-footer .shell {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.63rem;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.toast {
  position: fixed;
  z-index: 100;
  right: var(--gutter);
  bottom: var(--gutter);
  max-width: min(24rem, calc(100vw - (var(--gutter) * 2)));
  padding: 1rem 1.2rem;
  transform: translateY(calc(100% + var(--gutter)));
  border: 1px solid var(--paper);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0.4rem 0.4rem 0 var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 200ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast.is-error {
  box-shadow: 0.4rem 0.4rem 0 var(--red);
}

@media (max-width: 1050px) {
  .app-header__inner {
    grid-template-columns: 2fr 5fr;
  }

  .header-meta {
    display: none;
  }

  .section-intro .tech-label {
    grid-column: 1 / span 3;
  }

  .section-intro h1 {
    grid-column: 1 / span 9;
    margin-top: 1.25rem;
  }

  .section-intro__copy {
    grid-column: 10 / -1;
  }

  .timer-workspace {
    grid-template-columns: 6fr 5fr;
  }

  .timer-actions {
    grid-template-columns: 1fr 1fr;
  }

  .timer-actions .button--primary {
    grid-column: 1 / -1;
  }

  .summary {
    grid-template-columns: repeat(3, 1fr);
  }

  .summary__intro {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .summary__intro p {
    margin-top: 0;
    text-align: right;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: auto;
  }

  .app-header {
    height: auto;
  }

  .app-header__inner {
    display: block;
    padding: 0;
  }

  .wordmark {
    min-height: 4.75rem;
    padding-inline: var(--gutter);
  }

  .wordmark__clock {
    width: 2.2rem;
  }

  .data-tools {
    border-top: 1px solid var(--ink);
  }

  .utility-button:first-child {
    border-left: 0;
  }

  .section-intro {
    display: block;
    padding-block: 3.5rem 2.75rem;
  }

  .section-intro h1 {
    margin-top: 1.5rem;
  }

  .section-intro__copy {
    max-width: 32rem;
    margin-top: 1.75rem;
    padding: 0;
  }

  .timer-workspace {
    grid-template-columns: 1fr;
    box-shadow: 0.45rem 0.45rem 0 var(--ink);
  }

  .timer-display {
    min-height: 19rem;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .tracker-facts {
    grid-template-columns: 1fr;
  }

  .fact {
    min-height: 5.75rem;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .fact:first-child {
    padding-left: clamp(0.8rem, 2vw, 2rem);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-heading > p {
    margin-top: 1rem;
  }

  .manual-form {
    grid-template-columns: minmax(0, 2fr) minmax(7rem, 1fr);
  }

  .manual-form .button {
    grid-column: 1 / -1;
  }

  .entries-heading {
    align-items: flex-end;
  }

  .summary {
    grid-template-columns: 1fr;
  }

  .summary__intro {
    display: block;
  }

  .summary__intro p {
    margin-top: 1rem;
    text-align: left;
  }

  .summary__metric {
    min-height: 7rem;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .summary > :last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .data-tools {
    grid-template-columns: repeat(2, 1fr);
  }

  .utility-button:nth-child(3) {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .utility-button:nth-child(4) {
    border-top: 1px solid var(--ink);
  }

  .grid-lines {
    display: none;
  }

  .section-intro h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
    letter-spacing: -0.066em;
    line-height: 0.86;
  }

  .timer-form,
  .timer-display {
    padding: 1.1rem;
  }

  .timer-form {
    gap: 2.2rem;
  }

  .timer-actions {
    grid-template-columns: 1fr 1fr;
  }

  .timer-actions .button--primary {
    grid-column: 1 / -1;
  }

  .timer-digits {
    font-size: clamp(2.3rem, 13.2vw, 3.7rem);
  }

  .timer-display__label {
    display: none;
  }

  .manual-form {
    grid-template-columns: 1fr;
  }

  .manual-form .button {
    grid-column: auto;
  }

  .entries-heading {
    align-items: flex-start;
  }

  .entries-heading h2 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .entry-counter strong {
    font-size: 2.5rem;
  }

  .entry-counter span {
    font-size: 0.56rem;
  }

  .app-footer .shell {
    min-height: 7rem;
    flex-wrap: wrap;
  }

  .app-footer .shell span:nth-child(2) {
    order: 3;
    width: 100%;
  }
}

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

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