:root {
  --bg: #f5f2ec;
  --bg-soft: #fbf9f5;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-tint: rgba(230, 236, 237, 0.6);
  --text: #182126;
  --muted: #56636a;
  --muted-soft: #728088;
  --line: rgba(24, 33, 38, 0.1);
  --line-strong: rgba(24, 33, 38, 0.16);
  --accent: #395766;
  --accent-deep: #243944;
  --accent-soft: #dbe5e8;
  --accent-pale: #eef4f5;
  --shadow-soft: 0 16px 40px rgba(22, 32, 38, 0.06);
  --shadow-card: 0 24px 60px rgba(22, 32, 38, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 32%),
    radial-gradient(circle at right 20%, rgba(219, 229, 232, 0.45), transparent 20%),
    linear-gradient(180deg, #faf7f2 0%, #f3eee6 55%, #f6f2eb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.15), transparent 35%);
  opacity: 0.25;
}

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

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

a[href] {
  text-underline-offset: 0.18em;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -3.5rem;
  left: 1rem;
  z-index: 200;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--accent-deep);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(24, 33, 38, 0.06);
  background: rgba(250, 247, 242, 0.82);
  backdrop-filter: blur(18px);
  transition: background-color 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.site-header.is-scrolled {
  background: rgba(250, 247, 242, 0.94);
  border-bottom-color: rgba(24, 33, 38, 0.1);
  box-shadow: 0 12px 30px rgba(22, 32, 38, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand:focus-visible {
  outline: 3px solid rgba(57, 87, 102, 0.22);
  outline-offset: 6px;
  border-radius: 18px;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid rgba(57, 87, 102, 0.18);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.92), transparent 40%),
    linear-gradient(135deg, rgba(219, 229, 232, 0.6), rgba(57, 87, 102, 0.92));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), 0 10px 24px rgba(36, 57, 68, 0.14);
}

.brand-text {
  display: grid;
  gap: 0.08rem;
  text-transform: uppercase;
}

.brand-text strong {
  font-size: 0.96rem;
  letter-spacing: 0.15em;
}

.brand-text span {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--muted-soft);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  width: 1.15rem;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(0.18rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-0.18rem) rotate(-45deg);
}

.site-nav {
  position: absolute;
  inset: calc(100% + 0.75rem) 1rem auto;
  display: grid;
  gap: 0.3rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(251, 249, 245, 0.98);
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.6rem);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.site-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav a {
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.96rem;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(57, 87, 102, 0.08);
  color: var(--text);
  transform: translateY(-1px);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(57, 87, 102, 0.22);
}

.hero {
  position: relative;
  padding: 4.4rem 0 3.25rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 2rem 0 auto;
  height: 28rem;
  background:
    radial-gradient(circle at 16% 28%, rgba(219, 229, 232, 0.72), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(57, 87, 102, 0.1), transparent 18%);
  pointer-events: none;
}

.hero-grid,
.split-layout,
.contact-layout,
.card-grid,
.benefit-grid,
.use-cases,
.timeline {
  display: grid;
  gap: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-grid {
  position: relative;
  z-index: 1;
  gap: 1.25rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.info-card,
.benefit-grid article,
.timeline-item,
.use-case,
.contact-form {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hero-copy,
.hero-panel {
  position: relative;
  overflow: hidden;
}

.hero-copy {
  padding: 2rem;
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-card);
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -5rem;
  bottom: -5rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 87, 102, 0.12), transparent 68%);
}

.hero-panel {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(238, 244, 245, 0.98), rgba(255, 255, 255, 0.76)),
    var(--surface);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(57, 87, 102, 0.03));
  pointer-events: none;
}

.eyebrow,
.panel-label {
  margin: 0 0 1rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
}

h1,
h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 9vw, 6rem);
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.1rem, 5.1vw, 3.6rem);
}

h3 {
  font-size: 1.12rem;
  line-height: 1.3;
  margin-bottom: 0.7rem;
}

.lead,
.section-copy p,
.section-heading p,
.info-card p,
.benefit-grid p,
.timeline-item p,
.use-case p,
.contact-details p,
.contact-form,
.site-footer p,
.hero-points li {
  color: var(--muted);
}

.lead {
  max-width: 39rem;
  margin: 1.35rem 0 0;
  font-size: 1.1rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 14px 30px rgba(36, 57, 68, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 34px rgba(36, 57, 68, 0.26);
}

.button-secondary {
  border-color: rgba(57, 87, 102, 0.18);
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(57, 87, 102, 0.28);
}

.info-card:hover,
.info-card:focus-within,
.benefit-grid article:hover,
.benefit-grid article:focus-within,
.use-case:hover,
.use-case:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(22, 32, 38, 0.08);
  border-color: rgba(57, 87, 102, 0.16);
}

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.95rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.35rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(57, 87, 102, 0.08);
}

.section {
  position: relative;
  padding: 4.5rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(233, 239, 240, 0.34));
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 20%),
    linear-gradient(180deg, #223641 0%, #1a2b34 100%);
  color: #f4f1eb;
}

.section-dark .eyebrow,
.section-dark p,
.section-dark .timeline-step {
  color: rgba(244, 241, 235, 0.76);
}

.section-dark h2,
.section-dark h3 {
  color: #fbf8f2;
}

.section-dark .timeline-item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.split-layout,
.contact-layout {
  gap: 1.25rem;
}

.section-heading {
  display: grid;
  gap: 0.95rem;
}

.section-heading.narrow {
  margin-bottom: 2rem;
}

.section-heading > p:last-child,
.section-copy p {
  margin: 0;
  max-width: 40rem;
}

.section-heading h2 {
  text-wrap: balance;
}

.section-copy {
  display: grid;
  gap: 1rem;
}

.card-grid,
.benefit-grid,
.use-cases {
  gap: 1rem;
}

.info-card,
.benefit-grid article,
.use-case,
.contact-form {
  border-radius: var(--radius-md);
}

.info-card,
.benefit-grid article,
.use-case {
  padding: 1.45rem;
}

.info-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 251, 0.72)),
    var(--surface);
}

.benefit-grid article,
.use-case {
  background: rgba(255, 255, 255, 0.66);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0.9rem;
}

.timeline-item {
  padding: 1.4rem;
  border-radius: var(--radius-md);
}

.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.contact-details {
  display: grid;
  gap: 0.1rem;
  margin-top: 1.25rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  font-style: normal;
}

.contact-form {
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 251, 0.84)),
    var(--surface-strong);
}

.contact-form label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.form-intro {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(24, 33, 38, 0.11);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7c878e;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(57, 87, 102, 0.18);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(57, 87, 102, 0.5);
  box-shadow: 0 0 0 4px rgba(57, 87, 102, 0.1);
  background: #fff;
  outline: none;
}

.button:focus-visible,
.site-nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(57, 87, 102, 0.22);
  outline-offset: 3px;
}

.form-note {
  min-height: 1.5rem;
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
}

.form-note.is-success {
  color: var(--accent-deep);
}

.site-footer {
  padding: 2.8rem 0 3.2rem;
  border-top: 1px solid rgba(24, 33, 38, 0.08);
}

.footer-inner {
  display: grid;
  gap: 0.35rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p:first-child {
  color: var(--text);
  font-weight: 700;
}

@media (min-width: 760px) {
  .site-nav {
    position: static;
    inset: auto;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    padding: 5.8rem 0 4.4rem;
  }

  .hero-grid,
  .split-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr);
    gap: 1.5rem;
    align-items: start;
  }

  .card-grid,
  .benefit-grid,
  .use-cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .timeline-item {
    display: grid;
    grid-template-columns: 4.75rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .container {
    width: min(calc(100% - 3rem), var(--container));
  }

  .header-inner {
    min-height: 5.4rem;
  }

  .site-nav a {
    font-size: 0.94rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.24fr) minmax(20rem, 0.76fr);
    gap: 1.75rem;
  }

  .hero-copy {
    padding: 3rem;
  }

  .hero-panel {
    padding: 1.7rem;
  }

  .section {
    padding: 5.6rem 0;
  }

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

  .info-card,
  .benefit-grid article,
  .use-case {
    padding: 1.6rem;
  }

  .contact-form {
    padding: 1.75rem;
  }
}

@media (max-width: 759px) {
  .site-header {
    background: rgba(250, 247, 242, 0.94);
  }

  h1 {
    max-width: 9ch;
  }

  h2 {
    max-width: 12ch;
  }

  .hero {
    padding: 3.8rem 0 2.6rem;
  }

  .hero-copy,
  .hero-panel,
  .info-card,
  .benefit-grid article,
  .timeline-item,
  .use-case,
  .contact-form {
    border-radius: 18px;
  }

  .section-heading.narrow {
    margin-bottom: 1.4rem;
  }

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

  .contact-layout,
  .split-layout {
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
