:root {
  --paper: #f8f6ef;
  --paper-warm: #f2ece2;
  --surface: #fffdf8;
  --ink: #111511;
  --muted: #5f665f;
  --line: rgba(17, 21, 17, 0.2);
  --line-strong: rgba(17, 21, 17, 0.36);
  --teal: #159d90;
  --teal-deep: #0d7f76;
  --teal-soft: #d9fff5;
  --mint: #5de3c4;
  --violet: #8782ff;
  --violet-soft: #eceaff;
  --amber: #ff9f38;
  --amber-soft: #fff0d6;
  --shadow: 0 18px 48px rgba(29, 34, 30, 0.06);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(17, 21, 17, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 21, 17, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, #fbf8f2 0%, var(--paper) 44%, #f8faf4 100%);
  background-size: 64px 64px, 64px 64px, auto;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(130deg, rgba(93, 227, 196, 0.12), transparent 34%),
    linear-gradient(320deg, rgba(255, 159, 56, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(135, 130, 255, 0.04), transparent 44%);
  pointer-events: none;
}

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

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

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: min(calc(100% - 32px), 1440px);
  margin: 16px auto 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: clamp(1rem, 2vw, 1.24rem);
  font-weight: 620;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.brand-mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 640;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.header-cta {
  justify-self: end;
  padding: 0 20px;
  color: #fffdf8;
  background: var(--teal);
  border: 1px solid rgba(17, 21, 17, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 253, 248, 0.18);
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
  color: #fffdf8;
  background: var(--teal-deep);
}

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

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: calc(100svh - 82px);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 60px) 0 clamp(36px, 5vw, 60px);
  text-align: center;
}

.hero-copy {
  display: flex;
  width: min(100%, 1120px);
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  padding-top: 12px;
  text-align: center;
}

.hero-copy .eyebrow {
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #25312d;
  font-size: 0.76rem;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--teal);
  border-radius: 2px;
}

h1 {
  display: flex;
  width: 100%;
  max-width: 1120px;
  flex-direction: column;
  gap: 0.04em;
  margin: 0 auto;
  font-size: clamp(3.8rem, 6.1vw, 7rem);
  font-weight: 430;
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
}

h1 span {
  display: block;
}

.hero-lede {
  max-width: 760px;
  margin: 34px auto 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.55vw, 1.26rem);
  line-height: 1.48;
  text-wrap: balance;
}

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

.button {
  padding: 0 22px;
  border: 1px solid var(--line-strong);
}

.button-primary {
  color: #fffdf8;
  background: var(--teal);
  border-color: rgba(17, 21, 17, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 253, 248, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: #fffdf8;
  background: var(--teal-deep);
}

.button-primary::after {
  width: 8px;
  height: 8px;
  margin-left: 12px;
  content: "";
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.hero .button-primary {
  min-height: 50px;
  padding-inline: 30px;
  font-size: 0.82rem;
}

.platform-section,
.partner-section {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.platform-section {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  padding: clamp(76px, 9vw, 118px) 0 clamp(48px, 7vw, 82px);
}

.section-heading {
  display: flex;
  max-width: 860px;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.partner-section h2 {
  font-size: clamp(2.3rem, 4.4vw, 4.15rem);
  font-weight: 430;
  letter-spacing: 0;
  line-height: 1.02;
}

.section-heading p:not(.eyebrow),
.partner-section p {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.62;
}

.section-heading p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 22px;
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.platform-card {
  min-height: clamp(300px, 28vw, 390px);
  padding: clamp(34px, 4.6vw, 58px);
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.38);
}

.platform-card + .platform-card {
  margin-left: -1px;
}

.platform-card:first-child {
  border-radius: 18px 0 0 18px;
}

.platform-card:last-child {
  border-radius: 0 18px 18px 0;
}

.platform-card h3,
.partner-panel h3 {
  max-width: 280px;
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
}

.platform-card p,
.partner-panel p {
  max-width: 440px;
  margin-top: clamp(34px, 4.5vw, 54px);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.partner-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: center;
  min-height: 100svh;
  padding: clamp(76px, 9vw, 118px) 0;
  border-top: 1px solid var(--line);
}

.partner-copy {
  max-width: 760px;
}

.partner-copy p:not(.eyebrow) {
  max-width: 610px;
  margin-top: 28px;
}

.partner-panel {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.46);
  box-shadow: none;
}

.partner-panel .button {
  width: 100%;
  margin-top: 32px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 30px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer .brand {
  color: var(--ink);
}

.site-footer a:not(.brand) {
  font-weight: 560;
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(15, 159, 144, 0.34);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

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

  h1 {
    max-width: 820px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .partner-section {
    grid-template-columns: 1fr;
  }

  .platform-cards {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 260px;
  }

  .platform-card + .platform-card {
    margin-top: -1px;
    margin-left: 0;
  }

  .platform-card:first-child {
    border-radius: 18px 18px 0 0;
  }

  .platform-card:last-child {
    border-radius: 0 0 18px 18px;
  }

  .partner-section {
    align-items: start;
  }
}

@media (max-width: 620px) {
  body {
    background-size: 42px 42px, 42px 42px, auto;
  }

  .site-header,
  .hero,
  .platform-section,
  .partner-section,
  .site-footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    margin-top: 10px;
  }

  .brand {
    font-size: 1rem;
  }

  .header-cta {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.68rem;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 26px;
  }

  h1 {
    max-width: 9.8ch;
    font-size: clamp(3rem, 14.4vw, 4rem);
    line-height: 1;
  }

  .hero-lede {
    margin-top: 22px;
  }

  .button {
    width: 100%;
  }

  .section-heading h2,
  .partner-section h2 {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }

  .platform-card {
    min-height: 220px;
    padding: 28px;
  }

  .partner-section {
    padding: 24px;
    margin-bottom: 48px;
  }

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