:root {
  --ink: #111827;
  --ink-soft: #344054;
  --muted: #667085;
  --line: #d0d5dd;
  --paper: #f7f4ed;
  --white: #ffffff;
  --mint: #98f5d1;
  --mint-soft: #e3fbf1;
  --coral: #f97360;
  --blue: #4378ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.topbar { min-height: 72px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.12); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15px; font-weight: 750; letter-spacing: .02em; }
.brand-logo { width: 34px; height: 34px; display: block; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--mint); color: var(--ink); font-size: 12px; letter-spacing: -.05em; }
.top-actions { display: flex; align-items: center; gap: 16px; color: #c7d0dd; font-size: 12px; letter-spacing: .04em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(152,245,209,.12); }
.language-switch { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid rgba(255,255,255,.18); border-radius: 7px; }
.language-button { border: 0; border-radius: 4px; padding: 5px 8px; cursor: pointer; color: #aab6c4; background: transparent; font-size: 11px; font-weight: 700; }
.language-button.active { color: var(--ink); background: var(--mint); }
.text-link { color: var(--mint); text-decoration: none; font-weight: 700; }
.hero { padding: 82px 0 70px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 70px; align-items: start; }
.eyebrow, .label { margin: 0 0 14px; color: var(--coral); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 680px; margin-bottom: 25px; font-size: clamp(54px, 8vw, 104px); line-height: .92; letter-spacing: -.07em; }
h1 em { color: var(--blue); font-style: normal; }
.hero-lede { max-width: 530px; margin-bottom: 26px; color: var(--ink-soft); font-size: 19px; line-height: 1.55; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 8px 11px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink-soft); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.pill-live { color: #b42318; border-color: #f7b7ae; background: #fff4f2; }
.case-picker { margin-top: 34px; }
.case-picker-label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.case-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.case-tab { border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; cursor: pointer; color: var(--ink-soft); background: transparent; font-size: 11px; font-weight: 750; }
.case-tab.active, .case-tab:hover, .case-tab:focus-visible { color: var(--white); border-color: var(--blue); background: var(--blue); }
.workflow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: stretch; max-width: 650px; margin-top: 36px; }
.workflow-step { display: flex; flex-direction: column; gap: 5px; padding: 13px 14px; border-left: 3px solid var(--ink); background: rgba(255,255,255,.72); }
.workflow-step span { color: var(--coral); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.workflow-step strong { font-size: 13px; line-height: 1.25; }
.workflow-step small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.workflow-arrow { display: grid; place-items: center; color: var(--blue); font-size: 20px; font-weight: 800; }
.source-strip { padding: 26px; border-top: 5px solid var(--ink); background: var(--white); box-shadow: 12px 12px 0 var(--mint); }
.source-label, .draft-topline, .signal-head, .draft-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.source-label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.source-type { color: var(--blue); }
.source-strip p { margin: 26px 0 30px; color: var(--ink); font-size: 24px; font-weight: 650; line-height: 1.25; letter-spacing: -.03em; }
.source-foot, .fine { color: var(--muted); font-size: 12px; }
.use-cases { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: end; padding: 0 0 76px; }
.use-case-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.use-case-list span { padding: 12px 14px; border: 1px solid var(--line); color: var(--ink-soft); background: rgba(255,255,255,.55); font-size: 13px; font-weight: 700; }
.workspace { padding-bottom: 92px; }
.section-heading, .draft-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
h2 { margin-bottom: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1; letter-spacing: -.055em; }
.copy-button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink); border-radius: 5px; padding: 10px 13px; cursor: pointer; color: var(--ink); background: transparent; font-size: 12px; font-weight: 800; }
.copy-button:hover, .copy-button:focus-visible { color: var(--white); background: var(--ink); }
.copy-button.small { padding: 8px 10px; border-color: var(--line); color: var(--ink-soft); }
.signal-grid { display: grid; grid-template-columns: 1.2fr .75fr .95fr; gap: 12px; margin-top: 34px; }
.signal { min-height: 220px; padding: 24px; background: var(--white); border-top: 3px solid var(--ink); }
.signal-idea { background: var(--mint-soft); }
.idea { max-width: 520px; margin: 36px 0 18px; font-size: 25px; font-weight: 700; line-height: 1.18; letter-spacing: -.035em; }
.signal-score { background: var(--ink); color: var(--white); }
.signal-score .label, .signal-score .fine { color: var(--mint); }
.score-badge { color: #8f9aaa; font-size: 12px; }
.score-row { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.score-row strong { font-size: 74px; line-height: .9; letter-spacing: -.08em; }
.score-meter { flex: 1; height: 10px; background: #344054; border-radius: 20px; overflow: hidden; }
.score-meter span { display: block; width: 0; height: 100%; background: var(--coral); transition: width .35s ease; }
.signal-list { margin: 25px 0 0; color: #d0d5dd; font-size: 12px; line-height: 1.8; }
.signal-list span { display: inline-block; margin: 0 5px 4px 0; padding: 3px 7px; border: 1px solid #475467; border-radius: 3px; }
.signal-evidence ol { margin: 30px 0 0; padding-left: 20px; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.signal-evidence li { padding: 0 0 13px 4px; }
.draft-section { margin-top: 58px; }
.draft-heading { align-items: end; }
h3 { margin: 8px 0 0; font-size: 25px; letter-spacing: -.04em; }
.platform-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.platform-tab { border: 1px solid var(--line); border-radius: 4px; padding: 9px 12px; cursor: pointer; color: var(--ink-soft); background: transparent; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.platform-tab.active, .platform-tab:hover, .platform-tab:focus-visible { color: var(--white); border-color: var(--ink); background: var(--ink); }
.draft-output { min-height: 300px; margin-top: 18px; padding: 27px; background: var(--white); border: 1px solid var(--line); }
.draft-tag { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.draft-text { max-width: 820px; min-height: 154px; margin: 34px 0 34px; white-space: pre-line; color: var(--ink); font-size: 20px; line-height: 1.48; letter-spacing: -.02em; }
.draft-bottom { align-items: end; }
.hashtags { display: flex; flex-wrap: wrap; gap: 6px; }
.hashtags span { padding: 5px 8px; border-radius: 3px; color: var(--blue); background: #eef3ff; font-size: 11px; font-weight: 700; }
.risk-note { max-width: 360px; color: var(--muted); font-size: 11px; text-align: right; }
.closing { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 58px 0 84px; border-top: 1px solid var(--line); }
.closing h2 { max-width: 460px; }
.closing-copy { max-width: 430px; color: var(--ink-soft); font-size: 17px; line-height: 1.6; }
.primary-link { display: inline-block; margin-top: 15px; color: var(--blue); font-size: 13px; font-weight: 800; text-decoration: none; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .03em; }
.footer a { color: var(--ink-soft); }
@media (max-width: 840px) {
  .topbar { padding: 0 18px; }
  .top-actions > [data-copy="status"], .text-link { display: none; }
  .shell { width: min(100% - 32px, 620px); }
  .hero { display: block; padding: 60px 0 52px; }
  .source-strip { margin-top: 42px; box-shadow: 8px 8px 0 var(--mint); }
  .signal-grid, .closing { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: 1fr; gap: 7px; }
  .workflow-arrow { transform: rotate(90deg); height: 16px; }
  .use-cases { grid-template-columns: 1fr; padding-bottom: 56px; }
  .use-case-list { justify-content: flex-start; }
  .signal { min-height: unset; }
  .section-heading, .draft-heading { display: block; }
  .section-heading .copy-button { margin-top: 22px; }
  .platform-tabs { margin-top: 23px; }
  .draft-text { font-size: 17px; }
  .draft-bottom, .footer { display: block; }
  .risk-note { margin-top: 15px; text-align: left; }
  .footer span { display: block; margin-top: 8px; }
}
