:root {
  color-scheme: dark;
  --bg: #07101d;
  --panel: #101c2d;
  --panel-soft: #14243a;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f9fc;
  --muted: #b9c7d9;
  --cyan: #64e5ff;
  --gold: #ffd56a;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 0, rgba(25, 174, 214, 0.22), transparent 34rem),
    radial-gradient(circle at 90% 12%, rgba(179, 112, 255, 0.13), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(100, 229, 255, 0.48);
  border-radius: 14px;
  background: linear-gradient(145deg, #173d58, #0a1d32);
  box-shadow: 0 0 28px rgba(100, 229, 255, 0.18);
  color: var(--cyan);
  font-weight: 900;
  place-items: center;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
}

.global-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.global-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  padding: 9px 13px;
  text-decoration: none;
}

.global-nav a:hover,
.global-nav a:focus-visible {
  border-color: var(--cyan);
  color: var(--text);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(120deg, rgba(8, 20, 35, 0.98), rgba(11, 34, 55, 0.88)),
    var(--panel);
  box-shadow: var(--shadow);
  padding: clamp(42px, 8vw, 92px);
}

.hero::after {
  position: absolute;
  top: -100px;
  right: -90px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(100, 229, 255, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 54px rgba(100, 229, 255, 0.04),
    0 0 0 108px rgba(100, 229, 255, 0.025);
  content: "";
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.19em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 4.8rem);
  line-height: 1.13;
  letter-spacing: -0.035em;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.14rem);
  line-height: 1.9;
}

.primary-cta {
  display: inline-flex;
  margin-top: 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), #7db8ff);
  box-shadow: 0 12px 30px rgba(56, 199, 238, 0.22);
  color: #07101d;
  font-weight: 900;
  padding: 15px 20px;
  text-decoration: none;
}

.content-section {
  padding: 84px 0 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.section-heading > p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.card-grid {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.story-card,
.notice {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(160deg, var(--panel-soft), var(--panel));
  box-shadow: var(--shadow);
}

.feature-card {
  display: flex;
  min-height: 320px;
  padding: 26px;
  flex-direction: column;
}

.feature-card--primary {
  border-color: rgba(100, 229, 255, 0.36);
}

.card-label {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.feature-card h3,
.story-card h3 {
  margin: 14px 0 0;
  font-size: 1.35rem;
  line-height: 1.45;
}

.feature-card > p:not(.card-label),
.story-card p:not(.card-label) {
  color: var(--muted);
  line-height: 1.8;
}

.card-links {
  display: grid;
  margin-top: auto;
  gap: 8px;
}

.card-links a,
.story-actions a {
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-weight: 800;
  padding: 11px 13px;
  text-decoration: none;
}

.card-links a:hover,
.card-links a:focus-visible,
.story-actions a:hover,
.story-actions a:focus-visible {
  border-color: var(--cyan);
  background: rgba(100, 229, 255, 0.08);
}

.story-card {
  display: flex;
  margin-top: 30px;
  padding: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.story-card > div:first-child {
  max-width: 650px;
}

.story-actions {
  display: grid;
  min-width: 180px;
  gap: 10px;
}

.notice {
  margin: 84px 0 0;
  padding: 28px;
}

.notice h2 {
  margin: 0;
  font-size: 1.25rem;
}

.notice p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 42px;
  color: var(--muted);
}

.site-footer p {
  margin: 0 0 16px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.site-footer a {
  font-size: 0.86rem;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .global-nav {
    justify-content: flex-start;
  }

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

  .feature-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .global-nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .global-nav a {
    font-size: 0.76rem;
    padding: 9px 6px;
    text-align: center;
  }

  .hero {
    min-height: 0;
    border-radius: 22px;
    padding: 42px 22px;
  }

  .hero::after {
    opacity: 0.6;
  }

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

  .content-section {
    padding-top: 64px;
  }

  .story-card {
    padding: 24px;
    align-items: stretch;
    flex-direction: column;
  }

  .story-actions {
    min-width: 0;
  }

  .notice {
    margin-top: 64px;
    padding: 22px;
  }
}
