.free-tools-page,
.free-tool-detail-page {
  background: #f7f9fc;
}

.free-tools-hero,
.free-tool-detail-hero {
  padding: 150px 0 72px;
  background: radial-gradient(circle at 85% 10%, rgba(41, 133, 255, 0.22), transparent 34%), #071224;
  color: #fff;
}

.free-tools-hero .container,
.free-tool-detail-hero .container {
  max-width: 920px;
}

.free-tools-hero h1,
.free-tool-detail-hero h1 {
  max-width: 900px;
  margin: 14px 0 18px;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.free-tools-hero > .container > p:not(.kicker),
.free-tool-detail-hero > .container > p:not(.kicker) {
  max-width: 720px;
  color: #c9d7eb;
  font-size: 1.12rem;
  line-height: 1.7;
}

.free-tools-trust {
  display: inline-flex;
  margin-top: 24px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #dce9fb;
  font-size: 0.88rem;
}

.free-tools-library,
.free-tool-main,
.free-tool-explainer,
.free-tool-related {
  padding: 72px 0;
}

.free-tools-featured {
  padding: 32px 0 0;
  background: #f7f9fc;
}

.free-tools-featured a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 32px;
  border: 1px solid #bcd7ff;
  border-radius: 24px;
  background: linear-gradient(115deg, #fff 0%, #eef6ff 100%);
  color: #0b1728;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(20, 78, 153, 0.09);
}

.free-tools-featured h2 {
  margin: 16px 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.035em;
}

.free-tools-featured p {
  margin: 0;
  color: #53647a;
}

.free-tools-featured-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 50%;
  background: #0877ed;
  color: #fff;
  font-size: 1.4rem;
  transition: transform 180ms ease;
}

.free-tools-featured a:hover .free-tools-featured-arrow {
  transform: translateX(4px);
}

.free-tools-search {
  margin-bottom: 54px;
  padding: 24px;
  border: 1px solid #dce5f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(24, 61, 108, 0.06);
}

.free-tools-search label {
  display: block;
  margin-bottom: 12px;
  color: #26364e;
  font-weight: 850;
}

.free-tools-search > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.free-tools-search input {
  width: 100%;
  min-height: 52px;
  padding: 0 17px;
  border: 1px solid #cbd8e7;
  border-radius: 14px;
  background: #f9fbfe;
  color: #0b1728;
  font: inherit;
}

.free-tools-search input:focus {
  border-color: #5b9ff2;
  outline: 3px solid rgba(37, 127, 239, 0.16);
}

.free-tools-search [data-tools-count] {
  min-width: max-content;
  padding: 10px 13px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #0866df;
  font-size: 0.82rem;
  font-weight: 850;
}

.free-tools-no-results {
  margin: 0;
  padding: 32px;
  border: 1px dashed #b9c9dc;
  border-radius: 18px;
  color: #596b82;
  text-align: center;
}

.free-tools-category + .free-tools-category {
  margin-top: 64px;
}

.free-tools-category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.free-tools-category-heading h2,
.free-tool-related h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
}

.free-tools-category-heading span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #e5efff;
  color: #0d61d8;
  font-weight: 800;
}

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

.free-tool-card a,
.free-tool-card-body {
  display: flex;
  min-height: 245px;
  height: 100%;
  flex-direction: column;
  padding: 26px;
  border: 1px solid #dfe6f0;
  border-radius: 22px;
  background: #fff;
  color: #0b1728;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(26, 53, 88, 0.06);
}

.free-tool-card a {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.free-tool-card a:hover {
  transform: translateY(-4px);
  border-color: #80b5ff;
  box-shadow: 0 18px 42px rgba(26, 83, 159, 0.13);
}

.free-tool-card-planned .free-tool-card-body {
  border-style: dashed;
  background: #fbfcfe;
  box-shadow: none;
}

.free-tool-card-planned .free-tool-label {
  background: #f0f2f5;
  color: #65758a;
}

.free-tool-label {
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #0866df;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.free-tool-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tool-profile-icon {
  position: relative;
  display: inline-grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #e5f7ff, #f9e9ff);
  color: #0f55aa;
}

.tool-profile-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tool-profile-icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.tool-profile-youtube,
.tool-profile-youtube-shorts,
.tool-profile-video-ad {
  background: linear-gradient(145deg, #ffe8e8, #fff4f4);
  color: #d12626;
}

.tool-profile-instagram-reels {
  background: linear-gradient(145deg, #ffe6f4, #eee8ff);
  color: #a12ca5;
}

.tool-profile-podcast,
.tool-profile-voiceover {
  background: linear-gradient(145deg, #e8edff, #f3eaff);
  color: #5e43cc;
}

.free-tool-detail-hero .tool-profile-icon {
  width: 64px;
  height: 64px;
  margin: 24px 0 4px;
  border-radius: 19px;
}

.free-tool-card h3 {
  margin: 28px 0 10px;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.free-tool-card p {
  margin: 0 0 22px;
  color: #58677b;
  line-height: 1.6;
}

.free-tool-link {
  margin-top: auto;
  color: #0866df;
  font-weight: 800;
}

.free-tool-status {
  align-self: flex-start;
  margin-top: auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef1f5;
  color: #68778a;
  font-size: 0.8rem;
  font-weight: 800;
}

.free-tool-main {
  padding-top: 48px;
}

.timer-mode-switch {
  display: inline-flex;
  gap: 5px;
  margin-bottom: 26px;
  padding: 5px;
  border-radius: 14px;
  background: #edf2f8;
}

.timer-mode-switch button,
.timer-target-presets button {
  border: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.timer-mode-switch button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  background: transparent;
  color: #5a6b81;
}

.timer-mode-switch button[aria-pressed="true"] {
  background: #fff;
  color: #0866df;
  box-shadow: 0 3px 12px rgba(27, 67, 116, 0.11);
}

.timer-profile-control {
  display: grid !important;
  grid-template-columns: minmax(120px, 0.35fr) minmax(220px, 1fr);
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
}

.timer-profile-control > span {
  color: #21314a;
  font-weight: 800;
}

.timer-profile-control select {
  width: 100%;
  min-height: 46px;
  padding: 0 42px 0 14px;
  border: 1px solid #cdd9e8;
  border-radius: 12px;
  background: #fff;
  color: #21314a;
  font: inherit;
}

.timer-target-control {
  margin-top: 24px;
}

.timer-target-control > span {
  display: block;
  margin-bottom: 11px;
  color: #21314a;
  font-weight: 800;
}

.timer-target-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.timer-target-presets[hidden] {
  display: none;
}

.timer-target-presets button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #cdd9e8;
  border-radius: 999px;
  background: #fff;
  color: #3a4d67;
}

.timer-target-presets button[aria-pressed="true"] {
  border-color: #0877ed;
  background: #0877ed;
  color: #fff;
}

.timer-buffer {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: #4c5e76;
  font-weight: 700;
}

.timer-buffer input {
  width: 18px;
  height: 18px;
  accent-color: #0877ed;
}

.free-tool-workspace {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid #dce4ef;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(21, 49, 84, 0.09);
}

.free-tool-workspace > label,
.free-tool-range > span,
.free-tool-duration-input label span {
  display: block;
  margin-bottom: 10px;
  color: #21314a;
  font-weight: 800;
}

.free-tool-workspace textarea,
.free-tool-duration-input input {
  width: 100%;
  border: 1px solid #cdd8e6;
  border-radius: 14px;
  background: #fbfcfe;
  color: #0b1728;
  font: inherit;
}

.free-tool-workspace textarea {
  min-height: 260px;
  padding: 18px;
  resize: vertical;
  line-height: 1.65;
}

.free-tool-workspace textarea:focus,
.free-tool-duration-input input:focus,
.free-tool-range input:focus {
  outline: 3px solid rgba(26, 112, 232, 0.2);
  outline-offset: 2px;
}

.free-tool-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.free-tool-results-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.free-tool-results-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.free-tool-results-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.free-tool-results-five strong {
  font-size: clamp(1rem, 2.2vw, 1.55rem);
  line-height: 1.25;
}

.free-tool-results > div {
  padding: 18px;
  border-radius: 15px;
  background: #f0f6ff;
}

.free-tool-results span {
  display: block;
  min-height: 2.5em;
  color: #607086;
  font-size: 0.82rem;
  line-height: 1.35;
}

.free-tool-results strong {
  display: block;
  margin-top: 8px;
  color: #075fcf;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.free-tool-range {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.free-tool-range input {
  grid-column: 1 / -1;
  width: 100%;
}

.free-tool-duration-input {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 16px;
  margin-top: 22px;
}

.free-tool-duration-input input {
  padding: 13px 14px;
}

.free-tool-privacy {
  margin: 18px 0 0;
  color: #68778a;
  font-size: 0.9rem;
  text-align: center;
}

.font-results-title,
.tool-findings h2 {
  margin: 32px 0 16px;
  color: #1b2b42;
  font-size: 1.2rem;
}

.font-results {
  display: grid;
  gap: 12px;
}

.font-results article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #dce5ef;
  border-radius: 15px;
  background: #f8fbff;
}

.font-results p {
  overflow-wrap: anywhere;
  margin: 0;
  color: #17283e;
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
}

.font-results button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #b8d4f6;
  border-radius: 10px;
  background: #fff;
  color: #0866df;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tool-score-note,
.tool-status {
  margin: 18px 0 0;
  color: #5a6c82;
  text-align: center;
}

.tool-findings ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-findings li {
  padding: 13px 15px;
  border-radius: 12px;
  background: #f1f6fd;
  color: #42566f;
}

.warmup-progress > span {
  display: block;
  margin-bottom: 9px;
  color: #59708d;
  font-weight: 800;
}

.warmup-progress > div {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #e5edf7;
}

.warmup-progress > div > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #0877ed;
  transition: width 200ms linear;
}

.warmup-card {
  padding: 48px 20px 36px;
  text-align: center;
}

.warmup-card > p:first-child {
  display: grid;
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 50%;
  background: #eaf3ff;
  color: #0866df;
  font-size: 2.2rem;
  font-weight: 900;
}

.warmup-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.warmup-card p:last-child {
  max-width: 620px;
  margin: 0 auto;
  color: #566a83;
  line-height: 1.7;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
}

.button-secondary {
  border: 1px solid #c7d4e4;
  background: #fff;
  color: #27405e;
}

.webcam-stage {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 20px;
  background: #071224;
}

.webcam-stage video {
  display: block;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.webcam-stage video[hidden] {
  display: none;
}

.webcam-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #b9cae0;
}

.recording-indicator {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #d72929;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}

.webcam-workspace .tool-actions {
  margin-top: 20px;
}

.free-tool-explainer {
  background: #fff;
}

.free-tool-explainer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.free-tool-explainer article {
  padding: 30px;
  border: 1px solid #e0e6ef;
  border-radius: 20px;
}

.free-tool-explainer h2 {
  margin-top: 0;
  letter-spacing: -0.025em;
}

.free-tool-explainer p {
  margin-bottom: 0;
  color: #58677b;
  line-height: 1.75;
}

.timer-reference,
.timer-faq {
  padding: 72px 0;
}

.timer-reference {
  background: #f7f9fc;
}

.timer-reference-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

.timer-reference h2,
.timer-faq h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.035em;
}

.timer-reference-heading p {
  margin: 0;
  color: #5b6c82;
}

.timer-reference-table-wrap {
  overflow-x: auto;
  border: 1px solid #dce5ef;
  border-radius: 20px;
  background: #fff;
}

.timer-reference table {
  width: 100%;
  border-collapse: collapse;
}

.timer-reference th,
.timer-reference td {
  padding: 17px 20px;
  border-bottom: 1px solid #e5ebf2;
  text-align: left;
  white-space: nowrap;
}

.timer-reference thead th {
  background: #eef5ff;
  color: #28415f;
  font-size: 0.84rem;
}

.timer-reference tbody tr:last-child th,
.timer-reference tbody tr:last-child td {
  border-bottom: 0;
}

.timer-faq {
  background: #fff;
}

.timer-faq-list {
  max-width: 860px;
}

.timer-faq details {
  padding: 20px 0;
  border-bottom: 1px solid #e1e7ef;
}

.timer-faq summary {
  color: #17263b;
  font-weight: 850;
  cursor: pointer;
}

.timer-faq details p {
  max-width: 760px;
  margin: 12px 0 0;
  color: #596a80;
  line-height: 1.7;
}

.timer-trademark-note {
  max-width: 860px;
  margin: 28px 0 0;
  color: #7a8798;
  font-size: 0.78rem;
}

.free-tool-related h2 {
  margin-bottom: 24px;
}

.free-tool-detail-hero .breadcrumb,
.free-tool-detail-hero .breadcrumb a {
  color: #b9cbea;
}

@media (max-width: 860px) {
  .free-tools-grid,
  .free-tool-results,
  .free-tool-results-six,
  .free-tool-results-five,
  .free-tool-results-four,
  .free-tool-explainer-grid {
    grid-template-columns: 1fr;
  }

  .font-results article {
    grid-template-columns: 1fr;
  }

  .font-results button {
    width: 100%;
  }

  .webcam-stage,
  .webcam-stage video {
    min-height: 260px;
  }

  .free-tool-card a,
  .free-tool-card-body {
    min-height: 210px;
  }

  .free-tools-featured a,
  .free-tools-search > div {
    align-items: stretch;
    flex-direction: column;
  }

  .free-tools-featured-arrow {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .timer-mode-switch {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .timer-mode-switch button {
    padding: 0 8px;
    font-size: 0.82rem;
  }

  .free-tools-hero,
  .free-tool-detail-hero {
    padding-top: 120px;
  }
}
