:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5a6675;
  --line: #d9e1e8;
  --paper: #f7f9fb;
  --white: #ffffff;
  --teal: #0e7c78;
  --teal-dark: #075e5b;
  --coral: #c95f45;
  --gold: #bd8d2c;
  --navy: #20364a;
  --shadow: 0 18px 50px rgba(23, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 225, 232, 0.9);
  background: rgba(247, 249, 251, 0.93);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--teal-dark);
}

.section {
  border-bottom: 1px solid var(--line);
}

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

.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  align-items: center;
  padding: 56px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 52px;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 76px);
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 11px 18px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
}

.button.secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-art {
  min-height: 520px;
  position: relative;
  display: grid;
  place-items: center;
}

.device-stack {
  width: min(440px, 100%);
  min-height: 500px;
  position: relative;
}

.phone {
  position: absolute;
  width: 210px;
  border: 10px solid var(--ink);
  border-radius: 32px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  height: auto;
}

.phone.one {
  left: 22px;
  top: 24px;
  transform: rotate(-6deg);
}

.phone.two {
  right: 16px;
  top: 96px;
  transform: rotate(5deg);
}

.icon-pair {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  gap: 14px;
  transform: translate(-50%, -50%);
}

.app-icon {
  width: 86px;
  height: 86px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 36px rgba(23, 33, 43, 0.2);
}

.band {
  padding: 76px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.app-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(23, 33, 43, 0.05);
}

.app-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
}

.app-card img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
}

.app-card p,
.info-card p,
.legal-body p,
.legal-body li {
  color: var(--muted);
}

.app-card ul,
.info-card ul,
.legal-body ul {
  padding-left: 20px;
}

.app-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

.info-card {
  padding: 24px;
}

.app-hero {
  padding: 62px 0 48px;
}

.app-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 46px;
}

.product-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.product-title img {
  width: 82px;
  height: 82px;
  border-radius: 19px;
}

.screen-frame {
  width: 260px;
  justify-self: center;
  border: 10px solid var(--ink);
  border-radius: 32px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.two-col {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
}

.quick-links {
  display: grid;
  gap: 10px;
}

.quick-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--white);
  font-weight: 800;
}

.legal {
  padding: 54px 0 82px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 10px;
}

.legal-body {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 48px);
  background: var(--white);
  overflow-wrap: anywhere;
}

.legal-body h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.legal-body h2 {
  margin-top: 34px;
  font-size: 25px;
}

.legal-body h3 {
  margin-top: 24px;
  font-size: 19px;
}

.legal-meta {
  margin: 18px 0 30px;
  color: var(--muted);
  font-weight: 700;
}

.notice {
  border-left: 4px solid var(--teal);
  margin: 28px 0;
  padding: 16px 18px;
  background: #eef7f6;
}

.footer {
  padding: 34px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 700;
}

@media (max-width: 840px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .app-hero-grid,
  .two-col,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 430px;
  }

  .device-stack {
    min-height: 420px;
  }

  .phone {
    width: 178px;
  }

  .app-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

  .legal-nav {
    position: static;
  }

  .legal-nav .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .legal-page .site-header,
  .legal-page .legal-nav {
    display: none;
  }

  .legal-page .legal {
    padding: 0;
  }

  .legal-page .wrap {
    width: 100%;
  }

  .legal-page .legal-layout {
    display: block;
  }

  .legal-page .legal-body {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    padding: 28px 22px 44px;
  }
}

@media (max-width: 560px) {
  .app-card {
    grid-template-columns: 1fr;
  }

  .actions .button {
    width: 100%;
  }

  .hero-art {
    overflow: hidden;
  }

  .phone.one {
    left: 4px;
  }

  .phone.two {
    right: 0;
  }
}
