:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5f6b7a;
  --line: #d9e0e8;
  --surface: #f7f9fb;
  --brand: #176b87;
  --accent: #f2b84b;
  --deep: #101820;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-weight: 750;
  font-size: 1.05rem;
}

nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(28px, 7vw, 96px);
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: clamp(36px, 6vw, 72px);
  background:
    linear-gradient(120deg, rgba(23, 107, 135, 0.08), transparent 42%),
    linear-gradient(315deg, rgba(242, 184, 75, 0.16), transparent 42%),
    var(--surface);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-weight: 700;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.95;
}

h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
}

.phone-preview {
  width: min(100%, 360px);
  aspect-ratio: 9 / 18;
  justify-self: center;
  padding: 18px;
  border-radius: 36px;
  background: var(--deep);
  box-shadow: 0 28px 80px rgba(16, 24, 32, 0.25);
}

.phone-top {
  width: 30%;
  height: 6px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #2e3a44;
}

.viewfinder {
  position: relative;
  height: 70%;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(25deg, #45545e, #9aa28d 48%, #d0a963);
}

.qr-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  width: 72px;
  padding: 9px;
  border-radius: 10px;
  background: #ffffff;
}

.qr-card span {
  aspect-ratio: 1;
  background: var(--deep);
}

.camera-controls {
  display: grid;
  place-items: center;
  height: calc(30% - 22px);
}

.shutter {
  width: 70px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffffff;
  border: 6px solid #cbd3dc;
  outline: 4px solid #ffffff;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.content-grid article {
  min-height: 220px;
  padding: clamp(24px, 4vw, 42px);
  background: #ffffff;
}

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

.document {
  max-width: 840px;
  min-height: calc(100vh - 166px);
  padding: clamp(32px, 6vw, 72px) 20px;
  margin: 0 auto;
}

.document h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.document h2 {
  margin-top: 28px;
}

.updated {
  color: var(--brand);
  font-weight: 650;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer p {
  margin: 0;
}

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .phone-preview {
    max-width: 280px;
  }
}
