:root {
  --black: #080808;
  --white: #ffffff;
  --paper: #f4f4f1;
  --line: #d8d8d2;
  --muted: #66665f;
  --soft: #e9e9e4;
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}

.site-header, main, footer { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.site-header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font: 800 28px/1 "Manrope", sans-serif;
  letter-spacing: -1.5px;
  text-decoration: none;
}
.site-nav { display: flex; align-items: center; gap: 24px; }
.nav-link { font-size: 14px; font-weight: 700; text-decoration: none; }
.nav-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--black);
  padding-bottom: 3px;
}

.hero { padding: 95px 0 78px; max-width: 1030px; }
.eyebrow, .step-label, .summary-label {
  margin: 0;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; }
.eyebrow span { width: 8px; height: 8px; border-radius: 99px; background: var(--black); }
h1, h2, h3 { font-family: "Manrope", sans-serif; margin: 0; letter-spacing: -.055em; }
h1 { font-size: clamp(58px, 8vw, 112px); line-height: .9; max-width: 1000px; }
.hero-copy { margin: 42px 0 0; max-width: 675px; font-size: clamp(19px, 2vw, 24px); line-height: 1.42; color: #42423d; letter-spacing: -.02em; }

.analyzer {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 64px);
  box-shadow: 0 20px 60px rgba(0,0,0,.07);
}
.analyzer-heading, .results-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.step-label, .summary-label { color: var(--muted); margin-bottom: 16px; }
.analyzer h2, .results h2, .how-it-works h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1; }
.source-strip { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.source {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.source i { width: 7px; height: 7px; border-radius: 50%; background: #aaa; }
.source.connected { color: var(--black); border-color: var(--black); }
.source.connected i { background: var(--black); }
.source.limited { color: var(--black); border-color: var(--black); border-style: dashed; }
.source.limited i { background: linear-gradient(90deg, var(--black) 50%, #aaa 50%); }
.source.unavailable { opacity: .55; }
.demo-trigger {
  width: 100%;
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  text-align: left;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.demo-trigger strong { color: var(--black); }
.demo-trigger > span:last-child { color: var(--black); font-weight: 700; white-space: nowrap; }
.demo-trigger:hover { background: var(--white); border-color: var(--black); }

form { max-width: 790px; margin-top: 42px; }
.field + .field { margin-top: 36px; }
.field label { display: block; font-weight: 700; margin-bottom: 12px; }
.optional-label { margin-left: 6px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea {
  width: 100%;
  color: var(--black);
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  transition: border-color .2s, background .2s;
}
.field input { height: 64px; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:hover, .field textarea:hover, .field input:focus, .field textarea:focus { border-color: var(--black); background: var(--white); outline-offset: 0; }
.field input::placeholder, .field textarea::placeholder { color: #8b8b84; }
.field-hint, .field-meta { margin: 9px 3px 0; color: var(--muted); font-size: 12px; }
.field-meta { display: flex; justify-content: space-between; }
.analyze-button {
  width: 100%;
  min-height: 74px;
  margin-top: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  padding: 0 16px 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s, opacity .2s;
}
.analyze-button:hover { transform: translateY(-2px); }
.analyze-button:disabled { cursor: wait; opacity: .72; transform: none; }
.button-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--black); font-size: 22px; }
.progress, .form-error { margin-top: 18px; border-radius: var(--radius-sm); padding: 15px 18px; font-size: 14px; }
.progress { display: flex; align-items: center; gap: 11px; background: var(--paper); }
.progress[hidden], .form-error[hidden] { display: none; }
.progress-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--black); animation: pulse 1s infinite alternate; }
.form-error { background: var(--black); color: var(--white); }
.outcome-row { margin-top: 62px; padding-top: 25px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; color: var(--muted); font-size: 13px; font-weight: 600; }
.outcome-row span::before { content: "✓"; color: var(--black); margin-right: 8px; }

.results { padding: 135px 0 40px; }
.text-button { border: 0; background: none; padding: 4px 0; border-bottom: 1px solid; font-weight: 700; cursor: pointer; }
.product-summary { margin: 58px 0 24px; padding: 42px; border-radius: var(--radius-md); background: var(--black); color: var(--white); }
.product-summary .summary-label { color: #aaa; }
.product-summary h3 { font-size: clamp(30px, 4vw, 48px); }
.product-summary > p:not(.summary-label) { font-size: 18px; max-width: 740px; color: #d4d4cf; margin: 14px 0 30px; }
.summary-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.summary-meta span { border: 1px solid #555; border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 700; }
.evidence-note { margin: 18px 0 38px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--muted); font-size: 13px; }
.research-receipt { margin: 0 0 18px; padding: 30px; border: 1px solid #dedee1; border-radius: 20px; background: #fff; }
.research-receipt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.research-receipt h3 { margin-top: 7px; font-size: clamp(23px, 3vw, 32px); letter-spacing: -.035em; }
.research-grade { padding: 8px 12px; border-radius: 999px; background: #171719; color: #fff; font-size: 10px; font-weight: 800; white-space: nowrap; }
.research-stats { margin-top: 27px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #e4e4e6; border-bottom: 1px solid #e4e4e6; }
.research-stats div { padding: 20px 18px 20px 0; display: grid; gap: 5px; }
.research-stats div + div { padding-left: 18px; border-left: 1px solid #e4e4e6; }
.research-stats strong { font: 800 28px/1 "Manrope", sans-serif; letter-spacing: -.04em; }
.research-stats span { color: #76767a; font-size: 10px; font-weight: 700; }
.research-method { margin-top: 20px; }
.research-method summary { width: max-content; color: #222225; font-size: 11px; font-weight: 800; cursor: pointer; }
.research-method p { max-width: 760px; margin: 13px 0 0; color: #555559; font-size: 12px; line-height: 1.55; }
.research-method .research-limitation { color: #858589; }
.research-query-list { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 6px; }
.research-query-list:empty { display: none; }
.research-query-list span { padding: 6px 9px; border: 1px solid #dedee1; border-radius: 999px; color: #4d4d51; font-size: 9px; font-weight: 700; }
.concept-list { display: grid; gap: 14px; }
.concept-card { display: grid; grid-template-columns: 96px 1fr; background: var(--white); border-radius: var(--radius-md); padding: 38px; }
.concept-number { font: 800 34px/1 "Manrope", sans-serif; }
.concept-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.concept-signal { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.confidence-pill { padding: 7px 10px; border-radius: 999px; background: #eef5ee; color: #245d35; font-size: 10px; font-weight: 800; white-space: nowrap; }
.platform-pill { min-height: 32px; padding: 7px 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--black); color: var(--white); font-size: 11px; line-height: 1; font-weight: 700; letter-spacing: .07em; text-align: center; text-transform: uppercase; white-space: nowrap; }
.signal { color: var(--muted); font-size: 12px; font-weight: 700; text-align: right; }
.concept-title { font-size: clamp(30px, 4vw, 48px); line-height: 1.04; max-width: 760px; }
.concept-intelligence { margin-top: 27px; padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-radius: 15px; background: #e2e2e4; overflow: hidden; }
.concept-intelligence > div { min-width: 0; padding: 17px 18px; background: #f7f7f8; }
.concept-intelligence span,
.blueprint-grid span { display: block; margin-bottom: 7px; color: #77777b; font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.concept-intelligence p { margin: 0; color: #29292c; font-size: 12px; line-height: 1.5; font-weight: 650; }
.confidence-reason { margin: 10px 2px 0; color: #727276; font-size: 10px; line-height: 1.5; font-weight: 700; }
.concept-block { position: relative; display: grid; grid-template-columns: 135px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.concept-title + .concept-block { margin-top: 32px; }
.concept-block > span, .references > span { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.concept-block p { margin: 0; font-size: 17px; white-space: pre-line; }
.script-block p { padding-right: 0; font-weight: 600; }
.script-actions { position: static; grid-column: 2; margin-top: 14px; display: flex; gap: 7px; }
.copy-button, .save-button { border: 1px solid var(--line); border-radius: 999px; background: var(--white); padding: 8px 11px; font-size: 11px; font-weight: 700; cursor: pointer; }
.save-button { background: var(--black); border-color: var(--black); color: var(--white); }
.copy-button:disabled, .save-button:disabled { cursor: default; opacity: .65; }
.references { display: grid; grid-template-columns: 135px 1fr; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.reference-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.reference-links a, .no-reference { border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; color: var(--black); font-size: 12px; font-weight: 700; text-decoration: none; }
.reference-links a:hover { border-color: var(--black); background: #fafafa; }
.reference-card { min-width: 0; display: grid; gap: 5px; }
.reference-card .reference-meta { overflow: hidden; color: #5f5f63; font-size: 9px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.reference-card strong { display: -webkit-box; overflow: hidden; font-size: 12px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.reference-card small { color: #858589; font-size: 9px; font-weight: 700; }
.no-reference { color: var(--muted); font-weight: 500; }
.creator-blueprint { margin: 18px 0 24px 159px; padding: 18px; border-radius: 15px; background: #1b1b1d; color: #fff; }
.creator-blueprint summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; }
.creator-blueprint summary::-webkit-details-marker { display: none; }
.creator-blueprint summary span { font-size: 12px; font-weight: 800; }
.creator-blueprint summary b { color: #a8a8ac; font-size: 10px; }
.blueprint-grid { margin-top: 18px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; }
.blueprint-grid ol,
.blueprint-grid ul { margin: 0; padding-left: 18px; color: #e2e2e4; font-size: 11px; line-height: 1.55; font-weight: 600; }
.blueprint-grid li + li { margin-top: 5px; }
.blueprint-test { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #3b3b3e; color: #b8b8bc; font-size: 11px; line-height: 1.5; }
.revision-panel { grid-column: 2; margin-top: 9px; padding: 14px 15px; border-radius: 14px; background: #f3f3f4; }
.revision-panel summary { width: max-content; color: #1b1b1d; font-size: 12px; font-weight: 700; cursor: pointer; }
.revision-panel label { margin-top: 13px; display: grid; gap: 7px; color: #4f4f53; font-size: 11px; font-weight: 700; }
.revision-input { width: 100%; min-height: 76px; padding: 12px 13px; resize: vertical; border: 1px solid #d7d7da; border-radius: 11px; background: #fff; color: #171719; font-size: 13px; font-weight: 600; }
.revision-input:focus { border-color: #1b1b1d; outline: none; box-shadow: 0 0 0 3px rgba(20,20,22,.06); }
.revision-footer { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.revision-status { color: #68686c; font-size: 11px; font-weight: 600; }
.revise-button { min-height: 36px; padding: 0 14px; flex: 0 0 auto; border: 0; border-radius: 999px; background: #1b1b1d; color: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }
.revise-button:disabled { cursor: wait; opacity: .6; }

.creator-guidance { margin-top: 22px; display: grid; grid-template-columns: .8fr 2fr; gap: 50px; border-radius: var(--radius-md); background: var(--soft); padding: 42px; }
.creator-guidance h3 { font-size: 32px; }
.guidance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; }
.guidance-item strong { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 7px; }
.guidance-item p { margin: 0; color: var(--muted); font-size: 14px; }

.how-it-works { padding: 160px 0 130px; }
.how-it-works h2 { max-width: 800px; }
.how-it-works ol { list-style: none; margin: 70px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--black); }
.how-it-works li { padding: 24px 34px 0 0; }
.how-it-works li + li { border-left: 1px solid var(--line); padding-left: 34px; }
.how-it-works li span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; margin-bottom: 42px; }
.how-it-works li strong { display: block; font-family: "Manrope", sans-serif; font-size: 19px; }
.how-it-works li p { color: var(--muted); font-size: 14px; }

footer { border-top: 1px solid var(--line); padding: 44px 0 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); }
footer .brand { color: var(--black); }
footer p { margin: 0; }
footer > a:last-child { font-weight: 700; color: var(--black); text-decoration: none; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--black); color: var(--white); padding: 11px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; transition: .2s; z-index: 5; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Public landing page */
.landing-page { background: var(--paper); }
.landing-header { border-bottom: 1px solid var(--line); }
.landing-nav-button,
.primary-pill,
.secondary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.landing-nav-button { min-height: 42px; padding: 0 18px; background: var(--black); color: var(--white); font-size: 13px; }
.landing-main { overflow: hidden; }
.landing-hero { min-height: 720px; padding: 78px 0 96px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(50px, 8vw, 110px); }
.landing-hero-copy h1 { max-width: 720px; font-size: clamp(62px, 7.3vw, 104px); }
.landing-hero-copy > p:not(.eyebrow):not(.landing-fineprint) { max-width: 620px; margin: 34px 0 0; color: #42423d; font-size: clamp(18px, 2vw, 22px); letter-spacing: -.02em; }
.landing-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 10px; }
.primary-pill, .secondary-pill { min-height: 58px; padding: 0 24px; border: 1px solid var(--black); }
.primary-pill { background: var(--black); color: var(--white); }
.secondary-pill { background: transparent; color: var(--black); }
.primary-pill:hover, .landing-nav-button:hover { opacity: .78; }
.secondary-pill:hover { background: var(--white); }
.landing-fineprint { margin: 17px 3px 0; color: var(--muted); font-size: 12px; font-weight: 600; }
.landing-hero-visual { position: relative; margin: 0; }
.landing-hero-visual::before { content: ""; position: absolute; inset: 18px -16px -18px 16px; z-index: -1; border-radius: var(--radius-lg); background: var(--black); transform: rotate(2deg); }
.landing-hero-visual img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 28px 80px rgba(0,0,0,.12); }
.landing-hero-visual figcaption { position: absolute; right: 20px; bottom: 20px; left: 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(8,8,8,.92); color: var(--white); }
.landing-hero-visual figcaption span { color: #b8b8b2; font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.landing-hero-visual figcaption strong { font: 800 14px/1.2 "Manrope", sans-serif; text-align: right; }
.landing-preview { position: relative; padding: 34px; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 28px 80px rgba(0,0,0,.1); transform: rotate(1.2deg); }
.landing-preview::before { content: ""; position: absolute; inset: 13px; z-index: -1; border-radius: var(--radius-lg); background: var(--black); transform: rotate(-4deg); }
.preview-top, .preview-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.preview-rank { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--black); color: var(--white); font-size: 13px; letter-spacing: 0; }
.preview-platforms { display: flex; flex-wrap: wrap; gap: 6px; margin: 38px 0 28px; }
.preview-platforms span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.preview-label, .preview-script > span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.landing-preview h2 { margin-top: 10px; font-size: clamp(32px, 3.5vw, 49px); line-height: 1.02; }
.preview-script { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.preview-script p { margin: 9px 0 0; color: #3e3e39; font-size: 15px; }
.preview-footer { margin-top: 30px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--paper); letter-spacing: 0; color: var(--muted); }
.source-marquee { min-width: 100%; padding: 25px 30px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-block: 1px solid var(--black); font: 800 clamp(18px, 2.4vw, 29px)/1 "Manrope", sans-serif; white-space: nowrap; }
.source-marquee i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--black); }
.landing-process { padding: 145px 0; }
.landing-section-head { display: grid; grid-template-columns: .55fr 1.45fr; gap: 40px; align-items: start; }
.landing-section-head h2 { max-width: 780px; font-size: clamp(44px, 6vw, 78px); line-height: .98; }
.landing-process ol { margin: 80px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--black); }
.landing-process li { display: grid; grid-template-columns: .55fr 1.45fr; gap: 40px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.landing-process li > span { color: var(--muted); font-size: 12px; font-weight: 800; }
.landing-process li h3 { font-size: clamp(27px, 3vw, 40px); }
.landing-process li p { max-width: 570px; margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.landing-cta { margin-bottom: 120px; padding: clamp(42px, 7vw, 84px); border-radius: var(--radius-lg); background: var(--black); color: var(--white); text-align: center; }
.landing-cta .step-label { color: #9b9b95; }
.landing-cta h2 { margin-top: 18px; font-size: clamp(48px, 7vw, 88px); line-height: .95; }
.landing-cta > p:not(.step-label) { max-width: 560px; margin: 24px auto 30px; color: #c9c9c4; font-size: 18px; }
.primary-pill.light { border-color: var(--white); background: var(--white); color: var(--black); }
.landing-footer > a:last-child { text-decoration: underline; text-underline-offset: 5px; }

.auth-shell { min-height: 100vh; background: var(--paper); }
.auth-main { width: min(calc(100% - 48px), 1180px); margin: 0 auto; padding: 64px 0 100px; }
.auth-grid { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 650px; overflow: hidden; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 20px 60px rgba(0,0,0,.07); }
.auth-intro { padding: clamp(38px, 6vw, 74px); background: var(--black); color: var(--white); display: flex; flex-direction: column; justify-content: space-between; }
.auth-intro h1 { margin-top: 28px; font-size: clamp(48px, 6vw, 76px); }
.auth-intro p { max-width: 430px; color: #c9c9c4; font-size: 18px; }
.auth-benefits { display: grid; gap: 12px; margin-top: 44px; }
.auth-benefits span { padding-top: 12px; border-top: 1px solid #3b3b3b; font-size: 13px; font-weight: 700; }
.auth-panel { padding: clamp(38px, 7vw, 84px); display: flex; align-items: center; }
.auth-form-wrap { width: 100%; max-width: 520px; margin: 0 auto; }
.auth-tabs { display: flex; gap: 22px; margin-bottom: 42px; border-bottom: 1px solid var(--line); }
.auth-tab { border: 0; background: none; padding: 0 0 12px; color: var(--muted); font-weight: 700; cursor: pointer; }
.auth-tab.active { color: var(--black); border-bottom: 2px solid var(--black); }
.auth-step-label { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.auth-form h2 { margin: 10px 0 32px; font-size: clamp(36px, 5vw, 54px); line-height: 1; }
.auth-form .field + .field { margin-top: 22px; }
.auth-form .field input { height: 58px; padding: 16px 18px; }
.auth-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 30px; }
.auth-primary, .auth-secondary { min-height: 54px; border-radius: 999px; padding: 0 22px; font-weight: 800; cursor: pointer; }
.auth-primary { flex: 1; border: 1px solid var(--black); background: var(--black); color: var(--white); }
.auth-secondary { border: 1px solid var(--line); background: var(--white); color: var(--black); }
.role-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role-option { position: relative; }
.role-option input { position: absolute; opacity: 0; pointer-events: none; }
.role-option label { min-height: 148px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); cursor: pointer; }
.role-option strong { font: 800 24px/1.1 "Manrope", sans-serif; }
.role-option span { color: var(--muted); font-size: 13px; }
.role-option input:checked + label { border-color: var(--black); background: var(--black); color: var(--white); }
.role-option input:checked + label span { color: #c9c9c4; }
.auth-message { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--paper); font-size: 13px; }
.auth-message.error { background: var(--black); color: var(--white); }

.account-main { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 76px 0 120px; }
.account-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.account-head h1 { font-size: clamp(52px, 7vw, 92px); }
.profile-line { margin: 18px 0 0; color: var(--muted); }
.role-badge { display: inline-flex; margin-left: 8px; border: 1px solid var(--black); border-radius: 999px; padding: 4px 9px; color: var(--black); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.saved-list { display: grid; gap: 14px; }
.saved-card { background: var(--white); border-radius: var(--radius-md); padding: 34px; }
.saved-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.saved-card h2 { margin-top: 12px; font-size: clamp(28px, 4vw, 42px); }
.saved-card-meta { color: var(--muted); font-size: 12px; font-weight: 700; }
.saved-script { margin: 28px 0 0; padding: 24px 0; border-top: 1px solid var(--line); white-space: pre-line; font-size: 17px; font-weight: 600; }
.saved-details { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.saved-details strong { display: block; margin-bottom: 7px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.saved-details p { margin: 0; color: var(--muted); }
.saved-actions { display: flex; gap: 8px; margin-top: 24px; }
.saved-actions button { border: 1px solid var(--line); border-radius: 999px; background: var(--white); padding: 9px 13px; font-size: 12px; font-weight: 700; cursor: pointer; }
.saved-actions .delete-script { color: #8b2020; }
.empty-state { padding: 70px 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: center; }
.empty-state h2 { font-size: 38px; }
.empty-state p { color: var(--muted); }

@keyframes pulse { to { opacity: .2; transform: scale(.75); } }
@media (max-width: 780px) {
  .site-header, main, footer { width: min(calc(100% - 28px), var(--max)); }
  .site-header { height: 76px; }
  .hero { padding: 70px 0 54px; }
  h1 { font-size: clamp(53px, 15vw, 78px); }
  .hero-copy { margin-top: 30px; }
  .analyzer { padding: 28px 20px; border-radius: 25px; }
  .analyzer-heading, .results-head { display: block; }
  .source-strip { justify-content: flex-start; margin-top: 25px; }
  .demo-trigger { align-items: flex-start; flex-direction: column; }
  form { margin-top: 45px; }
  .outcome-row { grid-template-columns: 1fr; gap: 10px; }
  .results { padding-top: 95px; }
  .text-button { margin-top: 20px; }
  .product-summary { padding: 28px 23px; }
  .concept-card { grid-template-columns: 1fr; padding: 26px 22px; }
  .concept-number { margin-bottom: 22px; }
  .concept-block, .references { grid-template-columns: 1fr; gap: 8px; }
  .script-block p { padding-right: 0; }
  .script-actions { position: static; width: max-content; margin-top: 8px; }
  .creator-guidance { grid-template-columns: 1fr; gap: 34px; padding: 28px 23px; }
  .guidance-grid { grid-template-columns: 1fr; }
  .how-it-works { padding: 110px 0 90px; }
  .how-it-works ol { grid-template-columns: 1fr; border-top: 0; gap: 36px; }
  .how-it-works li, .how-it-works li + li { border-top: 1px solid var(--black); border-left: 0; padding: 20px 0 0; }
  .how-it-works li span { margin-bottom: 26px; }
  footer { align-items: flex-start; flex-direction: column; }
  .site-nav { gap: 12px; }
  .site-nav .nav-link { display: none; }
  .auth-main, .account-main { width: min(calc(100% - 28px), var(--max)); }
  .auth-main { padding-top: 28px; }
  .auth-grid { grid-template-columns: 1fr; }
  .auth-intro { min-height: 390px; }
  .auth-panel { padding: 38px 24px 54px; }
  .account-head { align-items: flex-start; flex-direction: column; }
  .saved-details { grid-template-columns: 1fr; }
  .landing-hero { min-height: auto; padding: 64px 0 90px; grid-template-columns: 1fr; gap: 72px; }
  .landing-hero-copy h1 { font-size: clamp(54px, 15vw, 82px); }
  .landing-preview, .landing-hero-visual { width: min(94%, 520px); margin: 0 auto; }
  .landing-preview { padding: 26px; }
  .source-marquee { width: max-content; justify-content: flex-start; gap: 18px; font-size: 17px; }
  .landing-process { padding: 105px 0; }
  .landing-section-head, .landing-process li { grid-template-columns: 1fr; gap: 20px; }
  .landing-process ol { margin-top: 54px; }
  .landing-cta { margin-bottom: 72px; }
}
@media (max-width: 480px) {
  .header-link { font-size: 13px; }
  .eyebrow { font-size: 10px; }
  h1 { font-size: 48px; }
  .analyzer h2, .results h2, .how-it-works h2 { font-size: 38px; }
  .source { font-size: 10px; padding: 7px 9px; }
  .concept-topline { align-items: flex-start; flex-direction: column; }
  .signal { text-align: left; }
  .landing-header .site-nav { gap: 9px; }
  .landing-header .nav-link { display: inline-flex; }
  .landing-header .landing-how-link, .landing-header #landing-account { display: none; }
  .landing-nav-button { min-height: 39px; padding-inline: 14px; }
  .landing-actions { display: grid; }
  .primary-pill, .secondary-pill { width: 100%; }
  .preview-footer { align-items: flex-start; flex-direction: column; }
  .landing-hero-visual figcaption { align-items: flex-start; flex-direction: column; }
  .landing-hero-visual figcaption strong { text-align: left; }
}

/* Authenticated workspace */
.workspace-page {
  min-height: 100vh;
  padding: clamp(18px, 4vw, 68px);
  background: #fff;
  font-family: "DM Sans", sans-serif;
}
.workspace-frame {
  width: min(100%, 1280px);
  min-height: min(780px, calc(100vh - 72px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #d6d6d8;
  border-radius: 34px;
  background: #f1f1f3;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .08);
}
.workspace-sidebar {
  position: relative;
  padding: 34px 24px 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #d6d6d8;
  background: #fff;
}
.workspace-brand {
  margin-bottom: 34px;
  font: 800 25px/1 "Manrope", sans-serif;
  letter-spacing: -.06em;
  text-decoration: none;
}
.workspace-nav { display: grid; gap: 6px; }
.workspace-nav a {
  min-height: 48px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 12px;
  color: #656568;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.workspace-nav a:hover { background: #f5f5f6; color: #171719; }
.workspace-nav a.active { background: #efeff1; color: #171719; font-weight: 700; }
.workspace-nav-icon { width: 16px; text-align: center; font-size: 20px; line-height: 1; }
.bookmark-icon {
  width: 13px;
  height: 17px;
  margin-inline: 2px 1px;
  border: 1.7px solid currentColor;
  border-radius: 2px 2px 1px 1px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
}
.plans-icon {
  position: relative;
  width: 17px;
  height: 13px;
  border: 1.7px solid currentColor;
  border-radius: 4px;
}
.plans-icon::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 2px;
  left: 2px;
  border-top: 1.7px solid currentColor;
}
.workspace-usage {
  margin-top: auto;
  padding: 14px 15px;
  display: grid;
  gap: 3px;
  border: 1px solid #dddddf;
  border-radius: 14px;
  background: #fff;
  color: #6f6f73;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.workspace-usage:hover {
  border-color: #bababc;
  background: #fafafa;
  transform: translateY(-1px);
}
.workspace-usage.active { border-color: #1c1c1e; }
.workspace-usage strong {
  overflow: hidden;
  color: #19191b;
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-profile {
  margin-top: 10px;
  padding: 16px;
  display: grid;
  border-radius: 14px;
  background: #f6f6f7;
}
.workspace-profile strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.workspace-profile span { color: #76767a; font-size: 11px; }
.workspace-profile button {
  width: max-content;
  margin-top: 10px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #8b8b8e;
  background: transparent;
  color: #58585b;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.workspace-content { min-width: 0; padding: clamp(34px, 5vw, 54px); }
.workspace-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.workspace-heading h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1; letter-spacing: -.06em; }
.workspace-heading p { margin: 7px 0 0; color: #747478; font-size: 14px; }
.workspace-analyze {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #19191b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s, opacity .18s;
}
.workspace-analyze span { font-size: 17px; font-weight: 400; }
.workspace-analyze:hover { opacity: .82; transform: translateY(-1px); }
.featured-briefs {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.featured-brief {
  position: relative;
  min-height: 252px;
  padding: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  border: 0;
  border-radius: 19px;
  color: #171719;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
}
.featured-brief::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .92;
  transition: transform .35s ease;
}
.featured-brief:hover::before { transform: scale(1.045); }
.featured-brief.tone-1::before { background: radial-gradient(circle at 18% 5%, #e8f5ff 0 8%, transparent 42%), linear-gradient(135deg, #c7ddf4 2%, #eef4fa 51%, #a5c5e4 100%); }
.featured-brief.tone-2::before { background: radial-gradient(circle at 40% 10%, #fff0e8 0 7%, transparent 44%), linear-gradient(135deg, #f1d5c4 0%, #f8e8dd 52%, #dfaa8f 100%); }
.featured-brief.tone-3::before { background: radial-gradient(circle at 25% 4%, #eef8e9 0 8%, transparent 44%), linear-gradient(135deg, #d5e7cc 0%, #edf3e9 55%, #abc39e 100%); }
.featured-brief span {
  max-width: 100%;
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.featured-brief h3 {
  margin-top: 10px;
  display: -webkit-box;
  overflow: hidden;
  font: 800 clamp(20px, 2vw, 27px)/1.08 "Manrope", sans-serif;
  letter-spacing: -.045em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.workspace-angle {
  margin-top: 24px;
  padding: 18px 21px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 18px;
  background: #fff;
}
.workspace-angle-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #e7f1fc;
  color: #1d83d7;
  font-size: 20px;
}
.workspace-angle strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.workspace-angle p {
  margin: 3px 0 0;
  display: -webkit-box;
  overflow: hidden;
  color: #7a7a7e;
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.recent-briefs { margin-top: 24px; }
.recent-heading { margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.recent-heading h2 { font-size: 16px; letter-spacing: -.025em; }
.recent-heading span { color: #77777a; font-size: 11px; }
.recent-list { overflow: hidden; border-radius: 17px; background: #fff; }
.recent-brief {
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr) 80px 18px;
  align-items: center;
  gap: 10px;
  border: 0;
  background: #fff;
  color: #1b1b1d;
  text-align: left;
  cursor: pointer;
}
.recent-brief + .recent-brief { border-top: 1px solid #dedee0; }
.recent-brief:hover { background: #fafafa; }
.recent-platform, .recent-date { color: #7a7a7e; font-size: 11px; }
.recent-brief strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.recent-date { text-align: right; }
.recent-arrow { text-align: right; font-size: 17px; }
.workspace-loading { margin-top: 90px; color: #77777b; font-size: 14px; text-align: center; }
.workspace-empty {
  min-height: 470px;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed #ceced1;
  border-radius: 22px;
  background: rgba(255, 255, 255, .48);
  text-align: center;
}
.workspace-empty > span { color: #a4a4a8; font-size: 38px; }
.workspace-empty h2 { margin-top: 14px; font-size: clamp(28px, 4vw, 42px); }
.workspace-empty p { max-width: 390px; margin: 10px auto 24px; color: #77777b; font-size: 14px; }
.workspace-empty a { padding: 12px 18px; border-radius: 999px; background: #19191b; color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
.brief-dialog {
  width: min(calc(100% - 32px), 720px);
  max-height: min(820px, calc(100vh - 42px));
  margin: auto;
  padding: 32px;
  overflow: auto;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: #161618;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .2);
}
.brief-dialog::backdrop { background: rgba(18, 18, 20, .4); backdrop-filter: blur(7px); }
.brief-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.brief-dialog-head > div > span { color: #77777b; font-size: 11px; font-weight: 700; }
.brief-dialog-head h2 { margin-top: 8px; font-size: clamp(30px, 5vw, 46px); line-height: 1; }
.brief-close { width: 38px; height: 38px; flex: 0 0 auto; border: 0; border-radius: 50%; background: #f0f0f2; font-size: 24px; line-height: 1; cursor: pointer; }
.brief-dialog-section { margin-top: 26px; padding-top: 20px; border-top: 1px solid #dedee0; }
.brief-dialog-section > span { color: #77777b; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.brief-dialog-section p { margin: 7px 0 0; white-space: pre-line; }
.brief-dialog-section.script p { font-size: 17px; font-weight: 600; }
.brief-reference-list { margin-top: 10px; display: grid; gap: 8px; }
.brief-reference-list a { padding: 11px 13px; border-radius: 12px; background: #f3f3f4; font-size: 12px; font-weight: 700; text-decoration: none; }
.brief-dialog-actions { margin-top: 28px; display: flex; gap: 9px; }
.brief-dialog-actions button { padding: 11px 16px; border: 1px solid #19191b; border-radius: 999px; background: #19191b; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.brief-dialog-actions button.danger { border-color: #dedee0; background: #fff; color: #8b2020; }
.brief-dialog-actions button:disabled { cursor: wait; opacity: .55; }
.workspace-content > .auth-message { margin-top: 28px; }

/* Plans */
.plans-workspace { min-height: min(760px, calc(100vh - 72px)); }
.plans-content {
  padding-top: 40px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 255, 255, .95), transparent 31%),
    #f1f1f3;
}
.plans-heading { align-items: flex-end; }
.plans-heading h1 {
  font: 800 clamp(40px, 5vw, 58px)/.95 "Manrope", sans-serif;
  letter-spacing: -.065em;
}
.plans-heading p {
  max-width: 570px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
}
.manage-billing {
  min-height: 42px;
  padding: 0 17px;
  flex: 0 0 auto;
  border: 1px solid #ceced1;
  border-radius: 999px;
  background: #fff;
  color: #1b1b1d;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.manage-billing:hover { border-color: #1b1b1d; }
.manage-billing:disabled { cursor: wait; opacity: .55; }
.plan-status {
  margin-top: 28px;
  padding: 19px 22px;
  display: grid;
  grid-template-columns: minmax(150px, .8fr) minmax(150px, .8fr) minmax(220px, 1.4fr);
  align-items: center;
  gap: 24px;
  border: 1px solid #d8d8da;
  border-radius: 19px;
  background: rgba(255, 255, 255, .8);
}
.plan-status > div { display: grid; gap: 4px; }
.plan-status span,
.plan-card-head > span {
  color: #79797d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}
.plan-status strong { font-size: 16px; letter-spacing: -.02em; }
.plan-status p {
  margin: 0;
  color: #6f6f73;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}
.checkout-notice {
  margin-top: 14px;
  padding: 13px 16px;
  border: 1px solid #d5d5d7;
  border-radius: 14px;
  background: #fff;
  color: #4f4f53;
  font-size: 12px;
  font-weight: 700;
}
.tester-access {
  margin-top: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid #d5d5d7;
  border-radius: 19px;
  background: rgba(255, 255, 255, .82);
}
.tester-access > div { max-width: 520px; }
.tester-access span { color: #79797d; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.tester-access h2 { margin-top: 4px; font: 800 18px/1.15 "Manrope", sans-serif; letter-spacing: -.035em; }
.tester-access p { margin: 5px 0 0; color: #6f6f73; font-size: 11px; font-weight: 600; line-height: 1.45; }
.tester-access form { width: min(390px, 46%); display: flex; gap: 8px; }
.tester-access input {
  min-width: 0;
  min-height: 44px;
  flex: 1;
  padding: 0 15px;
  border: 1px solid #ceced1;
  border-radius: 999px;
  background: #fff;
  color: #19191b;
  font: 700 12px/1 "DM Sans", sans-serif;
  outline: none;
}
.tester-access input:focus { border-color: #19191b; box-shadow: 0 0 0 3px rgba(25, 25, 27, .08); }
.tester-access button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid #19191b;
  border-radius: 999px;
  background: #19191b;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.tester-access button:disabled { cursor: wait; opacity: .45; }
.plan-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.plan-card {
  min-height: 450px;
  padding: 25px 23px 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid #d4d4d6;
  border-radius: 25px;
  background: #fff;
  color: #19191b;
}
.plan-card.featured {
  border-color: #19191b;
  background: #19191b;
  color: #fff;
  box-shadow: 0 18px 35px rgba(0, 0, 0, .13);
}
.annual-plan { background: #e7e7e9; }
.plan-card.featured .plan-card-head > span,
.plan-card.featured .plan-card-head p,
.plan-card.featured .plan-price span { color: #bdbdc1; }
.plan-card-head h2 {
  margin-top: 9px;
  font: 800 clamp(27px, 2.5vw, 34px)/1 "Manrope", sans-serif;
  letter-spacing: -.05em;
}
.plan-card-head p {
  min-height: 58px;
  margin: 11px 0 0;
  color: #717175;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}
.plan-price {
  margin-top: 23px;
  display: grid;
  gap: 1px;
}
.plan-price strong {
  font: 800 clamp(35px, 3.5vw, 46px)/1 "Manrope", sans-serif;
  letter-spacing: -.065em;
}
.plan-price span { color: #77777b; font-size: 11px; font-weight: 700; }
.plan-card ul {
  margin: 24px 0 26px;
  padding: 20px 0 0;
  display: grid;
  gap: 11px;
  border-top: 1px solid #dedee0;
  list-style: none;
}
.plan-card.featured ul { border-color: #39393d; }
.plan-card li {
  position: relative;
  padding-left: 18px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}
.plan-card li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 1px;
  width: 7px;
  height: 4px;
  border-bottom: 1.7px solid currentColor;
  border-left: 1.7px solid currentColor;
  transform: rotate(-45deg);
}
.plan-button {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #19191b;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity .18s ease, transform .18s ease;
}
.plan-button.secondary {
  border-color: #19191b;
  background: #19191b;
  color: #fff;
}
.plan-button:hover:not(:disabled) { transform: translateY(-1px); opacity: .82; }
.plan-button:disabled { cursor: not-allowed; opacity: .38; }
.plan-footnote {
  margin: 15px 0 0;
  color: #77777b;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 900px) {
  .workspace-page { padding: 14px; }
  .workspace-frame { min-height: calc(100vh - 28px); grid-template-columns: 190px minmax(0, 1fr); border-radius: 26px; }
  .workspace-sidebar { padding: 27px 17px 20px; }
  .workspace-content { padding: 34px 26px; }
  .featured-briefs { grid-template-columns: 1fr 1fr; }
  .featured-brief:nth-child(3) { display: none; }
  .plans-content { padding-inline: 22px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 0; }
  .plan-card-head p { min-height: 0; }
  .plan-status { grid-template-columns: 1fr 1fr; }
  .plan-status p { grid-column: 1 / -1; }
  .tester-access { align-items: flex-start; flex-direction: column; }
  .tester-access form { width: 100%; }
}

@media (max-width: 650px) {
  .workspace-page { padding: 0; background: #f1f1f3; }
  .workspace-frame { width: 100%; min-height: 100vh; display: block; border: 0; border-radius: 0; box-shadow: none; }
  .workspace-sidebar { padding: 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; border: 0; border-bottom: 1px solid #d6d6d8; }
  .workspace-brand { margin: 0; }
  .workspace-nav { margin-top: 17px; grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .workspace-nav a { justify-content: center; }
  .workspace-nav-icon { display: none; }
  .workspace-usage { display: none; }
  .workspace-profile { margin: 0; padding: 0; display: block; background: transparent; text-align: right; }
  .workspace-profile span, .workspace-profile button { display: none; }
  .workspace-content { padding: 28px 18px 50px; }
  .workspace-heading { align-items: flex-start; }
  .workspace-heading p { max-width: 240px; }
  .workspace-analyze { width: 46px; padding: 0; justify-content: center; font-size: 0; }
  .workspace-analyze span { font-size: 21px; }
  .featured-briefs { grid-template-columns: 1fr; }
  .featured-brief { min-height: 220px; }
  .featured-brief:nth-child(2) { display: none; }
  .workspace-angle strong, .workspace-angle p { -webkit-line-clamp: 2; }
  .recent-brief { grid-template-columns: 76px minmax(0, 1fr) 18px; }
  .recent-date { display: none; }
  .brief-dialog { padding: 25px 20px; }
  .plans-heading { align-items: flex-start; }
  .plans-heading p { max-width: 270px; }
  .manage-billing { min-height: 38px; padding-inline: 13px; }
  .plan-status { grid-template-columns: 1fr; gap: 15px; }
  .plan-status p { grid-column: auto; }
  .tester-access form { display: grid; }
}
/* Analyzer workspace */
.analyzer-workspace { min-height: min(760px, calc(100vh - 72px)); }
.analyzer-page { font-family: "Inter", "DM Sans", sans-serif; font-weight: 600; }
.analyzer-page h1,
.analyzer-page h2,
.analyzer-page h3 { font-family: "Inter", "DM Sans", sans-serif; }
.analyzer-page .workspace-brand { font-size: 23px; }
.analyzer-page .workspace-nav a { min-height: 46px; font-size: 13px; font-weight: 700; }
.analyzer-page .workspace-profile strong,
.analyzer-page .workspace-profile span,
.analyzer-page .workspace-profile button { font-weight: 700; }
.analyzer-icon {
  position: relative;
  width: 17px;
  height: 17px;
  border: 1.7px solid currentColor;
  border-radius: 50%;
}
.analyzer-icon::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -2px;
  width: 6px;
  border-top: 1.7px solid currentColor;
  transform: rotate(45deg);
  transform-origin: right center;
}
.analyzer-content { padding-top: 40px; overflow: auto; }
.analyzer-heading-simple { align-items: flex-start; }
.analyzer-heading-simple h1 { font-size: clamp(35px, 3.8vw, 44px); font-weight: 700; letter-spacing: -.045em; }
.analyzer-heading-simple p { max-width: 520px; margin-top: 5px; font-size: 13px; font-weight: 600; }
.workspace-saved {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 1px solid #d9d9dc;
  border-radius: 999px;
  background: #fff;
  color: #4e4e52;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.workspace-saved .bookmark-icon { width: 11px; height: 14px; }
.workspace-saved:hover { border-color: #99999d; color: #18181a; }
.analyzer-card {
  width: min(100%, 700px);
  margin: 36px auto 0;
  padding: clamp(24px, 3.5vw, 34px);
  border: 1px solid #e1e1e3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(20, 20, 22, .045);
}
.analyzer-card form { max-width: none; margin: 0; }
.analyzer-card .field + .field { margin-top: 22px; }
.analyzer-card .field label { margin-bottom: 8px; color: #202022; font-size: 12px; font-weight: 700; }
.analyzer-card .optional-label { color: #96969a; font-size: 9px; }
.analyzer-card .field input,
.analyzer-card .field textarea {
  padding: 15px 16px;
  border: 1px solid #e0e0e2;
  border-radius: 12px;
  background: #f7f7f8;
  color: #18181a;
  font-size: 13px;
  font-weight: 600;
}
.analyzer-card .field input { height: 51px; }
.analyzer-card .field textarea { min-height: 88px; resize: vertical; }
.analyzer-card .field #focus { min-height: 72px; }
.analyzer-card .field input:hover,
.analyzer-card .field textarea:hover,
.analyzer-card .field input:focus,
.analyzer-card .field textarea:focus { border-color: #a8a8ac; background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(20, 20, 22, .06); }
.analyzer-card .field input::placeholder,
.analyzer-card .field textarea::placeholder { color: #96969a; font-weight: 600; }
.analyzer-card .field-meta { display: none; }
.advanced-options {
  margin-top: 22px;
  border: 1px solid #dedee1;
  border-radius: 15px;
  background: #fafafa;
  overflow: hidden;
}
.advanced-options > summary {
  min-height: 52px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #202022;
  font-size: 12px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}
.advanced-options > summary::-webkit-details-marker { display: none; }
.advanced-options > summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  margin-left: auto;
  display: grid;
  place-items: center;
  border: 1px solid #d4d4d7;
  border-radius: 50%;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
.advanced-options[open] > summary::after { content: "−"; }
.advanced-options > summary small { color: #89898e; font-size: 10px; font-weight: 700; }
.advanced-options-body { padding: 2px 17px 18px; border-top: 1px solid #e8e8ea; }
.advanced-source-fieldset { margin: 17px 0 0; padding: 0; border: 0; }
.advanced-source-fieldset legend,
.advanced-select-grid label,
.advanced-exclusions-field > label { color: #4c4c50; font-size: 10px; font-weight: 800; letter-spacing: .01em; }
.advanced-source-grid { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 7px; }
.advanced-source-grid label { position: relative; cursor: pointer; }
.advanced-source-grid input { position: absolute; opacity: 0; pointer-events: none; }
.advanced-source-grid span {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9d9dc;
  border-radius: 999px;
  background: #fff;
  color: #77777c;
  font-size: 10px;
  font-weight: 800;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.advanced-source-grid input:checked + span { border-color: #1b1b1d; background: #1b1b1d; color: #fff; }
.advanced-source-grid input:focus-visible + span { outline: 2px solid #1b1b1d; outline-offset: 2px; }
.advanced-select-grid { margin-top: 17px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.advanced-select-grid label { display: grid; gap: 7px; }
.advanced-select-grid select {
  width: 100%;
  height: 43px;
  padding: 0 35px 0 13px;
  border: 1px solid #dedee1;
  border-radius: 10px;
  background: #fff;
  color: #202022;
  font: 700 11px/1 "Inter", "DM Sans", sans-serif;
}
.advanced-select-grid select:focus { border-color: #96969a; outline: 3px solid rgba(20, 20, 22, .06); }
.advanced-options .advanced-exclusions-field { margin-top: 17px; }
.analyzer-card .advanced-exclusions-field input { height: 43px; margin-top: 7px; background: #fff; font-size: 11px; }
.advanced-exclusions-field p { margin: 7px 2px 0; color: #8b8b90; font-size: 9px; font-weight: 650; line-height: 1.45; }
.analyzer-card .analyze-button {
  position: relative;
  min-height: 48px;
  margin-top: 25px;
  padding: 0 48px;
  justify-content: center;
  border-radius: 999px;
  background: #1c1c1e;
  font-family: "Inter", "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
}
.analyzer-card .button-icon {
  position: absolute;
  right: 16px;
  width: auto;
  height: auto;
  background: transparent;
  color: #fff;
  font-size: 15px;
}
.analyzer-card .progress,
.analyzer-card .form-error { margin-top: 13px; padding: 12px 14px; border-radius: 11px; font-size: 12px; }
.analyzer-card .research-loader {
  position: relative;
  min-height: 176px;
  padding: 21px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 4px 20px;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #18181a;
  color: #fff;
}
.research-loader::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -90px;
  top: -145px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(255,255,255,.025), 0 0 0 72px rgba(255,255,255,.018);
}
.research-loader-visual { position: relative; width: 76px; height: 76px; display: grid; place-items: center; }
.loader-orbit { position: absolute; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; }
.loader-orbit-one { inset: 3px; animation: loader-spin 3.2s linear infinite; }
.loader-orbit-one::after { content: ""; position: absolute; width: 7px; height: 7px; top: 4px; left: 11px; border-radius: 50%; background: #fff; box-shadow: 0 0 16px rgba(255,255,255,.8); }
.loader-orbit-two { inset: 14px; border-style: dashed; animation: loader-spin 5s linear infinite reverse; }
.loader-core { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #18181a; font-size: 13px; font-weight: 900; letter-spacing: -.05em; }
.research-loader-copy { min-width: 0; display: grid; gap: 5px; }
.research-loader-kicker { color: #a7a7ac; font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.research-loader-copy strong { color: #fff; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.research-loader-copy > span:last-child { color: #9f9fa5; font-size: 10px; font-weight: 650; line-height: 1.45; }
.research-loader-stages {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  margin: 13px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  list-style: none;
}
.research-loader-stages li { display: grid; gap: 7px; color: #68686d; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.research-loader-stages li span { height: 3px; border-radius: 99px; background: #343438; overflow: hidden; }
.research-loader-stages li.done,
.research-loader-stages li.active { color: #fff; }
.research-loader-stages li.done span { background: #fff; }
.research-loader-stages li.active span { position: relative; background: #343438; }
.research-loader-stages li.active span::after { content: ""; position: absolute; inset: 0; background: #fff; animation: loader-scan 1.35s ease-in-out infinite; transform-origin: left; }
@keyframes loader-spin { to { transform: rotate(360deg); } }
@keyframes loader-scan { 0% { transform: scaleX(.08); opacity: .5; } 55% { transform: scaleX(.72); opacity: 1; } 100% { transform: scaleX(1); opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  .loader-orbit-one, .loader-orbit-two, .research-loader-stages li.active span::after { animation: none; }
}
.analyzer-demo {
  margin: 18px auto 0;
  padding: 4px;
  display: block;
  border: 0;
  background: transparent;
  color: #79797d;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.analyzer-demo span { margin-left: 3px; color: #252527; }
.analyzer-demo:hover { color: #171719; text-decoration: underline; text-underline-offset: 3px; }
.analyzer-sources {
  width: min(100%, 700px);
  margin: 14px auto 0;
  color: #818185;
  text-align: center;
}
.analyzer-sources summary { width: max-content; margin: 0 auto; font-size: 10px; font-weight: 700; cursor: pointer; }
.analyzer-results p,
.analyzer-results span,
.analyzer-results a,
.analyzer-results button { font-weight: 600; }
.analyzer-results h2,
.analyzer-results h3,
.analyzer-results strong { font-weight: 700; }
.analyzer-sources .source-strip { margin-top: 13px; justify-content: center; }
.analyzer-sources .source { padding: 6px 9px; background: rgba(255,255,255,.65); font-size: 9px; }
.analyzer-sources > p { max-width: 600px; margin: 10px auto 0; font-size: 10px; }
.analyzer-results { padding: 78px 0 20px; }
.analyzer-results .results-head h2 { font-size: clamp(34px, 4vw, 48px); }
.analyzer-results .product-summary { margin-top: 32px; border-radius: 20px; }
.analyzer-results .concept-card { border: 1px solid #e2e2e4; border-radius: 20px; }
.analyzer-results .creator-guidance { border-radius: 20px; }

.locked-results {
  width: min(100%, 820px);
  margin: 72px auto 20px;
  padding-bottom: 10px;
}
.locked-results[hidden] { display: none; }
.locked-results-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.locked-results-head h2 {
  margin-top: 7px;
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .98;
}
.locked-badge {
  min-height: 34px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfd0d4;
  border-radius: 999px;
  background: #fff;
  color: #55565a;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.locked-product-read {
  margin-top: 30px;
  padding: 31px;
  border-radius: 22px;
  background: #19191b;
  color: #fff;
}
.locked-product-read .summary-label { color: #a9a9ad; }
.locked-product-read h3 {
  margin-top: 8px;
  font-size: clamp(28px, 3.5vw, 41px);
  font-weight: 800;
  letter-spacing: -.05em;
}
.locked-product-read > p:not(.summary-label) {
  max-width: 680px;
  margin: 11px 0 0;
  color: #d2d2d6;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}
.locked-product-read .locked-trend-summary {
  padding-top: 17px;
  border-top: 1px solid #38383c;
}
.locked-proof {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #dcdcdf;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.locked-proof div { padding: 20px 18px; display: grid; gap: 5px; }
.locked-proof div + div { border-left: 1px solid #e3e3e5; }
.locked-proof strong { font: 800 26px/1 "Manrope", sans-serif; letter-spacing: -.045em; }
.locked-proof span { color: #737377; font-size: 9px; font-weight: 800; }
.locked-content-shell {
  position: relative;
  min-height: 565px;
  margin-top: 14px;
  border: 1px solid #dcdcdf;
  border-radius: 24px;
  background: #f8f8f9;
  overflow: hidden;
}
.locked-content-preview {
  padding: 24px;
  display: grid;
  gap: 12px;
  filter: blur(8px);
  opacity: .52;
  transform: scale(1.015);
  user-select: none;
}
.locked-content-preview article {
  min-height: 152px;
  padding: 25px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  border: 1px solid #cfcfd2;
  border-radius: 19px;
  background: #fff;
}
.locked-content-preview article > span { font: 800 26px/1 "Manrope", sans-serif; }
.locked-content-preview article div { display: grid; align-content: start; gap: 13px; }
.locked-content-preview b { font-size: 20px; }
.locked-content-preview i { width: 100%; height: 12px; border-radius: 999px; background: #bababe; }
.locked-content-preview i.short { width: 63%; }
.locked-paywall {
  position: absolute;
  inset: 0;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(248,248,249,.22) 0%, rgba(248,248,249,.88) 26%, #f8f8f9 78%);
  text-align: center;
}
.locked-icon {
  position: relative;
  width: 48px;
  height: 42px;
  margin-bottom: 16px;
  border: 3px solid #19191b;
  border-radius: 13px;
  background: #fff;
}
.locked-icon::before {
  content: "";
  position: absolute;
  left: 10px;
  top: -21px;
  width: 22px;
  height: 24px;
  border: 3px solid #19191b;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}
.locked-paywall h3 {
  max-width: 520px;
  margin-top: 10px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.04;
}
.locked-paywall > p:not(.summary-label) {
  max-width: 510px;
  margin: 14px 0 0;
  color: #66666a;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}
.locked-cta {
  min-height: 49px;
  margin-top: 23px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #19191b;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, opacity .18s ease;
}
.locked-cta:hover { transform: translateY(-1px); opacity: .84; }
.locked-paywall small { margin-top: 11px; color: #77777b; font-size: 10px; font-weight: 700; }

@media (max-width: 900px) {
  .analyzer-card { margin-top: 30px; }
}

@media (max-width: 650px) {
  .analyzer-heading-simple { gap: 14px; }
  .workspace-saved { width: 42px; min-height: 42px; padding: 0; justify-content: center; font-size: 0; }
  .workspace-saved .bookmark-icon { margin: 0; }
  .analyzer-card { margin-top: 28px; padding: 22px 18px; border-radius: 18px; }
  .analyzer-card .field-meta span:first-child { display: none; }
  .analyzer-card .field-meta { justify-content: flex-end; }
  .advanced-options > summary small { display: none; }
  .advanced-select-grid { grid-template-columns: 1fr; }
  .analyzer-card .research-loader { grid-template-columns: 58px minmax(0, 1fr); padding: 18px; gap: 3px 14px; }
  .research-loader-visual { width: 58px; height: 58px; }
  .loader-orbit-two { inset: 11px; }
  .loader-core { width: 29px; height: 29px; }
  .research-loader-copy strong { font-size: 13px; }
  .research-loader-stages { gap: 4px; }
  .research-loader-stages li { font-size: 7px; }
  .analyzer-results .concept-card { grid-template-columns: 1fr; gap: 18px; padding: 25px 20px; }
  .analyzer-results .concept-number { font-size: 24px; }
  .research-receipt { padding: 23px 19px; }
  .research-receipt-head { display: grid; }
  .research-grade { width: max-content; }
  .research-stats { grid-template-columns: 1fr 1fr; }
  .research-stats div { padding: 16px 12px 16px 0; }
  .research-stats div + div { padding-left: 12px; }
  .research-stats div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid #e4e4e6; }
  .research-stats div:nth-child(4) { border-top: 1px solid #e4e4e6; }
  .concept-topline { align-items: flex-start; }
  .concept-signal { align-items: flex-end; flex-direction: column; }
  .concept-intelligence { grid-template-columns: 1fr; }
  .analyzer-results .concept-block,
  .analyzer-results .references { grid-template-columns: 1fr; gap: 8px; }
  .analyzer-results .reference-links { grid-template-columns: 1fr; }
  .analyzer-results .creator-blueprint { margin-left: 0; }
  .analyzer-results .blueprint-grid { grid-template-columns: 1fr; }
  .analyzer-results .script-block p { padding-right: 0; padding-bottom: 0; }
  .analyzer-results .script-actions,
  .analyzer-results .revision-panel { grid-column: 1; }
  .analyzer-results .creator-guidance { grid-template-columns: 1fr; gap: 25px; padding: 28px 22px; }
  .analyzer-results .guidance-grid { grid-template-columns: 1fr; }
  .locked-results { margin-top: 54px; }
  .locked-results-head { display: grid; }
  .locked-badge { width: max-content; }
  .locked-product-read { padding: 25px 21px; border-radius: 19px; }
  .locked-proof { grid-template-columns: 1fr 1fr; }
  .locked-proof div:nth-child(3) { border-left: 0; border-top: 1px solid #e3e3e5; }
  .locked-proof div:nth-child(4) { border-top: 1px solid #e3e3e5; }
  .locked-content-shell { min-height: 530px; }
  .locked-content-preview { padding: 16px; }
  .locked-content-preview article { padding: 20px; grid-template-columns: 38px 1fr; }
  .locked-paywall { padding-inline: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Apple-style public landing page */
.apple-landing {
  --apple-ink: #1d1d1f;
  --apple-muted: #6e6e73;
  --apple-faint: #86868b;
  --apple-panel: #f5f5f7;
  --apple-blue: #0071e3;
  min-width: 320px;
  background: #fff;
  color: var(--apple-ink);
  font-family: "Inter", "Inter Placeholder", Arial, sans-serif;
}
.apple-landing *, .apple-landing *::before, .apple-landing *::after { box-sizing: border-box; }
.apple-landing a { color: inherit; }
.apple-header,
.apple-main,
.apple-footer {
  width: min(calc(100% - 48px), 1120px);
  margin-inline: auto;
}
.apple-header {
  height: 62px;
  margin-top: 20px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 30px;
}
.apple-header-brand,
.apple-auth-nav {
  border-radius: 18px;
  background: #f2f2f2;
}
.apple-header-brand {
  width: 610px;
  padding: 19px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.apple-wordmark {
  font-size: 20px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: -.8px;
  text-decoration: none;
}
.apple-more {
  width: 20px;
  height: 24px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--apple-ink);
  font-size: 21px;
  line-height: 20px;
  font-weight: 700;
  cursor: pointer;
}
.apple-auth-nav {
  min-width: 199px;
  padding: 10px 12px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
.apple-login {
  white-space: nowrap;
  font-size: 15px;
  line-height: 15px;
  font-weight: 400;
  text-decoration: none;
}
.apple-nav-cta {
  min-height: 36px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--apple-ink);
  color: #fff !important;
  white-space: nowrap;
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
  text-decoration: none;
}
.apple-main { margin-top: 20px; overflow: visible; }
.apple-kicker {
  margin: 0;
  color: var(--apple-muted);
  font-size: 13px;
  line-height: 13px;
  font-weight: 600;
  letter-spacing: 1.04px;
  text-transform: uppercase;
}
.apple-hero {
  min-height: 514px;
  padding: 104px 0 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.apple-hero h1 {
  max-width: 880px;
  margin: 28px 0 0;
  color: var(--apple-ink);
  font-family: inherit;
  font-size: 72px;
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -3.96px;
}
.apple-hero-copy {
  margin: 20px 0 0;
  color: var(--apple-muted);
  font-size: 21px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -.315px;
}
.apple-hero-actions {
  margin-top: 35px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.apple-primary {
  height: 41px;
  padding: 0 17px 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  background: var(--apple-blue);
  color: #fff !important;
  font-size: 15px;
  line-height: 15px;
  font-weight: 600;
  text-decoration: none;
}
.apple-primary b,
.apple-final-cta a b { font-size: 18px; line-height: 1; font-weight: 400; }
.apple-secondary {
  padding: 10px 0;
  color: var(--apple-blue) !important;
  font-size: 15px;
  line-height: 15px;
  font-weight: 500;
  text-decoration: none;
}
.apple-nav-cta,
.apple-primary,
.apple-secondary,
.apple-final-cta a { transition: transform .2s ease, opacity .2s ease, background-color .2s ease; }
.apple-nav-cta:hover,
.apple-primary:hover,
.apple-final-cta a:hover { transform: translateY(-1px); opacity: .88; }
.apple-secondary:hover { opacity: .65; }

.apple-product {
  min-height: 955px;
  padding-top: 48px;
  overflow: visible;
}
.apple-section-intro { text-align: center; }
.apple-section-intro h2 {
  width: 760px;
  max-width: 100%;
  margin: 14px auto 0;
  color: var(--apple-ink);
  font-family: inherit;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -2.16px;
}
.apple-dashboard {
  width: 1040px;
  height: 601px;
  margin: 85px auto 0;
  display: flex;
  overflow: hidden;
  border: 1px solid #d2d2d7;
  border-radius: 28px;
  background: var(--apple-panel);
  box-shadow: 0 32px 80px rgba(0,0,0,.12);
}
.apple-dashboard-sidebar {
  width: 213px;
  flex: 0 0 213px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-right: 1px solid #dedee2;
  background: #fff;
}
.apple-dashboard-logo {
  font-size: 19px;
  line-height: 19px;
  font-weight: 700;
  letter-spacing: -.76px;
}
.apple-side-nav { display: grid; gap: 7px; }
.apple-side-nav span {
  height: 36px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  color: var(--apple-muted);
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
}
.apple-side-nav span.active { background: var(--apple-panel); color: var(--apple-ink); font-weight: 600; }
.apple-side-nav i { width: 16px; color: var(--apple-muted); font-style: normal; font-size: 17px; }
.apple-dashboard-content {
  min-width: 0;
  flex: 1;
  padding: 34px 33px;
}
.apple-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.apple-dashboard-head h3 {
  margin: 0;
  font-family: inherit;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.6px;
}
.apple-dashboard-head p {
  margin: 4px 0 0;
  color: var(--apple-faint);
  font-size: 13px;
  line-height: 17px;
}
.apple-analyze-pill {
  min-height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: var(--apple-ink);
  color: #fff;
  white-space: nowrap;
  font-size: 13px;
  line-height: 13px;
  font-weight: 600;
}
.apple-analyze-pill i { font-style: normal; font-weight: 400; }
.apple-trend-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.apple-trend-card {
  height: 252px;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  border-radius: 18px;
}
.apple-trend-card.blue { background: linear-gradient(145deg,#c6d7ef 0%,#eef3f9 55%,#a9bdd8 100%); }
.apple-trend-card.peach { background: linear-gradient(145deg,#f1d8c9 0%,#fbf4ed 55%,#d8b8a5 100%); }
.apple-trend-card.green { background: linear-gradient(145deg,#cfdaCB 0%,#f2f6ef 55%,#a8bba1 100%); }
.apple-trend-card strong { font-size: 13px; line-height: 13px; font-weight: 600; }
.apple-trend-card p { margin: 9px 0 0; font-size: 17px; line-height: 1.25; font-weight: 600; }
.apple-signal-callout {
  min-height: 73px;
  margin-top: 23px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 16px;
  background: #fff;
}
.apple-signal-callout > span {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e8f2ff;
  color: var(--apple-blue);
  font-size: 19px;
  font-weight: 700;
}
.apple-signal-callout strong { display: block; font-size: 15px; line-height: 18px; font-weight: 600; }
.apple-signal-callout p { margin: 3px 0 0; color: var(--apple-muted); font-size: 13px; line-height: 18px; }

.apple-features { min-height: 1816px; }
.apple-feature-row {
  display: grid;
  grid-template-columns: 472px 528px;
  gap: 72px;
}
.apple-feature-row.reverse { grid-template-columns: 528px 472px; }
.apple-feature-row:first-child { min-height: 630px; padding: 172px 24px 0; }
.apple-feature-row:nth-child(2) { min-height: 550px; padding: 94px 24px 0; border-top: 1px solid #d2d2d7; }
.apple-feature-row:nth-child(3) { min-height: 636px; padding: 95px 24px 0; border-top: 1px solid #d2d2d7; }
.apple-feature-copy { min-width: 0; }
.apple-feature-row:first-child .apple-feature-copy,
.apple-feature-row:nth-child(3) .apple-feature-copy { padding-top: 70px; }
.apple-feature-row:nth-child(2) .apple-feature-copy { padding-top: 62px; }
.apple-index {
  display: block;
  margin-bottom: 18px;
  color: var(--apple-faint);
  font-size: 13px;
  line-height: 13px;
  font-weight: 600;
}
.apple-feature-copy h2 {
  margin: 0;
  color: var(--apple-ink);
  font-family: inherit;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -1.68px;
}
.apple-feature-copy > p {
  max-width: 472px;
  margin: 18px 0 0;
  color: var(--apple-muted);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
}
.apple-feature-card {
  height: 360px;
  border-radius: 24px;
}
.apple-chart-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  background: var(--apple-panel);
}
.apple-chart-card > span,
.apple-proof-card > span,
.apple-brief-card > span {
  display: block;
  color: var(--apple-faint);
  font-size: 12px;
  line-height: 12px;
  font-weight: 600;
}
.apple-chart-card > strong {
  display: block;
  margin-top: 10px;
  font-size: 64px;
  line-height: 64px;
  font-weight: 600;
  letter-spacing: -3.52px;
}
.apple-chart-card > p { margin: 10px 0 0; color: var(--apple-muted); font-size: 17px; line-height: 1.4; font-weight: 500; }
.apple-bars {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  height: 148px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.apple-bars i { flex: 1; height: 38px; border-radius: 6px 6px 2px 2px; background: #c7c7cc; }
.apple-bars i:nth-child(2) { height: 62px; background: #aeaeb2; }
.apple-bars i:nth-child(3) { height: 98px; background: #8e8e93; }
.apple-bars i:nth-child(4) { height: 148px; background: var(--apple-blue); }
.apple-proof-card {
  padding: 28px;
  background: var(--apple-ink);
  color: #fff;
}
.apple-proof-card > span { color: #a1a1a6; letter-spacing: .96px; text-transform: uppercase; }
.apple-proof-card h3 {
  margin: 14px 0 20px;
  font-family: inherit;
  font-size: 36px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -1.44px;
}
.apple-proof-card p { margin: 0 0 16px; color: #f5f5f7; font-size: 15px; line-height: 17px; font-weight: 500; }
.apple-proof-card p b { display: inline-block; min-width: 25px; font-weight: 500; }
.apple-brief-card { padding: 30px; background: var(--apple-panel); }
.apple-brief-card > span { letter-spacing: .96px; text-transform: uppercase; }
.apple-brief-card h3 {
  margin: 20px 0 18px;
  font-family: inherit;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.98px;
}
.apple-brief-card p { margin: 0 0 11px; font-size: 14px; line-height: 20px; font-weight: 500; }
.apple-brief-card p b { font-weight: 600; }

.apple-platforms {
  height: 260px;
  margin-top: 24px;
  padding-top: 76px;
  border-top: 1px solid #d2d2d7;
  text-align: center;
}
.apple-platforms p { margin: 0; color: var(--apple-muted); font-size: 17px; line-height: 24px; font-weight: 500; }
.apple-platform-icons {
  width: 100%;
  height: 28px;
  object-fit: contain;
  margin-top: 24px;
  display: block;
}

.apple-final-cta {
  width: 1072px;
  max-width: 100%;
  height: 451px;
  margin: 17px auto 0;
  padding: 112px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 32px;
  background: var(--apple-ink);
  color: #fff;
  text-align: center;
}
.apple-final-cta .apple-kicker { color: #a1a1a6; }
.apple-final-cta h2 {
  margin: 23px 0 0;
  font-family: inherit;
  font-size: 54px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -2.7px;
}
.apple-final-cta > p:not(.apple-kicker) { margin: 17px 0 0; color: #a1a1a6; font-size: 18px; line-height: 1.5; font-weight: 400; }
.apple-final-cta a {
  min-height: 40px;
  margin-top: 18px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--apple-ink);
  font-size: 15px;
  line-height: 15px;
  font-weight: 600;
  text-decoration: none;
}
.apple-footer {
  height: 96px;
  padding: 36px 24px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border: 0;
  color: var(--apple-ink);
}
.apple-footer p { margin: 0; color: var(--apple-faint); font-size: 13px; line-height: 13px; font-weight: 400; text-align: center; }
.apple-footer > a:last-child { justify-self: end; font-size: 13px; line-height: 13px; font-weight: 500; text-decoration: none; }

.apple-landing.reveal-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .72s cubic-bezier(.22,1,.36,1), transform .72s cubic-bezier(.22,1,.36,1); }
.apple-landing.reveal-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.apple-landing.reveal-ready .apple-dashboard.reveal { transform: translateY(34px) scale(.97); }
.apple-landing.reveal-ready .apple-dashboard.reveal.is-visible { transform: translateY(0) scale(1); }

@media (max-width: 900px) {
  .apple-header-brand { width: min(62%, 610px); }
  .apple-hero h1 { font-size: clamp(58px, 8vw, 72px); }
  .apple-dashboard { width: calc(100% - 40px); }
  .apple-dashboard-sidebar { width: 190px; flex-basis: 190px; }
  .apple-feature-row,
  .apple-feature-row.reverse { grid-template-columns: 1fr 1fr; gap: 46px; }
  .apple-feature-copy h2 { font-size: 36px; }
}

@media (max-width: 700px) {
  .apple-header,
  .apple-main,
  .apple-footer { width: 100%; }
  .apple-header { height: 62px; margin-top: 22px; padding: 0; }
  .apple-main { margin-top: 0; }
  .apple-header-brand { width: 100%; padding: 19px 22px; border-radius: 18px; }
  .apple-more,
  .apple-auth-nav { display: none; }
  .apple-hero {
    min-height: 1000px;
    padding: 123px 24px 90px;
  }
  .apple-hero h1 {
    width: 100%;
    margin-top: 33px;
    font-size: clamp(64px, 18.5vw, 72px);
    line-height: 1.02;
    letter-spacing: -3.96px;
  }
  .apple-hero-copy {
    margin-top: 28px;
    font-size: 21px;
    line-height: 1.45;
  }
  .apple-hero-copy br { display: none; }
  .apple-hero-actions { margin-top: 30px; gap: 14px; }
  .apple-primary { padding-inline: 20px 16px; }
  .apple-product { min-height: 1100px; padding: 64px 24px 0; overflow: hidden; }
  .apple-section-intro h2 { margin-top: 19px; font-size: 48px; line-height: 1.08; letter-spacing: -2.16px; }
  .apple-section-intro h2 br { display: none; }
  .apple-dashboard {
    width: 100%;
    height: 600px;
    margin-top: 48px;
    border-radius: 28px;
  }
  .apple-dashboard-sidebar { width: 218px; flex-basis: 218px; }
  .apple-dashboard-content { width: 827px; min-width: 827px; }
  .apple-features { min-height: 2220px; padding: 0 24px; overflow: hidden; }
  .apple-feature-row,
  .apple-feature-row.reverse {
    min-height: 700px !important;
    padding: 96px 0 0 !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 58px;
  }
  .apple-feature-row:first-child { border-top: 1px solid #d2d2d7; }
  .apple-feature-row:nth-child(2) .apple-feature-card { order: 0; }
  .apple-feature-row:nth-child(2) .apple-feature-copy { order: 1; }
  .apple-feature-copy { padding-top: 70px !important; }
  .apple-feature-copy h2 { font-size: 42px; line-height: 1.08; }
  .apple-feature-copy h2 br { display: none; }
  .apple-feature-copy > p { font-size: 18px; line-height: 1.5; }
  .apple-feature-card { height: 360px; }
  .apple-chart-card,
  .apple-proof-card,
  .apple-brief-card { padding: 24px; }
  .apple-chart-card > strong { font-size: 54px; }
  .apple-platforms { height: 230px; margin: 0 24px; padding-top: 62px; }
  .apple-platforms p { padding-inline: 24px; }
  .apple-final-cta {
    width: calc(100% - 48px);
    height: auto;
    min-height: 500px;
    margin-top: 18px;
    padding: 96px 28px;
  }
  .apple-final-cta h2 { font-size: 48px; line-height: 1.06; }
  .apple-final-cta > p:not(.apple-kicker) br { display: none; }
  .apple-footer {
    height: auto;
    min-height: 160px;
    padding: 42px 24px;
    grid-template-columns: 1fr auto;
    gap: 22px;
  }
  .apple-footer p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}

@media (max-width: 430px) {
  .apple-hero { min-height: 1000px; }
  .apple-hero-actions { width: 100%; justify-content: center; }
  .apple-primary { font-size: 15px; }
  .apple-secondary { white-space: nowrap; }
}
/* Source inspection extends the existing workspace typography and surfaces. */
.video-research { margin: 2rem 0; }
.video-research > h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.video-research-stats { font-size: 1rem; line-height: 1.65; }
.video-evidence { border: 1px solid #dce1e4; border-radius: 14px; margin: .8rem 0; background: #fff; overflow: hidden; }
.video-evidence > summary { padding: 1.1rem 1.25rem; cursor: pointer; }
.video-evidence > summary strong { display: inline; font-size: 1rem; }
.video-evidence > summary span { display: block; margin: .5rem 0 0; color: #53616a; font-size: .875rem; line-height: 1.5; }
.video-evidence[open] > summary { border-bottom: 1px solid #e6e9eb; }
.video-evidence-body { padding: 1.25rem; font-size: 1rem; line-height: 1.65; overflow-wrap: anywhere; }
.video-evidence-body > p { margin: 1rem 0; }
.video-evidence-body a { color: #17634d; text-decoration: underline; }
.video-breakdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; margin: 1.25rem 0; }
.video-breakdown p, .video-reactions p { font-size: 1rem; line-height: 1.6; }
.video-metrics { font-size: .875rem; color: #53616a; }
.video-timeline { padding-left: 1.4rem; border-top: 1px solid #e6e9eb; }
.video-timeline li { margin: 1rem 0; padding-left: .3rem; }
.video-timeline strong { font-size: .875rem; color: #17634d; }
.video-timeline p { margin: .3rem 0; }
.video-timeline blockquote { margin: .4rem 0; border-left: 3px solid #b6d8c6; padding-left: .8rem; color: #53616a; }
.source-transcript { white-space: pre-wrap; max-height: 28rem; overflow: auto; font-size: 1rem; }
.resume-research { margin: 1rem 0; padding: .8rem 1rem; border: 1px solid #b6d8c6; border-radius: 10px; background: #fff; color: #17634d; font: inherit; cursor: pointer; }
@media (max-width: 640px) { .video-breakdown { grid-template-columns: 1fr; } .video-evidence-body { padding: 1rem; } }

/* A quiet, focused creative profile, using Gather's own typography. */
.onboarding-page { background: #fff; color: #080808; min-height: 100svh; }
.onboarding-shell { width: min(760px, calc(100% - 48px)); padding: clamp(32px, 8vh, 96px) 0 40px; }
.onboarding-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.onboarding-header .brand { font-size: 30px; }
.onboarding-header > span { font-size: 14px; color: #707070; }
.onboarding-progress { height: 3px; background: #eee; overflow: hidden; border-radius: 4px; }
.onboarding-progress > span { display: block; height: 100%; width: 0; background: #111; transition: width 450ms ease; }
.onboarding-stage { padding-top: clamp(32px, 7vh, 70px); min-height: 445px; }
.onboarding-kicker { font-size: 12px; letter-spacing: .12em; font-weight: 700; color: #707070; margin: 0 0 20px; }
.onboarding-stage h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.16; letter-spacing: -.045em; max-width: 710px; outline: none; }
.onboarding-copy { color: #666; font-size: 17px; line-height: 1.55; margin: 18px 0 30px; max-width: 630px; }
.onboarding-choices { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.onboarding-choice { cursor: pointer; background: #fff; border: 1px solid #d7d7d7; border-radius: 12px; color: #222; padding: 15px 20px; min-height: 56px; font-size: 16px; display: flex; align-items: center; gap: 12px; text-align: left; transition: border-color 160ms, background 160ms, color 160ms, transform 160ms; }
.onboarding-choice:hover { border-color: #777; transform: translateY(-2px); }
.onboarding-choice[aria-pressed="true"] { border-color: #111; background: #111; color: #fff; }
.onboarding-platform-logo { width: 22px; height: 22px; object-fit: contain; flex: 0 0 auto; }
.onboarding-choice[aria-pressed="true"] .onboarding-platform-logo { filter: invert(1); }
.onboarding-choices.scripts { display: grid; grid-template-columns: 1fr; gap: 12px; }
.onboarding-choices.scripts .onboarding-choice { align-items: flex-start; padding: 20px 24px; line-height: 1.6; }
.onboarding-choices.scripts strong { display: block; font-size: 14px; margin-bottom: 5px; }
.onboarding-field { display: grid; gap: 10px; margin: 24px 0; font-size: 15px; }
.onboarding-field input, .onboarding-field textarea { width: 100%; border: 1px solid #d7d7d7; background: #fff; color: #111; border-radius: 12px; padding: 15px 18px; font-size: 16px; resize: vertical; }
.onboarding-field textarea { min-height: 105px; }
.onboarding-field small { color: #707070; font-size: 13px; }
.onboarding-actions { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 36px 0 0; }
.onboarding-actions > div { display: flex; align-items: center; gap: 18px; }
.onboarding-actions button { cursor: pointer; border-radius: 12px; padding: 14px 22px; font-size: 16px; min-height: 52px; }
.onboarding-back { background: #fff; border: 1px solid #ddd; }
.onboarding-skip { border: 0; background: transparent; color: #666; padding-inline: 0 !important; }
.onboarding-next { border: 1px solid #111; background: #111; color: #fff; display: flex; align-items: center; gap: 24px; }
.onboarding-actions button:disabled { opacity: .4; cursor: default; }
.onboarding-footnote { margin-top: 30px; color: #777; font-size: 13px; }
.onboarding-error { color: #111; background: #f3f3f3; border-left: 3px solid #111; padding: 15px; }
.onboarding-summary { margin: 26px 0 0; }
.onboarding-summary-row { display: grid; grid-template-columns: 145px 1fr auto; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid #ececec; font-size: 15px; }
.onboarding-summary-row dt { color: #777; }
.onboarding-summary-row dd { margin: 0; overflow-wrap: anywhere; }
.onboarding-summary-row button { border: 0; background: none; text-decoration: underline; cursor: pointer; font-size: 14px; }
@media (max-width: 600px) {
 .onboarding-shell { width: calc(100% - 36px); padding-top: 28px; }
 .onboarding-header > span { font-size: 12px; }
 .onboarding-stage { min-height: 400px; padding-top: 35px; }
 .onboarding-choice { padding: 13px 15px; font-size: 15px; }
 .onboarding-actions { gap: 8px; }
 .onboarding-actions > div { gap: 12px; }
 .onboarding-actions button { padding: 12px 14px; font-size: 14px; }
 .onboarding-next { gap: 12px; }
 .onboarding-summary-row { grid-template-columns: 1fr auto; gap: 6px 16px; }
 .onboarding-summary-row dt { grid-column: 1; }
 .onboarding-summary-row dd { grid-column: 1; }
 .onboarding-summary-row button { grid-column: 2; grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) { .onboarding-progress > span, .onboarding-choice { transition: none; } }
/* Carry the same restrained layout through account creation. */
.auth-shell { background: #fff; }
.auth-shell .site-header { width: min(760px, calc(100% - 48px)); height: 110px; }
.auth-shell .auth-main { width: min(760px, calc(100% - 48px)); padding: 20px 0 60px; }
.auth-shell .auth-grid { display: block; border: 0; border-radius: 0; background: transparent; box-shadow: none; min-height: auto; overflow: visible; }
.auth-shell .auth-intro { display: none; }
.auth-shell .auth-panel { padding: 0; background: transparent; border: 0; }
.auth-shell .auth-form-wrap { max-width: none; width: 100%; }
.auth-shell .auth-form h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.2; }
.auth-shell input { background: #fff; }
.auth-shell .role-option input:checked + label { background: #111; color: #fff; border-color: #111; }
.auth-shell .role-option input:checked + label span { color: #ddd; }
.auth-shell .auth-tabs { margin-bottom: 35px; }
.auth-shell .auth-form section:not([hidden]) { animation: gather-auth-enter 240ms ease-out; }
@keyframes gather-auth-enter { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .auth-shell .auth-form section:not([hidden]) { animation: none; } }

/* The final plan choice is part of the same quiet onboarding surface. */
#onboarding-form { display: flow-root; }
.onboarding-personalized { border-left: 2px solid #111; padding: 2px 0 2px 16px; margin: 0 0 26px; }
.onboarding-personalized > span { font-size: 12px; letter-spacing: .08em; color: #777; font-weight: 700; }
.onboarding-personalized p { margin: 5px 0 0; font-size: 15px; }
.onboarding-plan-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.onboarding-plan-option { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; padding: 24px 20px; border: 1px solid #d7d7d7; border-radius: 22px; background: #fff; color: #111; text-align: left; cursor: pointer; transition: background 220ms ease, color 220ms ease, border-color 220ms ease; }
.onboarding-plan-option[aria-pressed="true"] { background: #111; border-color: #111; color: #fff; }
.onboarding-plan-option:disabled { cursor: default; }
.onboarding-plan-option:disabled:not([aria-pressed="true"]) { opacity: .5; }
.onboarding-plan-description { min-width: 0; min-height: 94px; }
.onboarding-plan-description strong, .onboarding-plan-description > span, .onboarding-plan-price > span { display: block; }
.onboarding-plan-description strong { font: 800 27px/1.2 "Manrope", sans-serif; letter-spacing: -.05em; }
.onboarding-plan-description > span { font-size: 14px; margin-top: 4px; opacity: .7; }
.onboarding-plan-price { flex-shrink: 0; text-align: left; margin: 24px 0; }
.onboarding-plan-price strong { font-size: 38px; font-weight: 700; letter-spacing: -.04em; }
.onboarding-plan-price > span { font-size: 13px; opacity: .7; }
.onboarding-plan-label { font-size: 11px; letter-spacing: .08em; font-weight: 700; opacity: .6; min-height: 32px; }
.onboarding-plan-features { display: grid; gap: 12px; border-top: 1px solid #dedede; padding-top: 22px; font-size: 13px; line-height: 1.5; margin-bottom: 26px; }
.onboarding-plan-option[aria-pressed="true"] .onboarding-plan-features { border-color: #383838; }
.onboarding-plan-select { display: block; margin-top: auto; padding: 12px 8px; background: #111; color: #fff; text-align: center; border-radius: 100px; font-size: 13px; font-weight: 700; }
.onboarding-plan-option[aria-pressed="true"] .onboarding-plan-select { background: #fff; color: #111; }
.onboarding-plan-option[data-plan="annual"]:not([aria-pressed="true"]) { background: #f1f1f3; }
.onboarding-plan-included { margin: 20px 0 24px; color: #666; font-size: 14px; max-width: 560px; }
.onboarding-payment-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.onboarding-payment-actions button { cursor: pointer; padding: 15px 20px; min-height: 54px; border-radius: 12px; font-size: 16px; }
.onboarding-payment-actions button:disabled { opacity: .5; cursor: default; }
.onboarding-plan-terms { text-align: right; font-size: 13px; color: #666; margin: 12px 0 26px; }
.onboarding-code { border-top: 1px solid #e8e8e8; padding-top: 22px; margin-top: 26px; }
.onboarding-code summary { display: block; list-style: none; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; color: #555; width: fit-content; }
.onboarding-code summary::-webkit-details-marker { display: none; }
.onboarding-code summary::marker { content: ""; }
.onboarding-code label { display: block; font-size: 14px; margin-top: 18px; }
.onboarding-code > div { display: flex; gap: 10px; margin-top: 8px; max-width: 480px; }
.onboarding-code input { min-width: 0; width: 100%; padding: 13px 16px; background: #fff; border: 1px solid #ddd; border-radius: 10px; font-size: 16px; }
.onboarding-code button { flex-shrink: 0; cursor: pointer; border: 1px solid #111; background: #111; color: #fff; border-radius: 10px; padding: 12px 16px; font-size: 14px; }
.onboarding-payment-footnote { margin: 22px 0 0; color: #777; font-size: 13px; }
/* Keep the existing billing-management page usable as well. */
.tester-access > div, #tester-code-form { min-width: 0; }
#tester-code-form { display: flex; flex-wrap: wrap; gap: 10px; }
#tester-code-form label { flex-basis: 100%; font-size: 14px; }
#tester-code-form input { flex: 1 1 180px; min-width: 0; width: auto; }
#tester-code-form button { flex-shrink: 0; }
@media (max-width: 700px) {
 .onboarding-plan-options { grid-template-columns: 1fr; }
 .onboarding-plan-description { min-height: auto; }
 .onboarding-plan-option { padding: 24px; gap: 0; }
 .onboarding-plan-description strong { font-size: 27px; }
 .onboarding-plan-description > span { max-width: none; }
 .onboarding-plan-price strong { font-size: 36px; }
 .onboarding-payment-actions { flex-direction: column-reverse; align-items: stretch; }
 .onboarding-payment-actions .onboarding-next { justify-content: center; }
 .onboarding-plan-terms { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .onboarding-plan-option { transition: none; }
}

/* Personal setup resolves into a modal over the completed profile. */
.onboarding-stage.is-preparing { padding-top: clamp(60px, 14vh, 140px); padding-bottom: 60px; min-height: 520px; }
.onboarding-setup-progress { margin: 40px 0 24px; }
.onboarding-setup-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; color: #666; font-size: 15px; }
.onboarding-setup-percent { color: #111; font: 800 32px/1.2 'Manrope', sans-serif; font-variant-numeric: tabular-nums; min-width: 85px; text-align: right; }
.onboarding-setup-track { height: 8px; border-radius: 999px; background: #ededed; overflow: hidden; }
.onboarding-setup-track > span { display: block; width: 0; height: 100%; background: #111; border-radius: inherit; }
.onboarding-setup-track.complete > span { width: 100%; }
.onboarding-ready-preferences { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 36px; }
.onboarding-ready-preferences > span { border: 1px solid #ddd; border-radius: 999px; padding: 9px 14px; font-size: 14px; color: #555; }
body.paywall-open { overflow: hidden; }
.onboarding-paywall { width: min(1020px, calc(100% - 48px)); max-height: calc(100svh - 48px); margin: auto; padding: 0; border: 1px solid #e1e1e1; border-radius: 28px; color: #111; background: #fff; box-shadow: 0 30px 100px #0003; overflow: auto; }
.onboarding-paywall::backdrop { background: rgb(15 15 18 / .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.onboarding-paywall[open] { animation: gather-paywall-enter 420ms cubic-bezier(.22,1,.36,1) both; }
.onboarding-paywall[open]::backdrop { animation: gather-backdrop-enter 420ms ease both; }
.onboarding-paywall .onboarding-stage { padding: 36px 40px 26px; min-height: 0; }
.onboarding-paywall .onboarding-kicker { margin-bottom: 12px; }
.onboarding-paywall h1 { font-size: clamp(28px, 3.2vw, 36px); padding-right: 34px; }
.onboarding-paywall .onboarding-copy { font-size: 15px; max-width: 740px; margin: 12px 0 24px; }
.onboarding-paywall .onboarding-personalized { display: none; }
.onboarding-paywall .onboarding-plan-option { padding: 22px; }
.onboarding-paywall .onboarding-plan-description { min-height: 70px; }
.onboarding-paywall .onboarding-plan-price { margin: 14px 0 22px; }
.onboarding-paywall .onboarding-plan-features { gap: 9px; margin-bottom: 22px; padding-top: 18px; }
.onboarding-paywall .onboarding-plan-included { margin: 16px 0; max-width: none; }
.onboarding-paywall .onboarding-payment-actions { margin-top: 18px; }
.onboarding-paywall .onboarding-plan-terms { margin-bottom: 0; }
.onboarding-paywall .onboarding-code { margin-top: 18px; padding-top: 16px; }
.onboarding-paywall .onboarding-payment-footnote { margin-top: 14px; }
.onboarding-paywall-close { position: absolute; right: 18px; top: 18px; display: grid; place-items: center; width: auto; height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: #f1f1f1; color: #555; font-size: 14px; line-height: 1; cursor: pointer; z-index: 1; }
.onboarding-paywall-close:hover { background: #e5e5e5; color: #111; }
@keyframes gather-paywall-enter { from { opacity: 0; transform: translateY(18px) scale(.975); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes gather-backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 700px) {
 .onboarding-paywall { width: calc(100% - 24px); max-height: calc(100svh - 24px); border-radius: 22px; }
 .onboarding-paywall .onboarding-stage { padding: 32px 20px 24px; }
 .onboarding-paywall .onboarding-plan-description { min-height: auto; }
 .onboarding-stage.is-preparing { padding-top: 60px; }
}
@media (prefers-reduced-motion: reduce) {
 .onboarding-paywall[open], .onboarding-paywall[open]::backdrop { animation: none; }
}
/* Analyzer: a brief, a clear direction, then a filmable result. */
.analyzer-stepper { display: flex; gap: 30px; margin-bottom: 30px; border-bottom: 1px solid #e8e8e8; color: #858585; font-size: 14px; }
.analyzer-stepper span { padding-bottom: 15px; }
.analyzer-stepper .active { color: #171717; box-shadow: 0 2px #171717; font-weight: 700; }
.brief-step { animation: brief-reveal 240ms ease both; }
.brief-step[hidden] { display: none; }
@keyframes brief-reveal { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.analyzer-page .analyzer-card { padding: clamp(24px, 3.2vw, 42px); }
.analyzer-page .analyzer-heading-simple p { font-size: 16px; font-weight: 400; }
.analyzer-page .analyzer-card .field label, .project-select-label, .project-choice-field legend { font-size: 14px; font-weight: 600; line-height: 1.5; }
.analyzer-page .analyzer-card .optional-label { font-size: 12px; font-weight: 400; }
.analyzer-page .analyzer-card .field input, .analyzer-page .analyzer-card .field textarea { font-size: 16px; font-weight: 400; line-height: 1.6; background: #fff; }
.analyzer-page .analyzer-card .field input::placeholder, .analyzer-page .analyzer-card .field textarea::placeholder { font-weight: 400; }
.analyzer-page .analyzer-card .field-meta { display: flex; margin-top: 9px; gap: 12px; justify-content: space-between; color: #737373; font-size: 12px; }
.brief-product-read { position: relative; padding-bottom: 26px; border-bottom: 1px solid #e8e8e8; }
.brief-eyebrow { font-size: 12px; letter-spacing: .09em; color: #737373; }
.brief-product-read h2 { margin: 8px 0; max-width: 85%; font-family: Manrope, sans-serif; font-size: 26px; letter-spacing: -.04em; line-height: 1.3; }
.brief-product-read p { max-width: 650px; margin: 0; color: #606060; font-size: 16px; line-height: 1.6; }
.brief-product-read button { margin-top: 15px; padding: 0; border: 0; background: none; font-size: 13px; color: #454545; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.brief-review-note { margin: 25px 0; font-size: 15px; color: #616161; line-height: 1.5; }
.project-question-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.analyzer-page .project-question-grid .field + .field { margin-top: 0; }
.project-question-grid textarea { width: 100%; }
.project-choice-field { padding: 0; border: 0; margin: 26px 0; min-width: 0; }
.project-choice-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 10px 0 14px; }
.project-choice-list button { padding: 11px 15px; border: 1px solid #dadada; border-radius: 10px; background: white; color: #343434; font: inherit; font-size: 14px; cursor: pointer; transition: background 160ms, color 160ms; }
.project-choice-list button[aria-pressed="true"] { color: white; background: #181818; border-color: #181818; }
.project-choice-list button:focus-visible { outline: 2px solid #181818; outline-offset: 3px; }
.project-choice-field input, .project-select-label select { width: 100%; padding: 12px 14px; border: 1px solid #dedede; border-radius: 10px; background: white; font: inherit; font-size: 14px; color: #282828; }
.project-select-label select { display: block; margin-top: 9px; min-height: 48px; }
.project-details-row { margin-bottom: 25px; }
.brief-profile-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 16px 0 0; color: #6a6a6a; font-size: 13px; line-height: 1.6; }
.brief-profile-note a { color: #222; text-underline-offset: 3px; }
.concept-tension { margin: 8px 0 22px; color: #666; font-size: 16px; line-height: 1.5; }
.concept-evidence-details { margin: 18px 0; }
.concept-evidence-details > summary { cursor: pointer; color: #666; font-size: 14px; }
.concept-evidence-details .concept-intelligence { margin-top: 14px; }
.beat-table-wrap { overflow-x: auto; margin-top: 18px; }
.beat-table { width: 100%; border-collapse: collapse; text-align: left; }
.beat-table th { color: #757575; font-size: 12px; font-weight: 500; padding: 0 12px 12px; }
.beat-table td { vertical-align: top; white-space: pre-line; font-size: 14px; line-height: 1.65; padding: 16px 12px; border-top: 1px solid #e5e5e5; }
.beat-table th:first-child, .beat-table td:first-child { width: 70px; padding-left: 0; white-space: nowrap; }
.beat-table td:nth-child(2) { width: 45%; }
.reference-card .reference-observation, .reference-card .reference-adaptation { margin: 10px 0; font-size: 13px; line-height: 1.55; color: #626262; }
.reference-card .reference-adaptation { color: #292929; }
@media (max-width: 640px) { .project-question-grid { grid-template-columns: 1fr; } .analyzer-page .project-question-grid .field + .field { margin-top: 0; } .beat-table { min-width: 480px; } }
@media (prefers-reduced-motion: reduce) { .brief-step { animation: none; } .project-choice-list button { transition: none; } }

/* Optional brand reference in the brief. */
.style-reference-field { display: grid; gap: 12px; margin: 24px 0 8px; padding: 22px; border: 1px solid #dedede; border-radius: 18px; background: #fafafa; }
.style-reference-field h2 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.02em; }
.style-reference-field p { margin: 0; font-size: 14px; line-height: 1.55; color: #626262; }
.style-file-picker { position: relative; justify-self: start; overflow: hidden; padding: 12px 18px; border: 1px solid #1b1b1b; border-radius: 10px; color: #fff; background: #1b1b1b; font-size: 14px; cursor: pointer; }
.style-file-picker input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.style-file-picker:focus-within { outline: 2px solid #111; outline-offset: 4px; }
.style-video-preview-row { display: flex; align-items: center; gap: 18px; margin: 4px 0 18px; }
.style-video-preview-row video { width: 115px; max-height: 180px; border-radius: 10px; background: #111; }
.style-video-preview-row div { min-width: 0; }
#style-video-name { color: #191919; overflow-wrap: anywhere; font-weight: 600; margin-bottom: 8px; }
.style-reference-field textarea { display: block; width: 100%; margin-top: 8px; padding: 12px; font: inherit; font-size: 16px; border: 1px solid #d5d5d5; border-radius: 10px; background: white; resize: vertical; }
.style-reference-field label { font-size: 14px; }
#style-video-status:empty { display: none; }
#style-video-status:not(:empty) { padding: 12px 14px; border: 1px solid #d5d5d5; border-radius: 10px; background: #fff; color: #191919; overflow-wrap: anywhere; }
#style-video-status[data-state="error"] { border: 2px solid #191919; font-weight: 600; }
.style-file-picker:has(input:disabled) { opacity: .55; cursor: wait; }
.style-file-limit { font-size: 12px !important; }
@media (max-width: 600px) { .style-reference-field { padding: 16px; } .style-video-preview-row { gap: 12px; } .style-video-preview-row video { width: 92px; } }

/* Creator desk: a single reading surface across the analyzer. */
.creator-workspace { padding: 0; background: #f6f6f6; color: #171717; font-family: 'DM Sans', sans-serif; font-weight: 400; }
.creator-workspace h1, .creator-workspace h2, .creator-workspace h3 { font-family: 'DM Sans', sans-serif; }
.creator-workspace .workspace-frame { display: block; width: min(1380px, calc(100% - 48px)); margin: 24px auto; min-height: calc(100vh - 48px); border: 1px solid #dedede; border-radius: 16px; background: #fff; box-shadow: none; overflow: clip; }
.creator-workspace .workspace-sidebar { position: static; width: auto; min-height: 0; height: auto; display: flex; flex-direction: row; align-items: center; gap: 30px; padding: 22px 32px; border: 0; border-bottom: 1px solid #e3e3e3; border-radius: 0; background: #fff; }
.creator-workspace .workspace-brand { margin: 0; font: 700 30px/1 'DM Sans', sans-serif; letter-spacing: -2px; }
.creator-workspace .workspace-nav { display: flex; align-items: center; gap: 6px; margin: 0; }
.creator-workspace .workspace-nav a { min-height: 38px; padding: 9px 12px; font-size: 13px; font-weight: 400; color: #686868; border-radius: 7px; white-space: nowrap; }
.creator-workspace .workspace-nav a.active { font-weight: 600; color: #171717; background: #f3f3f3; }
.creator-workspace .workspace-nav-icon { display: none; }
.creator-workspace .workspace-usage { margin: 0 0 0 auto; padding: 0; min-height: 0; width: auto; flex: 0 0 auto; border: 0; background: none; text-align: right; }
.creator-workspace .workspace-usage span { font-size: 11px; color: #737373; }
.creator-workspace .workspace-usage strong { font-size: 12px; font-weight: 500; }
.creator-workspace .workspace-profile { margin: 0; padding: 0 0 0 22px; border: 0; border-left: 1px solid #ddd; background: none; border-radius: 0; max-width: 170px; }
.creator-workspace .workspace-profile strong { font-size: 12px; font-weight: 500; }
.creator-workspace .workspace-profile span { display: none; }
.creator-workspace .workspace-profile button { margin: 3px 0 0; padding: 0; border: 0; font-size: 11px; font-weight: 400; }
.analyzer-page .analyzer-content { padding: 42px; overflow: visible; background: #fff; }
.analyzer-page .analyzer-heading-simple { max-width: 840px; margin: 0 auto 28px; }
.analyzer-page .analyzer-heading-simple h1 { font-size: clamp(30px, 3.5vw, 40px); line-height: 1.13; font-weight: 600; letter-spacing: -1.4px; }
.analyzer-page .analyzer-heading-simple p:not(.desk-eyebrow) { margin-top: 12px; color: #737373; font-size: 14px; font-weight: 400; }
.analyzer-page .desk-eyebrow { margin: 0 0 10px; font-size: 10px; line-height: 1.5; font-weight: 500; letter-spacing: .14em; color: #747474; text-transform: uppercase; }
.analyzer-page .workspace-saved { display: none; }
.analyzer-page .analyzer-card { max-width: 840px; margin: 0 auto; padding: 28px; border: 1px solid #e0e0e0; border-radius: 12px; box-shadow: none; background: white; }
.analyzer-page .analyzer-stepper { margin-bottom: 28px; gap: 28px; border-bottom: 1px solid #e0e0e0; padding-bottom: 16px; }
.analyzer-page .analyzer-stepper span { font-size: 13px; font-weight: 400; }
.analyzer-page .analyzer-stepper .active { font-weight: 600; }
.analyzer-page .analyzer-card .field label, .analyzer-page .project-select-label, .analyzer-page .project-choice-field legend { font-size: 14px; font-weight: 500; }
.analyzer-page .analyzer-card .optional-label { font-size: 10px; font-weight: 400; }
.analyzer-page .analyzer-card input, .analyzer-page .analyzer-card textarea, .analyzer-page .analyzer-card select { font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 16px; }
.analyzer-page .analyzer-card .field input, .analyzer-page .analyzer-card .field textarea { border-radius: 8px; background: #fff; border: 1px solid #d8d8d8; }
.analyzer-page .analyzer-card .field input::placeholder, .analyzer-page .analyzer-card .field textarea::placeholder { font-weight: 400; color: #929292; }
.analyzer-page .analyzer-card .field-meta { display: flex; font-size: 12px; font-weight: 400; }
.analyzer-page .style-reference-field { border-radius: 10px; padding: 20px; background: #fafafa; }
.analyzer-page .style-reference-field h2 { font-weight: 500; }
.analyzer-page .analyzer-card .analyze-button { border-radius: 9px; min-height: 48px; font-size: 14px; font-weight: 500; background: #171717; }
.analyzer-page .analyzer-card .button-icon { display: none; }
.analyzer-page .analyzer-card .research-loader { grid-template-columns: 1fr; gap: 24px; padding: 38px 28px; background: #fafafa; color: #171717; border: 1px solid #e2e2e2; border-radius: 10px; }
.analyzer-page .research-loader::after, .analyzer-page .research-loader-visual { display: none; }
.analyzer-page .research-loader strong { color: #171717; font-size: 20px; font-weight: 500; letter-spacing: -.4px; }
.analyzer-page .research-loader span { font-size: 13px; font-weight: 400; }
.analyzer-page .research-loader .research-loader-kicker { color: #777; font-size: 10px; }
.analyzer-page .research-loader-copy > span:last-child { color: #686868; margin-top: 8px; }
.analyzer-page .research-loader-stages li { color: #777; font-size: 10px; font-weight: 400; }
.analyzer-page .research-loader-stages li.done, .analyzer-page .research-loader-stages li.active { color: #171717; font-weight: 600; }
.analyzer-page .research-loader-stages li span { background: #ddd; }
.analyzer-page .research-loader-stages li.done span, .analyzer-page .research-loader-stages li.active span::after { background: #171717; }
.analyzer-page.desk-is-researching .analyzer-stepper, .analyzer-page.desk-is-researching .brief-step, .analyzer-page.desk-is-researching #analyze-button { display: none; }
.analyzer-page.desk-is-researching .analyzer-card { border: 0; padding: 0; }
.analyzer-page.desk-has-results .analyzer-heading-simple, .analyzer-page.desk-has-results .analyzer-card { display: none; }
.analyzer-page .analyzer-results { padding: 0; margin: 0; }
.analyzer-page .analyzer-results[hidden], .analyzer-page .concept-card[hidden], .analyzer-page [role=tabpanel][hidden], .analyzer-page .desk-direction-notes[hidden] { display: none !important; }
.analyzer-page .results-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.analyzer-page .results-head .step-label { font-size: 10px; color: #737373; letter-spacing: .13em; margin: 0 0 10px; font-weight: 500; }
.analyzer-page .analyzer-results .results-head h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -1.2px; line-height: 1.15; }
.analyzer-page .desk-results-subtitle { font-size: 14px; font-weight: 400; color: #737373; margin: 10px 0 0; }
.analyzer-page #new-analysis { padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; background: white; font-weight: 500; font-size: 13px; flex-shrink: 0; }
.analyzer-page .creator-desk-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; align-items: start; }
.analyzer-page .desk-concepts { position: sticky; top: 22px; }
.analyzer-page #desk-concept-choices { display: grid; gap: 8px; }
.analyzer-page #desk-concept-choices button { text-align: left; width: 100%; padding: 18px 15px; border: 1px solid #dedede; border-radius: 10px; background: #fff; color: #171717; cursor: pointer; font: inherit; }
.analyzer-page #desk-concept-choices button:hover { background: #f4f4f4; }
.analyzer-page #desk-concept-choices button[aria-pressed=true] { background: #171717; border-color: #171717; color: white; }
.analyzer-page .desk-choice-number { display: block; font-size: 10px; letter-spacing: .12em; font-weight: 400; opacity: .65; }
.analyzer-page .desk-choice-title { display: block; margin-top: 9px; font-size: 16px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.analyzer-page .desk-choice-detail { display: block; margin-top: 10px; font-size: 12px; font-weight: 400; opacity: .7; }
.analyzer-page .desk-profile-note { margin-top: 22px; padding: 18px; border: 1px solid #e3e3e3; border-radius: 10px; background: #fafafa; }
.analyzer-page #desk-profile-copy { font-size: 13px; font-weight: 400; color: #686868; line-height: 1.6; }
.analyzer-page .concept-list { min-width: 0; display: block; margin: 0; }
.analyzer-page .analyzer-results .concept-card { display: block; padding: 28px; border: 1px solid #dedede; border-radius: 12px; background: white; }
.analyzer-page .concept-content { min-width: 0; }
.analyzer-page .desk-concept-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.analyzer-page .concept-title { margin: 0; font-size: 27px; font-weight: 600; line-height: 1.2; letter-spacing: -.8px; }
.analyzer-page .script-actions { display: flex; position: static; flex: 0 0 auto; flex-wrap: wrap; grid-column: auto; margin: 0; gap: 7px; }
.analyzer-page .script-actions button { position: static; padding: 10px 13px; border: 1px solid #dedede; border-radius: 8px; background: #fff; color: #171717; font-size: 12px; font-weight: 500; cursor: pointer; }
.analyzer-page .script-actions .copy-button { order: 2; color: #fff; border-color: #171717; background: #171717; }
.analyzer-page .desk-tabs { display: flex; gap: 26px; margin: 24px 0; border-bottom: 1px solid #dedede; }
.analyzer-page .desk-tabs button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 0 0 13px; background: none; font: 500 14px 'DM Sans', sans-serif; color: #737373; cursor: pointer; }
.analyzer-page .desk-tabs button[aria-selected=true] { color: #171717; border-bottom-color: #171717; }
.analyzer-page .desk-detail-columns { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(160px, 1fr); gap: 30px; }
.analyzer-page .desk-detail-columns.desk-full-width { grid-template-columns: minmax(0, 1fr); }
.analyzer-page .desk-tab-panels { min-width: 0; }
.analyzer-page .analyzer-results .concept-block { display: block; padding: 0; border: 0; margin: 0; }
.analyzer-page .script-block > span { display: none; }
.analyzer-page .analyzer-results .script-block > p { margin: 0; padding: 0; font-size: 19px; line-height: 1.7; font-weight: 400; letter-spacing: -.25px; white-space: pre-line; }
.analyzer-page .desk-direction-notes section { padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid #e0e0e0; }
.analyzer-page .desk-direction-notes h4 { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.analyzer-page .desk-direction-notes p { font-size: 13px; font-weight: 400; line-height: 1.65; color: #686868; margin: 0; }
.analyzer-page .desk-concept-footer { padding-top: 22px; margin-top: 28px; border-top: 1px solid #e0e0e0; }
.analyzer-page .revision-panel { grid-column: auto; margin: 0; padding: 0; border: 0; }
.analyzer-page .revision-panel summary { color: #171717; font-size: 13px; font-weight: 500; cursor: pointer; }
.analyzer-page .revision-panel textarea { font-size: 16px; font-weight: 400; border-radius: 8px; }
.analyzer-page .revision-panel button { border-radius: 8px; }
.analyzer-page .direction-block > span { display: block; margin-bottom: 9px; font-size: 10px; }
.analyzer-page .direction-block p { font-size: 14px; font-weight: 400; line-height: 1.6; }
.analyzer-page .creator-blueprint { margin: 22px 0 0; border-radius: 8px; background: #fafafa; }
.analyzer-page .creator-blueprint summary { font-size: 14px; font-weight: 500; }
.analyzer-page .beat-table { min-width: 0; }
.analyzer-page .beat-table td { font-size: 14px; font-weight: 400; line-height: 1.65; }
.analyzer-page .beat-table th { font-size: 11px; }
.analyzer-page .desk-empty-note { margin-top: 20px; color: #737373; font-size: 14px; }
.analyzer-page .concept-evidence-details { margin: 18px 0; border-radius: 8px; }
.analyzer-page .concept-intelligence { grid-template-columns: 1fr 1fr; }
.analyzer-page .concept-intelligence p, .analyzer-page .confidence-reason { font-size: 13px; font-weight: 400; line-height: 1.6; }
.analyzer-page .references { display: block; margin-top: 20px; border-color: #dedede; padding-top: 16px; }
.analyzer-page .references > span { display: block; margin-bottom: 14px; }
.analyzer-page .reference-links { display: grid; grid-template-columns: 1fr; }
.analyzer-page .reference-card { border-radius: 8px; padding: 16px; }
.analyzer-page .reference-card p, .analyzer-page .reference-card span, .analyzer-page .reference-card small { font-weight: 400; }
.analyzer-page .desk-tab-panels h4 { font-size: 14px; margin: 26px 0 14px; font-weight: 600; }
.analyzer-page .video-evidence { border-radius: 8px; }
.analyzer-page .video-evidence p { font-weight: 400; }
.analyzer-page .desk-project-details { margin-top: 28px; border-top: 1px solid #dedede; padding-top: 20px; }
.analyzer-page .desk-project-details > summary { cursor: pointer; font-size: 14px; color: #686868; font-weight: 500; }
.analyzer-page .desk-project-details .product-summary, .analyzer-page .desk-project-details .research-receipt, .analyzer-page .desk-project-details .creator-guidance { margin-top: 22px; border-radius: 10px; padding: 24px; box-shadow: none; }
.analyzer-page .desk-project-details p, .analyzer-page .desk-project-details span { font-weight: 400; }
.analyzer-page .desk-project-details h3 { font-size: 22px; }
.analyzer-page .desk-project-details .evidence-note { font-size: 13px; font-weight: 400; margin-top: 18px; }
.analyzer-page .research-loader-mark { display: none; }
@media (max-width: 1100px) {
 .analyzer-page .workspace-sidebar { gap: 16px; padding: 20px 24px; }
 .analyzer-page .workspace-nav a { padding: 8px; }
 .analyzer-page .analyzer-content { padding: 30px; }
 .analyzer-page .creator-desk-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 18px; }
 .analyzer-page .desk-detail-columns { grid-template-columns: 1fr; }
 .analyzer-page .desk-direction-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
 .analyzer-page .desk-concept-header { flex-wrap: wrap; }
}
@media (max-width: 760px) {
 .analyzer-page .analyzer-workspace { width: calc(100% - 24px); margin: 12px auto; min-height: calc(100vh - 24px); }
 .analyzer-page .workspace-sidebar { flex-wrap: wrap; gap: 16px; padding: 18px; }
 .analyzer-page .workspace-brand { font-size: 28px; }
 .analyzer-page .workspace-nav { order: 3; width: 100%; justify-content: space-between; gap: 0; }
 .analyzer-page .workspace-nav a { font-size: 12px; padding: 8px; }
 .analyzer-page .workspace-profile { padding-left: 12px; max-width: 120px; }
 .analyzer-page .analyzer-content { padding: 24px 18px; }
 .analyzer-page .creator-desk-layout { grid-template-columns: 1fr; }
 .analyzer-page .desk-concepts { position: static; }
 .analyzer-page #desk-concept-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .analyzer-page #desk-concept-choices button { padding: 13px 10px; }
 .analyzer-page .desk-choice-title { font-size: 13px; }
 .analyzer-page .desk-choice-detail { font-size: 10px; }
 .analyzer-page .desk-choice-number { font-size: 9px; }
 .analyzer-page .desk-profile-note { display: none; }
 .analyzer-page .analyzer-results .concept-card { padding: 20px; }
 .analyzer-page .results-head { flex-wrap: wrap; }
 .analyzer-page .analyzer-results .script-block > p { font-size: 18px; }
 .analyzer-page .analyzer-card { padding: 20px; }
 .analyzer-page .concept-intelligence { grid-template-columns: 1fr; }
 .analyzer-page .desk-direction-notes { grid-template-columns: 1fr; gap: 0; }
 .analyzer-page .beat-table thead { display: none; }
 .analyzer-page .beat-table tr { display: block; border-bottom: 1px solid #ddd; padding: 14px 0; }
 .analyzer-page .beat-table td { display: block; border: 0; padding: 5px 0; white-space: pre-line; }
 .analyzer-page .beat-table td:nth-child(1) { font-weight: 600; }
 .analyzer-page .beat-table td:nth-child(2)::before { content: 'SAY'; display: block; color: #777; font-size: 10px; letter-spacing: .1em; }
 .analyzer-page .beat-table td:nth-child(3)::before { content: 'SHOW'; display: block; color: #777; font-size: 10px; letter-spacing: .1em; }
 .analyzer-page .field-meta { flex-wrap: wrap; gap: 5px; }
}
@media (prefers-reduced-motion: no-preference) {
 .analyzer-page .concept-card:not([hidden]), .analyzer-page [role=tabpanel]:not([hidden]) { animation: desk-reveal .18s ease-out; }
 @keyframes desk-reveal { from { opacity: .5; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
}

/* Direct workspace navigation; account controls stay in the same bar. */
.creator-workspace .workspace-sidebar { align-items: stretch; padding: 20px 32px 0; border-bottom: 0; }
.creator-workspace .desk-nav-brand { display: flex; align-items: center; gap: 28px; width: 100%; min-height: 62px; padding: 12px 22px; border-radius: 18px; background: #f2f2f2; }
.creator-workspace .desk-nav-brand .workspace-brand { flex-shrink: 0; font: 700 20px/20px 'Inter', sans-serif; letter-spacing: -.8px; }
.creator-workspace .desk-nav-brand > .workspace-nav { display: flex; flex-wrap: wrap; gap: 4px; width: auto; margin: 0; }
.creator-workspace .desk-nav-brand > .workspace-nav a { justify-content: flex-start; min-height: 38px; padding: 10px 12px; font-size: 13px; }
.creator-workspace .desk-nav-brand > .workspace-nav a.active { background: #fff; color: #171717; }
.creator-workspace .desk-workspace-menu { position: relative; flex-shrink: 0; margin: 0 0 0 auto; border: 0; padding: 0; }
.creator-workspace .desk-workspace-menu > summary { display: grid; place-items: center; min-height: 38px; padding: 10px 12px; border-radius: 7px; font: 400 13px/1.4 'DM Sans', sans-serif; cursor: pointer; list-style: none; }
.creator-workspace .desk-workspace-menu > summary::-webkit-details-marker { display: none; }
.creator-workspace .desk-workspace-menu > summary::marker { content: ''; }
.creator-workspace .desk-workspace-menu > summary:hover, .creator-workspace .desk-workspace-menu[open] > summary { background: #e5e5e5; }
.creator-workspace .desk-menu-content { position: absolute; top: calc(100% + 16px); right: 0; z-index: 20; width: min(240px, calc(100vw - 80px)); padding: 12px; border: 1px solid #dedede; border-radius: 12px; background: white; box-shadow: 0 12px 34px #00000012; }
.creator-workspace .desk-menu-content .workspace-usage { display: block; padding: 10px 12px 14px; margin: 0; text-align: left; }
.creator-workspace .desk-menu-content .workspace-usage span { display: block; font-size: 12px; }
.creator-workspace .desk-menu-content .workspace-usage strong { font-size: 13px; }
.creator-workspace .desk-menu-content .workspace-profile { max-width: none; margin: 0; padding: 14px 12px 6px; border: 0; border-top: 1px solid #e8e8e8; text-align: left; }
.creator-workspace .desk-menu-content .workspace-profile strong { font-size: 13px; overflow-wrap: anywhere; }
.creator-workspace .desk-menu-content .workspace-profile button { display: block; margin-top: 10px; padding: 8px 0; font-size: 13px; }
@media (max-width: 760px) {
 .creator-workspace .workspace-sidebar { padding: 16px 18px 0; }
 .creator-workspace .desk-nav-brand { flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
 .creator-workspace .desk-nav-brand > .workspace-nav { order: 3; flex-basis: 100%; }
 .creator-workspace .desk-nav-brand > .workspace-nav a { padding: 9px 10px; font-size: 12px; }
}

/* Shared Creator desk pages: library, saved script reader, and billing. */
.creator-workspace .workspace-content { padding: 42px; background: #fff; }
.creator-workspace .desk-eyebrow { margin: 0 0 10px; color: #747474; font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.creator-workspace .workspace-heading { gap: 24px; align-items: center; }
.creator-workspace .workspace-heading h1 { font-size: clamp(30px, 3.5vw, 40px); font-weight: 600; letter-spacing: -1.4px; line-height: 1.13; }
.creator-workspace .workspace-heading p:not(.desk-eyebrow) { margin-top: 12px; color: #737373; font-size: 14px; font-weight: 400; line-height: 1.6; }
.creator-workspace .workspace-analyze, .creator-workspace .manage-billing { width: auto; padding: 12px 18px; flex-shrink: 0; border-radius: 8px; font-weight: 500; font-size: 13px; }
.creator-workspace .workspace-empty { min-height: 360px; padding: 32px; border: 1px solid #e0e0e0; border-radius: 12px; background: #fafafa; }
.creator-workspace .workspace-empty h2 { font-size: 26px; font-weight: 500; letter-spacing: -.8px; }
.creator-workspace .workspace-empty a { border-radius: 8px; font-size: 13px; font-weight: 500; }
.creator-workspace .featured-briefs { gap: 16px; margin-top: 32px; }
.creator-workspace .featured-brief { min-height: 190px; padding: 24px; justify-content: space-between; border: 1px solid #dedede; border-radius: 12px; background: #fafafa; transition: border-color .15s, background .15s; }
.creator-workspace .featured-brief::before { display: none; }
.creator-workspace .featured-brief:hover { background: #f1f1f1; border-color: #929292; }
.creator-workspace .featured-brief span { color: #747474; font-size: 11px; font-weight: 400; }
.creator-workspace .featured-brief h3 { font: 500 24px/1.25 'DM Sans', sans-serif; letter-spacing: -.6px; }
.creator-workspace .workspace-angle { margin-top: 20px; padding: 20px 24px; border: 1px solid #e4e4e4; border-radius: 10px; background: #fff; }
.creator-workspace .workspace-angle strong { font-weight: 500; line-height: 1.5; }
.creator-workspace .workspace-angle p { font-weight: 400; line-height: 1.6; }
.creator-workspace .recent-briefs { margin-top: 36px; }
.creator-workspace .recent-heading { margin-bottom: 16px; }
.creator-workspace .recent-heading h2 { font-size: 17px; font-weight: 500; }
.creator-workspace .recent-list { border: 1px solid #e0e0e0; border-radius: 10px; }
.creator-workspace .recent-brief { grid-template-columns: 130px minmax(0, 1fr) 90px 18px; min-height: 70px; padding: 16px 20px; }
.creator-workspace .recent-brief strong { font-size: 14px; font-weight: 500; white-space: normal; line-height: 1.5; }
.creator-workspace .recent-platform, .creator-workspace .recent-date { font-size: 12px; font-weight: 400; }
.creator-workspace .brief-dialog { width: min(1000px, calc(100% - 40px)); padding: 32px; border: 1px solid #dedede; border-radius: 14px; box-shadow: 0 20px 80px #0002; }
.creator-workspace .brief-dialog-head { padding-bottom: 26px; border-bottom: 1px solid #e3e3e3; }
.creator-workspace .brief-dialog-head h2 { max-width: 730px; font-size: clamp(25px, 3vw, 34px); font-weight: 500; letter-spacing: -.9px; line-height: 1.2; }
.creator-workspace .brief-dialog-head > div > span { font-weight: 400; }
.creator-workspace .saved-brief-reader { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; }
.creator-workspace .saved-brief-reader > * { min-width: 0; }
.creator-workspace .saved-direction-column { margin-top: 26px; padding-left: 24px; border-left: 1px solid #e3e3e3; }
.creator-workspace .saved-direction-column .brief-dialog-section:first-child { margin-top: 0; }
.creator-workspace .brief-dialog-section { border: 0; padding: 0; }
.creator-workspace .brief-dialog-section > span { font-weight: 500; font-size: 10px; }
.creator-workspace .brief-dialog-section p { overflow-wrap: anywhere; font-size: 15px; font-weight: 400; line-height: 1.8; }
.creator-workspace .brief-dialog-section.script p { font-size: 19px; line-height: 1.85; }
.creator-workspace .brief-reference-list a { border: 1px solid #e5e5e5; background: #fafafa; border-radius: 8px; font-weight: 400; line-height: 1.65; overflow-wrap: anywhere; }
.creator-workspace .brief-dialog-actions { border-top: 1px solid #e3e3e3; padding-top: 22px; }
.creator-workspace .brief-dialog-actions button { border-radius: 8px; font-size: 13px; font-weight: 500; }
.creator-workspace .plan-status, .creator-workspace .tester-access { border-radius: 12px; background: #fafafa; }
.creator-workspace .plan-status { margin-top: 28px; }
.creator-workspace .plan-card { border-radius: 12px; box-shadow: none; }
.creator-workspace .plan-card h2 { font-family: 'DM Sans', sans-serif; font-size: 30px; font-weight: 500; letter-spacing: -.8px; }
.creator-workspace .plan-card p, .creator-workspace .plan-card li { font-weight: 400; line-height: 1.6; }
.creator-workspace .plan-button, .creator-workspace .tester-access button, .creator-workspace .tester-access input { border-radius: 8px; }
.creator-workspace .tester-access h2 { font-family: 'DM Sans', sans-serif; font-weight: 500; letter-spacing: -.4px; }
.creator-workspace .tester-access form { width: min(390px, 48%); }
.creator-workspace :is(button, a, summary):focus-visible { outline: 2px solid #171717; outline-offset: 4px; }
@media (max-width: 1000px) {
 .creator-workspace .workspace-content { padding: 30px; }
 .creator-workspace .featured-briefs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .creator-workspace .featured-brief:nth-child(n) { display: flex; }
 .creator-workspace .featured-brief { padding: 20px; }
 .creator-workspace .tester-access form { width: 100%; }
}
@media (max-width: 760px) {
 .creator-workspace .workspace-frame { width: calc(100% - 24px); margin: 12px auto; min-height: calc(100vh - 24px); }
 .creator-workspace .workspace-content { padding: 24px 18px; }
 .creator-workspace .workspace-heading { flex-wrap: wrap; align-items: flex-start; }
 .creator-workspace .featured-briefs { grid-template-columns: 1fr; }
 .creator-workspace .featured-brief { min-height: 145px; }
 .creator-workspace .recent-brief { grid-template-columns: minmax(0, 1fr) 18px; gap: 6px 12px; }
 .creator-workspace .recent-platform { grid-column: 1; }
 .creator-workspace .recent-brief strong { grid-column: 1; }
 .creator-workspace .recent-arrow { grid-column: 2; grid-row: 1 / 3; }
 .creator-workspace .recent-date { display: none; }
 .creator-workspace .saved-brief-reader { grid-template-columns: 1fr; gap: 0; }
 .creator-workspace .saved-direction-column { padding: 24px 0 0; border-left: 0; border-top: 1px solid #e3e3e3; }
 .creator-workspace .brief-dialog { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) { .creator-workspace .featured-brief { transition: none; } }

/* Rounded workspace surfaces and the persistent creative profile page. */
.creator-workspace .workspace-frame { border-radius: 30px; }
.creator-workspace :is(.analyzer-card, .concept-card, .featured-brief, .workspace-empty, .plan-card, .plan-status, .tester-access, .workspace-angle, .recent-list, .brief-dialog, .style-reference-field, .desk-profile-note, .creator-blueprint, .concept-evidence-details, .reference-card, .video-evidence, .product-summary, .research-receipt, .creator-guidance, .desk-menu-content),
.analyzer-page .analyzer-results .concept-card,
.analyzer-page .desk-project-details :is(.product-summary, .research-receipt, .creator-guidance) { border-radius: 22px; }
.analyzer-page #desk-concept-choices button { border-radius: 18px; }
.profile-page .profile-content { max-width: 1100px; margin: 0 auto; }
.profile-page .profile-status { margin-bottom: 12px; color: #777; font-size: 12px; }
.profile-page .onboarding-stage { padding-top: 0; min-height: 0; }
.profile-page .onboarding-progress, .profile-page .onboarding-footnote { display: none; }
.profile-page .onboarding-stage h1 { font-size: clamp(30px, 3.5vw, 40px); font-weight: 600; letter-spacing: -1.4px; }
.profile-page .onboarding-summary { margin-top: 28px; border: 1px solid #e0e0e0; border-radius: 22px; padding: 4px 24px; background: #fff; }
.profile-page .onboarding-summary-row { padding: 22px 0; grid-template-columns: 160px minmax(0, 1fr) auto; font-size: 14px; line-height: 1.6; }
.profile-page .onboarding-summary-row:last-child { border-bottom: 0; }
.profile-page .onboarding-summary-row button { border: 1px solid #dedede; border-radius: 10px; padding: 7px 14px; text-decoration: none; background: #fff; }
.profile-page .onboarding-actions { margin-top: 30px; }
@media (max-width: 650px) {
 .creator-workspace .workspace-frame { border-radius: 24px; }
 .profile-page .onboarding-summary { padding: 0 18px; }
 .profile-page .onboarding-summary-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; }
 .profile-page .onboarding-summary-row button { grid-column: 2; grid-row: 1 / 3; }
}

/* Scan timing is separate from provider status, and never promises a countdown to zero. */
.analyzer-page .scan-timing { display: grid; grid-template-columns: minmax(100px, .6fr) minmax(0, 1.4fr); gap: 18px 28px; padding: 22px 24px; margin-top: 24px; border: 1px solid #e1e1e1; border-radius: 22px; background: #fafafa; text-align: left; }
.analyzer-page .scan-timing > div > span { display: block; color: #777; font-size: 12px; font-weight: 400; margin-bottom: 7px; }
.analyzer-page .scan-timing strong { font-size: 19px; font-weight: 500; line-height: 1.4; font-variant-numeric: tabular-nums; }
.analyzer-page #scan-timing-basis { grid-column: 1 / -1; margin: 0; color: #777; font-size: 12px; font-weight: 400; line-height: 1.5; }
.analyzer-page .scan-wait-notice { margin: 16px 0 0; color: #555; font-size: 13px; line-height: 1.6; font-weight: 400; }
.analyzer-page .desk-shot-panel .direction-block { margin-top: 6px; padding: 0 0 22px; border-bottom: 1px solid #e5e5e5; }
.analyzer-page .desk-shot-panel .desk-shot-plan { margin-top: 24px; padding: 0; border: 0; background: none; }
.analyzer-page .desk-panel-heading { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.analyzer-page .desk-panel-heading h4 { margin: 0; font-size: 16px; font-weight: 500; }
.analyzer-page .desk-panel-heading .blueprint-duration { color: #777; font-size: 12px; font-weight: 400; }
.analyzer-page .copy-shot-plan { margin-left: auto; padding: 9px 13px; border: 1px solid #ddd; background: #fff; border-radius: 10px; font: 400 12px 'DM Sans', sans-serif; cursor: pointer; }
.analyzer-page .desk-shot-panel .beat-table-wrap { margin: 0; border: 1px solid #e0e0e0; border-radius: 20px; overflow: hidden; }
.analyzer-page .desk-shot-panel .beat-table { table-layout: fixed; width: 100%; }
.analyzer-page .desk-shot-panel .beat-table th { background: #f6f6f6; padding: 15px 18px; color: #686868; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.analyzer-page .desk-shot-panel .beat-table td { padding: 20px 18px; overflow-wrap: anywhere; vertical-align: top; }
.analyzer-page .desk-shot-panel .beat-table th:first-child, .analyzer-page .desk-shot-panel .beat-table td:first-child { width: 88px; padding-left: 18px; font-variant-numeric: tabular-nums; font-size: 12px; color: #777; }
.analyzer-page .desk-shot-panel .beat-table tr:nth-child(even) { background: #fcfcfc; }
.analyzer-page .desk-shot-panel .blueprint-grid { padding: 22px; border: 1px solid #e1e1e1; border-radius: 20px; gap: 28px; }
.analyzer-page .desk-shot-panel .blueprint-grid li { padding-left: 4px; margin-bottom: 12px; font-size: 14px; line-height: 1.65; font-weight: 400; }
.analyzer-page .desk-shot-panel .blueprint-test { margin: 20px 0 0; padding: 18px 22px; border-radius: 18px; color: #555; background: #f6f6f6; font-size: 13px; font-weight: 400; line-height: 1.65; }
.analyzer-page .desk-research-panel .concept-topline { flex-wrap: wrap; gap: 12px; margin: 6px 0 12px; }
.analyzer-page .desk-research-panel .confidence-reason { margin: 0 0 22px; max-width: 760px; }
.analyzer-page .desk-research-panel .concept-evidence-details { margin: 0 0 26px; padding: 18px 22px; background: #fafafa; border: 1px solid #e1e1e1; }
.analyzer-page .desk-research-panel .concept-evidence-details > summary { font-size: 14px; font-weight: 500; }
.analyzer-page .desk-research-panel .concept-intelligence { gap: 22px; margin-top: 22px; }
.analyzer-page .desk-research-panel .references { margin-top: 0; padding-top: 0; border: 0; }
.analyzer-page .desk-research-panel .reference-links { gap: 18px; }
.analyzer-page .desk-reference { border: 1px solid #dedede; border-radius: 22px; overflow: hidden; }
.analyzer-page .desk-reference .reference-card { display: block; padding: 22px; margin: 0; border: 0; border-radius: 0; background: #fff; text-decoration: none; }
.analyzer-page .desk-reference .reference-card > strong { display: block; margin-top: 8px; font-size: 17px; font-weight: 500; line-height: 1.4; }
.analyzer-page .desk-reference .reference-meta { font-size: 11px; line-height: 1.7; color: #777; }
.analyzer-page .desk-reference .reference-card > small { display: block; margin-top: 16px; color: #555; font-size: 11px; }
.analyzer-page .desk-reference .reference-card:hover { background: #fafafa; }
.analyzer-page .desk-reference .video-evidence { margin: 0; border: 0; border-top: 1px solid #e5e5e5; border-radius: 0; background: #fafafa; }
.analyzer-page .desk-reference .video-evidence > summary { padding: 16px 22px; font-size: 12px; font-weight: 500; }
.analyzer-page .desk-reference .video-evidence-body { padding: 0 22px 22px; }
.analyzer-page .desk-reference .video-breakdown { grid-template-columns: 1fr 1fr; gap: 20px; }
.analyzer-page .desk-reference .video-timeline { padding-left: 18px; }
@media (max-width: 760px) {
 .analyzer-page .desk-shot-panel .beat-table, .analyzer-page .desk-shot-panel .beat-table tbody { display: block; }
 .analyzer-page .desk-shot-panel .beat-table tr { padding: 18px; }
 .analyzer-page .desk-shot-panel .beat-table td { padding: 8px 0; width: 100%; }
 .analyzer-page .desk-shot-panel .beat-table td:first-child { width: auto; padding: 0 0 8px; }
 .analyzer-page .desk-shot-panel .beat-table tr:last-child { border-bottom: 0; }
 .analyzer-page .desk-reference .video-breakdown { grid-template-columns: 1fr; }
 .analyzer-page .scan-timing { gap: 16px; padding: 18px; }
 .analyzer-page .scan-timing strong { font-size: 16px; }
}

.analyzer-page .analyzer-card .research-loader { border-radius: 24px; }


/* Light shot-plan surfaces must not inherit the legacy dark-card foreground. */
.analyzer-page .creator-blueprint,
.analyzer-page .desk-shot-panel .beat-table td,
.analyzer-page .creator-blueprint .blueprint-grid ol,
.analyzer-page .creator-blueprint .blueprint-grid ul { color: #202020; }
.analyzer-page .desk-shot-panel .blueprint-test { border-top: 0; }
.analyzer-page .desk-panel-heading h4 { color: #202020; }

/* A complete edit-request card in both its closed and open states. */
.analyzer-page .desk-concept-footer { padding-top: 24px; margin-top: 28px; }
.analyzer-page .revision-panel { padding: 0; border: 1px solid #dedede; border-radius: 22px; background: #fafafa; overflow: hidden; }
.analyzer-page .revision-panel > summary { position: relative; display: grid; gap: 6px; width: 100%; padding: 22px 88px 22px 24px; list-style: none; cursor: pointer; }
.analyzer-page .revision-panel > summary::-webkit-details-marker { display: none; }
.analyzer-page .revision-panel > summary::marker { content: ''; }
.analyzer-page .revision-panel > summary::after { content: 'Edit'; position: absolute; top: 50%; right: 24px; transform: translateY(-50%); padding: 8px 12px; border: 1px solid #dedede; border-radius: 10px; background: white; color: #333; font-size: 12px; font-weight: 500; }
.analyzer-page .revision-panel[open] > summary::after { content: 'Close'; }
.analyzer-page .revision-panel > summary:hover { background: #f4f4f4; }
.analyzer-page .revision-panel > summary:focus-visible { outline: 2px solid #333; outline-offset: -4px; }
.analyzer-page .revision-heading { color: #202020; font-size: 16px; font-weight: 500; line-height: 1.4; }
.analyzer-page .revision-description { color: #666; font-size: 13px; font-weight: 400; line-height: 1.5; }
.analyzer-page .revision-body { padding: 0 24px 24px; }
.analyzer-page .revision-panel label { margin: 0; gap: 10px; color: #454545; font-size: 13px; font-weight: 500; }
.analyzer-page .revision-panel textarea { min-height: 116px; padding: 16px; border: 1px solid #d5d5d5; border-radius: 14px; background: #fff; color: #202020; font: 400 16px/1.6 'DM Sans', sans-serif; }
.analyzer-page .revision-panel textarea::placeholder { color: #777; opacity: 1; }
.analyzer-page .revision-panel .revision-footer { gap: 20px; margin-top: 18px; align-items: center; }
.analyzer-page .revision-status { color: #666; font-size: 12px; line-height: 1.5; font-weight: 400; }
.analyzer-page .revision-panel .revise-button { min-height: 44px; padding: 12px 20px; border-radius: 12px; background: #1b1b1b; color: #fff; font-size: 13px; font-weight: 500; }
@media (max-width: 600px) {
 .analyzer-page .revision-panel > summary { padding: 20px 76px 20px 18px; }
 .analyzer-page .revision-panel > summary::after { right: 18px; }
 .analyzer-page .revision-body { padding: 0 18px 20px; }
 .analyzer-page .revision-panel .revision-footer { flex-wrap: wrap; gap: 14px; }
 .analyzer-page .revision-panel .revise-button { width: 100%; }
}

/* Product-specific campaign brief */
.selling-type-field { margin-top: 0; margin-bottom: 30px; }
.selling-type-help { margin: 8px 0 16px; color: #707070; font-size: 14px; line-height: 1.5; }
.selling-type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.selling-type-grid button { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 19px; text-align: left; border: 1px solid #dedede; border-radius: 16px; color: #191919; background: #fff; font: inherit; cursor: pointer; transition: background 180ms, color 180ms, border-color 180ms; }
.selling-type-grid button span { font-size: 15px; font-weight: 600; }
.selling-type-grid button small { font-size: 14px; line-height: 1.5; color: #717171; }
.selling-type-grid button[aria-pressed="true"] { background: #181818; color: white; border-color: #181818; }
.selling-type-grid button[aria-pressed="true"] small { color: #d1d1d1; }
.selling-type-grid button:focus-visible { outline: 2px solid #181818; outline-offset: 3px; }
.selling-project-context { padding: 22px; margin-bottom: 26px; border: 1px solid #e2e2e2; border-radius: 18px; background: #fafafa; }
.selling-summary { margin: 0 0 20px; font-size: 16px; font-weight: 600; }

/* Readable actions and expandable sections throughout the research results. */
.analyzer-page #results summary {
  color: #171717;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
.analyzer-page #results button,
.analyzer-page #results .revision-panel > summary::after {
  font-size: 14px;
  font-weight: 700;
}
.analyzer-page #results .desk-tabs button,
.analyzer-page #results .revision-heading,
.analyzer-page #results .revision-panel > summary::after {
  color: #171717;
}
.analyzer-page #results .revision-heading {
  font-size: 16px;
  font-weight: 700;
}
.analyzer-page #results .references > span {
  color: #171717;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}
.selling-project-context .project-select-label { display: block; margin-bottom: 20px; }
.selling-project-context .project-select-label[hidden], .project-choice-list button[hidden] { display: none; }
.selling-project-context .selling-type-help { margin-bottom: 0; }
@media (max-width: 480px) { .selling-type-grid { grid-template-columns: 1fr; } .selling-project-context { padding: 17px; } }
@media (prefers-reduced-motion: reduce) { .selling-type-grid button { transition: none; } }

.analyzer-page .direction-field-error { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: #171717; }
.analyzer-page [aria-invalid="true"] { outline: 2px solid #171717; outline-offset: 3px; }
/* Saved research and new angles share the creator desk's quiet controls. */
.research-library-panel { margin: 0 0 24px; border: 1px solid #dedede; border-radius: 22px; background: #fff; }
.research-library-panel > summary { padding: 20px 24px; font-size: 15px; font-weight: 700; cursor: pointer; }
.research-library { padding: 0 24px 20px; }
.research-library h2 { margin: 0 0 8px; font-size: 21px; color: #191919; }
.research-library > p { color: #555; font-size: 14px; line-height: 1.6; }
.research-library-list { max-height: 360px; overflow: auto; }
.research-library-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid #e8e8e8; }
.research-library-row > div { display: grid; gap: 5px; min-width: 0; }
.research-library-row strong { font-size: 15px; color: #191919; overflow-wrap: anywhere; }
.research-library-row span { font-size: 13px; color: #555; }
.research-library-row a { flex-shrink: 0; border: 1px solid #ddd; border-radius: 12px; padding: 10px 14px; color: #191919; font-size: 13px; font-weight: 700; text-decoration: none; }
.analyzer-page .reuse-research { width: 100%; max-width: none; box-sizing: border-box; padding: 26px; border: 1px solid #ddd; border-radius: 22px; background: #f7f7f7; margin: 24px 0; color: #191919; }
.reuse-research h3 { margin: 0; font-size: 22px; }
.reuse-research p { color: #555; line-height: 1.6; font-size: 14px; max-width: 760px; }
.reuse-research label { display: block; font-size: 14px; font-weight: 700; margin: 20px 0 9px; }
.reuse-research textarea { width: 100%; resize: vertical; box-sizing: border-box; border: 1px solid #ccc; border-radius: 14px; background: #fff; color: #191919; padding: 14px; font: inherit; font-size: 15px; line-height: 1.5; }
.reuse-research-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.reuse-research-actions span { color: #555; font-size: 13px; }
.reuse-research button { border: 0; border-radius: 12px; background: #191919; color: #fff; padding: 14px 20px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.reuse-research button:disabled { opacity: .55; cursor: wait; }
@media (max-width: 600px) { .reuse-research { padding: 20px; } .reuse-research-actions { align-items: stretch; flex-direction: column; } .research-library-row { align-items: flex-start; flex-direction: column; gap: 10px; } }

/* Research arrives before writing. Keep references useful and selectable. */
.research-directions { margin: 0 0 32px; }
.research-direction-intro { max-width: 760px; font-size: 17px; line-height: 1.6; }
.research-direction-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.research-direction-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid #dedede; border-radius: 22px; background: #fff; color: #171717; min-width: 0; }
.research-direction-card h3 { font-size: 20px; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.research-direction-card p { margin: 0; line-height: 1.55; }
.research-direction-card .desk-eyebrow { font-size: 12px; font-weight: 700; }
.research-direction-pattern { padding: 16px; background: #f5f5f5; border-radius: 14px; }
.research-direction-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto; align-items: center; font-size: 14px; font-weight: 650; }
.research-direction-card > button { width: 100%; padding: 14px 18px; border-radius: 12px; font-weight: 700; }
.creator-desk-layout[hidden], .creator-guidance[hidden], .research-directions[hidden] { display: none; }
@media (max-width: 980px) { .research-direction-grid { grid-template-columns: 1fr; } }

.research-direction-card h3 { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
/* Keep writing progress and recoverable errors visible above saved research. */
.analyzer-page.desk-has-results.desk-is-researching .analyzer-card,
.analyzer-page.desk-has-results .analyzer-card:has(#form-error:not([hidden])) { display: block; }
.analyzer-page.desk-has-results .analyzer-card .brief-step,
.analyzer-page.desk-has-results .analyzer-card .analyzer-stepper,
.analyzer-page.desk-has-results .analyzer-card #analyze-button { display: none; }
.research-direction-card > button { background: #171717; color: #fff; border: 1px solid #171717; }
.research-direction-card > button:disabled { opacity: .5; cursor: wait; }
