:root {
  color-scheme: light;
  --ink: #182321;
  --muted: #5d6763;
  --paper: #f6f3ec;
  --panel: #fffdf8;
  --line: rgba(24, 35, 33, 0.14);
  --teal: #1c625d;
  --teal-dark: #103b38;
  --red: #a4453c;
  --gold: #b9914a;
  --shadow: 0 22px 50px rgba(24, 35, 33, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(246, 243, 236, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(28, 98, 93, 0.35);
  background: var(--teal-dark);
  color: #f9f5ea;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text {
  display: grid;
  gap: 0;
}

.brand-text span:first-child {
  font-weight: 800;
  font-size: 1rem;
}

.brand-text span:last-child {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover,
.app-card:hover strong {
  color: var(--teal);
}

.hero {
  position: relative;
  min-height: clamp(610px, 88vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(246, 243, 236, 0.96) 0%, rgba(246, 243, 236, 0.84) 36%, rgba(246, 243, 236, 0.22) 72%),
    linear-gradient(0deg, rgba(246, 243, 236, 0.88) 0%, rgba(246, 243, 236, 0.08) 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  padding: 0 0 clamp(54px, 10vh, 98px) clamp(20px, 5vw, 72px);
}

.eyebrow,
.card-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: #35413d;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--teal-dark);
  font-weight: 800;
}

.button.primary {
  background: var(--teal-dark);
  color: #fffaf1;
}

.button.secondary {
  background: rgba(255, 253, 248, 0.66);
  color: var(--teal-dark);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 100px) 0;
}

.intro,
.split,
.contact-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 76px);
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.7vw, 3.55rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.app-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.app-card strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.05;
}

.app-card span:last-child {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 16px;
}

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

.feature-list article:last-child {
  border-bottom: 0;
}

.feature-list h3 {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 1.22rem;
}

.feature-list p,
.contact-band p {
  color: var(--muted);
}

.contact-band {
  width: 100%;
  max-width: none;
  padding-right: clamp(20px, 5vw, 72px);
  padding-left: clamp(20px, 5vw, 72px);
  background: var(--teal-dark);
  color: #fffaf1;
}

.contact-band .eyebrow {
  color: var(--gold);
}

.contact-band p {
  align-self: end;
  max-width: 620px;
  color: rgba(255, 250, 241, 0.76);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 72px);
  background: #12231f;
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(246, 243, 236, 0.98) 0%, rgba(246, 243, 236, 0.78) 55%, rgba(246, 243, 236, 0.18) 100%);
  }

  .hero-content {
    padding-right: 20px;
  }

  .intro,
  .split,
  .contact-band {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .nav-links {
    gap: 12px;
    font-size: 0.84rem;
  }

  .brand-text span:last-child {
    font-size: 0.72rem;
  }

  h1 {
    font-size: 3rem;
  }

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

  .site-footer {
    flex-direction: column;
  }
}
