.hero-tool {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 560px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 112px min(6vw, 78px) 42px;
  color: #fff;
  background:
    linear-gradient(108deg, rgba(255, 101, 15, 0.2) 0%, rgba(255, 63, 120, 0.15) 28%, transparent 56%),
    linear-gradient(252deg, rgba(154, 52, 255, 0.18) 0%, rgba(255, 101, 15, 0.08) 34%, transparent 68%),
    linear-gradient(180deg, #141414 0%, #0f1413 100%);
}

.tools-hub {
  min-height: 100vh;
  padding: 140px min(7vw, 90px) 60px;
  color: #fff;
  background:
    linear-gradient(108deg, rgba(255, 101, 15, 0.2) 0%, rgba(255, 63, 120, 0.15) 28%, transparent 56%),
    linear-gradient(180deg, #141414 0%, #101c1a 100%);
}

.tools-hub h1 {
  max-width: 900px;
  margin: 28px 0 18px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

.tools-hub > p:not(.kicker) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.5;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 920px;
  margin-top: 44px;
}

.hub-grid a {
  display: grid;
  gap: 12px;
  min-height: 180px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(14px);
}

.hub-grid strong {
  font-size: 26px;
  line-height: 1.1;
}

.hub-grid span {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.hero-copy h1 {
  max-width: 860px;
  margin: 26px 0 24px;
  font-size: clamp(48px, 7.4vw, 108px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-intro {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 300;
  line-height: 1.45;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-points span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.tool-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.tool-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.tool-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #fff;
  color: var(--orange);
}

.tool-card-header p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 700;
}

.tool-card-header h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.tool-card > label,
.tool-controls span {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.tool-card textarea,
.tool-card select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
}

.tool-card textarea {
  min-height: 142px;
  padding: 16px;
  resize: vertical;
  line-height: 1.55;
}

.tool-card select {
  height: 48px;
  padding: 0 14px;
}

.tool-card select option {
  color: var(--ink);
}

.tool-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.generate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 50px;
  background: var(--gradient);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.generate-btn:hover {
  box-shadow: 0 16px 30px rgba(255, 101, 15, 0.28);
  transform: translateY(-1px);
}

.tool-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.result-shell {
  padding: 72px 20px 56px;
  background: var(--mist);
}

.brief-placeholder,
.generated-brief {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.placeholder-card {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.placeholder-card svg {
  color: var(--orange);
}

.placeholder-card h3 {
  margin: 18px 0 10px;
  font-size: 28px;
}

.placeholder-card p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.generated-brief {
  display: grid;
  gap: 22px;
}

.brief-ready {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.brief-ready h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

.brief-ready p {
  margin: 0;
  color: var(--muted);
}

.brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.brief-actions button,
.brief-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.brief-actions button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.brief-actions a {
  background: var(--gradient);
  color: #fff;
}

.brief-actions a.secondary-link {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.persona-card,
.instructions-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.persona-card header {
  min-height: 170px;
  padding: 24px;
  background: #fff8f5;
}

.persona-card .tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 50px;
  background: #fff;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.persona-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.14;
}

.persona-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.persona-body {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.brief-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brief-pill-row span,
.feature-grid span {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 50px;
  background: var(--soft);
  color: var(--night-soft);
  font-size: 12px;
  font-weight: 800;
}

.brief-block {
  padding-left: 14px;
  border-left: 3px solid var(--orange);
}

.brief-block strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  text-transform: uppercase;
}

.brief-block p {
  margin: 0;
}

.ad-copy {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: #fafafa;
}

.ad-copy span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ad-copy h4 {
  margin: 0;
  font-size: 21px;
}

.ad-copy p {
  margin: 0;
}

.design-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.instructions-card {
  padding: 26px;
}

.instructions-card h3 {
  margin: 0 0 20px;
  font-size: 28px;
}

.instruction-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.instruction-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
}

.instruction-row:last-child {
  border-bottom: 0;
}

.instruction-row strong,
.instruction-row span {
  padding: 16px;
}

.instruction-row strong {
  background: #fff8f5;
}

.growth-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto 72px;
  padding: 40px;
  border-radius: 30px;
  background: var(--night-soft);
  color: #fff;
}

.growth-cta h2 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.04;
}

.growth-cta p:not(.kicker) {
  max-width: 740px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.growth-cta a {
  flex: 0 0 auto;
  padding: 17px 24px;
  border-radius: 50px;
  background: var(--gradient);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.question-grid,
.audience-section,
.feature-grid,
.steps-grid {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.question-grid article {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 22px;
  background: var(--soft);
}

.question-grid svg,
.feature-grid svg {
  color: var(--orange);
}

.audience-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.audience-card {
  min-height: 250px;
  padding: 26px;
  border-radius: 28px;
  background: var(--soft);
}

.audience-card.dark-card {
  background: var(--night);
  color: #fff;
}

.audience-card h3 {
  min-height: 58px;
  margin: 0 0 40px;
}

.audience-card span {
  display: table;
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 50px;
  background: var(--night-soft);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.feature-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-grid article,
.steps-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(20, 20, 20, 0.06);
}

.feature-grid h3,
.steps-grid h3 {
  margin: 18px 0 10px;
  font-size: 24px;
  line-height: 1.15;
}

.feature-grid p,
.steps-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.feature-grid.wide article {
  background: var(--soft);
}

.feature-grid.wide span {
  margin: 4px 3px 0 0;
  background: var(--night-soft);
  color: #fff;
}

.steps-grid article {
  position: relative;
  padding-top: 52px;
}

.steps-grid span {
  position: absolute;
  top: -18px;
  left: 30px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
}

.faq-section {
  padding: 86px 20px;
  background: var(--mist);
}

.faq-section details {
  width: min(860px, 100%);
  margin: 12px auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.faq-section summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 800;
}

.faq-section details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .hero-tool,
  .persona-grid,
  .audience-section {
    grid-template-columns: 1fr 1fr;
  }

  .persona-card:last-child,
  .hero-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .hero-tool {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 54px;
  }

  .tool-controls,
  .persona-grid,
  .design-grid,
  .question-grid,
  .audience-section,
  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .brief-ready,
  .growth-cta {
    display: block;
  }

  .brief-actions {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .growth-cta a {
    display: inline-block;
    margin-top: 24px;
  }

  .instruction-row {
    grid-template-columns: 1fr;
  }
}

.calculator-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.62fr);
  gap: 20px;
  align-items: center;
  padding: 104px min(4vw, 54px) 34px;
  background: var(--mist);
}

.calculator-workspace,
.calculator-result {
  min-height: min(760px, calc(100vh - 140px));
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.calculator-workspace {
  position: relative;
  padding: 34px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(108deg, rgba(255, 101, 15, 0.2) 0%, rgba(255, 63, 120, 0.14) 28%, transparent 58%),
    linear-gradient(180deg, #141414 0%, #101c1a 100%);
  color: #fff;
}

.calculator-workspace::after {
  content: "";
  position: absolute;
  inset: auto -12% -30% -12%;
  height: 48%;
  background: linear-gradient(108deg, rgba(255, 63, 120, 0.58), rgba(255, 101, 15, 0.46), rgba(62, 223, 165, 0.32));
  filter: blur(70px);
  z-index: -1;
}

.calculator-workspace h1 {
  max-width: 780px;
  margin: 24px 0 16px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

.calculator-workspace > p:not(.kicker) {
  max-width: 720px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.55;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
}

.lead-product {
  display: grid;
  gap: 9px;
}

.lead-product span,
.lead-fields span {
  display: block;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-product input {
  width: 100%;
  min-height: 72px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  outline: none;
  padding: 0 22px;
  font-size: 18px;
  font-weight: 800;
}

.input-error {
  min-height: 18px;
  color: #ffd6df;
  font-size: 13px;
}

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

.lead-fields label {
  display: grid;
  gap: 8px;
}

.lead-fields input,
.lead-fields select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  outline: 0;
  padding: 0 18px;
}

.calculator-result {
  display: flex;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
}

.lead-empty,
.lead-result {
  width: 100%;
  display: grid;
  align-content: center;
  gap: 14px;
}

.result-pill {
  width: max-content;
  margin: 0;
  padding: 9px 15px;
  border-radius: 999px;
  background: linear-gradient(108.53deg, #caea07 0%, #8ec000 100%);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-empty h2,
.lead-result h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
}

.lead-empty p,
.result-summary,
.ai-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.lead-result .cpl-card {
  margin: 4px 0;
  padding: 22px;
  border-radius: 24px;
  background: var(--night);
  color: #fff;
}

.lead-result .cpl-card span,
.lead-metrics span {
  display: block;
  margin-bottom: 9px;
  color: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0.72;
}

.lead-result .cpl-card strong {
  display: inline-block;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.lead-metrics {
  display: grid;
  gap: 10px;
}

.lead-metrics.two {
  grid-template-columns: 1fr 1fr;
}

.lead-metrics.three {
  grid-template-columns: repeat(3, 1fr);
}

.lead-metrics div {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff8f5;
}

.lead-metrics strong {
  font-size: 20px;
}

.ai-note {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.expert-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 50px;
  background: var(--gradient);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.lead-insight-grid,
.lead-steps {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.lead-insight-grid {
  grid-template-columns: repeat(4, 1fr);
}

.lead-card,
.lead-steps article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(20, 20, 20, 0.06);
}

.lead-card.dark-card {
  background: var(--night);
  color: #fff;
}

.lead-card span,
.lead-steps strong {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 900;
}

.lead-card h3,
.lead-steps h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.14;
}

.lead-card p,
.lead-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.lead-card.dark-card p {
  color: rgba(255, 255, 255, 0.74);
}

.lead-steps {
  grid-template-columns: repeat(3, 1fr);
}

.video-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  gap: 28px;
  align-items: center;
  padding: 112px min(5vw, 70px) 44px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 101, 15, 0.3), transparent 30%),
    radial-gradient(circle at 84% 24%, rgba(255, 63, 120, 0.22), transparent 32%),
    linear-gradient(180deg, #141414 0%, #101c1a 100%);
}

.video-hero-copy h1 {
  max-width: 760px;
  margin: 24px 0 18px;
  font-size: clamp(48px, 7.4vw, 104px);
  line-height: 0.94;
  letter-spacing: 0;
}

.video-hero-copy p:not(.kicker) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.5;
}

.video-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.video-prompt {
  display: grid;
  gap: 9px;
}

.video-prompt span,
.video-controls span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.video-prompt textarea {
  width: 100%;
  min-height: 148px;
  padding: 18px;
  border: 3px solid rgba(255, 255, 255, 0.24);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  line-height: 1.55;
  outline: 0;
  resize: vertical;
}

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

.video-controls label {
  display: grid;
  gap: 8px;
}

.video-controls select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  outline: 0;
  padding: 0 16px;
}

.center-points {
  justify-content: center;
  margin-top: 0;
}

.center-points span {
  background: var(--night-soft);
  color: #fff;
}

.video-result-zone {
  padding: 72px 20px;
  background: var(--mist);
}

.video-results {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.video-ready {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.video-ready h2 {
  margin: 12px 0 8px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
}

.video-ready p:not(.kicker) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.video-ready a,
.script-growth-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 50px;
  background: var(--gradient);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.video-result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.script-list {
  display: grid;
  gap: 16px;
}

.script-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 24px 70px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(20, 20, 20, 0.07);
}

.script-card h3 {
  margin: 0 0 5px;
  color: var(--night-soft);
  font-size: 24px;
  line-height: 1.12;
}

.script-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.script-copy {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--soft);
  color: var(--night-soft);
  cursor: pointer;
}

.script-line {
  display: grid;
  gap: 5px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.script-line strong {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.script-line span {
  color: var(--ink);
  line-height: 1.58;
}

.script-growth-panel {
  position: sticky;
  top: 96px;
  padding: 26px;
  border-radius: 28px;
  background: var(--night-soft);
  color: #fff;
}

.script-growth-panel h3 {
  margin: 18px 0 10px;
  font-size: 28px;
  line-height: 1.06;
}

.script-growth-panel p:not(.result-pill),
.script-growth-panel li {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.script-growth-panel ul {
  display: grid;
  gap: 9px;
  margin: 20px 0;
  padding-left: 18px;
}

.prompt-section {
  background:
    linear-gradient(180deg, #f7fafb 0%, #eef6f4 100%);
}

.prompt-showcase {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 20px;
  padding: 26px;
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.prompt-showcase article {
  padding: 28px;
  border-radius: 24px;
  background: #fff;
}

.prompt-showcase article.dark-card {
  background: var(--night);
  color: #fff;
}

.prompt-showcase h3 {
  margin: 0 0 10px;
}

.prompt-showcase p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.prompt-showcase .dark-card p {
  color: rgba(255, 255, 255, 0.74);
}

.prompt-showcase span {
  display: inline-block;
  margin: 0 5px 5px 0;
  padding: 7px 10px;
  border-radius: 50px;
  background: var(--soft);
  color: var(--night-soft);
  font-size: 12px;
  font-weight: 800;
}

.audience-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.72fr);
  gap: 28px;
  align-items: center;
  padding: 112px min(5vw, 70px) 44px;
  color: #fff;
  background:
    linear-gradient(118deg, rgba(62, 223, 165, 0.18) 0%, transparent 36%),
    linear-gradient(278deg, rgba(255, 101, 15, 0.24) 0%, rgba(255, 63, 120, 0.12) 42%, transparent 70%),
    linear-gradient(180deg, #141414 0%, #101c1a 100%);
}

.audience-copy h1 {
  max-width: 760px;
  margin: 24px 0 18px;
  font-size: clamp(50px, 8vw, 106px);
  line-height: 0.94;
  letter-spacing: 0;
}

.audience-copy p:not(.kicker) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.5;
}

.audience-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.audience-form .tool-card-header {
  margin-bottom: 4px;
}

.audience-controls {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.audience-controls label {
  display: grid;
  gap: 8px;
}

.audience-controls span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.audience-controls select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  outline: 0;
  padding: 0 16px;
}

.audience-result-zone {
  padding: 72px 20px;
  background: var(--mist);
}

.agent-thinking {
  display: grid;
  justify-items: center;
  gap: 20px;
  width: min(920px, 100%);
  min-height: 430px;
  margin: 0 auto;
  padding: 64px 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.thinking-ring {
  position: relative;
  width: 128px;
  height: 128px;
  border: 8px solid #e6ecec;
  border-radius: 50%;
  animation: thinkingSpin 1.15s linear infinite;
}

.thinking-ring::before,
.thinking-ring::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 8px solid transparent;
}

.thinking-ring::before {
  border-right-color: var(--orange);
}

.thinking-ring::after {
  border-left-color: var(--night-soft);
  transform: rotate(42deg);
}

.thinking-ring span {
  position: absolute;
  inset: 22px;
  border: 6px solid #edf2f2;
  border-radius: 50%;
}

.thinking-ring span:last-child {
  inset: 42px;
  border-width: 5px;
}

.agent-thinking h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
}

.agent-thinking p {
  min-height: 28px;
  margin: 0;
  color: var(--night-soft);
  font-size: 20px;
  font-weight: 800;
}

.thinking-dots {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.thinking-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #dfe6e6;
  animation: thinkingPulse 1.2s ease-in-out infinite;
}

.thinking-dots span:nth-child(1),
.thinking-dots span:nth-child(2) {
  width: 28px;
  border-radius: 999px;
  background: #f3a48e;
}

.thinking-dots span:nth-child(2) { animation-delay: 0.12s; }
.thinking-dots span:nth-child(3) { animation-delay: 0.24s; }
.thinking-dots span:nth-child(4) { animation-delay: 0.36s; }
.thinking-dots span:nth-child(5) { animation-delay: 0.48s; }

@keyframes thinkingSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes thinkingPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

.audience-output {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.audience-ready {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.audience-alert,
.audience-growth-card,
.audience-panel,
.audience-summary-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(20, 20, 20, 0.06);
}

.audience-alert {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 26px;
  border-color: rgba(255, 101, 15, 0.22);
  background: #fff8f5;
}

.audience-alert svg {
  flex: 0 0 auto;
  color: var(--orange);
}

.audience-alert h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.06;
}

.audience-alert p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.audience-growth-card {
  padding: 26px;
  background: var(--night-soft);
  color: #fff;
}

.audience-growth-card h3 {
  margin: 16px 0 10px;
  font-size: 28px;
  line-height: 1.08;
}

.audience-growth-card p,
.audience-growth-card li {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.audience-growth-card ul {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  padding-left: 18px;
}

.audience-growth-card a {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 50px;
  background: var(--gradient);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  align-items: center;
}

.audience-summary-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 18px;
  margin-bottom: 18px;
}

.audience-summary-card {
  padding: 24px;
}

.audience-summary-card h3,
.audience-panel h3 {
  margin: 0 0 14px;
  color: var(--night);
}

.audience-summary-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.mini-metrics {
  display: grid;
  gap: 10px;
}

.mini-metrics div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border-radius: 16px;
  background: var(--soft);
}

.mini-metrics span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.mini-metrics strong {
  color: var(--night-soft);
}

.audience-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  align-items: start;
}

.audience-panel {
  padding: 24px;
}

.audience-panel + .audience-panel {
  margin-top: 18px;
}

.audience-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.audience-section-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.audience-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #b8d9d5;
  border-radius: 12px;
  background: var(--soft);
  color: var(--night-soft);
  font-size: 13px;
  font-weight: 800;
}

.audience-layer-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-layer-list li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.audience-layer-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--night-soft);
}

.audience-layer-list span {
  color: var(--muted);
  line-height: 1.55;
}

.audience-framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1080px, 100%);
  margin: 0 auto 24px;
}

.audience-framework-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(20, 20, 20, 0.06);
}

.audience-framework-grid span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--night-soft);
  font-weight: 900;
}

.audience-framework-grid h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.audience-framework-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.budget-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
}

.budget-split div {
  padding: 22px;
  border-radius: 18px;
  background: var(--soft);
}

.budget-split span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.budget-split strong {
  color: var(--night-soft);
  font-size: 38px;
  line-height: 1;
}

.keyword-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 0.74fr);
  gap: 28px;
  align-items: center;
  padding: 112px min(5vw, 70px) 44px;
  color: #fff;
  background:
    linear-gradient(116deg, rgba(62, 223, 165, 0.2) 0%, transparent 35%),
    linear-gradient(282deg, rgba(255, 101, 15, 0.25) 0%, rgba(255, 63, 120, 0.14) 44%, transparent 72%),
    linear-gradient(180deg, #141414 0%, #101c1a 100%);
}

.keyword-copy h1 {
  max-width: 760px;
  margin: 24px 0 18px;
  font-size: clamp(50px, 8vw, 106px);
  line-height: 0.94;
  letter-spacing: 0;
}

.keyword-copy p:not(.kicker) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.5;
}

.keyword-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.keyword-form .tool-card-header {
  margin-bottom: 4px;
}

.keyword-controls {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr 1fr;
  gap: 12px;
}

.keyword-controls label {
  display: grid;
  gap: 8px;
}

.keyword-controls span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.keyword-controls input,
.keyword-controls select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  outline: 0;
  padding: 0 16px;
}

.keyword-result-zone {
  padding: 72px 20px;
  background: var(--mist);
}

.keyword-output {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.keyword-ready {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.keyword-alert,
.keyword-growth-card,
.keyword-panel,
.keyword-summary-card,
.keyword-cluster-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(20, 20, 20, 0.06);
}

.keyword-alert {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 26px;
  border-color: rgba(255, 101, 15, 0.22);
  background: #fff8f5;
}

.keyword-alert svg {
  flex: 0 0 auto;
  color: var(--orange);
}

.keyword-alert h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.06;
}

.keyword-alert p,
.keyword-summary-card p,
.keyword-panel p,
.keyword-cluster-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.keyword-growth-card {
  padding: 26px;
  background: var(--night-soft);
  color: #fff;
}

.keyword-growth-card h3 {
  margin: 16px 0 10px;
  font-size: 28px;
  line-height: 1.08;
}

.keyword-growth-card p,
.keyword-growth-card li {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.keyword-growth-card ul {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  padding-left: 18px;
}

.keyword-growth-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 50px;
  background: var(--gradient);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.keyword-summary-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 18px;
  margin-bottom: 18px;
}

.keyword-summary-card {
  padding: 24px;
}

.keyword-summary-card h3,
.keyword-panel h3,
.keyword-cluster-card h3 {
  margin: 0 0 14px;
  color: var(--night);
}

.keyword-metrics {
  display: grid;
  gap: 10px;
}

.keyword-metrics div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border-radius: 16px;
  background: var(--soft);
}

.keyword-metrics span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.keyword-metrics strong {
  color: var(--night-soft);
}

.keyword-cluster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.keyword-cluster-card {
  padding: 24px;
}

.keyword-cluster-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.keyword-cluster-card header span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--night-soft);
  font-size: 12px;
  font-weight: 900;
}

.keyword-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.keyword-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #b8d9d5;
  border-radius: 12px;
  background: var(--soft);
  color: var(--night-soft);
  font-size: 13px;
  font-weight: 800;
}

.keyword-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  align-items: start;
}

.keyword-panel {
  padding: 24px;
}

.keyword-panel + .keyword-panel {
  margin-top: 18px;
}

.keyword-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.keyword-list li {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.keyword-list strong {
  color: var(--night-soft);
}

.keyword-list span {
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1050px) {
  .calculator-hero,
  .lead-insight-grid,
  .video-hero,
  .video-result-layout,
  .audience-hero,
  .audience-ready,
  .audience-layout,
  .keyword-hero,
  .keyword-ready,
  .keyword-layout {
    grid-template-columns: 1fr 1fr;
  }

  .video-result-layout,
  .audience-layout,
  .keyword-layout {
    grid-template-columns: 1fr;
  }

  .script-growth-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .calculator-hero,
  .lead-fields,
  .lead-metrics.two,
  .lead-metrics.three,
  .lead-insight-grid,
  .lead-steps,
  .video-hero,
  .video-controls,
  .prompt-showcase,
  .audience-hero,
  .audience-controls,
  .audience-ready,
  .audience-summary-grid,
  .audience-framework-grid,
  .budget-split,
  .keyword-hero,
  .keyword-controls,
  .keyword-ready,
  .keyword-summary-grid,
  .keyword-cluster-grid {
    grid-template-columns: 1fr;
  }

  .calculator-hero,
  .video-hero,
  .audience-hero,
  .keyword-hero {
    min-height: auto;
    padding-top: 32px;
  }

  .calculator-workspace,
  .calculator-result {
    min-height: auto;
    border-radius: 24px;
  }

  .video-ready {
    display: block;
  }

  .video-ready a {
    margin-top: 18px;
  }

  .script-card {
    padding-right: 24px;
  }

  .script-copy {
    position: static;
  }
}
