:root {
  --bg: #151515;
  --bg-2: #1f1f1f;
  --bg-3: #2b2a29;
  --text: #f2eee8;
  --muted: #aaa39a;
  --line: #34302d;
  --accent: #7f6a54;
  --accent-2: #e7ddce;
  --warm: #b79c7e;
  --danger: #5c342f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(127, 106, 84, 0.08), transparent 520px),
    var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  background: rgba(21, 21, 21, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.top-nav,
.hero-actions,
.strip,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-2);
}

.top-nav {
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.top-nav a:hover,
.header-link:hover,
.site-footer a:hover {
  color: var(--accent-2);
}

.header-link {
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  gap: 56px;
  align-items: center;
  width: min(var(--max), calc(100% - 32px));
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  padding: 54px 0 72px;
}

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

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.lead {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  background: var(--accent);
  color: var(--accent-2);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.button.primary:hover {
  background: #8b745c;
}

.button.muted {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}

.small-note {
  max-width: 540px;
  color: #8e877f;
  font-size: 14px;
  line-height: 1.55;
}

.phone-stage {
  position: relative;
  min-height: 650px;
}

.phone {
  position: absolute;
  width: min(330px, 72vw);
  border-radius: 26px;
  border: 1px solid rgba(231, 221, 206, 0.16);
  background: var(--bg-2);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.phone-main {
  right: 0;
  top: 8px;
  z-index: 2;
}

.phone-side {
  left: 0;
  bottom: 0;
  width: min(275px, 58vw);
  opacity: 0.9;
}

.strip {
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strip div {
  display: grid;
  gap: 4px;
}

.strip strong {
  color: var(--accent-2);
  font-size: 18px;
}

.strip span {
  color: var(--muted);
  font-size: 14px;
}

.section,
.screens-section,
.trust-section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 30px;
}

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

.feature-grid article {
  min-height: 168px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-2);
}

.feature-grid p,
.screens-copy p,
.steps p,
.trust-list p,
.site-footer span {
  color: var(--muted);
  line-height: 1.55;
}

.screens-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 42px;
  align-items: center;
}

.screens-copy {
  max-width: 420px;
}

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

.screens img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(231, 221, 206, 0.12);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.25);
}

.install-section {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 36px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-2);
}

.steps span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-2);
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 4px;
}

.steps p {
  margin-bottom: 0;
}

.install-button {
  grid-column: 2;
  justify-self: start;
}

.trust-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 52px;
  border-top: 1px solid var(--line);
}

.trust-list {
  display: grid;
  gap: 14px;
}

.trust-list p {
  margin: 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
}

.site-footer {
  justify-content: space-between;
  gap: 22px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: grid;
  gap: 5px;
}

.site-footer a {
  color: var(--accent-2);
  font-weight: 700;
}

@media (max-width: 920px) {
  .top-nav {
    display: none;
  }

  .hero,
  .screens-section,
  .install-section,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .phone-stage {
    min-height: 590px;
  }

  .phone-main {
    right: 8%;
  }

  .phone-side {
    left: 7%;
  }

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

  .install-button {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 24px, var(--max));
  }

  .header-link {
    display: none;
  }

  .hero,
  .strip,
  .section,
  .screens-section,
  .trust-section,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    gap: 26px;
    padding-bottom: 48px;
  }

  .lead {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .phone-stage {
    min-height: 430px;
    overflow: hidden;
  }

  .phone {
    border-radius: 20px;
  }

  .phone-main {
    right: 0;
    width: 70%;
  }

  .phone-side {
    left: 0;
    width: 56%;
  }

  .strip {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .screens img:nth-child(n + 3) {
    display: none;
  }

  .section,
  .screens-section,
  .trust-section {
    padding: 54px 0;
  }

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