:root {
  --ivory: #f7f2e8;
  --paper: #fffaf0;
  --navy: #0f2438;
  --charcoal: #252525;
  --green: #173f34;
  --gold: #b08a3c;
  --muted: #6b665f;
  --line: rgba(15, 36, 56, 0.16);
  --shadow: 0 18px 48px rgba(15, 36, 56, 0.12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 242, 232, 0.92);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  width: 18px;
  height: 2px;
  display: block;
  position: relative;
  background: currentColor;
  content: "";
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-links a {
  padding: 26px 0 24px;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--green);
  border-color: var(--gold);
}

main {
  min-height: 64vh;
}

.hero {
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 74px);
  max-height: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 54px;
  padding: 54px 0 42px;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  max-width: 780px;
  font-size: clamp(3.4rem, 8vw, 7.6rem);
}

.hero-subhead {
  margin: 18px 0 18px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.hero p,
.intro p,
.split p,
.page-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  background: var(--navy);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}

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

.hero-media {
  align-self: stretch;
  min-height: 420px;
  display: grid;
  align-items: end;
}

.hero-media img {
  width: 100%;
  height: min(68vh, 620px);
  min-height: 420px;
  object-fit: cover;
  border: 1px solid rgba(176, 138, 60, 0.35);
  box-shadow: var(--shadow);
}

.section {
  padding: 86px 0;
}

.trust-strip {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--green);
  color: var(--paper);
}

.trust-items {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.trust-item {
  padding: 4px 0;
}

.trust-item strong {
  display: block;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 500;
}

.trust-item span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  max-width: 780px;
}

.intro h2,
.page-header h1 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 250, 240, 0.78);
}

.alt .card {
  background: var(--ivory);
}

.card h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.split h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 650;
}

.page-header {
  padding: 72px 0 52px;
  border-bottom: 1px solid var(--line);
}

.page-header .container {
  max-width: 920px;
}

.page-lead {
  max-width: 760px;
  margin: 24px 0 0;
}

.content {
  max-width: 860px;
  padding: 70px 0 92px;
}

.content h2 {
  margin: 38px 0 12px;
  font-size: 1.8rem;
}

.content p {
  margin: 0 0 16px;
  color: var(--muted);
}

.legal-summary {
  margin: 28px 0 38px;
  padding: 28px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: var(--paper);
}

.legal-summary h2 {
  margin-top: 0;
}

.summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-list li {
  padding: 10px 0;
  border-top: 1px solid rgba(15, 36, 56, 0.1);
  color: var(--charcoal);
}

.summary-list li:first-child {
  border-top: 0;
}

.faq-list {
  max-width: 880px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq-list summary {
  color: var(--navy);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.25;
}

.faq-list p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-panel {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: var(--paper);
}

.contact-panel p {
  margin: 8px 0;
  color: var(--charcoal);
}

.product-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.product-band img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(176, 138, 60, 0.35);
}

.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  background: var(--navy);
  color: rgba(255, 250, 240, 0.88);
}

.footer-wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: end;
}

.footer-title {
  margin: 0 0 6px;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.footer-meta,
.footer-links {
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--paper);
  text-decoration-color: rgba(255, 250, 240, 0.42);
  text-underline-offset: 3px;
}

/* Trueframe product showcase */
.showcase {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
}

.showcase-copy {
  max-width: 540px;
}

.showcase-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.showcase-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.flow-steps {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.flow-steps li {
  position: relative;
  padding-top: 24px;
}

.flow-steps li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
}

.flow-steps li::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 18px;
  right: 6px;
  height: 2px;
  background: var(--line);
}

.flow-steps li:last-child::after {
  display: none;
}

.flow-step-name {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.flow-step-note {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.85rem;
}

.showcase-media {
  display: grid;
  place-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.phone-visual {
  width: min(250px, 76%);
  height: auto;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--ivory);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
  }

  .hero,
  .split,
  .product-band,
  .showcase {
    grid-template-columns: 1fr;
  }

  .showcase {
    gap: 40px;
  }

  .hero {
    min-height: auto;
    gap: 36px;
    padding-top: 48px;
  }

  .hero-media,
  .hero-media img {
    min-height: 320px;
  }

  .hero-media img {
    height: 48vh;
  }

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

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

@media (max-width: 640px) {
  .nav-wrap,
  .container,
  .hero,
  .footer-wrap,
  .trust-items {
    width: min(100% - 28px, var(--max));
  }

  .brand {
    font-size: 0.98rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .section {
    padding: 62px 0;
  }

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

  .trust-items {
    grid-template-columns: 1fr;
  }

  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }

  .flow-steps li::after {
    display: none;
  }

  .card {
    min-height: auto;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
