:root {
  color-scheme: light;
  --ink: #142628;
  --muted: #677779;
  --teal: #0d5559;
  --teal-dark: #093d41;
  --teal-soft: #dcecea;
  --teal-pale: #eef6f4;
  --paper: #fffdfa;
  --warm: #f4eee5;
  --wood: #9b592c;
  --line: rgba(13, 85, 89, 0.13);
  --shadow: 0 22px 60px rgba(19, 61, 63, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 86% 4%, rgba(137, 191, 187, 0.24), transparent 25rem),
    linear-gradient(180deg, #f8faf7 0%, #f1f6f3 55%, #faf8f2 100%);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a,
summary {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
}

.site {
  overflow: hidden;
}

.nav {
  width: min(1120px, calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(95, 55, 29, 0.14);
}

.brand span {
  font-size: 19px;
  font-weight: 780;
  letter-spacing: 0.02em;
}

.nav-action {
  min-height: 40px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 720;
  transition: 180ms ease;
}

.nav-action:hover {
  border-color: rgba(13, 85, 89, 0.32);
  background: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.hero {
  min-height: 510px;
  margin-top: 18px;
  padding: 62px 66px;
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 64px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 38px;
  background:
    linear-gradient(125deg, rgba(255, 253, 249, 0.96), rgba(242, 248, 245, 0.92)),
    var(--paper);
  box-shadow: var(--shadow);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.hero::before {
  width: 360px;
  height: 150px;
  right: -80px;
  bottom: -80px;
  border: 34px solid rgba(116, 173, 176, 0.11);
  transform: rotate(-12deg);
}

.hero::after {
  width: 230px;
  height: 90px;
  left: -110px;
  top: 50px;
  border: 26px solid rgba(155, 89, 44, 0.055);
}

.hero-copy,
.hero-video-card {
  position: relative;
  z-index: 1;
}

.overline,
.section-title p {
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.overline {
  display: flex;
  align-items: center;
  gap: 9px;
}

.overline span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2d9a79;
  box-shadow: 0 0 0 5px rgba(45, 154, 121, 0.12);
}

.hero h1 {
  max-width: 650px;
  margin: 22px 0 18px;
  font-size: clamp(42px, 4.35vw, 62px);
  line-height: 1.13;
  letter-spacing: -0.055em;
}

.hero-description {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 15px;
  border: 1px solid rgba(13, 85, 89, 0.12);
  background: rgba(13, 85, 89, 0.055);
  color: var(--teal);
  font-family: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: 180ms ease;
}

.card-action:hover {
  border-color: rgba(13, 85, 89, 0.28);
  background: rgba(13, 85, 89, 0.09);
}

.hero-version {
  margin: 28px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.hero-version span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2d9a79;
}

.hero-video-card {
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(13, 85, 89, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.61);
  box-shadow: 0 20px 45px rgba(25, 70, 72, 0.1);
  backdrop-filter: blur(18px);
}

.hero-video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  border-radius: 22px;
  background: #dfe9e5;
}

.hero-video-caption {
  min-height: 62px;
  padding: 4px 11px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 11px;
}

.hero-video-caption span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-video-caption i {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #2d9a79;
}

.hero-video-caption strong {
  color: var(--teal);
  font-size: 11px;
}

.downloads {
  margin-top: 74px;
}

.section-title {
  margin-bottom: 25px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-title h2 {
  margin: 7px 0 0;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-title>span {
  color: var(--muted);
  font-size: 13px;
}

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

.download-card {
  min-height: 245px;
  padding: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: rgba(255, 253, 250, 0.84);
  box-shadow: 0 14px 38px rgba(23, 62, 63, 0.07);
}

.android-card {
  border-color: rgba(52, 168, 83, 0.2);
  background: linear-gradient(180deg, rgba(232, 247, 237, 0.78), rgba(255, 253, 250, 0.94));
}

.ios-card {
  border-color: rgba(23, 23, 23, 0.16);
  background: linear-gradient(180deg, rgba(242, 242, 242, 0.9), rgba(255, 253, 250, 0.96));
}

.web-card {
  border-color: rgba(49, 93, 117, 0.2);
  background: linear-gradient(180deg, rgba(231, 241, 247, 0.82), rgba(255, 253, 250, 0.96));
}

.download-card.recommended {
  border-color: rgba(13, 85, 89, 0.32);
  background:
    linear-gradient(180deg, rgba(220, 236, 234, 0.45), rgba(255, 253, 250, 0.94)),
    var(--paper);
}

.device-badge {
  padding: 6px 9px;
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 999px;
  background: #edf3f0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

body[data-device="android"] .android-card .device-badge,
body[data-device="ios"] .ios-card .device-badge,
body[data-device="desktop"] .web-card .device-badge {
  background: var(--teal);
  color: white;
}

.platform-heading {
  padding-right: 44px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.platform-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--teal-soft);
  color: var(--teal);
}

.platform-icon svg {
  width: 26px;
  height: 26px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.android-icon {
  background: #e4f5e8;
}

.android-icon svg {
  fill: #34a853;
  stroke: none;
}

.apple-icon {
  background: #eeeeef;
}

.apple-icon svg {
  fill: #111111;
  stroke: none;
}

.web-icon {
  background: #dcecf5;
}

.web-icon .web-orb {
  fill: #286b91;
  stroke: none;
}

.web-icon .web-lines {
  fill: none;
  stroke: white;
  stroke-width: 1.45;
}

.platform-heading>div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.platform-heading strong {
  overflow: hidden;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-heading div span {
  color: var(--muted);
  font-size: 11px;
}

.download-meta {
  margin: 22px 0;
  color: var(--muted);
  font-size: 12px;
}

.card-action {
  min-height: 47px;
  margin-top: auto;
  padding: 0 9px 0 14px;
  gap: 12px;
  font-size: 13px;
}

.card-action>span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--teal);
  color: white;
  font-size: 14px;
}

.android-card .card-action {
  border-color: #258c49;
  background: #258c49;
  color: #fff;
}

.android-card .card-action>span {
  background: rgba(255, 255, 255, 0.16);
}

.ios-card .card-action {
  border-color: #171717;
  background: #171717;
  color: #fff;
}

.ios-card .card-action>span {
  background: rgba(255, 255, 255, 0.14);
}

.web-action {
  border-color: #286b91;
  color: #fff;
  background: #286b91;
}

.web-action>span {
  background: rgba(255, 255, 255, 0.16);
}

.ios-notice {
  margin: 13px 4px 0;
  color: #7b7167;
  font-size: 11px;
}

.assurance-card {
  min-height: 245px;
  padding: 18px 22px;
  display: grid;
  align-content: stretch;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: linear-gradient(150deg, rgba(238, 246, 244, 0.84), rgba(255, 253, 250, 0.96));
  box-shadow: 0 14px 38px rgba(23, 62, 63, 0.055);
}

.assurance-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid rgba(13, 85, 89, 0.1);
}

.assurance-row:last-child {
  border-bottom: 0;
}

.assurance-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 19px;
  font-weight: 800;
}

.official-icon {
  background: #dff4e7;
  color: #229557;
}

.secure-icon {
  background: #deedf7;
  color: #26749e;
}

.sync-icon {
  background: #eee5f7;
  color: #7b52b2;
}

.assurance-row div {
  min-width: 0;
}

.assurance-row strong {
  font-size: 14px;
}

.assurance-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.release-details {
  margin: 16px 0 84px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.42);
}

.release-details summary {
  min-height: 72px;
  padding: 0 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
}

.release-details summary::-webkit-details-marker {
  display: none;
}

.release-details summary>span:first-child {
  display: grid;
  gap: 4px;
}

.release-details summary strong {
  font-size: 14px;
}

.release-details summary small {
  color: var(--muted);
  font-size: 11px;
}

.summary-arrow {
  color: var(--teal);
  font-size: 20px;
  transition: transform 180ms ease;
}

.release-details[open] .summary-arrow {
  transform: rotate(180deg);
}

.release-content {
  padding: 4px 23px 24px;
  display: grid;
  gap: 10px;
}

.release-content>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 11px;
}

.release-content>div span {
  color: var(--muted);
}

.release-content code {
  padding: 11px 13px;
  overflow-wrap: anywhere;
  border-radius: 11px;
  background: rgba(13, 85, 89, 0.06);
  color: var(--teal);
  font-size: 10px;
  line-height: 1.55;
}

footer {
  padding: 24px 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.footer-brand div {
  display: grid;
  gap: 3px;
}

.footer-brand strong {
  color: var(--ink);
  font-size: 14px;
}

.tf-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
}

.tf-modal[hidden] {
  display: none;
}

.tf-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 42, 44, 0.46);
  backdrop-filter: blur(6px);
}

.tf-dialog {
  width: min(460px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  position: relative;
  padding: 28px 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 26px;
  background: linear-gradient(165deg, #fffdfa, #f2f8f5);
  box-shadow: 0 30px 80px rgba(10, 40, 42, 0.3);
  animation: tf-pop 240ms ease;
}

@keyframes tf-pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.tf-close {
  width: 34px;
  height: 34px;
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: 160ms ease;
}

.tf-close:hover {
  color: var(--ink);
  border-color: rgba(13, 85, 89, 0.3);
}

.tf-overline {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.tf-overline span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2d9a79;
}

.tf-dialog h3 {
  margin: 12px 0 20px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.tf-steps {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.tf-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
}

.tf-steps i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.tf-steps strong {
  font-size: 14px;
}

.tf-steps p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.tf-steps a {
  margin-top: 7px;
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(13, 85, 89, 0.2);
  border-radius: 10px;
  background: rgba(13, 85, 89, 0.05);
  color: var(--teal);
  font-size: 12px;
  font-weight: 720;
  transition: 160ms ease;
}

.tf-steps a:hover {
  background: rgba(13, 85, 89, 0.1);
}

.tf-cta {
  min-height: 48px;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 15px;
  background: #171717;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  transition: 160ms ease;
}

.tf-cta:hover {
  background: #000;
  transform: translateY(-1px);
}

.tf-hint {
  margin: 12px 2px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

body.tf-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero {
    padding: 50px 42px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

}

@media (max-width: 620px) {

  .nav,
  main,
  footer {
    width: calc(100% - 28px);
  }

  .tf-dialog {
    padding: 24px 20px 20px;
    border-radius: 22px;
  }

  .tf-dialog h3 {
    font-size: 19px;
  }

  .nav {
    height: 68px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand span {
    font-size: 17px;
  }

  .nav-action {
    min-height: 37px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero {
    min-height: 0;
    margin-top: 8px;
    padding: 34px 22px 24px;
    gap: 28px;
    border-radius: 28px;
  }

  .hero h1 {
    margin: 18px 0 14px;
    font-size: 31px;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.75;
  }

  .hero-version {
    margin-top: 21px;
  }

  .hero-video-card {
    padding: 6px;
    border-radius: 23px;
  }

  .hero-video-card video {
    border-radius: 18px;
  }

  .hero-video-caption {
    min-height: 54px;
    padding: 3px 8px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .downloads {
    margin-top: 54px;
  }

  .section-title {
    margin-bottom: 19px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .section-title h2 {
    font-size: 31px;
  }

  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .download-card {
    min-height: 184px;
    padding: 15px;
    border-radius: 20px;
  }

  .device-badge {
    top: 13px;
    right: 13px;
    padding: 5px 7px;
    font-size: 9px;
  }

  .platform-heading {
    padding-right: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .platform-icon {
    width: 43px;
    height: 43px;
    border-radius: 13px;
  }

  .platform-icon svg {
    width: 23px;
    height: 23px;
  }

  .platform-heading strong {
    max-width: 118px;
    font-size: 14px;
  }

  .platform-heading div span {
    display: none;
  }

  .download-meta {
    display: none;
  }

  .card-action {
    min-height: 43px;
    padding: 0 12px;
    font-size: 12px;
  }

  .ios-notice {
    line-height: 1.6;
  }

  .assurance-card {
    min-height: 184px;
    padding: 10px 15px;
    border-radius: 20px;
  }

  .assurance-row {
    grid-template-columns: 32px 1fr;
    gap: 9px;
  }

  .assurance-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 16px;
  }

  .assurance-row strong {
    font-size: 12px;
  }

  .assurance-row p {
    display: none;
  }

  .release-details {
    margin-bottom: 60px;
  }

  .release-details summary {
    min-height: 68px;
    padding: 0 18px;
  }

  .release-content {
    padding: 3px 18px 20px;
  }

  .release-content>div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  footer {
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 355px) {
  .nav-action {
    font-size: 0;
  }

  .nav-action span {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 29px;
  }

  .download-card {
    padding: 13px;
  }

  .platform-heading strong {
    max-width: 106px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}