:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #66615d;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #e6e0d8;
  --accent: #2454d6;
  --accent-soft: #dce6ff;
  --rose: #e9a7a0;
  --mint: #92c8ae;
  --gold: #dfbb72;
  --shadow: 0 22px 70px rgba(34, 28, 21, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: 0;
}

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

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

.nav-links a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  align-items: center;
  gap: 56px;
  padding: 52px 0 82px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 760;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.97;
  letter-spacing: 0;
}

.lead {
  max-width: 610px;
  color: #403c39;
  font-size: 21px;
  line-height: 1.45;
}

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

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

.phone-wrap {
  position: relative;
  min-height: 620px;
}

.phone {
  position: absolute;
  inset: 0 auto auto 50%;
  width: min(340px, 82vw);
  min-height: 620px;
  transform: translateX(-50%) rotate(2deg);
  border: 12px solid #191817;
  border-radius: 42px;
  background: #f8f5ee;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 92px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #191817;
  z-index: 2;
}

.screen {
  padding: 54px 18px 20px;
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 760;
}

.mini-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.pill {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
}

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(34, 28, 21, 0.06);
}

.metric strong {
  display: block;
  font-size: 42px;
  line-height: 1;
}

.bars {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.bar {
  height: 12px;
  border-radius: 999px;
  background: #ebe4db;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.photo {
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 37%, rgba(255, 255, 255, 0.76) 0 18%, transparent 19%),
    linear-gradient(160deg, #f2c8bd, #c39186);
}

.photo:nth-child(2) {
  background:
    radial-gradient(circle at 50% 37%, rgba(255, 255, 255, 0.72) 0 18%, transparent 19%),
    linear-gradient(160deg, #d9b79d, #b8877a);
}

.photo:nth-child(3) {
  background:
    radial-gradient(circle at 50% 37%, rgba(255, 255, 255, 0.76) 0 18%, transparent 19%),
    linear-gradient(160deg, #e9bea3, #a98276);
}

.sections {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.band {
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}

.band h2 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.card {
  min-height: 196px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.card p,
.legal-main p,
.legal-main li {
  color: #403c39;
}

.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0 44px;
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  color: inherit;
}

.legal-main {
  max-width: 760px;
  padding: 42px 0 76px;
}

.legal-main h1 {
  font-size: clamp(38px, 6vw, 60px);
}

.legal-main h2 {
  margin: 34px 0 8px;
  font-size: 22px;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 32px;
  }

  .phone-wrap {
    min-height: 560px;
  }

  .phone {
    min-height: 560px;
  }

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

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 14px;
  }

  .hero {
    padding-bottom: 54px;
  }

  .lead {
    font-size: 18px;
  }

  .band {
    padding: 52px 0;
  }

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