:root {
  color-scheme: dark;
  --ink: #f7f2e7;
  --ink-muted: #a9b2b4;
  --ink-faint: #9da7a8;
  --surface: #171e24;
  --surface-raised: #202a31;
  --surface-soft: #12181d;
  --line: rgba(225, 235, 224, 0.15);
  --line-strong: rgba(255, 200, 87, 0.38);
  --amber: #ffc857;
  --amber-soft: #ffe09a;
  --amber-deep: #bb762c;
  --green: #8bd4ad;
  --danger: #ff9f83;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  font-family: "Avenir Next", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  background: #10161b;
  color: var(--ink);
}



* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #10161b;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% -10%, rgba(255, 200, 87, 0.11), transparent 32rem),
    linear-gradient(180deg, #10161b 0%, #12191e 45%, #10161b 100%);
  color: var(--ink);
  line-height: 1.6;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button:disabled,
select:disabled,
input:disabled {
  cursor: not-allowed;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid var(--amber-soft);
  outline-offset: 3px;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
dl,
dd,
figure,
ol {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1,
h2 {
  font-weight: 700;
}

h3 {
  font-size: 0.93rem;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.55rem 0.8rem;
  border-radius: 0.5rem;
  background: var(--amber);
  color: #151819;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 0.35rem;
  background: linear-gradient(145deg, rgba(255, 200, 87, 0.2), rgba(255, 200, 87, 0.04));
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

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

.brand-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-subtitle,
.eyebrow {
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand-subtitle {
  margin-top: 0.1rem;
  color: var(--ink-faint);
  letter-spacing: 0.09em;
}

.header-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0.25rem rgba(139, 212, 173, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(290px, 0.97fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4.5rem);
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  max-width: 12ch;
  margin-top: 0.7rem;
  font-size: clamp(2.7rem, 6vw, 5.35rem);
  text-wrap: balance;
}

.hero h1 span {
  color: var(--amber);
}

.hero-lead {
  max-width: 41rem;
  margin-top: 1.35rem;
  color: var(--ink-muted);
  font-size: clamp(0.98rem, 1.7vw, 1.15rem);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.6rem;
}

.hero-points span,
.history-limit {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 0.74rem;
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
  background: #1a2022;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.hero-visual::before {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  width: 2.3rem;
  height: 0.2rem;
  background: var(--amber);
  content: "";
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.6rem;
  filter: saturate(0.9) contrast(1.05);
}

.hero-visual figcaption {
  padding: 0.65rem 0.25rem 0.05rem;
  color: var(--ink-muted);
  font-size: 0.72rem;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(230px, 0.35fr) minmax(0, 0.65fr);
  gap: 1rem;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(150deg, rgba(32, 42, 49, 0.98), rgba(19, 26, 31, 0.98));
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.16);
}

.practice-card,
.typing-card,
.result-panel,
.history-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.section-heading h2,
.typing-card h2,
.result-panel h2,
.history-panel h2,
.guide-panel h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.field-group {
  min-width: 0;
  margin-top: 1.65rem;
}

label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.label-note {
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-weight: 400;
}

select,
input[type="text"] {
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  border: 1px solid rgba(255, 200, 87, 0.35);
  border-radius: 0.55rem;
  background: #10171b;
  color: var(--ink);
}

select {
  padding: 0.6rem 0.75rem;
}

input[type="text"] {
  padding: 0.7rem 0.8rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Hiragino Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

input[type="text"]:disabled {
  border-color: var(--line);
  background: #11181d;
  color: var(--ink-faint);
}

.field-help {
  margin-top: 0.5rem;
  color: var(--ink-faint);
  font-size: 0.75rem;
}

.task-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.task-meta > div {
  min-width: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.task-meta dt {
  color: var(--ink-faint);
  font-size: 0.68rem;
}

.task-meta dd {
  margin-top: 0.15rem;
  color: var(--amber-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1rem;
  font-weight: 700;
}

.privacy-note {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.7rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
}

.privacy-icon {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 1.05rem;
  line-height: 1.4;
}

.privacy-note p {
  color: var(--ink-muted);
  font-size: 0.74rem;
}

.typing-card {
  min-width: 0;
}

.typing-card-head,
.result-heading-row,
.history-heading-row,
.prompt-header,
.progress-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.timer-box {
  flex: 0 0 auto;
  min-width: 5.2rem;
  padding: 0.55rem 0.75rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.55rem;
  background: rgba(255, 200, 87, 0.08);
  text-align: right;
}

.timer-label {
  display: block;
  color: var(--ink-faint);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.timer-box strong {
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.75rem;
  line-height: 1.05;
}

.timer-unit {
  margin-left: 0.15rem;
  color: var(--amber-soft);
  font-size: 0.75rem;
}

.state-chip,
.result-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.state-chip.is-running,
.result-status.is-complete {
  border-color: rgba(139, 212, 173, 0.4);
  color: var(--green);
}

.state-chip.is-timeout,
.result-status.is-timeout {
  border-color: rgba(255, 159, 131, 0.45);
  color: var(--danger);
}

.prompt-block {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--surface-soft);
}

.prompt-label {
  color: var(--ink-faint);
  font-size: 0.75rem;
  font-weight: 700;
}

.prompt-text {
  min-height: 3.9rem;
  margin-top: 0.75rem;
  color: var(--amber-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Hiragino Sans", sans-serif;
  font-size: clamp(1rem, 2.1vw, 1.25rem);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.progress-wrap {
  margin-top: 1rem;
}

.progress-meta {
  color: var(--ink-faint);
  font-size: 0.7rem;
}

.progress-track {
  height: 0.4rem;
  margin-top: 0.45rem;
  overflow: hidden;
  border-radius: 999px;
  background: #303a3d;
}

.progress-bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber));
  transition: width 160ms ease;
}

.typing-form .field-group {
  margin-top: 1.35rem;
}

.input-shell {
  position: relative;
}

.input-shell input {
  padding-right: 5.2rem;
}

.character-count {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  color: var(--ink-faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  transform: translateY(-50%);
}

.input-feedback {
  min-height: 1.4rem;
  margin-top: 0.4rem;
  color: var(--ink-muted);
  font-size: 0.76rem;
}

.input-feedback.has-error {
  color: var(--danger);
}

.input-feedback.is-correct {
  color: var(--green);
}

.action-row,
.history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.action-row {
  margin-top: 1rem;
}

.button {
  min-height: 2.8rem;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  background: var(--amber);
  color: #161a1a;
}

.button-primary:hover:not(:disabled) {
  background: var(--amber-soft);
}

.button-secondary {
  border-color: rgba(255, 200, 87, 0.42);
  background: transparent;
  color: var(--amber-soft);
}

.button-secondary:hover:not(:disabled) {
  background: rgba(255, 200, 87, 0.1);
}

.button-quiet {
  border-color: var(--line);
  background: transparent;
  color: var(--ink-muted);
}

.button-quiet:hover:not(:disabled) {
  border-color: rgba(255, 159, 131, 0.42);
  color: var(--danger);
}

.button:disabled {
  opacity: 0.42;
}

.app-status,
.save-status {
  min-height: 1.35rem;
  margin-top: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.76rem;
}

.app-status.is-error,
.save-status.is-error {
  color: var(--danger);
}

.app-status.is-success,
.save-status.is-success {
  color: var(--green);
}

.result-panel,
.history-panel {
  margin-top: 1rem;
}

.result-panel[hidden] {
  display: none;
}

.result-summary,
.section-lead {
  margin-top: 0.8rem;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1.35rem;
}

.result-metric {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(16, 23, 27, 0.65);
}

.result-metric-large {
  grid-column: span 2;
  border-color: var(--line-strong);
  background: rgba(255, 200, 87, 0.06);
}

.result-metric dt {
  color: var(--ink-faint);
  font-size: 0.7rem;
}

.result-metric dd {
  margin-top: 0.35rem;
  color: var(--amber-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.18rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.result-metric-large dd {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.result-metric small {
  margin-left: 0.2rem;
  color: var(--ink-muted);
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 400;
}

.metric-text {
  font-size: 0.84rem !important;
  line-height: 1.45;
}

.result-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.result-detail-grid > div {
  min-width: 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.result-detail-grid h3 {
  color: var(--ink-muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.tag-list,
.result-note {
  margin-top: 0.55rem;
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.weak-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  margin: 0.15rem 0.25rem 0.15rem 0;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(255, 159, 131, 0.38);
  border-radius: 0.35rem;
  color: var(--danger);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
}

.result-actions {
  margin-top: 1.35rem;
}

.history-heading-row {
  align-items: center;
}

.history-actions {
  margin-top: 1rem;
}

.history-list {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin-top: 1rem;
  list-style: none;
}

.history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem 1rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: rgba(16, 23, 27, 0.56);
}

.history-item-main,
.history-item-stats {
  min-width: 0;
}

.history-item-title {
  color: var(--amber-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.history-item-date {
  margin-top: 0.2rem;
  color: var(--ink-faint);
  font-size: 0.7rem;
}

.history-item-stats {
  color: var(--ink-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  text-align: right;
  white-space: nowrap;
}

.history-item-stats strong {
  color: var(--amber);
}

.empty-state {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: 0.6rem;
  color: var(--ink-faint);
  font-size: 0.8rem;
  text-align: center;
}

.guide-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.33fr) minmax(0, 0.67fr);
  gap: 2rem;
  align-items: center;
  padding: 4rem 0 3rem;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0;
  list-style: none;
}

.guide-list li {
  min-width: 0;
  padding: 0.9rem;
  border-top: 1px solid var(--line-strong);
}

.guide-list span,
.guide-list strong,
.guide-list small {
  display: block;
}

.guide-list span {
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
}

.guide-list strong {
  margin-top: 0.55rem;
  font-size: 0.83rem;
}

.guide-list small {
  margin-top: 0.25rem;
  color: var(--ink-faint);
  font-size: 0.7rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.68rem;
}

.noscript-message {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 10;
  padding: 1rem;
  border: 1px solid var(--danger);
  border-radius: 0.6rem;
  background: #281b1c;
  color: var(--ink);
  text-align: center;
}

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

  .practice-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 1.25fr);
    gap: 1rem 2rem;
    align-items: start;
  }

  .practice-card .field-group {
    margin-top: 0;
  }

  .practice-card .task-meta,
  .practice-card .privacy-note {
    grid-column: 1 / -1;
  }

  .practice-card .task-meta {
    margin-top: 0.5rem;
  }

  .practice-card .privacy-note {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(100% - 1rem, 1180px);
  }

  .site-header {
    min-height: 4.5rem;
  }

  .header-note {
    max-width: 7.5rem;
    text-align: right;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.5rem;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-visual {
    max-width: 34rem;
    margin: 0 auto;
  }

  .practice-card {
    display: block;
  }

  .practice-card .field-group {
    margin-top: 1.4rem;
  }

  .practice-card .task-meta {
    margin-top: 1.5rem;
  }

  .practice-card .privacy-note {
    margin-top: 1.7rem;
  }

  .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-metric-large {
    grid-column: span 1;
  }

  .result-detail-grid,
  .guide-panel {
    grid-template-columns: 1fr;
  }

  .guide-panel {
    gap: 1.5rem;
    padding-top: 3rem;
  }

  .guide-list {
    gap: 0.5rem;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 0.3rem;
  }
}

@media (max-width: 420px) {
  .site-shell {
    width: calc(100% - 1rem);
  }

  .brand-subtitle {
    font-size: 0.56rem;
  }

  .header-note {
    font-size: 0.65rem;
  }

  .hero-points {
    gap: 0.35rem;
  }

  .hero-points span {
    font-size: 0.67rem;
  }

  .practice-card,
  .typing-card,
  .result-panel,
  .history-panel {
    padding: 1rem;
  }

  .prompt-block {
    padding: 0.8rem;
  }

  .prompt-text {
    min-height: 5.2rem;
    font-size: 1rem;
  }

  .typing-card-head,
  .result-heading-row,
  .history-heading-row {
    gap: 0.55rem;
  }

  .timer-box {
    min-width: 4.4rem;
    padding-right: 0.55rem;
    padding-left: 0.55rem;
  }

  .timer-box strong {
    font-size: 1.45rem;
  }

  .result-grid {
    gap: 0.45rem;
  }

  .result-metric {
    padding: 0.65rem;
  }

  .result-metric-large dd {
    font-size: 1.45rem;
  }

  .history-item {
    grid-template-columns: 1fr;
  }

  .history-item-stats {
    text-align: left;
  }

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

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

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

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: #fff;
    color: #111;
  }

  .site-shell {
    width: 100%;
  }

  .site-header,
  .hero,
  .practice-card,
  .typing-card,
  .history-panel,
  .guide-panel,
  .site-footer,
  .result-actions,
  .save-status,
  .eyebrow,
  .result-note {
    display: none !important;
  }

  .result-panel {
    margin: 0;
    border: 0;
    background: #fff;
    box-shadow: none;
  }

  .result-panel h2,
  .result-summary,
  .result-detail-grid h3,
  .result-metric dt,
  .result-metric dd,
  .tag-list,
  .weak-tag,
  .result-status {
    color: #111;
  }

  .result-grid,
  .result-detail-grid {
    border-color: #777;
  }

  .result-metric,
  .result-detail-grid > div {
    border-color: #aaa;
    background: #fff;
  }
}

.hero h1 { word-break: auto-phrase; }
.hero-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 16px 0; padding-left: 1.25rem; }
.hero-steps li { padding-left: 2px; line-height: 1.45; }
.hero-cta { display: inline-flex; width: max-content; text-decoration: none; }

@media (max-width: 640px) {
  .hero { gap: 16px; padding-block: 20px 24px; }
  .hero h1 { font-size: clamp(1.65rem, 7.5vw, 2.4rem); line-height: 1.15; }
  .hero-lead { margin: 10px 0; font-size: .94rem; line-height: 1.5; }
  .hero-steps { grid-template-columns: 1fr; gap: 4px; margin: 8px 0 12px; }
  .hero-steps li { font-size: .88rem; }
  .hero-cta { margin-bottom: 8px; }
  .hero-visual { display: none; }
  .workspace .practice-card > .section-heading { gap: 8px; margin-bottom: 14px; }
  .workspace .practice-card > .section-heading .eyebrow { display: none; }
  .workspace .practice-card > .section-heading h2 { font-size: clamp(1.4rem, 6vw, 1.85rem); line-height: 1.15; }
  .workspace .practice-card > .section-heading p:not(.eyebrow) { margin-block: 0; font-size: .92rem; line-height: 1.5; }
}

/* stage A desktop compression */
@media (min-width: 681px) {
  .hero { gap: 36px; padding: 28px 0 32px; }
  .hero h1 { max-width: none; margin-top: 0; font-size: clamp(2.2rem, 4.3vw, 3.5rem); line-height: 1.1; }
  .hero-lead { margin: 12px 0; font-size: 1rem; line-height: 1.5; }
  .hero-visual { max-width: 540px; justify-self: end; }
  .hero-visual img { max-height: 300px; object-fit: cover; }
  .hero-steps { gap: 7px; margin: 10px 0; font-size: .9rem; }
}
