:root {
  --blue: #0b1f3a;
  --blue-2: #123b6d;
  --green: #24c77b;
  --green-2: #19a866;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #102033;
  --muted: #64748b;
  --line: #e6ebf2;
  --shadow: 0 10px 28px rgba(10, 31, 58, 0.07);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}

.brand {
  font-weight: 900;
  color: var(--blue);
  font-size: 1.18rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  color: #29415f;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 10px;
  border-radius: 999px;
}

nav a:hover {
  background: #eef4fb;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 18px;
}

footer {
  text-align: center;
  padding: 42px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(36, 199, 123, 0.24), transparent 34%),
    linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  border-radius: 30px;
  padding: 44px 28px;
  margin: 0 0 30px;
  box-shadow: var(--shadow);
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(2rem, 6vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 0 0 18px;
}

.hero p:not(.eyebrow) {
  max-width: 720px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.eyebrow {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.8rem;
  margin: 0 0 10px;
}

.lead {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: #40546b;
  max-width: 860px;
}

.search,
input,
textarea {
  width: 100%;
  border: 1px solid #dce3ee;
  border-radius: 15px;
  padding: 14px 16px;
  font-size: 1rem;
  font: inherit;
  background: white;
  color: var(--text);
}

.search {
  margin-top: 22px;
  max-width: 560px;
  border: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.search:focus,
input:focus,
textarea:focus {
  outline: 3px solid rgba(36, 199, 123, 0.24);
  border-color: var(--green);
}

h1,
h2,
h3 {
  color: var(--blue);
  letter-spacing: -0.025em;
}

.hero h1 {
  color: white;
}

h2 {
  margin-top: 28px;
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.card,
.box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  color: inherit;
  box-shadow: var(--shadow);
}

.card {
  display: block;
  min-height: 100%;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(36, 199, 123, 0.45);
  box-shadow: 0 16px 34px rgba(10, 31, 58, 0.12);
}

.card h3 {
  margin: 8px 0 8px;
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  color: #52657a;
  font-size: 0.98rem;
}

.flag {
  font-size: 2.1rem;
  line-height: 1;
}

.country {
  max-width: 1040px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.box h2 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.box p {
  margin: 0;
  color: #3f5268;
}

.sources,
.feedback {
  margin-top: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.sources ul {
  padding-left: 18px;
  margin: 0;
}

.sources li {
  margin-bottom: 8px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.sources a {
  color: #1557a6;
}

.feedback form {
  display: grid;
  gap: 12px;
  max-width: 680px;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

button {
  background: var(--green);
  border: 0;
  color: #062012;
  border-radius: 15px;
  padding: 14px 18px;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}

button:hover {
  background: var(--green-2);
  transform: translateY(-1px);
}

.ad {
  border: 2px dashed #b6c4d6;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  margin: 30px 0;
  color: var(--muted);
  background: white;
}

#noResults {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  color: var(--muted);
}

.cf-turnstile {
  margin: 4px 0;
}

@media (max-width: 720px) {
  .top {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 14px;
  }

  nav {
    width: 100%;
    gap: 4px;
  }

  nav a {
    padding: 7px 8px;
    font-size: 0.9rem;
  }

  main {
    padding: 16px 12px;
  }

  .hero {
    border-radius: 22px;
    padding: 28px 18px;
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .grid,
  .info-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card,
  .box,
  .sources,
  .feedback {
    border-radius: 18px;
    padding: 18px;
  }

  .search {
    max-width: none;
  }
}

.brand img {
  height: 100px;
  width: auto;
  display: block;
}

@media (max-width: 720px) {
  .brand img {
    height: 40px;
  }
}
