/* Brand palette source: README.md — navy #152238/#1B2A4A, white, red accent #D4213D */

:root {
  --color-navy-dark: #152238;
  --color-navy: #1B2A4A;
  --color-white: #FFFFFF;
  --color-accent: #D4213D;
  --color-text: var(--color-navy-dark);
  --color-text-muted: #4A5568;
  --font-display: 'Red Hat Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Self-hosted from Google Fonts (Red Hat Display, OFL license), latin-ext included for Polish diacritics */
@font-face {
  font-family: 'Red Hat Display';
  src: url('/assets/fonts/RedHatDisplay-Bold-ext.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap; /* prevents invisible text while the font loads */
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Red Hat Display';
  src: url('/assets/fonts/RedHatDisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Minimal reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--color-navy-dark);
  line-height: 1.2;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero */
.hero {
  background: var(--color-navy-dark);
  color: var(--color-white);
  padding: 3rem 0 4rem;
}

.hero__inner {
  text-align: center;
}

.hero__logo {
  margin: 0 auto 1.5rem;
}

.hero__tagline {
  font-style: italic;
  color: #C9D3E0;
  margin: 0 0 1rem;
}

.hero__headline {
  color: var(--color-white);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0 0 1rem;
}

.hero__subhead {
  color: #C9D3E0;
  max-width: 640px;
  margin: 0 auto 1.5rem;
  font-size: 1.125rem;
}

.hero__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 2rem;
  padding: 0;
}

.badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-size: 0.875rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.cta {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.9rem 1.75rem;
}

.cta--primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.cta--primary:hover {
  background: #B81B34;
}

/* Features */
.features {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.5rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.feature-card p {
  color: var(--color-text-muted);
  margin: 0;
}

.feature-footnote {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin: 2.5rem auto 0;
  max-width: 720px;
}

/* FAQ */
.faq {
  padding: 1rem 0 4rem;
  background: #F7F9FC;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #E2E8F0;
  padding: 1rem 0;
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--color-navy-dark);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.faq-item p {
  color: var(--color-text-muted);
  margin: 0.75rem 0 0;
}
