:root {
  --ink: #182026;
  --muted: #5d676f;
  --paper: #ffffff;
  --soft: #f4f6f4;
  --line: #dce3df;
  --teal: #0f8f86;
  --teal-dark: #0a6d67;
  --coral: #c94d3f;
  --amber: #c1841d;
  --shadow: 0 18px 45px rgba(24, 32, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  font-size: 160%;
}

.brand img,
.footer-brand img {
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--soft);
}

.button--primary {
  background: var(--teal);
  color: var(--paper);
  box-shadow: 0 10px 24px rgba(15, 143, 134, 0.22);
}

.button--primary:hover {
  background: var(--teal-dark);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  border: 1px solid rgba(24, 32, 38, 0.18);
}

.home-hero {
  position: relative;
  min-height: clamp(430px, 62vh, 620px);
  display: flex;
  align-items: center;
  isolation: isolate;
  background-image: url("/images/tools/ai-summarizer/summarization-modes.png");
  background-size: cover;
  background-position: center right;
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.78);
}

.home-hero__content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.92rem;
  font-weight: 800;
}

.home-hero h1,
.compact-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: 4.2rem;
  line-height: 0.98;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: #263239;
  font-size: 1.25rem;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tools-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2,
.compact-hero h1 {
  font-size: 2.65rem;
  line-height: 1.08;
}

.section-heading h2 {
  margin: 0;
}

.section-heading p:not(.eyebrow),
.compact-hero p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

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

.tool-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(24, 32, 38, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 143, 134, 0.46);
  box-shadow: var(--shadow);
}

.tool-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tool-card__glyph {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e8f4f2;
  color: var(--teal-dark);
  border: 1px solid #c9e5df;
  font-weight: 850;
}

.tool-card:nth-child(2n) .tool-card__glyph {
  background: #fff3df;
  border-color: #eed3a8;
  color: #875d0c;
}

.tool-card:nth-child(3n) .tool-card__glyph {
  background: #faebe8;
  border-color: #efc8c2;
  color: #944034;
}

.tool-card__badge {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.tool-card__category {
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.tool-card strong {
  font-size: 1.35rem;
  line-height: 1.18;
}

.tool-card__summary {
  color: var(--muted);
  line-height: 1.55;
}

.tool-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  color: var(--teal-dark);
  font-weight: 800;
}

.proof-section {
  padding: 0 0 72px;
  background: var(--paper);
}

.proof-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.proof-strip div {
  min-height: 122px;
  padding: 24px;
  background: var(--soft);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.proof-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.compact-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.compact-hero__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 66px 0 58px;
}

.compact-hero p {
  max-width: 680px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f9faf8;
}

.site-footer__inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 110px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

/* Small Bootstrap-compatible subset used by the migrated tool pages. */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -12px;
  margin-left: -12px;
}

.justify-center {
  justify-content: center;
}

.col-md-4,
.col-md-6,
.col-md-12 {
  width: 100%;
  min-height: 1px;
  padding-right: 12px;
  padding-left: 12px;
}

.text-center {
  text-align: center;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.section-all {
  padding-top: 42px;
  padding-bottom: 42px;
}

.tool-header-section {
  padding-top: 58px;
}

.marketing-banner {
  padding: 0 16px 36px;
}

@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .tool-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .home-hero h1,
  .compact-hero h1 {
    font-size: 3.1rem;
  }

  .section-heading h2 {
    font-size: 2.15rem;
  }
}

@media (max-width: 640px) {
  .site-nav {
    min-height: 62px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.94rem;
  }

  .home-hero {
    min-height: 440px;
    background-position: center;
  }

  .home-hero::before {
    background: rgba(255, 255, 255, 0.84);
  }

  .home-hero__content {
    padding: 54px 0 56px;
  }

  .home-hero h1,
  .compact-hero h1 {
    font-size: 2.55rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .button {
    width: 100%;
  }

  .tools-section {
    padding: 46px 0;
  }

  .tool-card {
    min-height: 240px;
    padding: 20px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}
