:root {
  color-scheme: dark;
  --bg: #080a0f;
  --panel: #111722;
  --panel-2: #151d2a;
  --text: #f5f8fb;
  --muted: #aab6c7;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #44b78b;
  --accent-2: #78d9b4;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(68, 183, 139, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(80, 118, 205, 0.16), transparent 26rem),
    linear-gradient(180deg, #090d14 0%, #080a0f 58%, #0b0f16 100%);
  color: var(--text);
  font-family: Nunito, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  gap: 20px;
}

.site-header {
  padding: 24px 0;
}

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

.brand {
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(68, 183, 139, 0.28);
}

nav a,
footer a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
footer a:hover {
  color: var(--text);
}

main {
  overflow: hidden;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  min-height: calc(100vh - 92px);
  gap: 54px;
  padding: 24px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.34rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 16px;
}

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

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: #06110d;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
}

.note {
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.phone {
  position: absolute;
  width: min(285px, 50vw);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.phone-a {
  top: 16px;
  left: 0;
  transform: rotate(-5deg);
}

.phone-b {
  right: 0;
  bottom: 12px;
  transform: rotate(5deg);
}

.section {
  padding: 82px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

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

.feature-grid article,
.feedback,
.feedback-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 23, 34, 0.78);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.22);
}

.feature-grid article {
  padding: 22px;
}

.feature-grid p,
.feedback p,
.feedback-card,
footer {
  color: var(--muted);
}

.screenshot-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.screenshot-row img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.feedback {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
  margin-bottom: 72px;
}

.feedback-page {
  width: min(780px, calc(100% - 32px));
  min-height: calc(100vh - 156px);
  margin: 0 auto;
  padding: 72px 0;
}

.feedback-card {
  margin: 32px 0 18px;
  padding: 26px;
}

.feedback-card li + li {
  margin-top: 8px;
}

footer {
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 40px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .phone {
    width: min(240px, 58vw);
  }

  .feature-grid,
  .screenshot-row,
  .feedback {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  nav {
    flex-wrap: wrap;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-visual {
    min-height: 370px;
  }

  .phone {
    width: 190px;
    border-radius: 22px;
  }
}
