:root {
  --paper: #f7f6f0;
  --paper-deep: #ebe6da;
  --surface: #fffdfa;
  --ink: #17140f;
  --muted: #635e54;
  --quiet: #8c8578;
  --rule: #d8d0c1;
  --gold: #a6793d;
  --gold-dark: #77552b;
  --olive: #314b3b;
  --brick: #81392e;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(23, 20, 15, 0.035) 0,
      rgba(23, 20, 15, 0.035) 1px,
      transparent 1px,
      transparent 88px
    );
  pointer-events: none;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(166, 121, 61, 0.45);
  outline-offset: 3px;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid var(--rule);
  background: rgba(247, 246, 240, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 14px;
  height: 26px;
  border: 2px solid var(--gold-dark);
  border-radius: 5px;
  background: var(--surface);
  box-shadow: inset 0 -4px 0 var(--paper-deep);
}

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

.site-nav a {
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  color: var(--ink);
  border-color: var(--gold);
}

.hero {
  min-height: calc(100svh - 160px);
  padding: 52px 32px 44px;
  border-bottom: 1px solid var(--rule);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(300px, 472px) minmax(360px, 1fr);
  align-items: center;
  gap: 48px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

.price-line {
  width: max-content;
  margin: 0 0 18px;
  padding: 8px 10px;
  border-left: 3px solid var(--gold);
  background: var(--surface);
  color: var(--gold-dark);
  font-weight: 700;
}

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

h1 {
  margin-bottom: 20px;
  font-family: "Avenir Next Condensed", "Avenir Next", Avenir, sans-serif;
  font-size: 82px;
  line-height: 0.92;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-family: "Avenir Next Condensed", "Avenir Next", Avenir, sans-serif;
  font-size: 42px;
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.25;
}

.hero-intro {
  max-width: 420px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

.button-primary:hover {
  background: var(--olive);
  border-color: var(--olive);
}

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

.button-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(255, 253, 250, 0.72);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 34px 0 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.hero-facts div {
  padding: 14px 16px 14px 0;
  border-right: 1px solid var(--rule);
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts dt {
  color: var(--quiet);
  font-size: 13px;
}

.hero-facts dd {
  margin: 2px 0 0;
  font-weight: 700;
}

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

.hero-visual::before {
  position: absolute;
  right: 8%;
  bottom: 8%;
  width: 64%;
  height: 72%;
  border: 1px solid var(--rule);
  content: "";
  background:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-color: rgba(255, 253, 250, 0.52);
  background-size: 34px 34px;
}

.phone-image {
  position: relative;
  z-index: 1;
  width: min(620px, 92%);
  filter: drop-shadow(0 18px 18px rgba(23, 20, 15, 0.18));
}

.intro-strip {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}

.intro-strip p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.section {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 72px 0;
}

.split,
.handoff {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 56px;
  border-bottom: 1px solid var(--rule);
}

.split > div:first-child p,
.handoff > div:first-child p,
.section-heading p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.detail-list {
  display: grid;
  gap: 12px;
}

.detail-list article,
.use-card {
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--surface);
}

.detail-list article {
  padding: 18px 18px 16px;
}

.detail-list p,
.use-card p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 28px;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.use-card {
  min-height: 178px;
  padding: 20px;
}

.use-card:nth-child(2) {
  border-top-color: var(--gold);
}

.use-card:nth-child(3) {
  border-top-color: var(--olive);
}

.use-card:nth-child(4) {
  border-top-color: var(--brick);
}

.specs {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.spec-table {
  border-top: 1px solid var(--ink);
}

.spec-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.spec-table span {
  color: var(--muted);
}

.spec-table strong {
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.check-list li {
  padding: 17px 0 17px 34px;
  border-bottom: 1px solid var(--rule);
  background-image: linear-gradient(var(--olive), var(--olive));
  background-position: 0 25px;
  background-repeat: no-repeat;
  background-size: 16px 2px;
}

.contact {
  padding: 76px 32px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.contact h2 {
  margin-bottom: 10px;
}

.contact p {
  max-width: 680px;
  margin: 0;
  color: #d4cec2;
}

.contact .button-primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.contact .button-primary:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.contact .button-secondary {
  border-color: #d4cec2;
  color: var(--white);
}

.contact .button-secondary:hover {
  background: #2b261f;
  border-color: var(--gold);
  color: var(--white);
}

.site-footer {
  padding: 24px 32px 34px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px 24px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero {
    min-height: auto;
    padding: 30px 24px 36px;
  }

  .hero-grid,
  .split,
  .handoff,
  .section-heading,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 22px;
  }

  .hero-visual {
    order: -1;
    min-height: 330px;
  }

  .hero-visual::before {
    right: 6%;
    bottom: 4%;
    width: 72%;
    height: 68%;
  }

  .phone-image {
    width: min(420px, 94%);
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-intro {
    font-size: 18px;
  }

  .intro-strip,
  .section {
    width: min(100% - 48px, 1180px);
  }

  .section {
    padding: 54px 0;
  }

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

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 0;
    padding: 16px;
  }

  .site-nav {
    font-size: 13px;
  }

  .hero {
    padding: 18px 16px 24px;
  }

  .hero-visual {
    min-height: 238px;
  }

  .phone-image {
    width: min(288px, 93%);
  }

  h1 {
    margin-bottom: 16px;
    font-size: 48px;
  }

  h2 {
    font-size: 30px;
  }

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

  .hero-actions .button {
    min-width: 0;
    padding: 0 10px;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-actions .button {
    width: 100%;
  }

  .hero-facts div {
    padding: 12px 8px 12px 0;
  }

  .hero-facts dt,
  .hero-facts dd {
    font-size: 13px;
  }

  .intro-strip,
  .section {
    width: calc(100% - 32px);
  }

  .intro-strip p,
  .split > div:first-child p,
  .handoff > div:first-child p,
  .section-heading p,
  .contact p {
    font-size: 16px;
  }

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

  .spec-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact {
    padding: 56px 16px;
  }
}
