:root {
  color-scheme: light;
  --sand-0: #fffdf8;
  --sand-1: #f8f3e8;
  --sand-2: #eee5d2;
  --sand-3: #ded1b7;
  --ink: #1e312b;
  --ink-soft: #53645a;
  --moss: #285443;
  --moss-deep: #17392e;
  --moss-light: #dce9df;
  --clay: #bd6d4a;
  --clay-light: #f4e0d5;
  --line: rgba(34, 65, 52, 0.16);
  --shadow: 0 18px 55px rgba(52, 67, 53, 0.12);
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 9px;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--sand-1);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 255, 255, 0.94), transparent 30rem),
    linear-gradient(135deg, #f8f3e8 0%, #f3ecdc 52%, #e8dfca 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #d48353;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--moss-deep);
  border-radius: 8px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--moss-deep);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(40, 84, 67, 0.55);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  display: block;
  width: 22px;
  height: 1px;
  content: "";
  background: var(--moss);
}

.brand-mark::before {
  transform: translateY(-5px) rotate(8deg);
}

.brand-mark::after {
  transform: translateY(5px) rotate(-8deg);
}

.brand-name,
.brand-tagline {
  display: block;
}

.brand-name {
  font-family: Georgia, serif;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.brand-tagline {
  margin-top: -2px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.storage-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.storage-status[data-state="saving"]::before,
.storage-status[data-state="saved"]::before,
.storage-status[data-state="error"]::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 6px 1px 0;
  content: "";
  border-radius: 50%;
  background: currentColor;
}

.storage-status[data-state="saving"] {
  color: #9a6b2e;
}

.storage-status[data-state="saved"] {
  color: var(--moss);
}

.storage-status[data-state="error"] {
  color: #a24432;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: center;
  min-height: 350px;
  padding: 62px 0 58px;
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 530px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 13px;
  color: var(--clay);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--moss-deep);
  line-height: 1.2;
}

h1 {
  max-width: 600px;
  margin-bottom: 20px;
  font-family: Georgia, "Hiragino Mincho ProN", serif;
  font-size: clamp(2.5rem, 5.1vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}

h1 em {
  color: var(--clay);
  font-style: normal;
}

.hero-lede {
  max-width: 495px;
  margin-bottom: 21px;
  color: var(--ink-soft);
  font-size: clamp(0.94rem, 1.6vw, 1.08rem);
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 700;
}

.note-dot {
  width: 8px;
  height: 8px;
  border: 2px solid var(--moss);
  border-radius: 50%;
}

.hero-art {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 48% 28% 44% 25% / 45% 34% 43% 32%;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-art img,
.hero-art-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art img {
  display: block;
  object-fit: cover;
  filter: saturate(0.76) contrast(0.94);
}

.hero-art-wash {
  background: linear-gradient(102deg, rgba(243, 236, 220, 0.88) 0%, rgba(243, 236, 220, 0.13) 49%, rgba(17, 51, 38, 0.18) 100%);
}

.hero-art-label {
  position: absolute;
  right: 22px;
  bottom: 18px;
  padding: 6px 10px;
  color: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 100px;
  background: rgba(25, 56, 44, 0.42);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
}

.dashboard {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: start;
}

.panel {
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 35px rgba(58, 69, 52, 0.07);
}

.setup-panel,
.timer-panel {
  min-height: 635px;
}

.panel-heading,
.subsection-heading,
.timer-context,
.danger-zone {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.panel-heading h2 {
  margin-bottom: 0;
  font-family: Georgia, "Hiragino Mincho ProN", serif;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.section-kicker {
  margin-bottom: 7px;
  font-size: 0.62rem;
}

.count-pill,
.mode-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  color: var(--moss);
  border: 1px solid rgba(40, 84, 67, 0.2);
  border-radius: 100px;
  background: var(--moss-light);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.mode-break {
  color: #925735;
  border-color: rgba(189, 109, 74, 0.24);
  background: var(--clay-light);
}

.task-form {
  margin-top: 27px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.field {
  min-width: 0;
  margin-bottom: 16px;
}

.field label {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--moss-deep);
  font-size: 0.81rem;
  font-weight: 800;
}

.required-mark {
  color: var(--clay);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  color: var(--ink);
  border: 1px solid rgba(40, 84, 67, 0.23);
  border-radius: var(--radius-sm);
  outline: none;
  background: rgba(255, 253, 248, 0.9);
  font-size: 16px;
}

input::placeholder {
  color: #869288;
}

input:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(40, 84, 67, 0.11);
}

.field-invalid input {
  border-color: #a24432;
  background: #fff8f5;
}

.field-help,
.field-error,
.form-feedback,
.timer-feedback {
  font-size: 0.73rem;
}

.field-help {
  margin-top: 6px;
  color: var(--ink-soft);
}

.field-error {
  min-height: 1.2em;
  margin-top: 5px;
  color: #a24432;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.input-with-unit {
  display: flex;
  align-items: center;
  gap: 7px;
}

.input-with-unit input {
  min-width: 0;
}

.input-with-unit span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 45px;
  padding: 9px 16px;
  color: var(--moss-deep);
  border: 1px solid transparent;
  border-radius: 100px;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:active:not(:disabled) {
  transform: translateY(0);
}

.button:disabled {
  opacity: 0.4;
}

.button-primary {
  color: #fffdf8;
  background: var(--moss);
  box-shadow: 0 8px 16px rgba(40, 84, 67, 0.16);
}

.button-primary:hover:not(:disabled) {
  background: var(--moss-deep);
}

.button-secondary {
  color: var(--moss);
  border-color: rgba(40, 84, 67, 0.28);
  background: rgba(255, 253, 248, 0.72);
}

.button-secondary:hover:not(:disabled),
.button-quiet:hover:not(:disabled) {
  border-color: rgba(40, 84, 67, 0.45);
  background: var(--moss-light);
}

.button-quiet {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.4);
}

.button-danger {
  color: #a24432;
  border-color: rgba(162, 68, 50, 0.3);
  background: var(--clay-light);
}

.button-danger:hover:not(:disabled) {
  background: #f0cfc0;
}

.button-small {
  min-height: 44px;
  padding: 7px 12px;
  font-size: 0.72rem;
}

.button-full {
  width: 100%;
  margin-top: 5px;
}

.form-feedback {
  min-height: 1.4em;
  margin: 11px 0 0;
  color: var(--moss);
}

.form-feedback.error {
  color: #a24432;
}

.subsection-heading {
  align-items: baseline;
  margin: 25px 0 12px;
}

.subsection-heading h3 {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.muted-label {
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.task-list,
.history-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.task-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(248, 243, 232, 0.62);
}

.task-item.selected {
  border-color: rgba(40, 84, 67, 0.48);
  background: var(--moss-light);
  box-shadow: inset 3px 0 0 var(--moss);
}

.task-select {
  min-width: 0;
  padding: 0;
  color: var(--moss-deep);
  border: 0;
  background: transparent;
  text-align: left;
}

.task-select strong,
.task-select small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-select strong {
  font-size: 0.85rem;
}

.task-select small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.69rem;
}

.task-result {
  text-align: right;
  white-space: nowrap;
}

.task-result strong,
.task-result small {
  display: block;
}

.task-result strong {
  color: var(--moss);
  font-size: 0.82rem;
}

.task-result small {
  color: var(--ink-soft);
  font-size: 0.66rem;
}

.empty-state {
  display: grid;
  min-height: 120px;
  place-items: center;
  padding: 20px;
  color: var(--ink-soft);
  border: 1px dashed rgba(40, 84, 67, 0.22);
  border-radius: var(--radius-md);
  background: rgba(238, 229, 210, 0.35);
  text-align: center;
}

.empty-state p {
  margin: 0;
  font-size: 0.78rem;
}

.empty-stone {
  display: block;
  width: 25px;
  height: 14px;
  margin-bottom: 7px;
  border-radius: 55% 50% 42% 44%;
  background: #9eaa93;
  box-shadow: 8px -3px 0 -2px #c4c8b2;
  transform: rotate(-6deg);
}

.timer-panel {
  position: relative;
  overflow: hidden;
  background: rgba(251, 249, 239, 0.9);
}

.timer-panel::before {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 390px;
  height: 390px;
  content: "";
  border: 1px solid rgba(40, 84, 67, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(40, 84, 67, 0.03), 0 0 0 52px rgba(40, 84, 67, 0.025);
  pointer-events: none;
}

.timer-heading,
.timer-context,
.timer-stage,
.timer-actions,
.timer-feedback {
  position: relative;
  z-index: 1;
}

.timer-context {
  align-items: baseline;
  margin-top: 28px;
}

.timer-kicker {
  margin: 0;
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.timer-context h3 {
  max-width: 60%;
  margin: 0;
  overflow: hidden;
  color: var(--moss-deep);
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timer-stage {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(140px, 0.6fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
  margin: 32px auto 25px;
}

.timer-face {
  position: relative;
  display: grid;
  width: min(100%, 370px);
  aspect-ratio: 1;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--moss) var(--progress), rgba(40, 84, 67, 0.12) 0);
  box-shadow: 0 16px 35px rgba(40, 84, 67, 0.12), 0 0 0 12px rgba(40, 84, 67, 0.035);
  transition: background 220ms ease;
}

.timer-face::before {
  position: absolute;
  width: min(calc(100% - 18px), 352px);
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: var(--sand-0);
}

.timer-face-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 20px;
  text-align: center;
}

.timer-status-label,
.time-subtitle {
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.timer-status-label {
  color: var(--clay);
  text-transform: uppercase;
}

.time-display {
  color: var(--moss-deep);
  font-family: Georgia, serif;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.07em;
  line-height: 1.05;
}

.time-subtitle {
  letter-spacing: 0.02em;
}

.timer-stats {
  display: grid;
  align-self: center;
  gap: 0;
  min-width: 0;
  border-top: 1px solid var(--line);
}

.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.stat-row span {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.stat-row strong {
  color: var(--moss-deep);
  font-size: 1.02rem;
  font-variant-numeric: tabular-nums;
}

.stat-delta strong {
  color: var(--clay);
}

.timer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  padding-top: 7px;
}

.timer-feedback {
  min-height: 1.4em;
  margin: 18px 0 0;
  color: var(--ink-soft);
  text-align: center;
}

.timer-feedback[data-tone="success"] {
  color: var(--moss);
}

.timer-feedback[data-tone="error"] {
  color: #a24432;
}

.history-panel {
  margin-top: 22px;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 25px 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.summary-strip > div {
  min-width: 0;
  padding: 16px 18px;
  background: rgba(248, 243, 232, 0.68);
}

.summary-strip span,
.summary-strip strong,
.summary-strip small {
  display: inline-block;
}

.summary-strip span {
  display: block;
  margin-bottom: 3px;
  color: var(--ink-soft);
  font-size: 0.71rem;
}

.summary-strip strong {
  color: var(--moss-deep);
  font-family: Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1;
}

.summary-strip small {
  margin-left: 4px;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 17px;
  align-items: center;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.history-item:first-child {
  border-top: 1px solid var(--line);
}

.history-item h3,
.history-item p {
  margin: 0;
}

.history-item h3 {
  overflow: hidden;
  font-size: 0.83rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-item p,
.history-item time {
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.history-delta {
  min-width: 70px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
}

.history-delta.under {
  color: var(--moss);
}

.history-delete {
  min-height: 36px;
  padding: 5px 9px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  font-size: 0.68rem;
}

.history-delete:hover {
  color: #a24432;
  border-color: rgba(162, 68, 50, 0.32);
}

.compact-empty {
  min-height: 88px;
}

.danger-zone {
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.danger-zone h3 {
  margin-bottom: 3px;
  font-size: 0.8rem;
}

.danger-zone p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 4px 46px;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.guide-card {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.68);
}

.guide-card h2 {
  margin-bottom: 12px;
  font-family: Georgia, "Hiragino Mincho ProN", serif;
  font-size: 1.15rem;
  font-weight: 500;
}

.guide-card p,
.guide-card li {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.guide-card p:last-child,
.guide-card ol {
  margin-bottom: 0;
}

.guide-card ol {
  padding-left: 1.3rem;
}

.site-footer p {
  margin: 0;
}

.footer-stone {
  display: inline-block;
  width: 14px;
  height: 8px;
  margin-right: 3px;
  border-radius: 50%;
  background: var(--moss);
  vertical-align: 1px;
}

@media (max-width: 980px) {
  .dashboard {
    grid-template-columns: 1fr;
  }

  .setup-panel,
  .timer-panel {
    min-height: 0;
  }

  .timer-stage {
    grid-template-columns: minmax(240px, 1fr) minmax(180px, 0.6fr);
    max-width: 760px;
  }
}

@media (max-width: 700px) {
  .site-shell {
    width: min(100% - 28px, 560px);
  }

  .site-header {
    align-items: flex-start;
    padding: 16px 0;
  }

  .header-tools {
    align-items: flex-end;
    flex-direction: column;
    gap: 7px;
  }

  .storage-status {
    font-size: 0.67rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 25px;
    min-height: 0;
    padding: 44px 0 37px;
  }

  .hero-art {
    min-height: 160px;
    border-radius: 30% 20% 30% 15% / 40% 26% 35% 23%;
  }

  .hero-art-label {
    right: 13px;
    bottom: 12px;
  }

  .timer-stage {
    grid-template-columns: 1fr;
    gap: 21px;
  }

  .timer-face {
    width: min(100%, 320px);
  }

  .timer-face::before {
    width: calc(100% - 18px);
  }

  .timer-stats {
    grid-template-columns: repeat(3, 1fr);
    border-top: 0;
    border-left: 1px solid var(--line);
  }

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

  .stat-row {
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 7px 4px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 480px) {
  .site-shell {
    width: calc(100% - 22px);
  }

  .site-header {
    gap: 10px;
  }

  .brand-tagline {
    font-size: 0.6rem;
  }

  .button-small {
    min-height: 44px;
    padding-inline: 9px;
  }

  .panel {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .form-grid {
    gap: 7px;
  }

  .input-with-unit {
    gap: 4px;
  }

  .timer-context {
    display: block;
  }

  .timer-context h3 {
    max-width: 100%;
    margin-top: 5px;
  }

  .timer-actions .button {
    flex: 1 1 calc(50% - 9px);
    min-width: 130px;
  }

  .timer-actions .button-primary {
    flex-basis: 100%;
  }

  .summary-strip > div {
    padding: 13px 8px;
    text-align: center;
  }

  .summary-strip span {
    min-height: 2.4em;
    font-size: 0.64rem;
  }

  .summary-strip strong {
    font-size: 1.35rem;
  }

  .history-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
  }

  .history-item time {
    grid-column: 1;
  }

  .history-delta {
    grid-column: 2;
    grid-row: 1;
  }

  .history-delete {
    grid-column: 2;
    grid-row: 2;
  }

  .danger-zone {
    display: block;
  }

  .danger-zone .button {
    width: 100%;
    margin-top: 13px;
  }

  .site-footer {
    display: block;
    padding-bottom: 30px;
  }

  .site-footer p + p {
    margin-top: 6px;
  }
}

@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;
  }
}


/* Stage A: compact first view */
.stage-a-hero h1 { word-break: auto-phrase; }
.stage-a-hero .stage-a-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; margin: 1rem 0 0.85rem; padding: 0; list-style: none; counter-reset: stage-a-step; }
.stage-a-hero .stage-a-steps li { display: flex; min-width: 0; gap: 0.5rem; align-items: baseline; counter-increment: stage-a-step; font-size: 0.9rem; line-height: 1.45; }
.stage-a-hero .stage-a-steps li::before { content: counter(stage-a-step, decimal-leading-zero); flex: none; font-size: 0.74rem; font-weight: 800; }
.stage-a-cta { display: inline-flex; min-height: 44px; max-width: 100%; align-items: center; justify-content: center; padding: 0.65rem 1.15rem; border: 1px solid #26383d; border-radius: 999px; background: #fff; color: #18272d; font-weight: 750; line-height: 1.25; text-align: center; text-decoration: none; white-space: nowrap; }
.hero.stage-a-hero { min-height: 0; padding-block: clamp(1.75rem, 4vw, 3rem); }
.hero.stage-a-hero h1 { max-width: none; margin-bottom: 0.65rem; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.12; }
.hero.stage-a-hero .hero-lede { margin-bottom: 0; line-height: 1.55; }
.hero.stage-a-hero .hero-art { width: min(100%, 320px); justify-self: end; }
.hero.stage-a-hero .hero-art img { width: 100%; height: auto; }
@media (max-width: 640px) {
  .hero.stage-a-hero { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 20px 18px 22px; }
  .hero.stage-a-hero .hero-art { display: none; }
  .stage-a-hero .stage-a-steps { grid-template-columns: minmax(0, 1fr); gap: 4px; margin-block: 0.75rem; }
  .stage-a-hero .stage-a-steps li { font-size: 0.86rem; }
  .stage-a-hero .stage-a-cta { min-width: 12rem; }
  .setup-panel > .panel-heading .section-kicker { display: none; }
  .setup-panel > .panel-heading h2 { margin: 0; font-size: 1.25rem; line-height: 1.25; }
  .setup-panel > .panel-heading { margin-bottom: 0.7rem; }
}
