:root {
  --bg: #f9f8f5;
  --bg-muted: #f2ede6;
  --surface: #ffffff;
  --border: #e4ddd4;
  --ink: #1a1714;
  --ink-muted: #7b726a;
  --brand: #635745;
  --demo: #d3cab8;

  --content: 880px;
  --gutter: 280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Header ---------- */

.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 62px 0 60px;
  max-width: 1440px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-mark {
  width: 40px;
  height: 60px;
}

.brand-wordmark {
  width: 229px;
  height: 48px;
  margin-top: 8px;
}

.cta {
  background: var(--brand);
  color: #fff;
  border-radius: 100px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.cta:hover {
  background: #4f4536;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 687px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/hero.jpg") center 18% / cover no-repeat;
  filter: blur(1px);
  transform: scale(1.01); /* hide blurred edge */
}

.hero-inner {
  position: relative;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 235px 1fr;
  align-items: start;
}

.hero-phone {
  width: 235px;
  height: 480px;
  object-fit: cover;
  margin-top: 79px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 56px 48px 56px 52px;
  margin-top: 386px;
  font-weight: 800;
  color: var(--ink);
}

.hero-text:first-child {
  justify-self: start;
  margin-left: 128px;
}

.hero-text:last-child {
  justify-self: end;
  margin-right: 99px;
}

.hero-eyebrow {
  font-size: 13px;
}

.hero-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  max-width: 317px;
}

.hero-text:last-child .hero-title {
  max-width: 283px;
}

/* ---------- Sections ---------- */

.section {
  display: flex;
  flex-direction: column;
  padding: 60px var(--gutter);
}

.section > *,
.block > * {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
}

.features {
  gap: 60px;
}

.block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.96px;
  color: var(--ink-muted);
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
}

.section-lede {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* ---------- Feature cards ---------- */

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  min-height: 218px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.icon-badge {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.icon-badge--fill {
  display: grid;
  place-items: center;
  background: var(--bg-muted);
  border-radius: 10px;
}

.icon-badge--fill img {
  width: 24px;
  height: 24px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--brand);
}

.card-title--sm {
  font-size: 14px;
  line-height: 1.3;
}

.card-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ---------- Demo ---------- */

.demo {
  display: block;
  width: 100%;
  aspect-ratio: 1544 / 822;
  object-fit: cover;
  background: var(--demo);
}

/* ---------- FAQ ---------- */

.faq {
  background: var(--bg-muted);
  padding-block: 64px;
  gap: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.faq-q {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}

.faq-a {
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: calc(760px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 40px var(--gutter) 24px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.65;
}

.legal-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
}

.legal-meta {
  font-size: 13px;
  color: var(--ink-muted);
}

.legal-section {
  padding-top: 36px;
}

.legal h2 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 12px;
}

.legal h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  margin: 22px 0 8px;
}

.legal p + p {
  margin-top: 12px;
}

.legal ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal li + li {
  margin-top: 6px;
}

.legal li::marker {
  color: #b9ad9e;
}

.legal strong {
  color: var(--brand);
  font-weight: 600;
}

.legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover {
  color: var(--ink);
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 40px var(--gutter);
}

.footer-left,
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer {
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin: 0 auto;
}

.footer-nav {
  align-items: flex-end;
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-brand {
  font-size: 15px;
  font-weight: 600;
}

.footer-tag {
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-copy {
  font-size: 12px;
  color: var(--ink-muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 1280px) {
  :root {
    --gutter: 48px;
  }

  .hero-text:first-child {
    margin-left: 0;
  }

  .hero-text:last-child {
    margin-right: 0;
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 16px;
  }

  .site-header {
    height: auto;
    padding: 16px;
    gap: 16px;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 26px;
    height: 40px;
  }

  .brand-wordmark {
    width: 150px;
    height: auto;
    margin-top: 4px;
  }

  .cta {
    padding: 9px 16px;
    font-size: 13px;
  }

  .hero {
    height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 40px 16px;
    gap: 8px;
  }

  .hero-phone {
    margin-top: 0;
    width: 200px;
    height: auto;
    order: -1;
  }

  .hero-text,
  .hero-text:first-child,
  .hero-text:last-child {
    margin: 0;
    justify-self: center;
    padding: 20px 24px;
    background: rgba(249, 248, 245, 0.8);
    border-radius: 14px;
    width: 100%;
    max-width: 360px;
  }

  .hero-title {
    font-size: 32px;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

  .section-title {
    font-size: 26px;
  }
}

@media (max-width: 520px) {
  .cta {
    font-size: 12px;
    padding: 8px 12px;
  }

  .brand-wordmark {
    width: 110px;
  }
}
