:root {
  --ink: #16201f;
  --muted: #526260;
  --surface: #ffffff;
  --surface-soft: #f6f8f5;
  --line: #dbe3de;
  --green: #1d6b4f;
  --blue: #244f8f;
  --yellow: #d9a524;
  --coral: #b85c4d;
  --shadow: 0 18px 48px rgba(21, 31, 30, 0.12);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  background: var(--surface);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:focus-visible {
  outline: 3px solid rgba(36, 79, 143, 0.35);
  outline-offset: 4px;
}

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

.brand {
  font-weight: 800;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(76vh, 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 42%, rgba(255, 255, 255, 0.1) 80%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.42));
}

.hero-content {
  position: relative;
  width: min(680px, calc(100% - 40px));
  margin-left: clamp(20px, 5vw, 72px);
  padding: 72px 0;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

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

.hero-content p:not(.eyebrow),
.page-header p,
.product-header p,
.section-heading + p {
  max-width: 64ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-content p:not(.eyebrow) {
  color: #31403f;
}

.primary-link,
.product-actions a,
.app-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #ffffff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 760;
  text-decoration: none;
}

.primary-link:hover,
.product-actions a:hover,
.app-card a:hover {
  background: var(--green);
  border-color: var(--green);
}

.section,
.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: clamp(48px, 8vw, 92px) 0;
}

.section.compact {
  padding-top: 12px;
}

.section-heading,
.page-header,
.product-header {
  margin-bottom: 28px;
}

.section-heading h2,
.page-header h1,
.product-header h1 {
  max-width: none;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
}

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

.app-card,
.info-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(22, 32, 31, 0.04);
}

.app-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 24px;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(22, 32, 31, 0.14);
}

.app-card.featured {
  border-color: rgba(29, 107, 79, 0.45);
  box-shadow: var(--shadow);
}

.app-card h2,
.app-card h3,
.info-panel h2,
.legal-copy h2,
.support-layout h2,
.two-column h2 {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.app-card p:not(.card-kicker),
.info-panel p,
.legal-copy p,
.support-layout p,
.two-column p,
.plain-list {
  color: var(--muted);
}

.app-card a {
  align-self: flex-start;
  background: var(--green);
  border-color: var(--green);
}

.page {
  padding-top: clamp(48px, 8vw, 86px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.page-header {
  max-width: 760px;
}

.product-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.product-actions {
  display: grid;
  gap: 12px;
}

.product-icon {
  width: min(180px, 54vw);
  aspect-ratio: 1;
  border-radius: 34px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.muted-action {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface-soft);
  font-weight: 700;
}

.two-column,
.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(24px, 5vw, 56px);
}

.info-panel {
  padding: 24px;
}

.legal-page {
  width: min(880px, calc(100% - 40px));
}

.legal-copy {
  display: grid;
  gap: 22px;
}

.legal-copy h2 {
  margin-top: 10px;
}

.legal-copy p {
  margin: 0;
}

.plain-list {
  padding-left: 1.2rem;
}

.plain-list li + li {
  margin-top: 10px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .hero {
    min-height: 680px;
    align-items: end;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.74) 44%, rgba(255, 255, 255, 0.96) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.14));
  }

  .hero-content {
    width: min(620px, calc(100% - 40px));
    margin: 0 auto;
    padding-bottom: 52px;
  }

  .app-grid,
  .product-header,
  .two-column,
  .support-layout {
    grid-template-columns: 1fr;
  }
}

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

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .hero {
    min-height: 640px;
  }

  .app-card {
    min-height: 220px;
  }
}
