@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Palatino, Georgia, serif;
  --bg: #f7f6f1;
  --bg-tint: #eef0fb;
  --surface: #ffffff;
  --surface-2: #f2f0e9;
  --ink: #14121f;
  --ink-soft: #363345;
  --muted: #6b6880;
  --line: #e5e1d7;
  --line-strong: #d3cec1;
  --accent: #4f46e5;
  --accent-hover: #4038c9;
  --accent-soft: #e8e6fd;
  --accent-ink: #ffffff;
  --gold: #b45309;
  --shadow-sm: 0 1px 2px rgba(20, 18, 31, 0.05);
  --shadow-md: 0 1px 2px rgba(20, 18, 31, 0.04), 0 18px 44px -26px rgba(20, 18, 31, 0.3);
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hover);
}
h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
}
h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}
h3 {
  font-size: 1.1rem;
}
p {
  margin: 0 0 1em;
}
ul, ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}
mark {
  background: var(--accent-soft);
  color: inherit;
  border-radius: 4px;
  padding: 0 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow {
  max-width: 780px;
}
.center {
  text-align: center;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 10px 0;
}
.skip-link:focus {
  left: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.8em;
}
.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 60ch;
}
.fineprint {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}
.btn-secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-small {
  padding: 8px 14px;
  font-size: 0.86rem;
}
.btn .ico {
  width: 16px;
  height: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
}
.brand:hover {
  color: var(--ink);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
}
.brand-mark .mark {
  width: 24px;
  height: 24px;
}
.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: 999px;
}
.main-nav a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 999px;
}
.lang-switch:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.lang-switch .ico {
  width: 17px;
  height: 17px;
}

main {
  display: block;
}

.hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero-note {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 12px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 12px 18px;
  margin-top: 24px;
  max-width: 460px;
  box-shadow: var(--shadow-sm);
}
.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.search-box svg {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex: none;
}
.search-box input {
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
  width: 100%;
  outline: none;
}
.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
}
.hero-list {
  display: grid;
  gap: 4px;
}
.hero-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 10px;
  border-radius: 12px;
  color: var(--ink);
}
.hero-list a:hover {
  background: var(--accent-soft);
}
.hero-list span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.hero-list strong {
  font-weight: 600;
  font-size: 0.96rem;
}
.hero-list svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.hero-list a:hover svg {
  color: var(--accent);
}

.stats-bar {
  border-block: 1px solid var(--line);
  background: var(--surface);
  margin-top: 24px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px 24px;
}
.stats div {
  display: grid;
  gap: 2px;
  text-align: center;
}
.stats strong {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}
.stats span {
  font-size: 0.82rem;
  color: var(--muted);
}

.section {
  padding: clamp(44px, 6vw, 76px) 0;
}
.section-alt {
  background: var(--bg-tint);
}
.section-head {
  max-width: 640px;
  margin-bottom: 32px;
}
.section-head p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tool-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--ink);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.tool-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--tool, var(--accent)) 40%, var(--line));
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.tool-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--tool, var(--accent)) 12%, #fff);
  color: var(--tool, var(--accent));
}
.tool-ico svg {
  width: 22px;
  height: 22px;
}
.tool-ico-lg {
  width: 60px;
  height: 60px;
  border-radius: 18px;
}
.tool-ico-lg svg {
  width: 30px;
  height: 30px;
}
.tool-body {
  display: grid;
  gap: 4px;
  flex: 1;
}
.tool-body strong {
  font-size: 1rem;
}
.tool-body span {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.5;
}
.tool-go {
  color: var(--muted);
  align-self: center;
}
.tool-go svg {
  width: 18px;
  height: 18px;
}
.tool-card:hover .tool-go {
  color: var(--tool, var(--accent));
}
.tool-list.compact {
  display: grid;
  gap: 10px;
}
.tool-list.compact .tool-card {
  padding: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.feature h3 {
  color: var(--accent);
  font-size: 1rem;
}
.feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.mini-list {
  display: grid;
  gap: 12px;
}
.mini-list a {
  display: grid;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink);
}
.mini-list a:hover {
  border-color: var(--accent);
}
.mini-list span {
  font-size: 0.85rem;
  color: var(--muted);
}

.page-hero {
  padding: clamp(32px, 5vw, 56px) 0 clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-tint), var(--bg));
}
.page-hero h1 {
  max-width: 20ch;
}
.breadcrumb {
  margin-bottom: 18px;
  font-size: 0.82rem;
  color: var(--muted);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--line-strong);
}
.breadcrumb a {
  color: var(--muted);
}
.breadcrumb a:hover {
  color: var(--accent);
}

.tool-hero-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.tool-hero-head .lead {
  margin-bottom: 0;
}

.section-tool {
  padding-top: clamp(28px, 4vw, 44px);
}
.tool-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-sm);
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.panel-head h2 {
  font-size: 1.15rem;
  margin: 0;
}
.panel-note {
  font-size: 0.76rem;
  color: var(--muted);
}
.output-actions {
  display: flex;
  gap: 8px;
}

.tool-form {
  display: grid;
  gap: 16px;
}
.field {
  display: grid;
  gap: 6px;
}
.field > label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.req {
  color: #dc2626;
  margin-left: 2px;
}
.field input[type="text"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 11px 13px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea {
  resize: vertical;
  min-height: 96px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.5;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field-check {
  padding-top: 4px;
}
.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-track {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: var(--line-strong);
  position: relative;
  transition: background 0.15s ease;
  flex: none;
}
.switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}
.switch input:checked + .switch-track {
  background: var(--accent);
}
.switch input:checked + .switch-track::after {
  transform: translateX(18px);
}
.switch input:focus-visible + .switch-track {
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.form-error {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.86rem;
  margin: 0;
}

.output {
  min-height: 220px;
}
.output-empty {
  color: var(--muted);
  font-size: 0.9rem;
}
.output pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0 0 12px;
  max-height: 62vh;
  overflow: auto;
}
.output-group {
  margin-bottom: 16px;
}
.output-group h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  background: var(--accent-soft);
  color: var(--accent-hover);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.84rem;
  font-weight: 600;
}
.result-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.result-list li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 12px 14px;
}
.result-list strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.result-list span {
  font-size: 0.84rem;
  color: var(--muted);
  display: block;
}
.thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.thumb {
  display: grid;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}
.thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: var(--surface-2);
}
.thumb span {
  font-size: 0.78rem;
  color: var(--muted);
}
.thumb a {
  font-size: 0.82rem;
  font-weight: 600;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.stat-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.stat-box span {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.stat-box strong {
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}
.meter {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
  margin: 6px 0 4px;
}
.meter > span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
}
.meter.warn > span {
  background: #dc2626;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  flex: none;
}

.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}
.faq summary::marker {
  color: var(--accent);
}
.faq details p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.directory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.dir-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.dir-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.dir-head h2 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.dir-head p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.dir-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}
.dir-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.dir-list li:first-child {
  border-top: 0;
}
.dir-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.94rem;
}
.dir-list .ext {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}
.dir-list li span {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.article-card {
  display: grid;
  align-content: start;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: var(--ink);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.article-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 10px;
  width: fit-content;
}
.article-card h2 {
  font-size: 1.15rem;
  margin: 0;
}
.article-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
}
.article-meta {
  font-size: 0.78rem;
  color: var(--muted);
}
.prose {
  font-size: 1.02rem;
}
.prose h2 {
  margin-top: 1.6em;
  font-size: 1.4rem;
}
.prose p,
.prose li {
  color: var(--ink-soft);
}
.prose ul {
  display: grid;
  gap: 6px;
}
.prose .article-cta {
  margin-top: 32px;
}

.ad {
  margin: 8px auto 28px;
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  min-height: 90px;
  display: grid;
  place-items: center;
  gap: 6px;
}
.ad-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.ad[hidden] {
  display: none;
}
.ad-banner {
  min-height: 320px;
}
.ad-banner iframe {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
.sponsor-card {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 8px;
}
.sponsor-card > span {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.sponsor-card strong {
  font-size: 0.98rem;
}
.sponsor-card > span:not(:first-child) {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.site-footer {
  background: #14121f;
  color: #cfcbe0;
  margin-top: 40px;
  padding: clamp(36px, 5vw, 56px) 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.site-footer .brand {
  color: #fff;
}
.site-footer .brand-mark {
  background: var(--accent);
}
.footer-brand p {
  font-size: 0.86rem;
  color: #a8a3c0;
  max-width: 34ch;
}
.footer-note {
  font-size: 0.78rem !important;
  color: #7d7896 !important;
}
.footer-head {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 12px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
}
.footer-links a {
  color: #a8a3c0;
  font-size: 0.86rem;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
  color: #7d7896;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tool-layout {
    grid-template-columns: 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .directory-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .main-nav {
    display: none;
  }
  .header-inner {
    justify-content: space-between;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .tool-grid {
    grid-template-columns: 1fr;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .stat-row {
    grid-template-columns: 1fr;
  }
  .thumbs {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .lang-switch span {
    display: none;
  }
  .hero-list a span {
    display: none;
  }
  .hero-list a {
    grid-template-columns: 1fr auto;
  }
}
