:root {
  --bg-1: #eef4ff;
  --bg-2: #f5fff8;
  --ink: #111827;
  --muted: #4b5563;
  --card: #ffffff;
  --line: #dbe5f0;
  --brand: #0f766e;
  --brand-2: #1d4ed8;
  --accent: #f59e0b;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
  --radius-xl: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at -8% -8%, #dbeafe 0%, transparent 62%),
    radial-gradient(1000px 540px at 108% -18%, #dcfce7 0%, transparent 62%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--brand-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.76);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 8;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.84rem 0;
}

.logo {
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.04rem;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.93rem;
}

.menu a {
  color: #334155;
  font-weight: 500;
}

.hero {
  padding: 2.5rem 0 1.2rem;
}

.hero h1 {
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  line-height: 1.12;
  margin: 0 0 0.82rem;
  font-size: clamp(1.9rem, 3.9vw, 2.85rem);
  letter-spacing: -0.02em;
}

.subtitle {
  color: var(--muted);
  max-width: 72ch;
  margin-bottom: 0;
}

.hero-kpis {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.kpi {
  border: 1px solid #cfe0f8;
  background: #f8fbff;
  color: #1f2937;
  border-radius: 999px;
  padding: 0.4rem 0.72rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.kpi span {
  margin-right: 0.35rem;
}

.grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: start;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card h2 {
  margin-bottom: 0.85rem;
}

form {
  display: grid;
  gap: 0.78rem;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
  color: #0f172a;
}

select,
input {
  width: 100%;
  margin-top: 0.34rem;
  border: 1px solid #cdd7e3;
  border-radius: 11px;
  padding: 0.66rem 0.75rem;
  font: inherit;
  background: #fff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

select:focus,
input:focus {
  outline: none;
  border-color: #7aa6f8;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

button {
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0.78rem 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 8px 22px rgba(29, 78, 216, 0.23);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.muted {
  color: var(--muted);
}

.result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.pill {
  border-radius: 13px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f9fbff, #f5f9ff);
  padding: 0.82rem;
}

.pill strong {
  display: block;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 0.58rem;
}

th {
  background: #f8fafc;
}

.section {
  margin: 1.14rem 0;
}

.faq h3 {
  margin-bottom: 0.3rem;
}

.related-tools h2 {
  margin-bottom: 0.75rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.related-link {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.62rem 0.72rem;
  background: #f8fbff;
  color: #1f2937;
  font-weight: 600;
  text-decoration: none;
}

.related-link:hover {
  border-color: #9bb7ea;
  background: #f2f8ff;
  text-decoration: none;
}

.tagline {
  margin-top: 0.8rem;
  font-size: 0.86rem;
  color: #1d4ed8;
  font-weight: 600;
}

.ad-wrap {
  margin: 1rem 0;
  border: 1px dashed #b6c4d2;
  border-radius: 12px;
  padding: 0.62rem;
  background: #f8fafc;
}

.ad-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.ad-slot {
  display: block;
  width: 100%;
  min-height: 90px;
}

.consent-banner {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 1200;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.consent-inner {
  padding: 0.9rem;
}

.consent-title {
  margin: 0 0 0.32rem;
  font-weight: 700;
}

.consent-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.consent-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.consent-btn {
  border-radius: 9px;
  padding: 0.5rem 0.8rem;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
}

.consent-accept {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
  color: #ffffff;
}

.consent-manage {
  position: fixed;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 1190;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  box-shadow: var(--shadow);
}

footer {
  margin-top: 1.7rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0 2rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .result {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .menu {
    gap: 0.55rem;
    font-size: 0.88rem;
  }

  .card {
    padding: 0.9rem;
    border-radius: 14px;
  }

  .hero {
    padding-top: 1.8rem;
  }

  .hero-kpis {
    gap: 0.45rem;
  }

  .kpi {
    font-size: 0.82rem;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}
