:root {
  color-scheme: light;
  --background: #fff;
  --foreground: #202124;
  --muted: #777b82;
  --muted-strong: #5f6368;
  --surface: #f4f4f4;
  --surface-soft: #f7f3ec;
  --border: #e3e3e3;
  --button: #121318;
  --button-muted: #f3f3f3;
  --danger: #b42318;
  --success: #0f766e;
  --shadow: 0 12px 16px -12px rgba(15, 23, 42, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: none;
  height: auto;
  overflow: hidden auto;
  scrollbar-gutter: auto;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family:
    "SF Pro Display", "SF Pro Text", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button,
input,
textarea {
  font: inherit;
}

.tools-page {
  min-height: 100vh;
  background: #fff;
}

.tools-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.tools-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 104px;
}

.tools-pill,
.tools-pill-muted {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

.tools-pill {
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: var(--button);
  color: #fff;
  box-shadow: 0 14px 20px -13px rgba(15, 23, 42, 0.55);
}

.tools-pill-muted {
  border: 1px solid transparent;
  background: var(--button-muted);
  color: var(--muted-strong);
}

.tools-arrow {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.tools-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0 0;
  text-align: center;
}

.tools-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
  color: #8a8f98;
  font-size: 14px;
  line-height: 1.2;
}

.tools-breadcrumbs strong,
.tools-breadcrumbs span:last-child {
  color: #2b2c30;
  font-weight: 400;
}

.tools-hero h1 {
  max-width: 1160px;
  margin: 0;
  color: var(--foreground);
  font-size: clamp(38px, 3.8vw, 52px);
  line-height: 1.04;
  font-weight: 460;
  letter-spacing: -0.03em;
}

.tools-lead {
  max-width: 780px;
  margin: 20px auto 0;
  color: #777;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.tools-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 46px;
}

.tools-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1080px, 100%);
  margin: 20px auto 0;
  border-radius: 44px;
  background: #f4f4f4;
  padding: 30px 34px;
  text-align: left;
}

.tools-stat {
  padding: 0 38px;
}

.tools-stat + .tools-stat {
  border-left: 1px solid #dedede;
}

.tools-stat-value {
  display: block;
  margin-bottom: 10px;
  color: #25262a;
  font-size: 44px;
  line-height: 1;
  font-weight: 380;
  letter-spacing: -0.02em;
}

.tools-stat-label {
  color: #7c7f85;
  font-size: 14px;
  font-weight: 500;
}

.tools-section {
  width: min(1080px, calc(100% - 48px));
  margin: 142px auto 0;
}

.tools-section-narrow {
  width: min(760px, calc(100% - 48px));
  margin: 142px auto 0;
}

.tools-section h2,
.tools-section-narrow h2 {
  max-width: 760px;
  margin: 0;
  color: var(--foreground);
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.08;
  font-weight: 460;
  letter-spacing: -0.03em;
}

.tools-section p,
.tools-section-narrow p {
  max-width: 760px;
  margin: 24px 0 0;
  color: #72777f;
  font-size: 16px;
  line-height: 1.62;
}

.tools-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 72px;
  align-items: start;
}

.tools-section-heading p {
  margin-top: 6px;
}

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

.tools-use-grid article {
  min-height: 150px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.tools-use-grid h3,
.tools-compare-grid h3,
.tools-footer-links h3 {
  margin: 0;
  color: var(--foreground);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 460;
  letter-spacing: -0.01em;
}

.tools-use-grid p {
  margin-top: 14px;
  font-size: 15px;
}

.tool-steps {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  color: #72777f;
  font-size: 16px;
  line-height: 1.55;
  list-style: none;
  counter-reset: tool-step;
}

.tool-steps li {
  position: relative;
  border-top: 1px solid var(--border);
  padding: 18px 0 0 44px;
}

.tool-steps li::before {
  position: absolute;
  left: 0;
  top: 18px;
  color: #202124;
  content: counter(tool-step, decimal-leading-zero);
  counter-increment: tool-step;
  font-size: 14px;
  font-weight: 420;
}

.tools-catalog {
  margin-top: 132px;
}

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

.tool-card {
  display: flex;
  min-height: 218px;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 12px 18px -18px rgba(15, 23, 42, 0.2);
}

.tool-card h3 {
  margin: 18px 0 12px;
  color: #202124;
  font-size: 19px;
  line-height: 1.22;
  font-weight: 480;
}

.tool-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.tool-kicker,
.tool-card-link {
  color: #878b92;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 460;
}

.tool-card-link {
  margin-top: auto;
  padding-top: 24px;
  color: #202124;
}

.tool-card.is-disabled {
  opacity: 0.58;
}

.tools-tool-details {
  margin-top: 132px;
}

.tools-related {
  margin-top: 132px;
}

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

.tools-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.tools-compare-grid article {
  border-radius: 20px;
  background: #f7f7f7;
  padding: 28px;
}

.tools-compare-grid ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  color: #70747b;
  font-size: 15px;
  line-height: 1.5;
  list-style: none;
}

.tools-compare-grid li {
  position: relative;
  padding-left: 24px;
}

.tools-compare-grid li::before {
  position: absolute;
  left: 0;
  content: "—";
}

.tools-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.tools-faq-grid details {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  padding: 22px 24px;
}

.tools-faq-grid summary {
  cursor: pointer;
  color: #202124;
  font-size: 17px;
  font-weight: 460;
}

.tools-faq-grid p {
  margin-top: 14px;
  font-size: 15px;
}

.tool-form-wrap {
  width: min(760px, calc(100% - 48px));
  margin: 108px auto 0;
}

.tool-form {
  position: relative;
  display: block;
}

.tool-url {
  display: block;
  width: 100%;
  height: 116px;
  resize: none;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fff;
  padding: 24px 72px 24px 24px;
  color: #202124;
  font-size: 15px;
  line-height: 1.45;
  outline: none;
  box-shadow: var(--shadow);
}

.tool-url::placeholder {
  color: #b6b6b6;
}

.tool-url:focus {
  border-color: #c9c9c9;
  box-shadow:
    0 12px 16px -12px rgba(15, 23, 42, 0.28),
    0 0 0 3px rgba(32, 33, 36, 0.06);
}

.tool-submit {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #f0f0f0;
  color: #7a7f87;
  cursor: pointer;
}

.tool-submit:disabled {
  cursor: wait;
  opacity: 0.58;
}

.tool-status {
  display: none;
  width: min(760px, calc(100% - 48px));
  min-height: 52px;
  margin: 18px auto 0;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fafafa;
  padding: 14px 16px;
  color: #777;
  font-size: 14px;
  text-align: left;
}

.tool-status.is-visible {
  display: block;
}

.tool-status strong {
  display: block;
  margin-bottom: 2px;
  color: #202124;
}

.tool-status.is-error {
  border-color: rgba(180, 35, 24, 0.24);
  background: #fff7f6;
  color: var(--danger);
}

.tool-status.is-success {
  border-color: rgba(15, 118, 110, 0.24);
  background: #f1fffc;
  color: var(--success);
}

.tool-inline-result {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tool-result-list {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--foreground);
}

.tool-result-list li + li {
  margin-top: 4px;
}

.tool-result-actions {
  display: none;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.tool-result-actions.is-visible {
  display: flex;
  flex-wrap: wrap;
}

.tool-form-wrap ~ .tools-actions {
  margin-top: 28px;
}

.how-visual {
  width: min(742px, 100%);
  min-height: 430px;
  margin-top: 70px;
  border-radius: 30px 30px 0 0;
  background: #f7f2ea;
  padding: 72px 62px 0;
  overflow: hidden;
}

.how-window {
  min-height: 310px;
  border-radius: 30px 30px 0 0;
  background: #fff;
  padding: 22px;
}

.how-line {
  height: 48px;
  border-radius: 10px;
  background: #f2f2f2;
}

.how-line + .how-line {
  margin-top: 18px;
}

.tools-footer {
  width: min(1340px, calc(100% - 48px));
  margin: 120px auto 0;
  padding: 0 0 36px;
  color: #8a8f98;
  font-size: 14px;
}

.tools-footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  background-image:
    radial-gradient(circle at top, rgba(74, 101, 191, 0.18), transparent 38%),
    linear-gradient(180deg, #23283c 0%, #1c2131 100%);
  padding: 32px;
  color: #fff;
  box-shadow: 0 28px 80px -46px rgba(0, 0, 0, 0.48);
}

.tools-footer-cta h2 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  font-weight: 460;
  letter-spacing: -0.03em;
}

.tools-footer-cta p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  line-height: 1.55;
}

.tools-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.tools-footer-primary,
.tools-footer-secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.tools-footer-primary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #fff;
  color: #000;
}

.tools-footer-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.tools-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 32px;
}

.tools-footer-links div {
  display: grid;
  gap: 12px;
}

.tools-footer-links a {
  color: #747980;
}

.tools-footer-copy {
  margin: 34px 0 0;
}

@media (max-width: 900px) {
  .tools-shell,
  .tools-section,
  .tools-section-narrow,
  .tool-form-wrap,
  .tool-status,
  .tools-footer {
    width: min(100% - 28px, 760px);
  }

  .tools-top {
    min-height: 82px;
  }

  .tools-hero {
    padding-top: 26px;
  }

  .tools-hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .tools-lead {
    font-size: 18px;
  }

  .tools-actions {
    margin-top: 38px;
  }

  .tools-stats,
  .tools-grid,
  .tools-use-grid,
  .tools-compare-grid,
  .tools-faq-grid,
  .tools-section-heading,
  .tools-footer-cta,
  .tools-footer-links {
    grid-template-columns: 1fr;
  }

  .tools-stats {
    border-radius: 28px;
    padding: 22px;
  }

  .tools-stat {
    padding: 18px 0;
  }

  .tools-stat + .tools-stat {
    border-left: 0;
    border-top: 1px solid #dedede;
  }

  .tools-section,
  .tools-section-narrow {
    margin-top: 96px;
  }

  .tools-catalog {
    margin-top: 88px;
  }

  .tool-form-wrap {
    margin-top: 52px;
  }

  .tools-footer-cta,
  .tools-footer-cta-actions {
    justify-content: start;
  }

  .how-visual {
    min-height: 320px;
    padding: 42px 28px 0;
  }
}
