* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #080a14;
  color: #f5f7ff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 18px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-symbol {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #7c5cff, #22d3ee);
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(124, 92, 255, 0.25);
}

.logo strong {
  display: block;
  font-size: 1rem;
}

.logo span {
  display: block;
  color: #9da4c7;
  font-size: 0.85rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #c8ccef;
  font-size: 0.95rem;
}

.nav a:hover {
  color: #ffffff;
}

.hero {
  width: min(1180px, 92%);
  min-height: 48vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
  gap: 34px;
  padding: 26px 0 32px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #d8d5ff;
  background: rgba(124, 92, 255, 0.13);
  border: 1px solid rgba(124, 92, 255, 0.28);
  font-size: 0.9rem;
}

h1 {
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: 16px;
  max-width: 640px;
}

.subtitle {
  max-width: 680px;
  color: #b9bfdc;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  background: #ffffff;
  color: #080a14;
}

.button.secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.hero-card {
  padding: 26px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 35%),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.hero-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: #9eeaff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.hero-card h2 {
  font-size: 1.65rem;
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero-card p {
  color: #b9bfdc;
}

.section {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 34px 0;
}

.section-title {
  margin-bottom: 30px;
}

.section-title span,
.about-section span {
  color: #9eeaff;
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-title h2,
.about-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-top: 8px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.category-card {
  min-height: 82px;
  padding: 18px;
  display: flex;
  align-items: end;
  border-radius: 22px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.article-card {
  padding: 26px;
  border-radius: 26px;
  background: #101421;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.article-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: #b7a7ff;
  font-size: 0.85rem;
  font-weight: 800;
}

.article-card h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.article-card p {
  color: #aeb5d2;
  margin-bottom: 18px;
}

.article-card a {
  color: #9eeaff;
  font-weight: 800;
}

.about-section {
  width: min(1180px, 92%);
  margin: 44px auto;
  padding: 42px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.16), transparent 35%),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-section p {
  color: #b9bfdc;
  font-size: 1.05rem;
}

.footer {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 34px 0;
  color: #8f96b8;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  text-align: center;
}

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 50px 0 70px;
  }

  h1 {
    letter-spacing: -2px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

@media (max-width: 520px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .logo-symbol {
    width: 48px;
    height: 48px;
  }

  .hero-card {
    padding: 24px;
  }
}

/* Article page */

.post {
  width: min(920px, 92%);
  margin: 0 auto;
  padding: 34px 0 64px;
}

.post-header {
  max-width: 780px;
  margin: 0 auto 28px;
}

.post-category {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #9eeaff;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.22);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.post-header h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -1.5px;
  max-width: 760px;
  margin-bottom: 16px;
}

.post-description {
  max-width: 760px;
  color: #b9bfdc;
  font-size: 1.05rem;
  line-height: 1.65;
}

.post-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.post-content p {
  color: #d8dcf2;
  font-size: 1.03rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.post-content h2 {
  color: #ffffff;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 32px 0 14px;
}

.post-content h2:first-child {
  margin-top: 0;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: #9da4c7;
  font-size: 0.9rem;
}

.post-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.next-reading {
  max-width: 780px;
  margin: 34px auto 0;
  padding: 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(124, 92, 255, 0.16), transparent 35%),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.next-reading > span {
  display: inline-block;
  margin-bottom: 8px;
  color: #9eeaff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.next-reading h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.next-reading-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.next-reading-grid a {
  display: block;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.next-reading-grid strong {
  display: block;
  margin-bottom: 8px;
  line-height: 1.25;
}

.next-reading-grid small {
  color: #9eeaff;
  font-weight: 800;
}

@media (max-width: 700px) {
  .post {
    padding: 28px 0 54px;
  }

  .post-header {
    margin-bottom: 24px;
  }

  .post-content {
    padding: 24px;
    border-radius: 24px;
  }

  .post-content p {
    font-size: 1rem;
  }

  .next-reading {
    padding: 24px;
  }

  .next-reading-grid {
    grid-template-columns: 1fr;
  }
}


/* Articles archive page */

.archive-hero {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 50px 0 34px;
}

.archive-hero span {
  display: inline-block;
  margin-bottom: 14px;
  color: #9eeaff;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.archive-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.archive-hero p {
  max-width: 720px;
  color: #b9bfdc;
  font-size: 1.1rem;
  line-height: 1.7;
}

.archive-section {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 28px 0 70px;
}


/* About page */

.about-page-hero {
  width: min(860px, 92%);
  margin: 0 auto;
  padding: 28px 0 12px;
}

.about-page-hero span {
  display: inline-block;
  margin-bottom: 10px;
  color: #9eeaff;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.about-page-hero h1 {
  max-width: 720px;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin-bottom: 12px;
}

.about-page-hero p {
  max-width: 660px;
  color: #b9bfdc;
  font-size: 1rem;
  line-height: 1.62;
}

.about-page-content {
  width: min(860px, 92%);
  margin: 0 auto;
  padding: 18px 0 56px;
}

.about-block {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 20px 22px;
  margin-bottom: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.085);
}

.about-block > span {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  background: linear-gradient(135deg, #7c5cff, #22d3ee);
  box-shadow: 0 10px 26px rgba(124, 92, 255, 0.14);
}

.about-block h2 {
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
  line-height: 1.18;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.about-block p {
  max-width: 740px;
  color: #d8dcf2;
  font-size: 0.95rem;
  line-height: 1.62;
  margin-bottom: 8px;
}

.about-block p:last-child {
  margin-bottom: 0;
}

.about-block a {
  color: #9eeaff;
  font-weight: 800;
}

.about-note {
  color: #9da4c7 !important;
  font-size: 0.9rem !important;
}

@media (max-width: 700px) {
  .about-page-hero {
    padding: 26px 0 10px;
  }

  .about-page-hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .about-block {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px;
    border-radius: 20px;
  }

  .about-block > span {
    width: fit-content;
    height: auto;
    padding: 7px 11px;
    border-radius: 999px;
  }

  .about-block p {
    font-size: 0.96rem;
  }
}


/* Contact page */

.contact-page {
  width: min(980px, 92%);
  margin: 0 auto;
  padding: 34px 0 70px;
}

.contact-hero {
  max-width: 760px;
  margin-bottom: 28px;
}

.contact-hero span {
  display: inline-block;
  margin-bottom: 12px;
  color: #9eeaff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.contact-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -1.4px;
  margin-bottom: 14px;
}

.contact-hero p {
  max-width: 680px;
  color: #b9bfdc;
  font-size: 1.02rem;
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.contact-card {
  padding: 26px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.contact-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: #9eeaff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.contact-card h2 {
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.contact-card p {
  color: #d8dcf2;
  font-size: 0.98rem;
  line-height: 1.68;
  margin-bottom: 20px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #080a14;
  font-weight: 900;
}

.contact-button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-note {
  margin-top: 20px;
  padding: 24px 26px;
  border-radius: 26px;
  background: rgba(124, 92, 255, 0.08);
  border: 1px solid rgba(124, 92, 255, 0.16);
}

.contact-note h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.contact-note p {
  color: #d8dcf2;
  font-size: 0.98rem;
  line-height: 1.68;
  margin-bottom: 10px;
}

.contact-note p:last-child {
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .contact-page {
    padding: 28px 0 56px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .contact-note {
    padding: 22px;
    border-radius: 22px;
  }
}


/* Legal pages */

.legal-page {
  width: min(880px, 92%);
  margin: 0 auto;
  padding: 28px 0 68px;
}

.legal-hero {
  max-width: 720px;
  margin-bottom: 22px;
}

.legal-hero span {
  display: inline-block;
  margin-bottom: 10px;
  color: #9eeaff;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.legal-hero h1 {
  max-width: 680px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.legal-hero p {
  max-width: 680px;
  color: #b9bfdc;
  font-size: 0.98rem;
  line-height: 1.62;
}

.legal-content {
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.legal-content section {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-content section:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.legal-content h2 {
  font-size: clamp(1.12rem, 1.7vw, 1.38rem);
  line-height: 1.22;
  letter-spacing: -0.25px;
  margin-bottom: 10px;
}

.legal-content p,
.legal-content li {
  color: #d8dcf2;
  font-size: 0.95rem;
  line-height: 1.68;
}

.legal-content p {
  margin-bottom: 10px;
}

.legal-content ul {
  padding-left: 20px;
  margin: 8px 0 0;
}

.legal-content li {
  margin-bottom: 7px;
}

.legal-content a {
  color: #9eeaff;
  font-weight: 800;
}

.legal-update {
  margin-top: 24px;
  color: #9da4c7 !important;
  font-size: 0.9rem !important;
}

@media (max-width: 700px) {
  .legal-page {
    padding: 24px 0 54px;
  }

  .legal-content {
    padding: 22px;
    border-radius: 22px;
  }

  .legal-content section {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
}


/* Footer links */

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-links a {
  color: #b9bfdc;
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Cookie consent banner */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 9999;
  width: min(720px, calc(100% - 28px));
  padding: 18px;
  border-radius: 22px;
  background: rgba(12, 16, 36, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  transform: translate(-50%, 140%);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}

.cookie-banner.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.cookie-banner h2 {
  margin-bottom: 6px;
  font-size: 1rem;
  letter-spacing: -0.2px;
}

.cookie-banner p {
  color: #b9bfdc;
  font-size: 0.92rem;
  line-height: 1.55;
}

.cookie-banner a {
  color: #9eeaff;
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-actions button {
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 0.88rem;
}

.cookie-accept {
  color: #06101f;
  background: linear-gradient(135deg, #9eeaff, #ffffff);
}

.cookie-reject {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.cookie-reject:hover {
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 720px) {
  .cookie-banner-content {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }

  .cookie-actions button {
    width: 100%;
  }
}