:root {
  --bg: #f5f1e9;
  --surface: #ffffff;
  --surface-soft: #efe6d9;
  --ink: #15212a;
  --ink-soft: #435562;
  --muted: #e5dbcb;
  --line: rgba(21, 33, 42, 0.13);
  --brand: #11222d;
  --brand-strong: #0a161d;
  --brand-mid: #203746;
  --accent: #d5c4a1;
  --shadow: 0 20px 44px rgba(17, 34, 45, 0.08);
  --radius: 20px;
  --container: 1160px;
  --font-body: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(213, 196, 161, 0.26), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(17, 34, 45, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(245, 241, 233, 0.86)),
    var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.section-shell {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 233, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--brand);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  box-shadow: var(--shadow);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(17, 34, 45, 0.2);
  background: var(--surface);
  color: var(--brand);
  border-radius: 999px;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand);
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  color: var(--brand-strong);
  line-height: 1.1;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2.1rem, 3vw, 3rem);
  max-width: 15ch;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.lead,
.narrow-copy p,
.info-card p,
.step p,
.feature-list,
.footer-inner p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.lead {
  max-width: 58ch;
}

.cta-row,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  text-decoration: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: var(--shadow);
}

.button-secondary {
  border-color: rgba(17, 34, 45, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand);
}

.hero-panel {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(240,239,233,0.85));
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 5px;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-mid), var(--accent));
}

.panel-header {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.hero-panel li {
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
}

.muted-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(239, 230, 217, 0.38));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.narrow-copy {
  max-width: 760px;
}

.section-header {
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.info-card,
.step {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.card-label {
  display: inline-flex;
  margin-bottom: 0.8rem;
  font-size: 0.73rem;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.step-number {
  display: inline-flex;
  margin-bottom: 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--ink);
  font-weight: 600;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.cta-section {
  padding-top: 1rem;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--brand), var(--brand-mid), var(--brand-strong));
  box-shadow: var(--shadow);
}

.cta-box h2,
.cta-box .eyebrow {
  color: #f5f3ee;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.footer-logo {
  width: min(270px, 72vw);
  height: auto;
  margin-bottom: 0.3rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--brand);
  font-weight: 700;
}

.section-shell {
  animation: reveal-up 0.65s ease both;
}

.section-shell:nth-of-type(2) {
  animation-delay: 0.06s;
}

.section-shell:nth-of-type(3) {
  animation-delay: 0.12s;
}

.section-shell:nth-of-type(4) {
  animation-delay: 0.18s;
}

.section-shell:nth-of-type(5) {
  animation-delay: 0.24s;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .card-grid,
  .steps-grid,
  .split-layout,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .split-layout {
    display: grid;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 1rem;
    left: 1rem;
    z-index: 80;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 0.25rem 0;
  }
}

@media (max-width: 600px) {

  .button {
    width: 100%;
  }

  .cta-row,
  .cta-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

  .site-nav a::after,
  .section-shell {
    animation: none;
    transition: none;
  }
}