:root {
  color-scheme: light;
  --paper: #f7faf8;
  --paper-strong: #ffffff;
  --ink: #16211f;
  --muted: #51605d;
  --line: #d8e2de;
  --mint: #147f78;
  --mint-deep: #0c5a55;
  --coral: #ef7e6e;
  --gold: #d3a64d;
  --shadow: 0 24px 80px rgba(22, 33, 31, 0.12);
  --radius: 8px;
  font-family:
    Inter, "Hiragino Sans", "Yu Gothic", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(90deg, rgba(20, 127, 120, 0.08), transparent 34%),
    var(--paper);
  color: var(--ink);
  margin: 0;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.site-header {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  left: 0;
  margin: 0 auto;
  max-width: 1240px;
  padding: 24px clamp(20px, 4vw, 48px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  background:
    radial-gradient(circle at 68% 34%, var(--coral) 0 18%, transparent 19%),
    radial-gradient(circle at 34% 68%, var(--gold) 0 12%, transparent 13%),
    linear-gradient(135deg, var(--mint), var(--mint-deep));
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(12, 90, 85, 0.22);
  display: inline-block;
  height: 40px;
  width: 40px;
}

nav,
.footer-links {
  align-items: center;
  display: flex;
  gap: clamp(14px, 2vw, 28px);
}

nav a,
.footer-links a,
.text-link {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--mint-deep);
}

.hero {
  align-items: stretch;
  display: grid;
  min-height: min(940px, 100svh);
  overflow: hidden;
  padding-left: max(20px, calc((100vw - 1144px) / 2));
  position: relative;
}

.hero-copy {
  align-content: center;
  display: grid;
  max-width: 660px;
  padding: 144px clamp(20px, 4vw, 56px) 88px 0;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--mint-deep);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3.7rem, 8vw, 8rem);
  line-height: 0.94;
  margin-bottom: 18px;
}

.hero-title-brand {
  display: block;
  white-space: nowrap;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.5rem);
  line-height: 1.08;
  margin-bottom: 0;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.hero-lead {
  font-size: clamp(1.45rem, 2.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.24;
  margin-bottom: 18px;
  max-width: 560px;
}

.hero-body,
.about-copy p,
.support-band p,
.document p,
.document li {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.85;
}

.hero-body {
  max-width: 540px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0 42px;
}

.store-link {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: #fff;
  display: inline-grid;
  line-height: 1;
  min-width: 172px;
  padding: 12px 18px;
  text-decoration: none;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.store-link:hover {
  background: #000;
  transform: translateY(-2px);
}

.store-link span {
  font-size: 0.68rem;
}

.store-link strong {
  font-size: 1.32rem;
  line-height: 1.15;
}

.store-link.compact {
  min-width: 0;
  padding: 13px 18px;
  text-align: center;
}

.proof-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.proof-row div {
  border-right: 1px solid var(--line);
  min-width: 0;
  padding: 18px 18px 0 0;
}

.proof-row div + div {
  padding-left: 18px;
}

.proof-row div:last-child {
  border-right: 0;
}

dt {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 7px 0 0;
}

.hero-media {
  inset: 0 0 auto clamp(430px, 45vw, 710px);
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  position: absolute;
}

.hero-media img {
  height: 100%;
  min-height: min(940px, 100svh);
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.apps-band,
.about,
.support-band,
.document {
  margin: 0 auto;
  max-width: 1240px;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}

.apps-band {
  padding-bottom: 120px;
  padding-top: 108px;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  margin-bottom: 50px;
}

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

.app-card {
  align-content: space-between;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 56px rgba(22, 33, 31, 0.06);
  display: grid;
  gap: 34px;
  min-height: 270px;
  padding: clamp(22px, 3vw, 34px);
}

.app-card p,
.principle-list p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0;
}

.app-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.app-meta {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.app-icon {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.94) 0 12%, transparent 13%),
    linear-gradient(135deg, var(--mint), var(--mint-deep));
  border-radius: var(--radius);
  box-shadow: 0 18px 36px rgba(22, 33, 31, 0.14);
  display: block;
  height: 62px;
  width: 62px;
}

.app-icon.coral {
  background:
    radial-gradient(circle at 30% 68%, rgba(255, 255, 255, 0.9) 0 13%, transparent 14%),
    linear-gradient(135deg, var(--coral), #c85273);
}

.app-icon.gold {
  background:
    radial-gradient(circle at 62% 60%, rgba(255, 255, 255, 0.88) 0 15%, transparent 16%),
    linear-gradient(135deg, var(--gold), #8066d7);
}

.store-link.app-store {
  justify-self: start;
}

.about {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(28px, 5vw, 84px);
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  padding-bottom: 120px;
  padding-top: 112px;
}

.about-copy p {
  margin: 24px 0 0;
  max-width: 480px;
}

.principle-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.principle-list li {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px 24px;
  grid-template-columns: 58px minmax(0, 1fr);
  padding: 26px 0;
}

.principle-list span {
  color: var(--coral);
  font-size: 0.84rem;
  font-weight: 900;
  grid-row: span 2;
}

.principle-list strong {
  font-size: clamp(1.18rem, 2vw, 1.7rem);
}

.support-band {
  align-items: center;
  background: var(--ink);
  border-radius: var(--radius);
  color: #fff;
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.7fr) auto;
  margin-bottom: 88px;
  padding-bottom: clamp(28px, 4vw, 48px);
  padding-top: clamp(28px, 4vw, 48px);
}

.support-band .eyebrow {
  color: #8cd8d1;
}

.support-band p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

.support-band .store-link {
  background: var(--paper-strong);
  border-color: var(--paper-strong);
  color: var(--ink);
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  margin: 0 auto;
  max-width: 1240px;
  padding: 30px clamp(20px, 4vw, 48px) 48px;
}

footer p {
  color: var(--muted);
  margin: 0;
}

.document-shell .site-header {
  position: static;
}

.document {
  max-width: 900px;
  min-height: calc(100svh - 188px);
  padding-bottom: 96px;
  padding-top: clamp(54px, 9vw, 112px);
}

.document h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.document h2 {
  font-size: 1.35rem;
  margin: 38px 0 12px;
}

.document ul {
  padding-left: 22px;
}

.document-note {
  background: #fff1eb;
  border-left: 4px solid var(--coral);
  border-radius: var(--radius);
  color: var(--ink);
  margin: 30px 0;
  padding: 18px 20px;
}

@media (max-width: 900px) {
  .site-header {
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    position: relative;
  }

  nav {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-left: 0;
  }

  .hero-copy {
    max-width: none;
    order: 2;
    padding: 36px 20px 72px;
  }

  .hero-media {
    height: min(56svh, 560px);
    inset: auto;
    order: 1;
    position: relative;
  }

  .hero-media img {
    min-height: 100%;
    object-position: 59% center;
  }

  .section-heading,
  .app-grid,
  .about,
  .support-band {
    grid-template-columns: 1fr;
  }

  .apps-band,
  .about {
    padding-bottom: 78px;
    padding-top: 78px;
  }

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

  .about {
    gap: 36px;
  }

  .support-band {
    margin-left: 20px;
    margin-right: 20px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .document-shell .site-header {
    position: relative;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    height: 36px;
    width: 36px;
  }

  .site-header {
    padding-top: 18px;
  }

  .site-header .compact {
    min-width: 112px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-actions,
  .proof-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .store-link.primary {
    width: 100%;
  }

  .proof-row div,
  .proof-row div + div {
    border-right: 0;
    padding-left: 0;
    padding-top: 16px;
  }

  .principle-list li {
    grid-template-columns: 1fr;
  }

  .principle-list span {
    grid-row: auto;
  }
}
