/* OutOfOfficePro design system
 * Stripe colors on Vercel structure: brutalist clean + vibrant Stripe-energy gradient.
 * All existing class names preserved so legacy pages render — just restyled.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Surfaces */
  --bg:          #FFFFFF;
  --bg-soft:     #F6F9FC;
  --bg-deep:     #F0F4FF;
  --bg-card:     #FFFFFF;

  /* Ink */
  --ink:         #0A2540;
  --ink-2:       #425466;
  --ink-3:       #697686;
  --ink-soft:    #425466;
  --ink-mute:    #697686;

  /* Lines */
  --line:        #E3E8EE;
  --line-soft:   #ECEFF3;
  --paper-edge:  #E3E8EE;
  --paper-deep:  #F6F9FC;
  --paper:       #FFFFFF;

  /* Stripe accents */
  --purple:      #635BFF;
  --purple-deep: #4F46E5;
  --cyan:        #00D4FF;
  --pink:        #FF80B5;
  --green:       #00D182;
  --orange:      #FF8B3D;

  /* Legacy aliases (so older code doesn't break) */
  --accent:      var(--purple);
  --accent-2:    var(--cyan);
  --terracotta:  var(--purple);
  --terracotta-deep: var(--purple-deep);
  --ocean:       var(--purple-deep);
  --gold:        var(--cyan);

  /* Typography */
  --serif:       'Inter Tight', system-ui, -apple-system, sans-serif;
  --sans:        'Inter', system-ui, -apple-system, sans-serif;
  --mono:        'JetBrains Mono', 'SF Mono', Monaco, Consolas, monospace;

  /* Spacing */
  --gutter-x:    clamp(1.5rem, 3vw, 2.5rem);
  --measure:     60ch;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.editorial {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
  font-feature-settings: 'cv11', 'ss01';
}

/* Stripe signature gradient backdrop on bare-domain marketing pages */
body.editorial::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 820px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(99, 91, 255, 0.20), transparent 70%),
    radial-gradient(ellipse 70% 65% at 88% 22%, rgba(0, 212, 255, 0.20), transparent 65%),
    radial-gradient(ellipse 55% 55% at 60% 75%, rgba(255, 128, 181, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(240, 244, 255, 0.55) 0%, rgba(255, 255, 255, 1) 80%);
}

body.editorial > * { position: relative; z-index: 1; }

/* ─── Typography ─────────────────────────────────────────── */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-headline .accent {
  font-style: normal;
  color: var(--purple);
}
.hero-headline .quiet { color: var(--ink-3); }

.display {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.lead {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  font-weight: 400;
}

.kicker {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--purple);
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.fine {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

a { color: inherit; }

/* ─── Brand mark ─────────────────────────────────────────── */

.brandmark {
  font-family: var(--serif);
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.brandmark .dot { color: var(--purple); }

/* ─── Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 150ms cubic-bezier(.2,.8,.2,1), background 200ms, color 200ms, box-shadow 200ms, border-color 200ms;
  white-space: nowrap;
}
.btn-ink {
  background: var(--ink);
  color: white;
  padding: 0.7rem 1.2rem;
}
.btn-ink:hover {
  transform: translateY(-1px);
  background: var(--purple);
  box-shadow: 0 8px 24px -8px rgba(99, 91, 255, 0.5);
}
.btn-ink:active { transform: translateY(0); }
.btn-ink:disabled { opacity: 0.6; transform: none; cursor: wait; }

.btn-purple {
  background: var(--purple);
  color: white;
  padding: 0.7rem 1.2rem;
  box-shadow: 0 4px 14px -4px rgba(99, 91, 255, 0.45);
}
.btn-purple:hover { transform: translateY(-1px); background: var(--purple-deep); box-shadow: 0 10px 28px -8px rgba(99, 91, 255, 0.55); }

.btn-light {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.7rem 1.2rem;
}
.btn-light:hover { border-color: var(--ink-2); }

.btn-link {
  background: transparent;
  color: var(--ink);
  padding: 0.55rem 0;
  font-weight: 500;
  border-radius: 0;
}
.btn-link:hover { color: var(--purple); }

.btn .arrow {
  display: inline-block;
  transition: transform 200ms cubic-bezier(.2,.8,.25,1);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ─── Form fields ────────────────────────────────────────── */

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.field-input {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  outline: none;
  width: 100%;
  transition: border-color 200ms, box-shadow 200ms;
}
.field-input::placeholder {
  color: var(--ink-3);
  font-weight: 400;
  opacity: 0.7;
}
.field-input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.12);
}

.field-suffix {
  display: flex;
  align-items: stretch;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 200ms, box-shadow 200ms;
}
.field-suffix:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.12);
}
.field-suffix .field-input {
  border: none;
  border-radius: 0;
  padding: 0.85rem 0.5rem 0.85rem 1rem;
  flex: 1;
  background: transparent;
  box-shadow: none;
}
.field-suffix .field-input:focus { box-shadow: none; }
.field-suffix .suffix {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--ink-3);
  white-space: nowrap;
  display: flex;
  align-items: center;
  padding: 0 1rem 0 0.25rem;
}

.help {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-3);
}
.help.error { color: var(--purple); font-weight: 500; }
.help-ok { color: var(--green); font-weight: 500; }

/* ─── Cards ──────────────────────────────────────────────── */

.review-block {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 1px 2px rgba(10, 37, 64, 0.04);
}
.review-h {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.review-v {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 720px) { .review-grid { grid-template-columns: 1fr 1fr; } }

/* ─── Industry choice cards ──────────────────────────────── */

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}
.choice {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 1.3rem 1.2rem 1.4rem;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
  transition: transform 200ms cubic-bezier(.2,.85,.2,1), border-color 200ms, box-shadow 200ms;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 130px;
}
.choice:hover { transform: translateY(-3px); border-color: var(--purple); box-shadow: 0 12px 30px -12px rgba(99, 91, 255, 0.25); }
.choice .choice-emoji { font-size: 1.5rem; line-height: 1; }
.choice .choice-label {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.choice .choice-sub {
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--ink-2);
  line-height: 1.4;
}
.industry-card.selected {
  border-color: var(--purple);
  background: linear-gradient(135deg, rgba(99,91,255,0.05), rgba(0,212,255,0.04));
  box-shadow: 0 12px 30px -12px rgba(99, 91, 255, 0.3);
}
.industry-card.selected .choice-label { color: var(--purple); }

/* ─── Stage / typeform layout ────────────────────────────── */

.stage {
  min-height: 100dvh;
  padding: clamp(1.5rem, 4vw, 3rem) var(--gutter-x);
  display: flex;
  flex-direction: column;
}

.stage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.progress-bar {
  flex: 1;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  position: relative;
  margin: 0 1.25rem;
  max-width: 380px;
  overflow: hidden;
}
.progress-bar::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  transition: width 600ms cubic-bezier(.2,.85,.25,1);
  border-radius: 2px;
}

.step-counter {
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.step-body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 4vh 0;
}

@media (min-width: 880px) {
  .step-body { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); }
}

.step-number {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(7rem, 22vw, 18rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  position: relative;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step-number::after {
  content: attr(data-of);
  position: absolute;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-transform: uppercase;
  top: 1.25em;
  left: 0.1em;
  -webkit-text-fill-color: var(--ink-3);
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  max-width: 540px;
}
.step-question {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.step-question em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step-help {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink-2);
  max-width: var(--measure);
  line-height: 1.55;
}

.step-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.step-actions .meta {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--ink-3);
}

.stage-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-3);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.stage-footer a { color: inherit; text-decoration: none; }
.stage-footer a:hover { color: var(--purple); }

/* ─── Stage transitions ─────────────────────────────────── */

[data-step] {
  display: none;
}
[data-step].active { display: contents; }
[data-step].active .step-number { animation: number-rise 800ms cubic-bezier(.18,.85,.2,1) both; }
[data-step].active .step-content > * { animation: rise 700ms cubic-bezier(.2,.85,.25,1) both; }
[data-step].active .step-content > *:nth-child(1) { animation-delay: 100ms; }
[data-step].active .step-content > *:nth-child(2) { animation-delay: 200ms; }
[data-step].active .step-content > *:nth-child(3) { animation-delay: 300ms; }
[data-step].active .step-content > *:nth-child(4) { animation-delay: 420ms; }
[data-step].active .step-content > *:nth-child(5) { animation-delay: 540ms; }

@keyframes rise        { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes number-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* ─── Marketing landing layout ───────────────────────────── */

.landing {
  min-height: 100dvh;
  padding: clamp(1.25rem, 3.5vw, 2.5rem) var(--gutter-x) clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  max-width: 1240px;
  margin: 0 auto;
}

.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.5rem;
}
.landing-nav .nav-links {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
}
.landing-nav .nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color 150ms;
}
.landing-nav .nav-links a:hover { color: var(--ink); }

.landing-hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  gap: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 880px) {
  .landing-hero { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr); align-items: end; gap: clamp(3rem, 6vw, 6rem); }
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  max-width: 480px;
  align-self: end;
}
.hero-side .lead { max-width: 36ch; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--ink);
}
@media (min-width: 720px) { .feature-row { grid-template-columns: repeat(3, 1fr); gap: 0; } }

.feature {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.6rem 1.6rem 1.8rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) {
  .feature {
    padding: 1.8rem 1.6rem 0;
    border-bottom: none;
    border-right: 1px solid var(--line);
  }
  .feature:first-child { padding-left: 0; }
  .feature:last-child { padding-right: 0; border-right: none; }
}
.feature .feature-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--purple);
  letter-spacing: 0.08em;
}
.feature .feature-h {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--ink);
  margin-top: 0.4rem;
}
.feature .feature-h em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.feature .feature-p {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ─── Pricing cards (kept for /pricing page legacy until rebuild) ─── */

.pricing-card {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: border-color 200ms, box-shadow 200ms;
}
.pricing-card.featured {
  border-color: var(--purple);
  background: linear-gradient(180deg, white, rgba(99, 91, 255, 0.03));
  box-shadow: 0 12px 32px -12px rgba(99, 91, 255, 0.25);
  transform: none;
}
.pricing-card .card-tier {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pricing-card .card-price {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.18rem;
}
.pricing-card .card-price .price-suffix {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
  margin-left: 0.4rem;
  padding-bottom: 0.4em;
  font-family: var(--sans);
}
.pricing-card .card-tag { font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.pricing-card ul {
  list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.55rem;
  font-family: var(--sans); font-size: 0.93rem; color: var(--ink-2);
}
.pricing-card ul li { padding-left: 1.5em; position: relative; }
.pricing-card ul li::before {
  content: '✓'; color: var(--purple); font-weight: 700;
  position: absolute; left: 0; top: 0;
}
.pricing-card .btn { align-self: flex-start; margin-top: 0.5rem; }
.pricing-stamp {
  position: absolute; top: -12px; right: 20px;
  background: var(--purple); color: white;
  font-family: var(--mono); font-size: 0.65rem;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  padding: 0.5rem 0.85rem; border-radius: 6px;
  box-shadow: 0 4px 12px -4px rgba(99, 91, 255, 0.4);
}

/* ─── Tag / pill / badge utilities ───────────────────────── */

.tag-pill {
  display: inline-flex; align-items: center; gap: 0.4em;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: 0 1px 2px rgba(10, 37, 64, 0.04);
}
.tag-pill .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 209, 130, 0.18);
}

.badge-mono {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}
.badge-mono::before {
  content: '→';
  color: var(--purple);
}

/* ─── Stripe-style gradient header section ───────────────── */

.gradient-section {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: white;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 20px;
}
.gradient-section h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em; line-height: 1.05;
  color: white;
}
.gradient-section p { color: rgba(255,255,255,0.85); margin-top: 0.8rem; }

/* ─── Cursor follower (disabled) ─────────────────────────── */

.cursor-dot { display: none !important; }

/* ─── Reduced motion ─────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ─── Tool page utilities ────────────────────────────────── */

.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 980px) {
  .tool-grid { grid-template-columns: 1fr 1.05fr; gap: 3rem; }
}

.tool-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.tool-form .field-input {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  padding: 0.7rem 0.9rem;
}
.tool-form select.field-input { font-weight: 500; }
.tool-form textarea.field-input {
  font-family: var(--sans);
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.tool-output-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(10, 37, 64, 0.04);
}
.tool-output-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.tool-output-body {
  padding: 1.2rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
  white-space: pre-wrap;
  word-wrap: break-word;
}
.copy-btn {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 150ms;
  text-transform: uppercase;
}
.copy-btn:hover { border-color: var(--purple); color: var(--purple); }
.copy-btn.copied { background: var(--green); color: white; border-color: var(--green); }
