:root {
  --page: #f6f8f7;
  --page-deep: #eef4f1;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-solid: #ffffff;
  --surface-soft: #f3faf6;
  --brand: #11c95e;
  --brand-dark: #0b9e49;
  --brand-soft: rgba(17, 201, 94, 0.12);
  --brand-line: rgba(17, 201, 94, 0.22);
  --ink: #13231a;
  --ink-soft: #5e6d65;
  --line: rgba(19, 35, 26, 0.1);
  --shadow: 0 20px 50px rgba(15, 43, 27, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 4%, rgba(17, 201, 94, 0.12), transparent 34%),
    radial-gradient(circle at 18% 0%, rgba(17, 201, 94, 0.05), transparent 26%),
    radial-gradient(circle at 82% 0%, rgba(17, 201, 94, 0.04), transparent 24%),
    radial-gradient(circle at bottom right, rgba(17, 201, 94, 0.06), transparent 26%),
    linear-gradient(180deg, #fcfdfc 0%, #f5f9f6 54%, var(--page-deep) 100%);
  overflow-x: hidden;
}

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

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

.site-shell {
  width: min(
    1120px,
    calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))
  );
  margin: 0 auto;
  padding:
    calc(26px + env(safe-area-inset-top, 0px))
    0
    calc(30px + env(safe-area-inset-bottom, 0px));
}

.landing-main {
  position: relative;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.landing-main::before {
  display: none;
}

.site-header,
.section,
.site-footer,
.legal-document {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.site-header,
.site-footer {
  border-radius: 22px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  margin-bottom: 0;
}

.landing-page .site-header {
  padding: 8px 0 18px;
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
}

.lang-switch {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(19, 35, 26, 0.08);
}

.lang-button {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-button:hover,
.legal-link-card:hover,
.doc-link:hover {
  transform: translateY(-1px);
}

.lang-button.is-active {
  background: var(--brand);
  color: #ffffff;
}

.hero {
  position: relative;
  display: block;
  margin: 0;
  padding: 76px 0 44px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.landing-page .hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(980px, 100%);
  height: 460px;
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(17, 201, 94, 0.14), rgba(17, 201, 94, 0.05) 32%, rgba(17, 201, 94, 0) 72%);
  pointer-events: none;
  filter: blur(12px);
}

.legal-document::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.1), transparent 22%);
  pointer-events: none;
}

.hero-copy,
.section,
.legal-document {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker,
.legal-kicker {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker,
.legal-kicker {
  color: var(--brand-dark);
}

.landing-page .hero h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.4rem, 6vw, 5.8rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.landing-page .hero h1 {
  color: var(--ink);
}

.landing-page .section h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-body,
.section-heading p,
.legal-document p,
.legal-document li,
.legal-document td,
.legal-document th {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.72;
}

.hero-body {
  max-width: 54ch;
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

.landing-page .eyebrow {
  color: var(--brand-dark);
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 228px;
  padding: 14px 18px;
  border-radius: 20px;
  color: #ffffff;
  background: #13231a;
  box-shadow: 0 18px 40px rgba(19, 35, 26, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(19, 35, 26, 0.18);
}

.store-button-android {
  background: linear-gradient(180deg, #143828 0%, #10281d 100%);
}

.store-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.store-icon svg {
  width: 100%;
  height: 100%;
}

.store-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.store-prefix {
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0.76;
}

.store-label {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-note {
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.hero-disclaimer {
  max-width: 54ch;
  margin: 10px auto 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.65;
}

.section {
  margin-top: 0;
  padding: 42px 0 0;
  border: 0;
  border-top: 1px solid rgba(19, 35, 26, 0.08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 18px;
  text-align: center;
}

.section-heading p {
  margin: 10px 0 0;
}

.section-heading p,
.toc a,
.legal-document td,
.legal-document th,
.legal-document li {
  overflow-wrap: anywhere;
}

.legal-link-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 12px auto 0;
}
.legal-title h2 {
  text-align: center;
}

.legal-link-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid rgba(19, 35, 26, 0.08);
  border-radius: 0;
  background: transparent;
  transition: transform 180ms ease, color 180ms ease;
}

.legal-link-card::after {
  content: "↗";
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  color: var(--brand-dark);
  font-size: 1rem;
  font-weight: 700;
  opacity: 0.7;
  transition: transform 180ms ease, opacity 180ms ease;
}

.legal-link-card:last-child {
  border-bottom: 0;
}

.legal-link-card:hover {
  transform: translateX(2px);
}

.legal-link-card:hover::after {
  opacity: 1;
  transform: translate(2px, -2px);
}

.legal-link-card h3,
.legal-document h2,
.legal-document h3 {
  margin: 0 0 10px;
  line-height: 1.34;
}

.legal-link-card h3 {
  grid-column: 1;
  margin: 0;
  font-size: 1.15rem;
}

.legal-link-card p {
  grid-column: 2;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
  text-align: left;
}

.site-footer {
  max-width: 760px;
  margin: 28px auto 0;
  padding: 18px 0 0;
  text-align: center;
  border: 0;
  border-top: 1px solid rgba(19, 35, 26, 0.08);
  background: transparent;
  box-shadow: none;
}

.site-footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.65;
}

.legal-page .site-header {
  padding: 8px 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(19, 35, 26, 0.08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.legal-page .site-shell {
  width: min(
    1040px,
    calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))
  );
}

.legal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.legal-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 18px;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.legal-nav::-webkit-scrollbar {
  display: none;
}

.doc-link {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: auto;
  padding: 0 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 180ms ease, opacity 180ms ease;
}

.doc-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.doc-link[aria-current="page"] {
  color: var(--ink);
}

.doc-link:hover {
  transform: none;
  color: var(--ink);
}

.doc-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.legal-wrapper {
  display: block;
}

.legal-document {
  position: relative;
  overflow: hidden;
  border-color: rgba(19, 35, 26, 0.08);
  max-width: 860px;
  margin: 0 auto;
  border-radius: 30px;
  padding: 42px 40px 48px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.78) 100%);
  box-shadow: 0 22px 56px rgba(15, 43, 27, 0.07);
}

.legal-document h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.legal-date {
  margin: 12px 0 0;
  color: var(--brand-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.legal-callout,
.toc {
  margin-top: 24px;
  padding: 22px 0 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(19, 35, 26, 0.08);
}

.legal-callout {
  padding-left: 18px;
  border-top: 0;
  border-left: 3px solid rgba(17, 201, 94, 0.28);
}

.toc ol {
  column-count: 2;
  column-gap: 28px;
}

.toc li {
  break-inside: avoid;
}

.legal-document section + section {
  margin-top: 24px;
}

.legal-document section[id] {
  scroll-margin-top: 24px;
}

.legal-document h2 {
  font-family: "Manrope", sans-serif;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
}

.legal-document h3 {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.legal-document ul,
.legal-document ol {
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-document li + li {
  margin-top: 8px;
}

.table-wrap {
  margin-top: 14px;
  overflow-x: auto;
  border: 1px solid rgba(19, 35, 26, 0.08);
  border-radius: 18px;
  background: rgba(247, 251, 248, 0.82);
  -webkit-overflow-scrolling: touch;
  box-shadow: none;
}

.table-wrap table {
  width: 100%;
  min-width: 680px;
  margin-top: 0;
  border-collapse: collapse;
}

.legal-document th,
.legal-document td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.legal-document thead th {
  color: var(--brand-dark);
  background: var(--surface-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 720ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.delay-1 {
  animation-delay: 80ms;
}

.delay-2 {
  animation-delay: 170ms;
}

.delay-3 {
  animation-delay: 260ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .landing-page .site-header {
    flex-direction: row;
    align-items: center;
  }

  .landing-page .lang-switch {
    width: auto;
  }

  .hero {
    padding: 58px 0 22px;
  }

  .section {
    padding: 34px 0 0;
  }

  .legal-document {
    padding: 34px 28px 40px;
  }

  .legal-header,
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .toc ol {
    column-count: 1;
  }
}

@media (max-width: 640px) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  body {
    width: 100%;
    max-width: 100vw;
    background:
      linear-gradient(180deg, #fcfdfc 0%, #f5f8f5 62%, #eef4f1 100%);
  }

  .site-shell {
    width: calc(100% - 24px);
    max-width: 366px;
    margin-right: auto;
    margin-left: auto;
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }

  .site-header {
    padding: 10px 12px;
    border-radius: 18px;
  }

  .landing-page .site-header,
  .legal-page .site-header {
    padding: 4px 0 14px;
    border-radius: 0;
  }

  .landing-page .site-header {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    min-width: 0;
    width: 100%;
  }

  .brand {
    gap: 9px;
    min-width: 0;
    font-size: 0.94rem;
    letter-spacing: 0;
  }

  .brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .lang-switch {
    width: auto;
    flex: 0 0 auto;
    gap: 4px;
    margin-left: auto;
    padding: 4px;
  }

  .lang-button {
    flex: 0 0 auto;
    min-width: 38px;
    padding: 7px 9px;
    font-size: 0.78rem;
    text-align: center;
  }

  .landing-page .hero::before {
    display: none;
  }

  .hero {
    padding: 26px 0 8px;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    overflow: hidden;
    text-align: center;
  }

  .landing-page .hero h1,
  .legal-document h1 {
    max-width: 11em;
    margin-right: auto;
    margin-left: auto;
    font-size: 2rem;
    line-height: 1.02;
    letter-spacing: 0;
    text-wrap: balance;
  }

  .landing-page .section h2 {
    font-size: 1.55rem;
    line-height: 1.08;
    letter-spacing: 0;
  }

  .landing-page .section h2 {
    margin-bottom: 0;
  }

  .hero-body {
    max-width: none;
    margin: 12px auto 0;
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .eyebrow,
  .section-kicker,
  .legal-kicker {
    margin-bottom: 8px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .download-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    margin-top: 20px;
    overflow: hidden;
  }

  .store-button {
    width: 100%;
    min-width: 0;
    justify-content: center;
    gap: 8px;
    padding: 11px 10px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(19, 35, 26, 0.13);
  }

  .store-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .store-copy {
    min-width: 0;
  }

  .store-prefix,
  .store-label {
    white-space: nowrap;
  }

  .store-prefix {
    font-size: 0.6rem;
    letter-spacing: 0;
  }

  .store-label {
    font-size: 0.88rem;
    letter-spacing: 0;
  }

  .hero-note,
  .hero-disclaimer {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.76rem;
    line-height: 1.48;
  }

  .hero-note {
    margin-top: 12px;
  }

  .hero-disclaimer {
    margin-top: 6px;
  }

  .section {
    padding: 24px 0 0;
  }

  .section-heading {
    max-width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
    text-align: left;
  }

  .section-heading h2 {
    text-align: center;
  }

  .section-heading p {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .legal-document {
    padding: 28px 20px 34px;
    border-radius: 24px;
  }

  .legal-callout,
  .toc {
    padding: 18px 0 0;
    border-radius: 0;
  }

  .legal-callout {
    padding-left: 14px;
  }

  .legal-document h2 {
    font-size: 1.1rem;
  }

  .doc-link {
    min-height: auto;
    padding: 0 0 8px;
    font-size: 0.88rem;
  }

  .legal-link-grid {
    gap: 8px;
    max-width: 100%;
    margin-top: 10px;
    overflow: hidden;
  }

  .legal-link-card {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 12px 12px;
    border: 1px solid rgba(19, 35, 26, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
  }

  .legal-link-card h3 {
    grid-column: 1;
    margin-bottom: 0;
    font-size: 0.95rem;
    letter-spacing: 0;
  }

  .legal-link-card p {
    grid-column: 1;
    grid-row: 2;
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .legal-link-card::after {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .table-wrap {
    border-radius: 16px;
  }
}

@media (max-width: 420px) {
  .site-shell {
    width: calc(100% - 22px);
    max-width: 366px;
    margin-right: auto;
    margin-left: auto;
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
  }

  .landing-page .hero h1,
  .legal-document h1 {
    font-size: 1.88rem;
  }

  .hero {
    padding: 22px 0 6px;
  }

  .eyebrow,
  .section-kicker,
  .legal-kicker {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .landing-page .section h2 {
    font-size: 1.42rem;
  }

  .legal-document {
    padding: 24px 16px 30px;
  }

  .store-button {
    padding: 10px 9px;
  }

  .store-label {
    font-size: 0.82rem;
  }
}
