:root {
  color-scheme: dark;
  --bg: #05070a;
  --panel: #11161d;
  --panel-2: #171d25;
  --text: #f7f9fb;
  --muted: #a8b0ba;
  --line: #28313b;
  --green: #68d5a4;
  --red: #ff5b58;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 10%, rgba(104, 213, 164, 0.16), transparent 32rem),
    linear-gradient(180deg, #0a0e13 0%, var(--bg) 45%);
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.site-header {
  padding: 28px 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.1rem;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

nav,
footer {
  font-size: 0.95rem;
}

nav {
  display: flex;
  gap: 18px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 48px 0 72px;
}

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

h1,
h2 {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.6rem, 8vw, 5.8rem);
  line-height: 0.96;
}

h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 660px;
  font-size: 1.15rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 750;
}

.button.primary {
  color: #06100b;
  background: var(--green);
}

.button.secondary {
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.hero-phone {
  justify-self: center;
  width: min(100%, 360px);
}

.hero-phone img,
.gallery img {
  width: 100%;
  display: block;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

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

.feature-grid article,
.content-card {
  background: rgba(17, 22, 29, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

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

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 88px;
}

.page {
  max-width: 880px;
  padding: 58px 0 88px;
}

.page-hero {
  margin-bottom: 28px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
}

.content-card {
  margin-top: 16px;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 10px;
}

footer {
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  justify-content: flex-start;
}

@media (max-width: 860px) {
  .hero,
  .feature-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 32px;
    min-height: auto;
  }

  .hero-phone {
    width: min(100%, 320px);
    justify-self: start;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
