:root {
  color-scheme: dark light;
  --bg: #081311;
  --panel: #10201d;
  --panel-2: #142a26;
  --text: #f8f5ee;
  --muted: #b8c5c0;
  --line: rgba(248, 245, 238, 0.14);
  --accent: #f6c85f;
  --accent-2: #ff6f61;
  --teal: #0d746b;
  --shadow: rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(13, 116, 107, 0.22), transparent 420px),
    var(--bg);
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--accent);
  color: #17211e;
  border-radius: 8px;
}

.skip:focus {
  top: 16px;
}

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

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 19, 17, 0.86);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.topbar__inner,
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.brand,
.nav,
.footer__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand,
.nav__link,
.footer__link,
.inline {
  text-decoration: none;
}

.brand__mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--teal);
  box-shadow: inset 0 0 0 3px var(--accent);
}

.brand__text,
.footer__brand {
  color: var(--muted);
}

.nav__link,
.footer__link,
.inline {
  color: var(--accent);
}

.section {
  padding: 46px 0;
}

.hero {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(20, 42, 38, 0.96), rgba(11, 25, 22, 0.96));
  box-shadow: 0 22px 60px var(--shadow);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.appicon {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  box-shadow: 0 16px 34px var(--shadow);
  margin-bottom: 18px;
}

.kicker {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.h1 {
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
  margin: 0 0 18px;
}

.section__head {
  max-width: 760px;
  margin-bottom: 20px;
}

.section__title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.08;
  margin: 0 0 10px;
}

.section__desc,
.card__text,
.panel__value {
  color: var(--muted);
}

.card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
}

.btn--primary {
  background: var(--accent);
  color: #17211e;
}

.btn--ghost {
  color: var(--text);
  background: rgba(248, 245, 238, 0.05);
}

.window,
.card,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 32, 29, 0.9);
  overflow: hidden;
}

.window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 245, 238, 0.04);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
}

.dot:nth-child(2) {
  background: var(--accent);
}

.dot:nth-child(3) {
  background: var(--teal);
}

.window__title {
  margin-left: 6px;
  color: var(--muted);
  font-weight: 700;
}

.window__body {
  padding: 18px;
}

.badge {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(248, 245, 238, 0.06);
  border: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.card {
  position: relative;
  min-height: 230px;
  padding: 18px;
}

.card__icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
}

.orb {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--accent);
}

.orb--alt {
  border-color: var(--accent-2);
}

.card__title {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.card__glow {
  position: absolute;
  inset: auto 16px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.panel__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.panel__row:first-child {
  border-top: 0;
}

.panel__label {
  font-weight: 800;
  color: var(--text);
}

.footer {
  border-top: 1px solid var(--line);
}

@media (max-width: 840px) {
  .hero__grid,
  .cards,
  .panel__row {
    grid-template-columns: 1fr;
  }

  .topbar__inner,
  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav {
    flex-wrap: wrap;
  }
}
