:root {
  --bg: #eef2f4;
  --bg-deep: #e2e8ec;
  --ink: #142028;
  --muted: #5a6b76;
  --line: rgba(20, 32, 40, 0.12);
  --accent: #0d8f7b;
  --accent-soft: rgba(13, 143, 123, 0.12);
  --accent-ink: #062e28;
  --surface: rgba(255, 255, 255, 0.72);
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    linear-gradient(165deg, #f7fafb 0%, var(--bg) 42%, #dfe8e6 100%);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: float 16s ease-in-out infinite alternate;
}

.orb-a {
  width: 42vw;
  height: 42vw;
  top: -12vw;
  right: -8vw;
  background: radial-gradient(circle, rgba(13, 143, 123, 0.35), transparent 70%);
}

.orb-b {
  width: 36vw;
  height: 36vw;
  bottom: 8vh;
  left: -14vw;
  background: radial-gradient(circle, rgba(40, 90, 130, 0.22), transparent 70%);
  animation-delay: -6s;
}

.mesh {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(20, 32, 40, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 40, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 20%, transparent 75%);
}

@keyframes float {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-3vw, 2vw) scale(1.06); }
}

.nav,
main,
.footer {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  animation: rise 0.7s ease both;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  display: block;
  max-width: var(--max);
  margin: 0 auto;
  min-height: auto;
  padding: 4.5rem 1.5rem 3.5rem;
}

.hero-copy {
  animation: rise 0.85s 0.05s ease both;
  max-width: 36rem;
}

.brand-mark {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.subline {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: #f4fffc;
  box-shadow: 0 12px 28px rgba(13, 143, 123, 0.28);
}

.btn-primary:hover {
  background: #0b7a69;
}

.btn-ghost {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: rgba(13, 143, 123, 0.4);
  background: #fff;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.news-meta {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.news-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  animation: rise 0.55s ease both;
}

.news-index {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  min-width: 2rem;
}

.news-body h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.news-body h3 a:hover {
  color: var(--accent);
}

.news-summary {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.news-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.section-download {
  padding-bottom: 4rem;
}

.download-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  max-width: 28rem;
}

.download-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.download-info {
  display: grid;
  gap: 0.15rem;
}

.download-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(20, 32, 40, 0.25);
}

.download-link:hover {
  color: var(--accent);
  text-decoration-color: rgba(13, 143, 123, 0.5);
}

.download-info span {
  color: var(--muted);
  font-size: 0.78rem;
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .hero {
    padding: 2.5rem 1.5rem 2rem;
  }
}
