*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--color-primary);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--color-white);
  color: var(--color-primary);
  padding: 0.6rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.section {
  padding: var(--space-xl) 0;
}

.section--paper {
  background: var(--color-bg);
}

.section--soft {
  background: var(--color-bg-soft);
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.85rem;
}

.lead {
  font-family: var(--font-subtitle);
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 38rem;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}

.ornament::before,
.ornament::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--color-accent);
  opacity: 0.55;
}

.ornament-diamond {
  width: 7px;
  height: 7px;
  background: var(--color-accent);
  transform: rotate(45deg);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.6rem;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.cta--primary {
  background: var(--color-accent);
  color: var(--color-primary-deep);
}

.cta--primary:hover {
  background: #d4b56a;
}

.cta--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: color-mix(in srgb, var(--color-accent) 55%, transparent);
}

.cta--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.cta--navy {
  background: var(--color-primary);
  color: var(--color-white);
}

.cta--navy:hover {
  background: #24365d;
}

.cta--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.cta--outline:hover {
  border-color: var(--color-primary);
}

.trust-line {
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--color-white) 72%, transparent);
}

.section-head {
  max-width: 40rem;
  margin-bottom: var(--space-lg);
}

.section-head h2 {
  font-size: var(--fs-h2);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: none;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.mid-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
