:root {
  --ink: #1e2026;
  --soft-ink: #686b73;
  --line: rgba(30, 32, 38, 0.14);
  --paper: #f4f0e9;
  --paper-deep: #e9e3da;
  --orange: #f48a35;
  --orange-dark: #bd5d21;
  --violet: #5550ad;
  --dark: #0d0e12;
  --max-width: 1400px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #c5cdd1;
  color: var(--ink);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-shell {
  display: flex;
  width: 100%;
  max-width: var(--max-width);
  min-height: 100vh;
  margin: 0 auto;
  padding: 16px;
  gap: 16px;
}

.hero-card,
.visual-panel {
  min-height: calc(100vh - 32px);
  border-radius: 18px;
}

.hero-card {
  display: flex;
  flex: 0 0 42%;
  flex-direction: column;
  padding: 28px 30px 24px;
  background: var(--paper);
  overflow: hidden;
}

.hero-header,
.hero-footer,
.visual-topline,
.visual-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
}

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

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--soft-ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #58bb87;
  box-shadow: 0 0 0 4px rgba(88, 187, 135, 0.14);
}

.hero-copy {
  max-width: 420px;
  margin: auto 0 42px;
}

.eyebrow,
.download-label,
.visual-kicker {
  margin: 0 0 20px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: -0.075em;
}

h1 {
  max-width: 460px;
  margin-bottom: 26px;
  font-size: clamp(3.55rem, 6.3vw, 5.8rem);
  line-height: 0.93;
}

h1 em {
  color: var(--orange-dark);
  font-style: normal;
}

.hero-description {
  max-width: 380px;
  margin-bottom: 0;
  color: var(--soft-ink);
  font-size: 15px;
  line-height: 1.55;
}

.download-block {
  margin-bottom: 34px;
}

.download-label {
  margin-bottom: 4px;
  color: var(--soft-ink);
  font-size: 10px;
}

.download-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--line);
  transition: padding 180ms var(--ease), color 180ms ease;
}

.download-link:last-child {
  border-bottom: 0;
}

.download-link:hover {
  padding-right: 5px;
  color: var(--orange-dark);
}

.download-icon {
  position: relative;
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 700;
}

.icon-phone::before {
  width: 10px;
  height: 16px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  content: "";
}

.icon-phone::after {
  position: absolute;
  bottom: 8px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.icon-browser::before {
  width: 14px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  content: "";
}

.icon-browser::after {
  position: absolute;
  top: 9px;
  width: 14px;
  border-top: 1.5px solid currentColor;
  content: "";
}

.download-info {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.download-info strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.download-info small {
  overflow: hidden;
  color: var(--soft-ink);
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-action {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  color: var(--soft-ink);
  font-size: 11px;
}

.download-action b {
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  transition: transform 180ms var(--ease);
}

.download-link:hover .download-action b {
  transform: translate(2px, -2px);
}

.hero-footer {
  align-items: flex-end;
  gap: 18px;
  color: var(--soft-ink);
  font-size: 10px;
  line-height: 1.4;
}

.hero-footer p,
.hero-footer small {
  margin: 0;
  white-space: nowrap;
}

.hero-footer nav {
  display: flex;
  gap: 16px;
  margin-left: auto;
}

.hero-footer nav a {
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.hero-footer nav a:hover {
  border-color: currentColor;
  color: var(--ink);
}

.visual-panel {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 70% 21%, rgba(255, 199, 112, 0.7), transparent 28%),
    radial-gradient(circle at 13% 78%, rgba(79, 73, 177, 0.92), transparent 34%),
    linear-gradient(137deg, #ed8b45 0%, #d06e4f 38%, #6358ae 100%);
}

.visual-panel::before,
.visual-panel::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.visual-panel::before {
  top: -310px;
  right: -250px;
  width: 740px;
  height: 740px;
}

.visual-panel::after {
  bottom: -330px;
  left: -275px;
  width: 700px;
  height: 700px;
}

.visual-topline,
.visual-footer {
  position: absolute;
  right: 34px;
  left: 34px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.visual-topline {
  top: 29px;
}

.arrow-circle {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
}

.visual-copy {
  position: absolute;
  top: 14%;
  left: 10%;
  z-index: 2;
}

.visual-kicker {
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  line-height: 0.93;
}

.app-stage {
  position: absolute;
  inset: 19% 1% 7% 8%;
  z-index: 1;
}

.stage-glow {
  position: absolute;
  top: 39%;
  left: 50%;
  width: 62%;
  height: 42%;
  border-radius: 50%;
  background: rgba(18, 17, 38, 0.28);
  filter: blur(36px);
  transform: translate(-50%, -50%);
}

.device {
  position: absolute;
  overflow: hidden;
  border: 5px solid #1a1b22;
  background: #0d0e12;
  box-shadow: 0 36px 55px rgba(23, 20, 29, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-tablet {
  top: 15%;
  left: 2%;
  width: min(73%, 610px);
  aspect-ratio: 1.2;
  border-radius: 21px;
  transform: rotate(-7deg);
}

.device-phone {
  right: 5%;
  bottom: 1%;
  width: min(31%, 250px);
  aspect-ratio: 0.516;
  border-width: 6px;
  border-radius: 28px;
  transform: rotate(8deg);
}

.stage-note {
  position: absolute;
  right: 2%;
  bottom: 9%;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  line-height: 1.4;
  transform: rotate(-4deg);
}

.stage-note strong {
  color: #fff;
  font-weight: 600;
}

.note-dot {
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: #ffd18a;
  box-shadow: 0 0 0 5px rgba(255, 209, 138, 0.18);
}

.visual-footer {
  bottom: 27px;
}

.visual-count {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
}

.visual-count i {
  display: block;
  width: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
}

@media (max-width: 980px) {
  .site-shell {
    padding: 10px;
    gap: 10px;
  }

  .hero-card,
  .visual-panel {
    min-height: calc(100vh - 20px);
  }

  .hero-card {
    flex-basis: 45%;
    padding: 24px 22px 20px;
  }

  .hero-footer p {
    display: none;
  }

  .download-action {
    font-size: 0;
  }

  .download-action b {
    font-size: 16px;
  }

  .visual-copy {
    left: 8%;
  }

  h2 {
    font-size: clamp(2.7rem, 5vw, 4.3rem);
  }

  .app-stage {
    left: 0;
  }

  .device-tablet {
    left: -8%;
    width: 82%;
  }

  .device-phone {
    right: 1%;
    width: 34%;
  }
}

@media (max-width: 700px) {
  body {
    background: var(--paper);
  }

  .site-shell {
    display: block;
    padding: 0;
  }

  .hero-card,
  .visual-panel {
    min-height: 100svh;
    border-radius: 0;
  }

  .hero-card {
    padding: 24px 22px 20px;
  }

  .hero-copy {
    margin-top: 120px;
    margin-bottom: 42px;
  }

  h1 {
    font-size: clamp(3.4rem, 16vw, 5.4rem);
  }

  .hero-description {
    max-width: 340px;
  }

  .download-block {
    margin-bottom: 42px;
  }

  .download-action {
    display: none;
  }

  .hero-footer small {
    margin-left: auto;
  }

  .visual-panel {
    min-height: 720px;
  }

  .visual-topline,
  .visual-footer {
    right: 22px;
    left: 22px;
  }

  .visual-copy {
    top: 14%;
    left: 22px;
  }

  h2 {
    font-size: clamp(3.4rem, 15vw, 5.2rem);
  }

  .app-stage {
    inset: 25% -7% 8% -4%;
  }

  .device-tablet {
    top: 15%;
    left: -12%;
    width: 98%;
  }

  .device-phone {
    right: 5%;
    bottom: 3%;
    width: 39%;
  }

  .stage-note {
    right: 0;
    bottom: 11%;
  }

  .visual-footer {
    bottom: 20px;
  }

  .visual-footer > span:first-child {
    max-width: 170px;
    line-height: 1.3;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
