:root {
  --hook-bg: #f3f8fd;
  --hook-surface: #ffffff;
  --hook-surface-muted: #f5f9fe;
  --hook-border: rgba(17, 84, 131, 0.14);
  --hook-border-strong: rgba(17, 84, 131, 0.22);
  --hook-text: #0f172a;
  --hook-text-soft: #52657d;
  --hook-accent: #1768a6;
  --hook-accent-soft: #e8f3fc;
  --hook-ink: #115483;
  --hook-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  --hook-radius: 24px;
}

body {
  background:
    radial-gradient(circle at top left, rgba(23, 104, 166, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--hook-bg) 100%);
  color: var(--hook-text);
}

.hook-tool-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.hook-tool-eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hook-accent);
}

.hook-tool-hero,
.hook-tool-layout,
.hook-tool-results,
.hook-tool-faq,
.hook-tool-cta {
  margin-top: 28px;
}

.hook-tool-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.hook-tool-hero__copy,
.hook-tool-hero__links,
.hook-tool-card,
.hook-tool-cta {
  border: 1px solid var(--hook-border);
  border-radius: var(--hook-radius);
  background: var(--hook-surface);
  box-shadow: var(--hook-shadow);
}

.hook-tool-hero__copy {
  padding: 34px;
}

.hook-tool-hero__copy h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.02;
}

.hook-tool-hero__lead,
.hook-tool-hero__intro,
.hook-tool-card__header p,
.hook-tool-card__note,
.hook-tool-empty-state p,
.hook-tool-faq__item p,
.hook-tool-cta p,
.hook-tool-group__objective,
.hook-tool-group__note,
.hook-tool-summary__hint,
.hook-tool-headline p {
  color: var(--hook-text-soft);
}

.hook-tool-hero__lead {
  margin: 18px 0 12px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hook-tool-hero__intro {
  margin: 0;
  line-height: 1.7;
}

.hook-tool-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hook-tool-hero__meta span,
.hook-tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

.hook-tool-hero__meta span {
  background: var(--hook-accent-soft);
  color: var(--hook-accent);
}

.hook-tool-hero__links {
  padding: 28px;
}

.hook-tool-hero__links h2,
.hook-tool-card__header h2,
.hook-tool-card__header h3,
.hook-tool-section-heading h2,
.hook-tool-cta h2 {
  margin: 0;
}

.hook-tool-hero__links ul,
.hook-tool-checklist,
.hook-tool-list,
.hook-tool-group__hooks {
  margin: 18px 0 0;
  padding-left: 20px;
}

.hook-tool-hero__links li,
.hook-tool-checklist li,
.hook-tool-list li,
.hook-tool-group__hooks li {
  margin-top: 10px;
  line-height: 1.6;
}

.hook-tool-hero__links a,
.hook-tool-card__note a {
  color: var(--hook-accent);
  text-decoration: none;
}

.hook-tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
  gap: 24px;
}

.hook-tool-card {
  padding: 28px;
}

.hook-tool-card__header {
  margin-bottom: 18px;
}

.hook-tool-form__grid,
.hook-tool-summary,
.hook-tool-grid-panels,
.hook-tool-headlines,
.hook-tool-sections {
  display: grid;
  gap: 16px;
}

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

.hook-tool-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hook-tool-form__field--wide {
  grid-column: 1 / -1;
}

.hook-tool-form__field small {
  color: var(--hook-text-soft);
}

.hook-tool-form__fieldset {
  padding: 0;
  border: 0;
  margin: 0;
}

.hook-tool-form__fieldset legend {
  margin-bottom: 8px;
  font-weight: 700;
}

.hook-tool-form__hint {
  margin: 0 0 12px;
  color: var(--hook-text-soft);
  line-height: 1.6;
}

.hook-tool-form input:not([type="checkbox"]),
.hook-tool-form select,
.hook-tool-form textarea {
  width: 100%;
  border: 1px solid var(--hook-border-strong);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: var(--hook-text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hook-tool-form textarea {
  resize: vertical;
  min-height: 120px;
}

.hook-tool-form input:not([type="checkbox"]):focus,
.hook-tool-form select:focus,
.hook-tool-form textarea:focus {
  outline: none;
  border-color: var(--hook-accent);
  box-shadow: 0 0 0 4px rgba(23, 104, 166, 0.12);
}

.hook-tool-form__checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hook-tool-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--hook-border);
  background: var(--hook-surface-muted);
}

.hook-tool-check input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.hook-tool-check span {
  font-size: 0.96rem;
  line-height: 1.4;
}

.hook-tool-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hook-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--hook-border-strong);
  background: transparent;
  color: var(--hook-text);
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.hook-tool-btn:hover {
  transform: translateY(-1px);
}

.hook-tool-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.hook-tool-btn--primary {
  background: var(--hook-accent);
  border-color: var(--hook-accent);
  color: #fff;
}

.hook-tool-btn--ghost:hover {
  background: var(--hook-surface-muted);
}

.hook-tool-btn--small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.hook-tool-form__error {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(171, 61, 40, 0.18);
  background: rgba(23, 104, 166, 0.08);
  color: #812d1d;
}

.hook-tool-results {
  display: grid;
  gap: 18px;
}

.hook-tool-section-heading p {
  max-width: 760px;
  line-height: 1.6;
  color: var(--hook-text-soft);
}

.hook-tool-empty-state {
  text-align: center;
  padding: 42px 24px;
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.hook-tool-result-stack {
  display: grid;
  gap: 18px;
}

.hook-tool-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hook-tool-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--hook-border-strong);
  background: var(--hook-surface-muted);
  color: var(--hook-text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.hook-tool-filter.is-active {
  background: var(--hook-accent);
  border-color: var(--hook-accent);
  color: #fff;
}

.hook-tool-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hook-tool-summary__item {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--hook-border);
  background: var(--hook-surface-muted);
}

.hook-tool-summary__label {
  margin: 0;
  font-size: 0.82rem;
  color: var(--hook-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hook-tool-summary__value {
  margin: 10px 0 8px;
  font-size: 1.45rem;
  font-weight: 700;
}

.hook-tool-headlines,
.hook-tool-sections {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hook-tool-headline,
.hook-tool-group {
  border: 1px solid var(--hook-border);
  border-radius: 22px;
  background: var(--hook-surface-muted);
}

.hook-tool-headline {
  padding: 18px;
}

.hook-tool-headline p {
  margin: 0;
  color: var(--hook-text);
  font-weight: 600;
  line-height: 1.5;
}

.hook-tool-groups {
  display: grid;
  gap: 16px;
}

.hook-tool-cta-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hook-tool-group {
  padding: 22px;
}

.hook-tool-group__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.hook-tool-group__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hook-tool-group__hooks {
  margin-top: 16px;
  color: var(--hook-text);
}

.hook-tool-group__note {
  margin: 16px 0 0;
  line-height: 1.65;
}

.hook-tool-badge {
  background: rgba(23, 104, 166, 0.1);
  color: var(--hook-accent);
}

.hook-tool-badge--cta {
  background: rgba(17, 84, 131, 0.1);
  color: var(--hook-ink);
}

.hook-tool-badge--meta {
  background: rgba(23, 104, 166, 0.08);
  color: var(--hook-accent);
}

.hook-tool-badge--soft {
  background: rgba(15, 23, 42, 0.08);
  color: var(--hook-text);
}

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

.hook-tool-list__empty {
  list-style: none;
  margin-left: -20px;
  color: var(--hook-text-soft);
}

.hook-tool-faq__list {
  display: grid;
  gap: 12px;
}

.hook-tool-faq__item {
  border: 1px solid var(--hook-border);
  border-radius: 22px;
  background: var(--hook-surface);
  box-shadow: var(--hook-shadow);
  padding: 18px 22px;
}

.hook-tool-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.hook-tool-faq__item summary::-webkit-details-marker {
  display: none;
}

.hook-tool-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: 20px;
  padding: 28px;
  align-items: center;
}

.hook-tool-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 1024px) {
  .hook-tool-hero,
  .hook-tool-layout,
  .hook-tool-cta {
    grid-template-columns: 1fr;
  }

  .hook-tool-summary,
  .hook-tool-grid-panels,
  .hook-tool-headlines,
  .hook-tool-sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hook-tool-shell {
    padding: 28px 16px 60px;
  }

  .hook-tool-hero__copy,
  .hook-tool-hero__links,
  .hook-tool-card,
  .hook-tool-cta {
    padding: 22px;
  }

  .hook-tool-form__grid,
  .hook-tool-summary,
  .hook-tool-grid-panels,
  .hook-tool-headlines,
  .hook-tool-sections,
  .hook-tool-form__checkbox-grid {
    grid-template-columns: 1fr;
  }

  .hook-tool-group__top,
  .hook-tool-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hook-tool-btn {
    width: 100%;
  }
}

@media print {
  body {
    background: #fff;
  }

  .hook-tool-hero,
  .hook-tool-layout,
  .hook-tool-faq,
  .hook-tool-cta,
  .site-header,
  .site-footer {
    display: none;
  }

  .hook-tool-shell {
    max-width: none;
    padding: 0;
  }

  .hook-tool-card,
  .hook-tool-headline,
  .hook-tool-group {
    box-shadow: none;
    background: #fff;
  }
}




