:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-soft: #10141b;
  --text: #f5efe4;
  --muted: #b8aa99;
  --line: rgba(255, 224, 178, 0.18);
  --gold: #f5aa3b;
  --gold-strong: #ff7a1a;
  --blue: #2e9dff;
  --red: #a32018;
  --panel: rgba(12, 15, 20, 0.78);
  --panel-solid: #101218;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(163, 32, 24, 0.28), transparent 34rem),
    radial-gradient(circle at 84% 20%, rgba(46, 157, 255, 0.18), transparent 36rem),
    var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(6, 8, 12, 0.84);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(245, 170, 59, 0.62);
  border-radius: 6px;
  color: #fff4da;
  background:
    linear-gradient(145deg, rgba(255, 122, 26, 0.95), rgba(112, 15, 12, 0.88)),
    #1a0d0a;
  box-shadow: 0 0 22px rgba(255, 122, 26, 0.24);
  font-size: 14px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.8vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

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

.header-actions,
.hero-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-link,
.button {
  min-height: 44px;
  border-radius: 6px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 44px;
  border: 1px solid var(--line);
  background: rgba(11, 14, 20, 0.72);
  color: #f8d39a;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: max-content;
  padding: 12px 20px;
  border: 1px solid var(--line);
  font-weight: 800;
  text-transform: uppercase;
}

.button-small {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 13px;
}

.button-primary {
  border-color: rgba(255, 190, 83, 0.78);
  color: #321204;
  background:
    linear-gradient(180deg, #ffd37a 0%, #ff9d2f 48%, #c84812 100%);
  box-shadow: 0 14px 32px rgba(255, 122, 26, 0.26);
}

.button-secondary {
  border-color: rgba(46, 157, 255, 0.42);
  color: #ddecff;
  background: rgba(8, 26, 43, 0.72);
}

.button:hover,
.button:focus-visible,
.icon-link:hover,
.icon-link:focus-visible {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  padding: 116px clamp(20px, 5vw, 72px) 92px;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/oldaris2-hero.png");
  background-size: cover;
  background-position: center top;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.012);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 6, 10, 0.92) 0%, rgba(4, 6, 10, 0.62) 34%, rgba(4, 6, 10, 0.28) 66%, rgba(4, 6, 10, 0.72) 100%),
    linear-gradient(180deg, rgba(4, 6, 10, 0.18) 0%, rgba(4, 6, 10, 0.22) 58%, #07090d 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 9vw, 126px);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: break-word;
  text-shadow: 0 9px 32px rgba(0, 0, 0, 0.65);
}

.hero-copy {
  width: min(620px, 100%);
  max-width: 100%;
  margin-bottom: 30px;
  color: #f0e5d7;
  font-size: clamp(18px, 2vw, 24px);
}

.status-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(14, 18, 24, 0.96), rgba(23, 16, 13, 0.96), rgba(9, 23, 36, 0.96));
}

.status-item {
  min-height: 112px;
  padding: 28px clamp(20px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.status-item:last-child {
  border-right: 0;
}

.status-item span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-item strong {
  font-size: clamp(18px, 2vw, 25px);
}

.section {
  padding: 92px clamp(20px, 5vw, 72px);
}

.section-heading {
  width: min(720px, 100%);
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.section-download {
  background:
    radial-gradient(circle at 82% 12%, rgba(46, 157, 255, 0.15), transparent 30rem),
    linear-gradient(180deg, #07090d 0%, #0d1016 100%);
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.download-panel,
.feature-card,
.news-card,
.step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.download-panel {
  padding: clamp(24px, 4vw, 44px);
}

.panel-icon,
.feature-card > svg {
  color: var(--gold);
}

.panel-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border: 1px solid rgba(245, 170, 59, 0.36);
  border-radius: 8px;
  background: rgba(255, 122, 26, 0.12);
}

.download-panel h3,
.feature-card h3,
.news-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.download-panel p,
.feature-card p,
.news-card p,
.step p {
  color: var(--muted);
}

.download-panel .button {
  margin-top: 14px;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 20px;
}

.step span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  color: #061627;
  background: linear-gradient(180deg, #79c0ff, #2e9dff);
  font-weight: 900;
}

.step p {
  margin-bottom: 0;
}

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

.feature-card,
.news-card {
  padding: 24px;
}

.feature-card > svg {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
}

.section-news {
  background:
    radial-gradient(circle at 18% 20%, rgba(163, 32, 24, 0.24), transparent 28rem),
    #090b10;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.news-card time {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #06070a;
}

.site-footer > span {
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

@media (max-width: 880px) {
  .site-header {
    min-height: auto;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 700px;
    padding-top: 146px;
  }

  .status-band,
  .download-layout,
  .feature-grid,
  .news-list {
    grid-template-columns: 1fr;
  }

  .status-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 14px;
    padding-inline: 16px;
  }

  .header-actions .button {
    display: none;
  }

  .icon-link {
    width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .hero {
    min-height: 650px;
    padding: 154px 20px 90px;
  }

  .hero-content,
  .hero-actions,
  .hero-copy {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  h1 {
    font-size: clamp(40px, 12vw, 48px);
  }

  .hero-copy {
    font-size: 18px;
    width: min(310px, calc(100vw - 40px));
    max-width: min(310px, calc(100vw - 40px));
    overflow-wrap: break-word;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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