:root {
  color-scheme: light;
  --paper: #f4f1eb;
  --paper-tint: #edf5f2;
  --panel: #fffdf9;
  --ink: #18211f;
  --muted: #52625d;
  --line: #d8ddd7;
  --mint: #146e69;
  --mint-deep: #0d4c4a;
  --rose: #c7626f;
  --sky: #397ca7;
  --gold: #bb8c37;
  --shadow: 0 22px 70px rgba(24, 33, 31, 0.14);
  --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, 110, 105, 0.08), transparent 38%),
    var(--paper);
  color: var(--ink);
  letter-spacing: 0;
  margin: 0;
}

a {
  color: inherit;
}

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

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

h1 {
  font-size: clamp(3rem, 7.6vw, 7.5rem);
  line-height: 0.96;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 3.45rem);
  line-height: 1.1;
  margin-bottom: 0;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  line-height: 1.3;
  margin-bottom: 10px;
}

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

.site-header {
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.header-inner,
.footer-inner,
.section,
.document,
.page-hero-inner {
  margin: 0 auto;
  max-width: 1240px;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}

.header-inner {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding-bottom: 24px;
  padding-top: 24px;
}

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

.brand-mark {
  background:
    radial-gradient(circle at 68% 34%, #ef8775 0 18%, transparent 19%),
    radial-gradient(circle at 34% 68%, #f0ca70 0 12%, transparent 13%),
    linear-gradient(135deg, var(--mint), var(--mint-deep));
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(13, 76, 74, 0.25);
  display: inline-block;
  flex: 0 0 auto;
  height: 40px;
  width: 40px;
}

.nav-links,
.footer-links,
.action-row,
.trust-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 26px);
}

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

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

.button {
  align-items: center;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid rgba(24, 33, 31, 0.16);
  border-radius: var(--radius);
  color: var(--ink);
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  line-height: 1.2;
  min-height: 48px;
  padding: 13px 20px;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  border-color: rgba(24, 33, 31, 0.34);
  transform: translateY(-2px);
}

.button.compact {
  min-height: 44px;
  padding: 11px 17px;
}

.button.primary,
.button.store {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.button.primary:hover,
.button.store:hover {
  background: #050807;
}

.button.ghost {
  background: rgba(255, 253, 249, 0.15);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.button.soft {
  background: var(--panel);
}

.hero {
  align-items: end;
  display: grid;
  isolation: isolate;
  min-height: min(920px, 100svh);
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-scrim {
  inset: 0;
  position: absolute;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
  z-index: -2;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(15, 25, 24, 0.92) 0%, rgba(15, 25, 24, 0.66) 46%, rgba(15, 25, 24, 0.2) 100%),
    linear-gradient(180deg, rgba(15, 25, 24, 0.34), rgba(15, 25, 24, 0.75));
  z-index: -1;
}

.hero-inner {
  color: #fff;
  margin: 0 auto;
  max-width: 1240px;
  padding: clamp(148px, 18vw, 228px) clamp(20px, 4vw, 48px) clamp(72px, 9vw, 110px);
  width: 100%;
}

.hero-inner .eyebrow {
  color: #9fe4db;
}

.hero-lead {
  font-size: clamp(1.35rem, 2.55vw, 2.45rem);
  font-weight: 850;
  line-height: 1.28;
  margin-bottom: 18px;
  max-width: 640px;
}

.hero-copy,
.section-heading p,
.app-card p,
.feature-list p,
.trust-band p,
.document p,
.document li,
.page-hero p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.85;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.82);
  max-width: 590px;
}

.action-row {
  gap: 16px;
  margin-top: 30px;
}

.section {
  padding-bottom: clamp(78px, 10vw, 128px);
  padding-top: clamp(76px, 10vw, 124px);
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(30px, 5vw, 54px);
}

.section-heading p {
  margin-bottom: 0;
  max-width: 620px;
}

.section-heading.split {
  align-items: end;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.62fr);
}

.section-heading.center {
  justify-items: center;
  margin: 0 auto;
  max-width: 850px;
  text-align: center;
}

.app-section {
  padding-top: clamp(84px, 10vw, 128px);
}

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

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

.app-card p {
  margin-bottom: 0;
}

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

.app-icon {
  border-radius: var(--radius);
  box-shadow: 0 18px 36px rgba(24, 33, 31, 0.16);
  display: block;
  height: 68px;
  width: 68px;
}

.app-icon.mint {
  background:
    radial-gradient(circle at 68% 32%, rgba(255, 255, 255, 0.94) 0 12%, transparent 13%),
    linear-gradient(135deg, #42a49c, var(--mint-deep));
}

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

.app-icon.sky {
  background:
    radial-gradient(circle at 64% 62%, rgba(255, 255, 255, 0.9) 0 15%, transparent 16%),
    linear-gradient(135deg, #63aecd, var(--sky));
}

.app-card .button {
  justify-self: start;
}

.concept {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  max-width: none;
}

.concept .section-heading {
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}

.feature-section {
  display: grid;
  gap: clamp(24px, 5vw, 72px);
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
}

.feature-section .section-heading {
  align-content: start;
  margin-bottom: 0;
}

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

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

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

.feature-list p {
  margin-bottom: 0;
}

.trust-band {
  align-items: center;
  background: var(--ink);
  border-radius: var(--radius);
  color: #fff;
  display: grid;
  gap: clamp(20px, 3vw, 38px);
  grid-template-columns: minmax(230px, 0.8fr) minmax(260px, 0.85fr) auto;
  margin-bottom: clamp(72px, 8vw, 100px);
  padding-bottom: clamp(28px, 4vw, 48px);
  padding-top: clamp(28px, 4vw, 48px);
}

.trust-band .eyebrow {
  color: #9fe4db;
}

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

.trust-links {
  gap: 10px;
  justify-content: end;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding-bottom: 48px;
  padding-top: 30px;
}

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

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

.document-shell .header-inner {
  border-bottom: 1px solid var(--line);
}

.page-hero {
  border-bottom: 1px solid var(--line);
  padding: clamp(58px, 9vw, 110px) 0;
}

.page-hero-inner {
  max-width: 980px;
}

.page-hero h1,
.document h1 {
  font-size: clamp(2.45rem, 5.3vw, 5.2rem);
}

.page-hero p {
  max-width: 720px;
}

.date-line {
  color: var(--muted);
  font-weight: 750;
  margin-bottom: 0;
}

.document {
  max-width: 980px;
  min-height: calc(100svh - 286px);
  padding-bottom: clamp(80px, 10vw, 116px);
  padding-top: clamp(54px, 8vw, 88px);
}

.document h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  margin-bottom: 12px;
}

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

.document-block,
.support-contact {
  border-top: 1px solid var(--line);
  margin-top: clamp(34px, 5vw, 52px);
  padding-top: clamp(24px, 4vw, 38px);
}

.document > :first-child {
  margin-top: 0;
}

.support-contact {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 56px rgba(24, 33, 31, 0.06);
  padding: clamp(24px, 4vw, 40px);
}

.support-contact .button {
  margin-top: 10px;
}

.topic-list {
  display: grid;
  gap: 0;
  list-style: none;
  padding-left: 0;
}

.topic-list li {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px 20px;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  padding: 20px 0;
}

.topic-list strong {
  font-size: 1.08rem;
}

.topic-list p {
  margin-bottom: 0;
}

.note {
  background: #fff2e8;
  border: 1px solid #efd5be;
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px);
}

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: min(860px, 100svh);
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(15, 25, 24, 0.44), rgba(15, 25, 24, 0.92)),
      linear-gradient(90deg, rgba(15, 25, 24, 0.58), rgba(15, 25, 24, 0.26));
  }

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

  .section-heading.split,
  .app-grid,
  .feature-section,
  .trust-band,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .trust-links {
    justify-content: start;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 2.85rem;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10vw, 2.5rem);
  }

  .hero-lead {
    font-size: 1.18rem;
  }

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

  .brand-mark {
    height: 36px;
    width: 36px;
  }

  .button.compact {
    min-width: 108px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-inner {
    padding-top: 128px;
  }

  .action-row,
  .action-row .button,
  .trust-links,
  .trust-links .button {
    width: 100%;
  }

  .feature-list li,
  .topic-list li {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    align-items: start;
    flex-direction: column;
  }
}
