:root {
  --green-950: #102719;
  --green-900: #173821;
  --green-800: #20502f;
  --green-700: #2c6b3c;
  --green-600: #3d8b4d;
  --green-200: #d8efbd;
  --mint-50: #f7fbf2;
  --ink: #132018;
  --muted: #5e6f63;
  --line: #d8e6d3;
  --paper: #ffffff;
  --shadow: 0 24px 70px rgba(16, 39, 25, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mint-50);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 12px clamp(20px, 4vw, 64px);
  background: rgba(247, 251, 242, 0.92);
  border-bottom: 1px solid rgba(216, 230, 211, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(52px, 8vw, 108px) clamp(20px, 6vw, 96px);
  background:
    linear-gradient(90deg, rgba(247, 251, 242, 0.98) 0%, rgba(247, 251, 242, 0.9) 55%, rgba(247, 251, 242, 0.5) 100%),
    image-set(url("assets/print-ideas-preview.png") 1x);
  background-repeat: no-repeat;
  background-position: right 8% center;
  background-size: min(42vw, 560px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(16, 39, 25, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 39, 25, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(40px, 6.6vw, 82px);
  line-height: 0.98;
  font-weight: 950;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  font-weight: 950;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-lead {
  max-width: 640px;
  margin: 26px 0 0;
  color: #314637;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-text {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.download-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-top: 34px;
  padding: 10px;
  border: 1px solid var(--green-200);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.store-link,
.chat-link,
.soon-link {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.store-link {
  background: #0077ff;
  color: #fff;
}

.store-link:hover {
  background: #0065d9;
}

.chat-link {
  border: 1px solid #ccecff;
  background: #eff9ff;
  color: #168ac8;
}

.soon-link {
  background: #f3f6fb;
  color: #586271;
}

.brand-icon {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 8px;
  font-weight: 950;
}

.rustore-icon {
  background: #fff;
  color: #0077ff;
  padding: 0 9px;
  font-size: 13px;
}

.telegram-icon {
  background: #27a7e7;
  color: #fff;
}

.google-icon {
  background: #fff;
}

.brand-icon svg {
  width: 17px;
  height: 17px;
}

.google-play-logo {
  width: 23px;
  height: 23px;
  display: block;
}

.hero-character {
  position: absolute;
  right: min(3vw, 42px);
  bottom: -64px;
  width: min(28vw, 390px);
  min-width: 230px;
  z-index: 1;
  filter: drop-shadow(0 28px 38px rgba(16, 39, 25, 0.2));
}

.section {
  padding: clamp(68px, 8vw, 112px) clamp(20px, 5vw, 72px);
  background: var(--paper);
}

.section-light {
  background: var(--mint-50);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
}

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

.feature-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mint-50);
}

.feature-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  color: var(--green-700);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.roadmap {
  display: grid;
  grid-template-columns: minmax(210px, 330px) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
}

.roadmap-character {
  width: min(330px, 100%);
  justify-self: center;
  filter: drop-shadow(0 24px 36px rgba(16, 39, 25, 0.16));
}

.roadmap-copy {
  max-width: 760px;
}

.roadmap-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.roadmap-list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.roadmap-list svg {
  width: 32px;
  height: 32px;
  color: var(--green-700);
}

.roadmap-list p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 22px clamp(20px, 4vw, 64px);
  background: var(--green-950);
  color: #dbe9d7;
  font-size: 14px;
}

.footer a {
  color: #d8efbd;
  font-weight: 800;
}

.policy-page {
  padding: clamp(42px, 7vw, 84px) clamp(20px, 5vw, 72px);
}

.policy-card {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.policy-card h1 {
  margin-bottom: 24px;
  font-size: clamp(38px, 6vw, 64px);
}

.policy-card h2 {
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: clamp(22px, 3vw, 30px);
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  font-size: 17px;
}

.policy-card a {
  color: var(--green-700);
  font-weight: 800;
}

.policy-card ul {
  padding-left: 22px;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    background-size: 76vw;
    background-position: right -22vw bottom 20px;
  }

  .hero-character {
    opacity: 0.24;
    right: -70px;
    bottom: 24px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .topbar {
    min-height: 64px;
  }

  .hero {
    padding-top: 44px;
    padding-bottom: 250px;
    background-size: 520px;
    background-position: center bottom 40px;
  }

  .hero::before {
    mask-image: linear-gradient(#000, transparent 70%);
  }

  .hero-character {
    width: 250px;
    min-width: 0;
    right: -42px;
    bottom: 44px;
    opacity: 0.7;
  }

  .download-row {
    width: 100%;
  }

  .store-link,
  .chat-link,
  .soon-link {
    width: 100%;
    justify-content: center;
  }

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

  .feature-card {
    min-height: 0;
  }

  .roadmap-character {
    width: 230px;
  }

  .roadmap-list article {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 20px;
  }

  .footer {
    display: grid;
  }
}
