/*
Theme Name: Teemo Signal
Theme URI: https://blog.teemo.ai
Author: Teemo AI
Author URI: https://teemo.ai
Description: Editorial WordPress theme for blog.teemo.ai.
Version: 0.2.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: teemo-signal
*/

:root {
  --bg: #f5f6fb;
  --bg-strong: #ffffff;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --ink: #111217;
  --ink-soft: #5b6070;
  --accent: #7666ff;
  --accent-strong: #5f51ea;
  --accent-soft: rgba(118, 102, 255, 0.1);
  --line: rgba(17, 18, 23, 0.08);
  --shadow: 0 24px 60px rgba(20, 23, 33, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1160px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(118, 102, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #fbfbfd 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: "Manrope", "Helvetica Neue", sans-serif;
  line-height: 1.65;
}

body.home {
  background:
    radial-gradient(circle at 50% 18%, rgba(118, 102, 255, 0.18), transparent 36%),
    linear-gradient(180deg, #fafafe 0%, #f4f5fb 100%);
}

a {
  color: inherit;
  text-decoration-color: rgba(118, 102, 255, 0.34);
  text-underline-offset: 0.18em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-shell {
  min-height: 100vh;
}

.wrap {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(250, 250, 254, 0.84);
  border-bottom: 1px solid rgba(17, 18, 23, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand__eyebrow {
  display: block;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand__name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.topic-card:hover,
.topic-card:focus-visible,
.post-card__title a:hover,
.post-card__title a:focus-visible,
.featured-card__title a:hover,
.featured-card__title a:focus-visible {
  color: var(--accent-strong);
}

.button,
.wp-element-button,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(118, 102, 255, 0.2);
  background: linear-gradient(135deg, var(--accent), #8b7dff);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(118, 102, 255, 0.18);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: none;
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: rgba(118, 102, 255, 0.28);
  color: var(--accent-strong);
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.masthead {
  padding: 72px 0 28px;
}

.masthead .wrap {
  max-width: 860px;
}

.masthead__eyebrow,
.section-label,
.card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-kicker {
  margin-bottom: 14px;
  padding: 0;
  background: transparent;
}

.masthead__title,
.archive-title,
.teemo-article__title {
  margin: 18px 0 14px;
  font-family: "Sora", "Helvetica Neue", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.masthead__lede,
.archive-copy,
.teemo-article__lede,
.footer-copy,
.post-card p,
.topic-card p,
.featured-card__excerpt {
  color: var(--ink-soft);
}

.masthead__lede {
  max-width: 62ch;
  font-size: 1.08rem;
}

.masthead__actions {
  margin-top: 26px;
}

.section,
.page-hero,
.archive-hero {
  padding: 28px 0 0;
}

.featured-card,
.post-card,
.topic-card,
.section-card,
.archive-shell,
.teemo-article,
.empty-state,
.newsletter-band,
.footer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  overflow: hidden;
}

.featured-card__media {
  display: block;
  min-height: 100%;
  background: linear-gradient(135deg, rgba(118, 102, 255, 0.1), rgba(118, 102, 255, 0.03));
}

.featured-card__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.featured-card__content {
  padding: 38px;
}

.featured-card__title,
.post-card__title,
.footer-brand__title {
  margin: 0 0 12px;
  font-family: "Sora", "Helvetica Neue", sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.post-grid,
.topics-grid,
.footer-shell {
  display: grid;
  gap: 22px;
}

.post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.footer-shell {
  grid-template-columns: 1.2fr 0.8fr;
}

.post-card,
.topic-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.post-card {
  display: flex;
  flex-direction: column;
}

.post-card::before,
.topic-card::before,
.featured-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #9b8cff);
}

.post-card__media {
  display: block;
  overflow: hidden;
  margin: -24px -24px 20px;
  background: linear-gradient(135deg, rgba(118, 102, 255, 0.1), rgba(118, 102, 255, 0.03));
}

.post-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-card__meta {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.post-card__cta {
  margin-top: auto;
  padding-top: 22px;
}

.topic-card {
  text-decoration: none;
  min-height: 200px;
}

.topic-card__title {
  margin: 0 0 10px;
  font-family: "Sora", "Helvetica Neue", sans-serif;
  font-size: 1.25rem;
  line-height: 1.08;
}

.newsletter-band {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 24px;
  align-items: center;
  padding: 30px;
}

.newsletter-band__title {
  margin: 10px 0 10px;
  font-family: "Sora", "Helvetica Neue", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.newsletter-band__copy {
  margin: 0;
}

.newsletter-form {
  display: grid;
  gap: 12px;
}

.newsletter-form--inline {
  align-content: start;
}

.newsletter-form__input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(17, 18, 23, 0.1);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.newsletter-form__input:focus {
  outline: 2px solid rgba(118, 102, 255, 0.16);
  border-color: rgba(118, 102, 255, 0.34);
}

.newsletter-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.newsletter-state {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 600;
}

.newsletter-state--subscribed,
.newsletter-state--exists {
  background: rgba(118, 102, 255, 0.12);
  color: var(--accent-strong);
}

.newsletter-state--invalid,
.newsletter-state--error {
  background: rgba(255, 98, 98, 0.1);
  color: #982634;
}

.section-card,
.archive-shell,
.teemo-article,
.empty-state {
  padding: 34px;
}

.page-hero,
.archive-hero {
  padding-top: 52px;
}

.archive-title {
  margin-bottom: 12px;
}

.teemo-article__header {
  margin-bottom: 34px;
}

.teemo-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.teemo-article__hero-image {
  overflow: hidden;
  margin-top: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(118, 102, 255, 0.12), rgba(118, 102, 255, 0.04));
}

.teemo-article__hero-image img {
  width: 100%;
  height: auto;
}

.teemo-article__body,
.entry-content {
  font-size: 1.04rem;
}

.teemo-article__body > :first-child,
.entry-content > :first-child {
  margin-top: 0;
}

.teemo-article__body h2,
.entry-content h2 {
  margin: 48px 0 16px;
  font-family: "Sora", "Helvetica Neue", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.teemo-article__body h3,
.entry-content h3 {
  margin: 32px 0 12px;
  font-family: "Sora", "Helvetica Neue", sans-serif;
  font-size: 1.22rem;
  line-height: 1.1;
}

.teemo-article__body p,
.entry-content p,
.teemo-article__body ul,
.entry-content ul,
.teemo-article__body ol,
.entry-content ol,
.teemo-article__body blockquote,
.entry-content blockquote {
  margin: 0 0 18px;
}

.teemo-article__body ul,
.entry-content ul,
.teemo-article__body ol,
.entry-content ol {
  padding-left: 22px;
}

.teemo-article__body li,
.entry-content li {
  margin-bottom: 10px;
}

.teemo-article__body blockquote,
.entry-content blockquote {
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(118, 102, 255, 0.08);
  color: var(--ink);
  font-size: 1.05rem;
}

.teemo-article__body table,
.entry-content table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
}

.teemo-article__body th,
.teemo-article__body td,
.entry-content th,
.entry-content td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}

.teemo-article__body hr,
.entry-content hr {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.teemo-inline-card,
.teemo-cta-box,
.teemo-related-links,
.teemo-sources {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 247, 253, 0.96));
  border: 1px solid rgba(118, 102, 255, 0.12);
  box-shadow: 0 18px 42px rgba(95, 81, 234, 0.08);
}

.teemo-inline-card--watch {
  background: linear-gradient(180deg, rgba(118, 102, 255, 0.08), rgba(255, 255, 255, 0.98));
}

.teemo-inline-card__eyebrow,
.teemo-toc__title {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(118, 102, 255, 0.08);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.teemo-inline-card h2,
.teemo-cta-box h2,
.teemo-related-links h2 {
  margin: 0 0 10px;
  font-family: "Sora", "Helvetica Neue", sans-serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.teemo-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.teemo-toc {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(118, 102, 255, 0.06);
}

.teemo-toc ul,
.teemo-related-links ul {
  margin: 0;
  padding-left: 20px;
}

.teemo-faq {
  display: grid;
  gap: 14px;
}

.teemo-faq__item {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(118, 102, 255, 0.14);
  background: rgba(255, 255, 255, 0.92);
}

.teemo-faq__item summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  list-style: none;
}

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

.teemo-faq__answer {
  padding: 0 20px 18px;
  color: var(--ink-soft);
}

.site-footer {
  padding: 56px 0 46px;
}

.footer-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.86);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-brand__title a {
  color: inherit;
  text-decoration: none;
}

.footer-links ul {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-footnote {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.empty-state {
  text-align: left;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  background: #fff;
  z-index: 999;
}

@media (max-width: 980px) {
  .featured-card,
  .post-grid,
  .topics-grid,
  .newsletter-band,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .site-header__inner,
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav ul {
    flex-wrap: wrap;
  }

  .masthead {
    padding-top: 44px;
  }

  .masthead__title,
  .archive-title,
  .teemo-article__title {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }

  .featured-card__content,
  .section-card,
  .archive-shell,
  .teemo-article,
  .empty-state,
  .newsletter-band,
  .footer-card {
    padding: 24px;
  }

  .featured-card__media img {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 24px, 1160px);
  }

  .button,
  .wp-element-button,
  button,
  input[type="submit"] {
    width: 100%;
  }

  .section-actions,
  .teemo-action-row {
    display: grid;
  }
}

.hub-hero {
  padding: 72px 0 20px;
}

.hub-hero__grid,
.hub-demo,
.article-shell {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: start;
}

.hub-hero__copy,
.hub-hero__card,
.hub-guide-card,
.hub-article-card,
.article-shell__main,
.article-rail-card,
.teemo-hook-card,
.teemo-section,
.teemo-related-links,
.teemo-tool {
  border: 1px solid rgba(17, 18, 23, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 80px rgba(15, 20, 35, 0.08);
}

.hub-hero__copy {
  padding: 36px;
  background:
    radial-gradient(circle at top right, rgba(244, 181, 98, 0.28), transparent 36%),
    radial-gradient(circle at left top, rgba(30, 132, 242, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.92);
}

.hub-hero__title,
.hub-section__title,
.article-shell__title {
  margin: 16px 0;
  font-family: "Sora", "Helvetica Neue", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hub-hero__lede,
.article-shell__lede {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hub-hero__proof,
.hub-demo__points,
.article-rail-card ul,
.teemo-integration-grid ul,
.teemo-example-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 20px;
}

.hub-hero__panel,
.article-shell__rail {
  display: grid;
  gap: 20px;
}

.hub-hero__card,
.article-rail-card {
  padding: 24px;
}

.hub-section {
  padding: 24px 0 0;
}

.hub-section--demo {
  padding-top: 34px;
}

.hub-section__header {
  margin-bottom: 18px;
}

.hub-guide-grid,
.hub-article-grid,
.teemo-steps-grid,
.teemo-example-grid,
.teemo-integration-grid {
  display: grid;
  gap: 20px;
}

.hub-guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hub-article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hub-guide-card,
.hub-article-card {
  overflow: hidden;
}

.hub-guide-card__media img,
.hub-article-card__media img,
.article-shell__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hub-guide-card__content,
.hub-article-card__body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.hub-guide-card h3,
.hub-article-card h3,
.teemo-section h2,
.teemo-hook-card h2,
.teemo-tool h3,
.article-rail-card h2 {
  margin: 0;
  font-family: "Sora", "Helvetica Neue", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hub-guide-card__meta,
.hub-article-card__footer,
.teemo-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  color: var(--ink-soft);
  font-weight: 600;
}

.hub-demo__video,
.teemo-video-frame {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(17, 18, 23, 0.08);
  background: #09111f;
}

.hub-demo__video iframe,
.teemo-video-frame iframe,
.hub-demo__video video,
.teemo-video-frame video {
  display: block;
  width: 100%;
  min-height: 340px;
  border: 0;
}

.newsletter-band--hub {
  align-items: center;
}

.article-hero {
  padding: 44px 0 0;
}

.article-shell__main {
  padding: 32px;
}

.article-shell__header {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
}

.article-shell__title {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
}

.article-rail-card {
  position: sticky;
  top: 110px;
}

.article-rail-card + .article-rail-card {
  position: static;
}

.teemo-hub-article {
  display: grid;
  gap: 22px;
}

.teemo-hook-card,
.teemo-section,
.teemo-related-links,
.teemo-tool {
  padding: 24px;
}

.teemo-section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.teemo-section-heading p,
.teemo-tool__lede,
.teemo-quick-answer p,
.teemo-section p,
.teemo-section li,
.teemo-example-card p,
.teemo-example-card li {
  max-width: 56ch;
}

.teemo-quick-answer {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(12, 30, 63, 0.95), rgba(22, 48, 94, 0.95));
  color: #fff;
}

.teemo-quick-answer p:last-child {
  margin-bottom: 0;
}

.teemo-toc--hub {
  margin-top: 18px;
}

.teemo-toc--hub ul {
  display: grid;
  gap: 8px;
}

.teemo-mermaid {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(17, 18, 23, 0.08);
  background: linear-gradient(180deg, #fff8f1, #ffffff);
  padding: 12px;
}

.teemo-mermaid pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--ink-soft);
}

.teemo-mermaid svg {
  display: block;
  width: 100%;
  height: auto;
}

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

.teemo-step-card,
.teemo-example-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.98), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(17, 18, 23, 0.08);
}

.teemo-step-card > span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #11203b;
  color: #fff;
  font-weight: 800;
}

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

.teemo-tool--loading {
  min-height: 180px;
  place-items: center;
  display: grid;
  color: var(--ink-soft);
}

.teemo-tool__header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.teemo-tool__eyebrow {
  display: inline-flex;
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.teemo-tool__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.teemo-tool__field {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(245, 247, 252, 0.92);
}

.teemo-tool__field strong,
.teemo-progress strong {
  font-family: "Sora", "Helvetica Neue", sans-serif;
}

.teemo-tool input[type="range"] {
  width: 100%;
  accent-color: #11203b;
}

.teemo-tool__stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.teemo-tool__stats article,
.teemo-tool__score,
.teemo-progress__track,
.teemo-tool__toggle {
  border-radius: 20px;
}

.teemo-tool__stats article {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(12, 30, 63, 0.92), rgba(25, 50, 99, 0.92));
  color: #fff;
}

.teemo-tool__stats strong {
  font-family: "Sora", "Helvetica Neue", sans-serif;
  font-size: 1.8rem;
}

.teemo-tool__checklist {
  display: grid;
  gap: 12px;
}

.teemo-tool__toggle {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: rgba(245, 247, 252, 0.92);
}

.teemo-tool__toggle input {
  margin-top: 3px;
}

.teemo-tool__score {
  display: grid;
  gap: 18px;
  align-items: center;
  grid-template-columns: 120px 1fr;
  padding: 18px;
  background: rgba(245, 247, 252, 0.92);
}

.teemo-tool__score-ring {
  --score: 50%;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, #ffffff 70%, transparent 71%),
    conic-gradient(#11203b var(--score), rgba(17, 32, 59, 0.12) 0);
}

.teemo-tool__score-ring strong {
  font-family: "Sora", "Helvetica Neue", sans-serif;
  font-size: 1.7rem;
}

.teemo-tool__reset {
  border: 0;
  background: transparent;
  color: var(--accent-strong);
  font-weight: 700;
  cursor: pointer;
}

.teemo-progress {
  display: grid;
  gap: 10px;
}

.teemo-progress__track {
  overflow: hidden;
  height: 12px;
  background: rgba(17, 32, 59, 0.08);
}

.teemo-progress__track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #11203b, #1e84f2);
}

.teemo-integration-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.teemo-example-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.teemo-integration-links {
  margin-top: 14px;
  padding-left: 20px;
}

@media (max-width: 1120px) {
  .hub-hero__grid,
  .hub-demo,
  .article-shell,
  .hub-guide-grid,
  .hub-article-grid,
  .teemo-steps-grid,
  .teemo-example-grid,
  .teemo-integration-grid {
    grid-template-columns: 1fr;
  }

  .article-rail-card {
    position: static;
  }
}

@media (max-width: 780px) {
  .hub-hero__copy,
  .hub-hero__card,
  .hub-guide-card__content,
  .hub-article-card__body,
  .article-shell__main,
  .article-rail-card,
  .teemo-hook-card,
  .teemo-section,
  .teemo-related-links,
  .teemo-tool {
    padding: 20px;
  }

  .hub-demo__video iframe,
  .teemo-video-frame iframe {
    min-height: 260px;
  }

  .teemo-tool__header,
  .teemo-tool__score {
    grid-template-columns: 1fr;
  }
}
