:root {
  color-scheme: light;
  --ink: #18211f;
  --muted: #5c6d68;
  --paper: #f4f0e8;
  --panel: #fffdf7;
  --line: rgba(24, 33, 31, 0.14);
  --accent: #d9f35f;
  --accent-strong: #eb6547;
  --shadow: 0 28px 80px rgba(24, 33, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 24px clamp(20px, 4vw, 56px) 36px;
}

.page-shell::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(24, 33, 31, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(24, 33, 31, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

.page-shell::after {
  position: absolute;
  right: -120px;
  top: 104px;
  z-index: -1;
  width: 420px;
  height: 420px;
  content: "";
  background: var(--accent);
  border-radius: 8px;
  transform: rotate(16deg);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ghost-button,
.primary-button,
.screen-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 950;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.ghost-button {
  padding: 0 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(24, 33, 31, 0.08);
  font-size: 14px;
}

.ghost-button:hover,
.primary-button:hover,
.screen-button:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  max-width: 1180px;
  min-height: calc(100vh - 126px);
  margin: 0 auto;
  padding: 56px 0 28px;
}

.hero-copy {
  max-width: 750px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 12px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 8vw, 88px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.94;
}

.lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 760;
  line-height: 1.78;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.primary-button {
  min-height: 58px;
  padding: 0 28px;
  color: white;
  background: var(--ink);
  box-shadow: 0 18px 46px rgba(24, 33, 31, 0.24);
  font-size: 16px;
}

.primary-button:hover {
  background: #0f1614;
}

.file-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  word-break: break-word;
}

.download-panel {
  position: relative;
  width: 100%;
}

.download-panel::before,
.download-panel::after {
  position: absolute;
  content: "";
  border-radius: 8px;
}

.download-panel::before {
  left: -24px;
  top: 46px;
  width: 110px;
  height: 110px;
  background: var(--accent-strong);
  transform: rotate(-10deg);
}

.download-panel::after {
  right: -18px;
  bottom: 38px;
  width: 84px;
  height: 84px;
  background: var(--accent);
  transform: rotate(13deg);
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  margin-left: auto;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.phone-header {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
}

.phone-header span {
  width: 10px;
  height: 10px;
  background: rgba(24, 33, 31, 0.18);
  border-radius: 999px;
}

.phone-screen {
  min-height: 460px;
  padding: 26px;
  color: white;
  background:
    linear-gradient(145deg, rgba(217, 243, 95, 0.18), transparent 38%),
    #18211f;
  border-radius: 8px;
}

.status {
  display: inline-flex;
  margin-bottom: 96px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 950;
}

.phone-screen h2 {
  max-width: 230px;
  margin-bottom: 10px;
  font-size: 42px;
  font-weight: 950;
  line-height: 0.98;
}

.apk-name {
  min-height: 48px;
  margin-bottom: 78px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.55;
  word-break: break-word;
}

.screen-button {
  width: 100%;
  min-height: 54px;
  color: var(--ink);
  background: var(--accent);
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.steps article {
  min-height: 156px;
  padding: 20px;
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(24, 33, 31, 0.08);
}

.steps span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 950;
}

.steps h2 {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 950;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 780;
  line-height: 1.65;
}

@media (max-width: 820px) {
  .page-shell {
    padding: 18px 16px 26px;
  }

  .page-shell::after {
    right: -200px;
    top: 180px;
  }

  .topbar {
    align-items: flex-start;
  }

  .ghost-button {
    min-width: 92px;
    padding: 0 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 52px 0 24px;
  }

  .phone-frame {
    margin-right: auto;
  }

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

@media (max-width: 480px) {
  .brand strong {
    max-width: 138px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .actions {
    align-items: stretch;
  }

  .primary-button {
    width: 100%;
  }

  .phone-screen {
    min-height: 390px;
  }

  .status {
    margin-bottom: 62px;
  }

  .apk-name {
    margin-bottom: 54px;
  }
}
