:root {
  --ink: #17201b;
  --muted: #5c6962;
  --paper: #f8f8f3;
  --panel: #ffffff;
  --line: #d8ddd4;
  --pine: #245142;
  --moss: #7f8e52;
  --clay: #b7633c;
  --gold: #d8a84f;
  --shadow: 0 22px 70px rgba(23, 32, 27, 0.12);
  color-scheme: light;
  --font-brand: "Avenir Next", Avenir, Montserrat, Futura, "Century Gothic", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font-brand);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(248, 248, 243, 0.86);
  border-bottom: 1px solid rgba(216, 221, 212, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(240px, 28vw, 390px);
  height: 74px;
  flex: 0 0 auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: uppercase;
}

.nav a,
.footer a {
  text-decoration: none;
}

.nav a:hover,
.footer a:hover {
  color: var(--pine);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 116px clamp(20px, 5vw, 72px) 78px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.55fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
  min-height: 72svh;
  padding: 150px clamp(20px, 5vw, 72px) 86px;
  background:
    linear-gradient(90deg, rgba(216, 168, 79, 0.12), rgba(36, 81, 66, 0.08)),
    var(--paper);
}

.legal-hero {
  display: block;
  min-height: 48svh;
}

.page-hero h1 {
  max-width: 12ch;
}

.app-landing {
  border-bottom: 1px solid var(--line);
}

.landing-icon {
  width: min(260px, 70vw);
  justify-self: center;
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(23, 32, 27, 0.2);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 248, 243, 0.96) 0%, rgba(248, 248, 243, 0.82) 34%, rgba(248, 248, 243, 0.18) 72%),
    linear-gradient(180deg, rgba(248, 248, 243, 0.1) 0%, rgba(248, 248, 243, 0.72) 100%);
}

.hero-content {
  position: relative;
  max-width: 680px;
}

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

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

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(4rem, 11vw, 9rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 580px;
  margin: 28px 0 0;
  color: #334139;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-actions,
.contact {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.button.primary {
  color: #fff;
  background: var(--pine);
  box-shadow: 0 12px 28px rgba(36, 81, 66, 0.22);
}

.button.secondary {
  color: var(--pine);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(36, 81, 66, 0.25);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--pine);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.section {
  padding: clamp(66px, 9vw, 124px) clamp(20px, 5vw, 72px);
  scroll-margin-top: 104px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.35fr);
  gap: clamp(24px, 5vw, 88px);
  align-items: start;
  margin-bottom: clamp(28px, 5vw, 58px);
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.company-grid article {
  min-height: 250px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--panel);
}

.company-grid p,
.app-card p,
.service-row p,
.privacy-copy p,
.support p,
.contact p {
  margin: 0;
}

.apps {
  background: #fbfbf7;
  border-top: 1px solid var(--line);
}

.apps-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 18px;
}

.app-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  min-height: 260px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.featured-app {
  border-top: 5px solid var(--gold);
}

.app-icon {
  display: block;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(23, 32, 27, 0.18);
}

.app-status {
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.services {
  background: #eef1e8;
}

.service-list {
  border-top: 1px solid #cdd5c9;
}

.service-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 48px);
  padding: clamp(24px, 4vw, 42px) 0;
  border-bottom: 1px solid #cdd5c9;
}

.service-row span {
  color: var(--moss);
  font-weight: 500;
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 1fr);
  gap: clamp(24px, 5vw, 88px);
  align-items: start;
  background: var(--pine);
}

.support h2,
.support p,
.support .eyebrow {
  color: #fff;
}

.support p {
  max-width: 720px;
  opacity: 0.86;
}

.disclaimer {
  background: #fbfbf7;
  border-top: 1px solid var(--line);
}

.legal-copy,
.policy-body {
  color: var(--muted);
}

.legal-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 48px);
}

.legal-copy p,
.policy-body p,
.policy-body ul,
.policy-summary p {
  margin-top: 0;
}

.policy-date {
  margin-top: 28px;
  color: var(--pine);
  font-weight: 600;
}

.policy {
  background: #fbfbf7;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.policy-summary {
  position: sticky;
  top: 118px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.policy-summary h2,
.policy-body h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.policy-body {
  padding: clamp(26px, 5vw, 54px);
  background: var(--panel);
  border: 1px solid var(--line);
}

.policy-body h2 {
  margin-top: 46px;
  margin-bottom: 14px;
}

.policy-body h2:first-child {
  margin-top: 0;
}

.policy-body a {
  color: var(--pine);
  font-weight: 600;
}

.policy-body li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.privacy-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 48px);
}

.contact {
  justify-content: space-between;
  background:
    linear-gradient(90deg, rgba(216, 168, 79, 0.16), rgba(127, 142, 82, 0.08)),
    var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact > div {
  max-width: 760px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-privacy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--pine);
}

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

  .brand {
    max-width: 240px;
  }

  .brand-logo {
    width: 230px;
    height: 68px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 86svh;
    padding-top: 112px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(248, 248, 243, 0.94) 0%, rgba(248, 248, 243, 0.72) 48%, rgba(248, 248, 243, 0.24) 100%);
  }

  h1 {
    font-size: clamp(3.45rem, 18vw, 5.5rem);
  }

  .section-heading,
  .support,
  .privacy-copy,
  .page-hero,
  .legal-copy,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: auto;
    padding-top: 128px;
  }

  .policy-summary {
    position: static;
  }

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

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

  .company-grid article {
    min-height: 0;
  }

  .app-card {
    min-height: 0;
  }

  .service-row {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}
