:root{
  --bg:#07111f;
  --panel:#0d1b2a;
  --panel2:#122238;
  --text:#f3f7fb;
  --muted:#9eb0c5;
  --line:#21344c;
  --accent:#70d6c3;
  --accent2:#ffd37a;
  --max:1240px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:
    radial-gradient(circle at top right,rgba(112,214,195,.10),transparent 32%),
    var(--bg);
  color:var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans",
    Arial,
    sans-serif;
  line-height:1.75;
}

a{
  color:inherit;
}

.stories-header{
  position:sticky;
  top:0;
  z-index:20;
  border-bottom:1px solid var(--line);
  background:rgba(7,17,31,.94);
  backdrop-filter:blur(12px);
}

.header-inner{
  max-width:var(--max);
  margin:auto;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  text-decoration:none;
  display:flex;
  flex-direction:column;
}

.brand-main{
  font-size:1.08rem;
  font-weight:800;
  letter-spacing:.02em;
}

.brand-tag{
  color:var(--muted);
  font-size:.78rem;
}

.back-link{
  color:var(--accent);
  text-decoration:none;
  font-weight:700;
}

main{
  max-width:var(--max);
  margin:auto;
  padding:32px 20px 70px;
}

.hero{
  padding:54px 0 36px;
  text-align:center;
}

.hero-badge{
  display:inline-block;
  padding:7px 14px;
  border:1px solid rgba(112,214,195,.45);
  border-radius:999px;
  color:var(--accent);
  background:rgba(112,214,195,.08);
  font-size:.84rem;
  font-weight:800;
}

.hero h1{
  margin:20px 0 10px;
  font-size:clamp(2.2rem,6vw,4.6rem);
  line-height:1.08;
}

.hero-subtitle{
  max-width:760px;
  margin:0 auto;
  color:var(--muted);
  font-size:1.08rem;
}

.mission-box{
  max-width:820px;
  margin:32px auto 0;
  padding:22px 24px;
  border:1px solid var(--line);
  border-left:4px solid var(--accent);
  border-radius:16px;
  background:linear-gradient(135deg,var(--panel),var(--panel2));
  text-align:left;
}

.mission-box strong{
  color:var(--accent2);
}

.mission-box p{
  margin:7px 0 0;
  color:#d5dfeb;
}

.stories-section{
  margin-top:30px;
}

.section-heading{
  margin-bottom:20px;
}

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

.section-heading p{
  margin:5px 0 0;
  color:var(--muted);
}

.story-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.story-card{
  min-height:210px;
  padding:21px;
  border:1px solid var(--line);
  border-radius:16px;
  background:linear-gradient(145deg,var(--panel),var(--panel2));
  display:flex;
  flex-direction:column;
}

.story-number{
  color:var(--accent);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.story-card h2{
  margin:10px 0 14px;
  font-size:1.16rem;
  line-height:1.4;
}

.story-meta{
  margin-top:auto;
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.story-meta span{
  padding:4px 8px;
  border-radius:999px;
  background:#091524;
  color:var(--muted);
  font-size:.75rem;
}

.story-link{
  margin-top:16px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding:9px 12px;
  border-radius:10px;
  text-decoration:none;
  font-weight:800;
}

.story-link.disabled{
  color:#78899c;
  background:#0a1523;
  border:1px solid #192a3f;
  cursor:not-allowed;
}

.stories-footer{
  padding:30px 20px 48px;
  border-top:1px solid var(--line);
  text-align:center;
  color:var(--muted);
}

.stories-footer p{
  margin:4px 0;
}

[dir="rtl"] .mission-box{
  text-align:right;
  border-left:1px solid var(--line);
  border-right:4px solid var(--accent);
}

@media(max-width:900px){
  .story-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:620px){
  .header-inner{
    align-items:flex-start;
  }

  .back-link{
    font-size:.82rem;
  }

  main{
    padding-left:14px;
    padding-right:14px;
  }

  .hero{
    padding-top:36px;
  }

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

  .story-card{
    min-height:185px;
  }
}

.story-link:not(.disabled){
  color:#07111f;
  background:var(--accent);
  border:1px solid var(--accent);
}

.story-link:not(.disabled):hover,
.story-link:not(.disabled):focus{
  filter:brightness(1.08);
  transform:translateY(-1px);
}
