:root {
  --bg: #f6f3ec;
  --surface: #fffaf0;
  --ink: #171410;
  --muted: #6f6659;
  --line: #ded5c7;
  --soft: #ebe2d4;
  --accent: #e85f2a;
  --accent-dark: #9f3416;
  --green: #244d3d;
  --shadow: 0 18px 45px rgba(23, 20, 16, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body {
  margin: 0;
  min-width: 320px;
}

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

a:hover {
  color: var(--accent-dark);
}

.site-header {
  background: rgba(246, 243, 236, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner,
.section-inner,
.footer-inner {
  margin: 0 auto;
  max-width: 1120px;
  padding-left: 24px;
  padding-right: 24px;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  min-height: 74px;
}

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

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: #fffaf0;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.brand-name {
  font-size: 1rem;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 9px 12px;
}

.nav a.nav-current {
  background: var(--ink);
  color: #fffaf0;
}

.hero {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero .section-inner {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  min-height: 620px;
  padding-bottom: 72px;
  padding-top: 82px;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.65rem, 6vw, 4.75rem);
  line-height: 0.98;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.04rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.lead {
  color: #3d372f;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  max-width: 720px;
}

.copy {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 760px;
}

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

.button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
}

.button.primary {
  background: var(--ink);
  color: #fffaf0;
}

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

.button:hover {
  border-color: var(--accent-dark);
}

.visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 360px;
  position: relative;
}

.phone-stack {
  height: 400px;
  position: relative;
  width: min(100%, 360px);
}

.phone {
  background: linear-gradient(145deg, #15120f, #3b352e);
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 30px;
  box-shadow: var(--shadow);
  height: 330px;
  position: absolute;
  width: 178px;
}

.phone::before {
  background: rgba(255, 250, 240, 0.72);
  border-radius: 999px;
  content: "";
  height: 6px;
  left: 50%;
  position: absolute;
  top: 18px;
  transform: translateX(-50%);
  width: 54px;
}

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

.phone.two {
  background: linear-gradient(145deg, #fffaf0, #d9d0c2);
  left: 122px;
  top: 18px;
  transform: rotate(8deg);
}

.phone.three {
  background: linear-gradient(145deg, #244d3d, #101f1a);
  left: 78px;
  top: 88px;
  transform: rotate(0deg);
}

.signal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 12px;
  box-shadow: var(--shadow);
  max-width: 245px;
  padding: 18px;
  position: absolute;
  right: 0;
}

.signal-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.signal-card span {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
}

.section {
  padding: 72px 0;
}

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

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.card p:last-child {
  margin-bottom: 0;
}

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

.list li {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}

.list li::before {
  background: var(--accent);
  border-radius: 999px;
  content: "";
  flex: 0 0 auto;
  height: 8px;
  margin-top: 8px;
  width: 8px;
}

.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 58px;
}

.page-hero h1 {
  max-width: 850px;
}

.text-block {
  max-width: 840px;
}

.legal-list {
  color: var(--muted);
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.legal-list li {
  margin-bottom: 8px;
}

.contact-link {
  color: var(--accent-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  background: var(--ink);
  color: #fffaf0;
  padding: 48px 0;
}

.footer-inner {
  display: grid;
  gap: 30px;
  grid-template-columns: 1.1fr 1fr 1fr;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-copy {
  color: #d7ccbd;
  margin-bottom: 0;
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a,
.social-links a {
  color: #f2e8d8;
  font-size: 0.94rem;
}

.status-line {
  border-top: 1px solid rgba(255, 250, 240, 0.18);
  color: #d7ccbd;
  font-size: 0.9rem;
  margin-top: 28px;
  padding-top: 22px;
}

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 16px;
    padding-top: 16px;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero .section-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 54px;
    padding-top: 58px;
  }

  .visual {
    min-height: 310px;
  }

  .phone-stack {
    height: 320px;
    width: 300px;
  }

  .phone {
    height: 270px;
    width: 146px;
  }

  .phone.one {
    left: 10px;
  }

  .phone.two {
    left: 112px;
  }

  .phone.three {
    left: 62px;
    top: 76px;
  }

  .signal-card {
    bottom: 0;
    left: 48px;
    right: auto;
  }

  .grid.three,
  .grid.two,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .section-inner,
  .footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-mark {
    height: 34px;
    width: 34px;
  }

  .nav a {
    padding: 8px 9px;
  }

  .button {
    width: 100%;
  }

  .page-hero {
    padding: 54px 0 42px;
  }
}
