:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-strong: #edf7f4;
  --ink: #14201e;
  --muted: #53645f;
  --line: #d9e3df;
  --brand: #087f72;
  --brand-dark: #075e58;
  --accent: #e5b94c;
  --shadow: 0 18px 50px rgba(20, 32, 30, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a {
  color: var(--brand);
}

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

.nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a,
.site-footer a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--brand);
}

.nav .nav-cta {
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  gap: 52px;
  align-items: center;
  padding: 34px 0 72px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

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

p,
li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-text {
  max-width: 660px;
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.primary:hover,
.nav .nav-cta:hover {
  background: var(--brand-dark);
  color: #fff;
}

.button.secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.trust-note {
  font-size: 14px;
}

.phone-panel {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(360px, 100%);
  border: 12px solid #17201d;
  border-radius: 34px;
  background: #17201d;
  box-shadow: var(--shadow);
}

.phone-top {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-top span {
  width: 72px;
  height: 5px;
  border-radius: 999px;
  background: #2c3a36;
}

.app-screen {
  min-height: 560px;
  border-radius: 24px;
  padding: 34px 24px;
  background: linear-gradient(180deg, #f4faf8 0%, #ffffff 52%, #eef6f3 100%);
  text-align: center;
}

.app-icon {
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(8, 127, 114, .24);
}

.app-screen h2 {
  margin: 18px 0 8px;
  font-size: 28px;
}

.app-screen p {
  font-size: 15px;
}

.status-pill {
  width: fit-content;
  margin: 18px auto 24px;
  border: 1px solid rgba(8, 127, 114, .2);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--brand-dark);
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 800;
}

.server-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  text-align: left;
}

.server-row span {
  color: var(--ink);
  font-weight: 700;
}

.server-row strong {
  color: var(--brand);
}

.connect-button {
  margin-top: 24px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  padding: 15px;
  font-weight: 900;
}

.section,
.split-section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

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

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

.feature,
.policy-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.feature p {
  margin-bottom: 0;
  font-size: 15px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: 44px;
}

.copy-block p:last-of-type {
  margin-bottom: 12px;
}

.text-link {
  font-weight: 800;
}

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.download-band strong {
  font-size: 22px;
}

.download-band p {
  margin: 6px 0 0;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 8px 0 0;
  font-size: 14px;
}

.page-shell {
  max-width: 880px;
  padding: 42px 0 72px;
}

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

.page-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.policy-card + .policy-card {
  margin-top: 16px;
}

.policy-card h2 {
  font-size: 24px;
}

.policy-card p:last-child,
.policy-card ul:last-child,
.contact-card p:last-child {
  margin-bottom: 0;
}

.legal-note {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

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

@media (max-width: 580px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    gap: 10px;
  }

  .nav a {
    font-size: 14px;
  }

  .nav .nav-cta {
    padding: 9px 12px;
  }

  .hero {
    padding-top: 12px;
  }

  .hero-actions,
  .download-band,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .app-screen {
    min-height: 500px;
  }
}
