﻿@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@1,600&display=swap");
:root {
  --bg: #f7f7f2;
  --surface: #fff;
  --ink: #14213d;
  --muted: #657068;
  --line: #dfe3dc;
  --green: #2563eb;
  --green-soft: #dbeafe;
  --orange: #f4a45c;
  --blue: #6d97c8;
  --shadow: 0 16px 40px rgba(31, 50, 40, 0.07);
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}
body.dark {
  --bg: #101713;
  --surface: #17211b;
  --ink: #edf4ee;
  --muted: #a9b4ac;
  --line: #2e3b33;
  --green: #60a5fa;
  --green-soft: #172554;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  background: var(--surface);
  padding: 10px;
  z-index: 99;
}
.site-header {
  height: 76px;
  padding: 0 clamp(20px, 6vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 500;
}
.brand strong {
  color: var(--green);
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--green);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.site-header nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
}
.site-header nav a:hover {
  color: var(--green);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-btn,
.favorites-link {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.favorites-link {
  grid-auto-flow: column;
  padding: 0 12px;
  gap: 6px;
}
.hero {
  text-align: center;
  padding: clamp(72px, 10vw, 128px) 20px 76px;
  max-width: 950px;
  margin: auto;
}
.eyebrow,
.kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--green);
}
.eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
}
.eyebrow span {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 22px 0;
}
.hero h1 em {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: var(--green);
}
.hero > p {
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 34px;
}
.search {
  height: 66px;
  max-width: 680px;
  margin: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 0 14px 0 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.search:focus-within {
  outline: 3px solid color-mix(in srgb, var(--green) 20%, transparent);
  border-color: var(--green);
}
.search > span {
  font-size: 28px;
}
.search input {
  border: 0;
  outline: 0;
  background: none;
  color: var(--ink);
  flex: 1;
  font-size: 16px;
  min-width: 0;
}
.search kbd {
  font: 11px inherit;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 7px;
}
.search button {
  border: 0;
  background: var(--green-soft);
  color: var(--green);
  width: 38px;
  height: 38px;
  border-radius: 9px;
  cursor: pointer;
}
.quick-links {
  display: flex;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 19px;
  font-size: 12px;
  color: var(--muted);
}
.quick-links button {
  border: 0;
  background: none;
  color: var(--green);
  padding: 0;
  cursor: pointer;
}
.anuncio {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5rem;
}
.ad {
  max-width: 1100px;
  height: 84px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  margin: 0 auto 90px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
}
.ad small {
  position: absolute;
  margin-top: -32px;
  font-size: 8px;
  letter-spacing: 0.14em;
}
.tools-section,
.categories-section,
.articles,
.faq {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 100px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px;
}
.section-head h2,
.faq h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.045em;
  margin: 7px 0 0;
}
.text-btn {
  border: 0;
  background: none;
  color: var(--green);
  cursor: pointer;
}
.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
  overflow: auto;
  padding-bottom: 4px;
}
.filters button {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  padding: 9px 15px;
  border-radius: 99px;
  cursor: pointer;
  font-size: 13px;
}
.filters button.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tool-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
  transition: 0.25s;
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--green) 30%, var(--line));
}
.tool-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: var(--green-soft);
  color: var(--green);
}
.tool-card h3 {
  font-size: 15px;
  margin: 2px 0 6px;
}
.tool-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.fav-btn {
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 19px;
}
.fav-btn.active {
  color: #d05d63;
}
.empty {
  text-align: center;
  color: var(--muted);
  padding: 40px;
}
.benefits {
  border-block: 1px solid var(--line);
  padding: 58px max(24px, calc((100vw - 1112px) / 2));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  margin-bottom: 100px;
}
.benefits > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 15px;
}
.benefit-icon {
  grid-row: 1/3;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
}
.benefit-icon.green {
  background: var(--green-soft);
  color: var(--green);
}
.benefit-icon.orange {
  background: #fce8d6;
  color: #c66d24;
}
.benefit-icon.blue {
  background: #e1ebf7;
  color: #4c78a7;
}
.benefits h3 {
  font-size: 14px;
  margin: 0 0 5px;
}
.benefits p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 22px;
  cursor: pointer;
  transition: 0.2s;
}
.category-card:hover {
  border-color: var(--green);
}
.category-card span {
  font-size: 23px;
}
.category-card h3 {
  font-size: 15px;
  margin: 30px 0 3px;
}
.category-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.articles {
  padding-top: 80px;
  border-top: 1px solid var(--line);
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.article-grid article {
  border-top: 2px solid var(--ink);
  padding: 22px 2px;
}
.article-grid span {
  font-size: 10px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.12em;
}
.article-grid h3 {
  font:
    600 23px/1.2 "Playfair Display",
    serif;
  margin: 15px 0 10px;
}
.article-grid p {
  font-size: 13px;
  color: var(--muted);
}
.article-grid a {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding-top: 70px;
  border-top: 1px solid var(--line);
}
.faq > div > p {
  color: var(--muted);
  font-size: 13px;
}
.faq a {
  color: var(--green);
}
details {
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}
summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
summary::-webkit-details-marker {
  display: none;
}
details p {
  color: var(--muted);
  font-size: 13px;
  padding-right: 30px;
}
footer {
  background: var(--ink);
  color: var(--bg);
  padding: 62px clamp(24px, 6vw, 88px) 24px;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
}
.footer-main > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-main p,
.footer-main a {
  font-size: 12px;
  color: color-mix(in srgb, var(--bg) 65%, transparent);
}
.footer-main h3 {
  font-size: 12px;
  margin: 0 0 8px;
}
.newsletter {
  display: flex;
  border-bottom: 1px solid #667068;
}
.newsletter input {
  border: 0;
  background: none;
  color: var(--bg);
  outline: 0;
  padding: 10px 0;
  min-width: 0;
  flex: 1;
}
.newsletter button {
  border: 0;
  background: none;
  color: var(--bg);
}
.footer-bottom {
  border-top: 1px solid #425048;
  margin-top: 50px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #95a198;
}
@media (max-width: 850px) {
  .site-header nav {
    display: none;
  }
  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits {
    gap: 25px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-main > div:first-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 560px) {
  .site-header {
    height: 66px;
    padding: 0 16px;
  }
  .brand {
    font-size: 16px;
  }
  .hero {
    padding-top: 65px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero > p {
    font-size: 15px;
  }
  .search kbd {
    display: none;
  }
  .ad {
    margin-inline: 16px;
    margin-bottom: 65px;
  }
  .tools-section,
  .categories-section,
  .articles,
  .faq {
    padding-inline: 16px;
    padding-bottom: 70px;
  }
  .tool-grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    align-items: start;
  }
  .benefits {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }
  .category-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-main > div:first-child {
    grid-column: auto;
  }
  .footer-bottom {
    gap: 10px;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
