@import url("./brand-tokens.css");

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/outfit-400.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/outfit-500.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/outfit-600.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/outfit-700.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  font-weight: 400;
}

a {
  color: var(--primary);
}

a:hover {
  color: var(--foreground);
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* BRAND_LOCK_START: Keep this section identical across all NeoNema properties. */
.header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--header-bg) 84%, transparent);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  display: block;
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand img.brand-main {
  height: 50px;
}

@media (max-width: 768px) {
  .header-inner {
    padding: 4px 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand img.brand-main {
    height: 40px;
  }
}
/* BRAND_LOCK_END */

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--foreground);
}

@media (prefers-reduced-motion: reduce) {
  .site-nav a,
  .btn,
  .tool-card,
  .footer a {
    transition: none;
  }
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 16px 72px;
}

.page-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  line-height: 1.15;
  font-weight: 700;
}

.hero-copy {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

.hero-copy + .hero-copy {
  margin-top: -16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--primary);
  color: #04140c;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  filter: brightness(1.06);
  color: #04140c;
}

.section {
  margin: 0 auto 56px;
  max-width: 720px;
}

.section-wide {
  max-width: 1120px;
}

.section h2 {
  margin: 0 0 20px;
  font-size: 1.35rem;
  font-weight: 600;
  text-align: center;
}

.proofs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.proof {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  padding: 18px 20px;
  line-height: 1.55;
  color: var(--muted);
}

.proof strong {
  display: block;
  color: var(--foreground);
  font-weight: 600;
  margin-bottom: 6px;
}

.proof a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

.tool-card:hover {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
  color: inherit;
}

.tool-name {
  display: block;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 4px;
}

.tool-desc {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.tools-more {
  margin: 18px 0 0;
  text-align: center;
}

.tools-more a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.tools-more a:hover {
  color: var(--foreground);
}

.maker {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  padding: 22px 24px;
  color: var(--muted);
  line-height: 1.65;
}

.maker p {
  margin: 0 0 12px;
}

.maker p:last-child {
  margin-bottom: 0;
}

.maker-sign {
  color: var(--foreground);
  font-weight: 500;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 22px 16px;
  display: flex;
  justify-content: center;
  gap: 10px 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer a:hover {
  color: var(--foreground);
}

.footer-sep {
  color: var(--border);
}

.policy {
  max-width: 720px;
  margin: 48px auto;
  padding: 0 16px 48px;
  line-height: 1.65;
  color: var(--muted);
}

.policy h1 {
  color: var(--foreground);
  font-size: 1.75rem;
  margin: 0 0 20px;
}

.policy a {
  color: var(--muted);
}

.policy a:hover {
  color: var(--foreground);
}

.not-found {
  text-align: center;
  padding: 80px 16px;
}

.not-found h1 {
  margin: 0 0 12px;
  font-size: 1.75rem;
}

.not-found p {
  color: var(--muted);
  margin: 0 0 20px;
}

@media (max-width: 768px) {
  .page {
    padding: 32px 12px 56px;
  }

  .hero {
    margin-bottom: 40px;
  }

  .section {
    margin-bottom: 40px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 14px;
  }

  .footer {
    gap: 10px 12px;
    padding: 20px 12px;
  }
}
