:root {
  --green: #1e5c38;
  --green-mid: #2a7348;
  --green-deep: #0f2a1a;
  --orange: #f05a22;
  --orange-deep: #d44712;
  --ink: #0f2a1a;
  --muted: #5a7264;
  --paper: #f7fbf8;
  --line: rgba(15, 42, 26, 0.12);
  --shadow: 0 18px 48px rgba(15, 42, 26, 0.1);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(240, 90, 34, 0.12), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(30, 92, 56, 0.14), transparent 50%),
    linear-gradient(180deg, #eef6f1 0%, var(--paper) 38%, #f3f8f5 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(247, 251, 248, 0.82);
  border-bottom: 1px solid var(--line);
}

.top__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark img {
  width: 34px;
  height: auto;
}

.top__nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.top__nav a {
  text-decoration: none;
}

.top__nav a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      115deg,
      rgba(15, 42, 26, 0.94) 0%,
      rgba(30, 92, 56, 0.9) 48%,
      rgba(42, 115, 72, 0.78) 100%
    ),
    radial-gradient(circle at 72% 38%, rgba(240, 90, 34, 0.3), transparent 42%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.03) 18px,
      rgba(255, 255, 255, 0.03) 19px
    );
}

.hero__grid {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0 3.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.hero__copy {
  max-width: 36rem;
}

.hero__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 227, 214, 0.85);
}

.hero__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #f5fff8;
  animation: rise 0.9s ease both;
}

.hero__lead {
  margin: 1.15rem 0 0;
  max-width: 32rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(245, 255, 248, 0.88);
  animation: rise 0.9s ease 0.12s both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: rise 0.9s ease 0.22s both;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__logo {
  width: min(100%, 380px);
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.28));
  animation: float-in 1.1s ease both, float 7s ease-in-out 1.1s infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--orange);
  color: #fff;
}

.btn--primary:hover {
  background: var(--orange-deep);
}

.btn--ghost {
  background: transparent;
  color: #f5fff8;
  border-color: rgba(245, 255, 248, 0.35);
}

.btn--ghost:hover {
  background: rgba(245, 255, 248, 0.08);
  border-color: rgba(245, 255, 248, 0.55);
}

.btn--block {
  width: 100%;
}

.btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.section--soft {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(30, 92, 56, 0.05) 12%,
    rgba(30, 92, 56, 0.05) 88%,
    transparent
  );
}

.section--soft .section__head,
.section--soft .news {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--green-deep);
}

.section__head p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.app {
  padding: 1.6rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.app.is-visible {
  opacity: 1;
  transform: none;
}

.app__platform {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.app__name {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.15;
}

.app__desc {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.app__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--green-deep);
  font-weight: 600;
}

.app__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.skeleton {
  color: var(--muted);
  font-weight: 500;
}

.news {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news__item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.news__item.is-visible {
  opacity: 1;
  transform: none;
}

.news__item:last-child {
  border-bottom: 1px solid var(--line);
}

.news__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
}

.news__version {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.news__plat {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.news__date {
  margin-left: auto;
  font-size: 0.88rem;
  color: var(--muted);
}

.news__notes {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.news__list {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  color: var(--ink);
}

.news__list li + li {
  margin-top: 0.3rem;
}

.news__loading,
.news__empty {
  margin: 0;
  color: var(--muted);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 4rem;
  border-left: 3px solid var(--green);
  background: rgba(255, 255, 255, 0.55);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.steps strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.steps em {
  font-style: normal;
  font-weight: 700;
  color: var(--green);
}

.foot {
  border-top: 1px solid var(--line);
  background: var(--green-deep);
  color: rgba(245, 255, 248, 0.88);
  margin-top: 2rem;
}

.foot__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
  display: grid;
  gap: 1rem;
}

.foot strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #f5fff8;
}

.foot p {
  margin: 0.35rem 0 0;
  color: rgba(245, 255, 248, 0.7);
  font-size: 0.95rem;
}

.foot__note {
  max-width: 36rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 860px) {
  .hero__grid {
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }

  .hero {
    min-height: auto;
  }

  .hero__visual {
    order: -1;
  }

  .hero__logo {
    width: min(58%, 240px);
  }

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

  .top__nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
  }
}
