/* Iovii Flash News: one stylesheet for the whole site. Self-hosted fonts (OFL), no external requests. */
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-900.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: 'Anton';
  src: url('fonts/anton-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #0b0b0f;
  --surface: #15151c;
  --surface-2: #1c1c26;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f4f6;
  --muted: #a7a7b4;
  --red: #dc2626;
  --gold: #ffc21a;
  --blue: #22b8ff;
  --radius: 16px;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    400 17px/1.65 'Inter',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}
a:hover {
  color: #7fd6ff;
}

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

.wrap {
  width: min(var(--max), 100% - 40px);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 11, 15, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand img {
  height: 42px;
  width: auto;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background:
    radial-gradient(60% 80% at 75% 10%, rgba(34, 184, 255, 0.16), transparent 60%),
    radial-gradient(50% 70% at 10% 90%, rgba(220, 38, 38, 0.18), transparent 60%);
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 194, 26, 0.12);
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 14px;
}
.hero h1 {
  font: 400 clamp(44px, 7vw, 76px) / 1.02 'Anton', Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 18px 0 18px;
}
.hero h1 .accent {
  color: var(--gold);
}
.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
}
.hero-logo {
  justify-self: center;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.6));
  width: min(420px, 100%);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
  font-size: 14px;
}
.chip i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 8px;
  font-style: normal;
}

/* Sections */
section {
  padding: 72px 0;
}
section + section {
  border-top: 1px solid var(--line);
}
.section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.01em;
}
.section-intro {
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 34px;
}
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 {
  font-size: 19px;
  font-weight: 800;
}
.card p {
  color: var(--muted);
  margin: 0;
}
.step-no {
  font: 400 34px/1 'Anton', Impact, sans-serif;
  color: var(--gold);
  margin-bottom: 10px;
}
.notice {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 18px 20px;
}
.notice p:last-child {
  margin-bottom: 0;
}

/* Long-form pages (policies) */
.page-head {
  padding: 64px 0 28px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(70% 120% at 85% 0%, rgba(34, 184, 255, 0.1), transparent 60%);
}
.page-head h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.page-head .meta {
  color: var(--muted);
  margin: 0;
}
.prose {
  max-width: 780px;
  padding: 44px 0 80px;
}
.prose h2 {
  font-size: 24px;
  font-weight: 800;
  margin-top: 40px;
}
.prose h3 {
  font-size: 18px;
  font-weight: 800;
  margin-top: 26px;
}
.prose li {
  margin-bottom: 6px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 15px;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.prose th {
  color: var(--muted);
  font-weight: 700;
}
.prose code {
  font-size: 0.9em;
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 6px;
}
.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 22px;
}
.toc ol {
  margin: 8px 0 0;
  padding-left: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  background: var(--red);
  color: #fff;
}
.btn:hover {
  background: #ef3b3b;
  color: #fff;
}
.btn.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
  color: var(--muted);
  font-size: 15px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.site-footer a {
  color: var(--muted);
}

@media (max-width: 820px) {
  .hero {
    padding: 56px 0 48px;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero-logo {
    order: -1;
    width: min(320px, 80%);
  }
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }
  section {
    padding: 52px 0;
  }
}
