:root {
  color-scheme: light;
  --ink: #17201c;
  --muted: #5c6861;
  --line: #d7ded7;
  --paper: #fbfcf8;
  --white: #ffffff;
  --green: #13674c;
  --green-dark: #0b3d2f;
  --blue: #1f5d8f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(19, 103, 76, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(19, 103, 76, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
  white-space: normal;
}

nav a:hover {
  background: #eef4ee;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(54px, 8vw, 110px) clamp(20px, 6vw, 72px);
}

.hero-copy {
  align-self: center;
  min-width: 0;
  width: 100%;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: 6.4rem;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 0;
  font-size: 3.5rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
  line-height: 1.15;
}

.intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.25rem;
}

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

.button {
  border: 1px solid transparent;
}

.button.primary {
  background: var(--green-dark);
  color: var(--white);
}

.button.primary:hover {
  background: var(--green);
}

.button.secondary {
  border-color: var(--line);
  background: var(--white);
}

.button.secondary:hover {
  border-color: #b7c5ba;
}

.app-highlight {
  align-self: center;
  min-width: 0;
  width: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 60px rgba(23, 32, 28, 0.08);
}

.app-highlight h2 {
  margin-bottom: 14px;
  font-size: 2.4rem;
}

.app-highlight p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 18px;
}

.app-highlight a {
  color: var(--blue);
  font-weight: 800;
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.app-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  max-width: 850px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.app-icon {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(23, 32, 28, 0.14);
}

.app-copy,
.company-copy {
  min-width: 0;
}

.app-copy p,
.company-copy p {
  color: var(--muted);
}

.app-copy p {
  max-width: 650px;
  margin-bottom: 14px;
}

.app-copy a,
.company-copy a,
footer a {
  color: var(--blue);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
}

.company-copy {
  max-width: 720px;
  font-size: 1.05rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 30px clamp(20px, 6vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

  nav {
    justify-content: flex-start;
  }

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

  .hero {
    min-height: 0;
  }

  .hero-copy,
  .app-highlight,
  .intro {
    max-width: 100%;
  }

  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 2.6rem;
  }
}

@media (max-width: 540px) {
  .brand span {
    white-space: normal;
  }

  nav a,
  .button {
    width: 100%;
  }

  nav {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .app-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-copy,
  .app-highlight {
    width: min(330px, 100%);
  }

  h1 {
    font-size: 2.85rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.1rem;
  }

  .intro {
    font-size: 1.05rem;
  }

}
