.sth-wrap {
  --sth-bg: #f5f7fb;
  --sth-surface: #ffffff;
  --sth-ink: #111827;
  --sth-muted: #667085;
  --sth-line: #e3e8f0;
  --sth-soft: #f8fafc;
  --sth-primary: #4f46e5;
  --sth-primary-2: #06b6d4;
  --sth-success: #0f766e;
  --sth-dark: #0b1020;
  color: var(--sth-ink);
  font-family: inherit;
  margin: 0 auto;
  max-width: 1240px;
  padding: 24px;
}

.sth-wrap * { box-sizing: border-box; }
.sth-screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.sth-home,
.sth-tool-page { background: transparent; }
.sth-section { margin: 46px 0; }
.sth-section-head { margin-bottom: 18px; max-width: 760px; }
.sth-section-head-row {
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.sth-section-link {
  color: var(--sth-primary);
  font-weight: 800;
  text-decoration: none;
}
.sth-kicker {
  color: var(--sth-primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.sth-wrap h1,
.sth-wrap h2,
.sth-wrap h3 { color: var(--sth-ink); letter-spacing: 0; }
.sth-wrap h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.02; margin: 0 0 18px; }
.sth-wrap h2 { font-size: clamp(25px, 3vw, 38px); line-height: 1.15; margin: 0; }
.sth-wrap h3 { font-size: 18px; line-height: 1.25; margin: 10px 0 8px; }
.sth-wrap p { color: var(--sth-muted); font-size: 16px; line-height: 1.7; margin: 0; }

.sth-hero {
  background:
    radial-gradient(circle at 16% 12%, rgba(79, 70, 229, .52), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(6, 182, 212, .46), transparent 30%),
    linear-gradient(135deg, #090d1d 0%, #11193a 52%, #122b46 100%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .22);
  min-height: 520px;
  overflow: hidden;
  padding: clamp(34px, 7vw, 86px);
  position: relative;
}
.sth-hero:after {
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  inset: 0;
  opacity: .25;
  pointer-events: none;
  position: absolute;
}
.sth-hero-inner {
  max-width: 900px;
  position: relative;
  z-index: 1;
}
.sth-hero .sth-kicker { color: #8ee7ff; }
.sth-hero h1 { color: #fff; max-width: 920px; }
.sth-hero p {
  color: #cbd5e1;
  font-size: clamp(17px, 2vw, 21px);
  max-width: 780px;
}
.sth-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.sth-hero-pills span {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #e5f7ff;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
}

.sth-search {
  margin-top: 30px;
  max-width: 760px;
  position: relative;
}
.sth-search input,
.sth-tool-box input,
.sth-tool-box textarea,
.sth-tool-box select,
.sth-newsletter input {
  background: #fff;
  border: 1px solid var(--sth-line);
  border-radius: 16px;
  color: var(--sth-ink);
  font: inherit;
  min-height: 52px;
  outline: none;
  padding: 14px 16px;
  width: 100%;
}
.sth-search input {
  border: 0;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(2, 6, 23, .26);
  font-size: 17px;
  min-height: 66px;
  padding: 18px 22px;
}
.sth-search input:focus,
.sth-tool-box input:focus,
.sth-tool-box textarea:focus,
.sth-tool-box select:focus {
  border-color: rgba(79, 70, 229, .55);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, .12);
}
.sth-search-results {
  background: #fff;
  border: 1px solid var(--sth-line);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
  display: none;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  left: 0;
  margin-top: 12px;
  padding: 12px;
  position: absolute;
  right: 0;
  z-index: 9;
}
.sth-search.sth-search-active .sth-search-results { display: grid; }
.sth-search-results a {
  align-items: center;
  border-radius: 14px;
  color: var(--sth-ink);
  display: flex;
  gap: 10px;
  padding: 10px;
  text-decoration: none;
}
.sth-search-results a:hover { background: var(--sth-soft); }
.sth-result-icon,
.sth-card-icon,
.sth-category-icon,
.sth-benefit-card span,
.sth-tool-icon-large,
.sth-logo-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--sth-primary), var(--sth-primary-2));
  border-radius: 16px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0;
}
.sth-result-icon { border-radius: 10px; flex: 0 0 34px; height: 34px; width: 34px; font-size: 11px; }

.sth-grid,
.sth-category-list,
.sth-benefits,
.sth-feature-row,
.sth-fields,
.sth-actions {
  display: grid;
  gap: 18px;
}
.sth-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.sth-card {
  background: var(--sth-surface);
  border: 1px solid var(--sth-line);
  border-radius: 22px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, .06);
  min-height: 210px;
  padding: 22px;
  position: relative;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.sth-card:hover {
  border-color: rgba(79, 70, 229, .38);
  box-shadow: 0 22px 50px rgba(15, 23, 42, .12);
  transform: translateY(-4px);
}
.sth-card-icon {
  height: 48px;
  width: 48px;
}
.sth-card-category {
  color: var(--sth-primary);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-top: 18px;
  text-transform: uppercase;
}
.sth-card h3 { color: var(--sth-ink); padding-right: 28px; }
.sth-card p { font-size: 14px; }
.sth-card-arrow {
  color: var(--sth-primary);
  font-size: 22px;
  font-weight: 900;
  position: absolute;
  right: 22px;
  top: 22px;
}

.sth-category-list { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.sth-category-list a {
  align-items: center;
  background: #fff;
  border: 1px solid var(--sth-line);
  border-radius: 22px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, .05);
  color: var(--sth-ink);
  display: grid;
  gap: 8px;
  min-height: 156px;
  padding: 22px;
  text-decoration: none;
  transition: transform .2s, border-color .2s;
}
.sth-category-list a:hover {
  border-color: rgba(6, 182, 212, .42);
  transform: translateY(-3px);
}
.sth-category-icon { height: 48px; width: 54px; }
.sth-category-list strong { font-size: 18px; }
.sth-category-list small { color: var(--sth-muted); font-weight: 700; }

.sth-benefits { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.sth-benefit-card,
.sth-info-panel,
.sth-copy {
  background: #fff;
  border: 1px solid var(--sth-line);
  border-radius: 24px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, .05);
  padding: 24px;
}
.sth-benefit-card span { height: 48px; width: 48px; }
.sth-benefit-card p { font-size: 14px; }

.sth-ad {
  align-items: center;
  background: repeating-linear-gradient(45deg, #f8fafc, #f8fafc 12px, #eef2f7 12px, #eef2f7 24px);
  border: 1px dashed #b6c2d2;
  border-radius: 20px;
  color: #667085;
  display: flex;
  justify-content: center;
  min-height: 96px;
  margin: 28px 0;
  text-align: center;
}

.sth-breadcrumb {
  color: var(--sth-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.sth-breadcrumb a { color: var(--sth-primary); font-weight: 800; text-decoration: none; }
.sth-tool-header {
  align-items: center;
  background:
    radial-gradient(circle at 12% 20%, rgba(79, 70, 229, .48), transparent 30%),
    linear-gradient(135deg, #090d1d, #11193a 60%, #123149);
  border-radius: 28px;
  display: flex;
  gap: 22px;
  margin-bottom: 28px;
  padding: clamp(28px, 5vw, 58px);
}
.sth-tool-header .sth-kicker { color: #8ee7ff; }
.sth-tool-header h1 { color: #fff; font-size: clamp(34px, 5vw, 58px); }
.sth-tool-header p { color: #cbd5e1; max-width: 760px; }
.sth-tool-icon-large {
  border-radius: 24px;
  flex: 0 0 78px;
  font-size: 22px;
  height: 78px;
  width: 78px;
}
.sth-tool-shell {
  background: linear-gradient(135deg, rgba(79,70,229,.16), rgba(6,182,212,.12));
  border: 1px solid var(--sth-line);
  border-radius: 28px;
  padding: 10px;
}
.sth-tool-box {
  background: #fff;
  border: 1px solid var(--sth-line);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 30px);
}
.sth-tool-box label { color: var(--sth-ink); font-weight: 800; }
.sth-fields { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.sth-actions { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.sth-tool-box button,
.sth-newsletter button {
  background: linear-gradient(135deg, var(--sth-primary), var(--sth-primary-2));
  border: 0;
  border-radius: 16px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 52px;
  padding: 13px 18px;
}
.sth-result-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sth-result-grid output,
.sth-big-result {
  background: var(--sth-soft);
  border: 1px solid var(--sth-line);
  border-radius: 18px;
  color: var(--sth-ink);
  display: block;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  padding: 20px;
}
.sth-feature-row { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.sth-feature-row span {
  background: var(--sth-soft);
  border: 1px solid var(--sth-line);
  border-radius: 16px;
  font-weight: 800;
  padding: 14px;
}
.sth-steps { color: var(--sth-muted); line-height: 1.8; }
.sth-canvas {
  background: #fff;
  border: 1px solid var(--sth-line);
  border-radius: 16px;
  max-width: 100%;
}
.sth-download { color: var(--sth-primary); font-weight: 900; }
.sth-tool-note { font-size: 13px; margin: 0; }
.sth-qr-output img {
  background: #fff;
  border: 1px solid var(--sth-line);
  border-radius: 18px;
  display: block;
  height: auto;
  padding: 10px;
  width: 240px;
}
.sth-faq details {
  background: #fff;
  border: 1px solid var(--sth-line);
  border-radius: 18px;
  margin-bottom: 12px;
  padding: 16px 18px;
}
.sth-faq summary {
  color: var(--sth-ink);
  cursor: pointer;
  font-weight: 900;
}
.sth-faq p { margin-top: 10px; }

.sth-footer {
  background: var(--sth-dark);
  border-radius: 28px;
  color: #cbd5e1;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  margin-top: 54px;
  padding: clamp(26px, 5vw, 48px);
}
.sth-footer h2,
.sth-footer h3 { color: #fff; }
.sth-footer h2 { font-size: 24px; margin: 14px 0 8px; }
.sth-footer h3 { font-size: 15px; margin: 0 0 14px; }
.sth-footer p { color: #94a3b8; font-size: 14px; }
.sth-footer a {
  color: #cbd5e1;
  display: block;
  font-size: 14px;
  margin: 9px 0;
  text-decoration: none;
}
.sth-footer a:hover { color: #fff; }
.sth-logo-mark { height: 48px; width: 48px; }
.sth-newsletter form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.sth-newsletter input {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  color: #fff;
}

@media (max-width: 980px) {
  .sth-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sth-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .sth-wrap { padding: 14px; }
  .sth-hero { border-radius: 22px; min-height: auto; padding: 30px 18px; }
  .sth-search-results { position: static; }
  .sth-section-head-row,
  .sth-tool-header { align-items: flex-start; flex-direction: column; }
  .sth-result-grid,
  .sth-footer { grid-template-columns: 1fr; }
  .sth-actions { grid-template-columns: 1fr; }
  .sth-card,
  .sth-benefit-card,
  .sth-info-panel,
  .sth-copy { border-radius: 20px; }
}
