:root {
  --bg: #f7faf8;
  --surface: #ffffff;
  --surface-soft: #eef8f1;
  --surface-mint: #e4f6ea;
  --ink: #17211b;
  --muted: #637169;
  --line: #dce7df;
  --green: #20a35a;
  --green-dark: #087a3e;
  --green-deep: #075b32;
  --green-light: #bdeccb;
  --shadow-sm: 0 12px 34px rgba(20, 73, 43, 0.08);
  --shadow-lg: 0 34px 90px rgba(20, 73, 43, 0.16);
  --radius-sm: 18px;
  --radius: 28px;
  --radius-lg: 42px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "PingFang TC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 12px;
  color: #fff;
  background: var(--green-deep);
  text-decoration: none;
}

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

.container,
.nav-inner,
.hero-inner,
.module-inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(247, 250, 248, 0.88);
  border-bottom: 1px solid rgba(220, 231, 223, 0.8);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 7px 18px rgba(32, 163, 90, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: #526058;
  font-size: 0.92rem;
  font-weight: 680;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--green-dark);
}

.nav-lang select {
  min-height: 38px;
  padding: 6px 32px 6px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(75, 206, 125, 0.18), transparent 28%),
    radial-gradient(circle at 10% 92%, rgba(185, 237, 204, 0.36), transparent 33%),
    linear-gradient(180deg, #fff 0%, #f5fbf7 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -48%;
  width: 60%;
  aspect-ratio: 1;
  border: 1px solid rgba(32, 163, 90, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(32, 163, 90, 0.03), 0 0 0 140px rgba(32, 163, 90, 0.02);
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 680px;
  padding-block: 74px 58px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 58px;
}

.hero-logo {
  width: 86px;
  height: 86px;
  margin-bottom: 26px;
  border-radius: 23px;
  box-shadow: 0 22px 50px rgba(32, 163, 90, 0.2);
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(3.8rem, 7vw, 6.8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero p {
  max-width: 560px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.9vw, 1.32rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green), #158a4a);
  box-shadow: 0 14px 32px rgba(32, 163, 90, 0.25);
}

.btn-secondary {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(32, 163, 90, 0.35);
}

.hero-media {
  position: relative;
  min-height: 530px;
}

.phone {
  position: absolute;
  width: 245px;
  aspect-ratio: 0.502;
  padding: 8px;
  overflow: hidden;
  background: #0d100e;
  border: 2px solid #202421;
  border-radius: 42px;
  box-shadow: var(--shadow-lg);
}

.phone::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 15px;
  left: 50%;
  width: 34%;
  height: 19px;
  transform: translateX(-50%);
  background: #0b0d0c;
  border-radius: 999px;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 33px;
  background: #fff;
}

.phone-main {
  z-index: 3;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.phone-left {
  z-index: 2;
  top: 86px;
  left: 2%;
  transform: rotate(-6deg) scale(0.9);
  opacity: 0.94;
}

.phone-right {
  z-index: 1;
  top: 105px;
  right: 0;
  transform: rotate(6deg) scale(0.86);
  opacity: 0.9;
}

.stats-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-block: 1px solid var(--line);
}

.stats-strip div {
  padding: 25px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stats-strip div:last-child {
  border-right: 0;
}

.stats-strip strong,
.stats-strip span {
  display: block;
}

.stats-strip strong {
  color: var(--green-dark);
  font-size: 1.35rem;
  line-height: 1.2;
}

.stats-strip span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

.module {
  padding-block: 112px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.module:nth-of-type(even) {
  background: var(--bg);
}

.module-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: 90px;
}

.module-reverse .module-media {
  order: 2;
}

.module-reverse .module-content {
  order: 1;
}

.module-label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.module-content h2,
.feature-band h2,
.cta-bottom h2,
.page-head h1,
.not-found h1 {
  margin: 0 0 22px;
  font-size: clamp(2.25rem, 4.5vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.module-content p,
.feature-band > .container > p,
.cta-bottom p,
.page-head p,
.legal-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.module-media {
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(100, 211, 140, 0.22), transparent 46%),
    linear-gradient(135deg, #eff9f2, #fbfdfb);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.single-phone {
  position: relative;
  width: min(280px, 66%);
  aspect-ratio: 0.502;
  padding: 8px;
  overflow: hidden;
  background: #0d100e;
  border: 2px solid #202421;
  border-radius: 44px;
  box-shadow: var(--shadow-lg);
  transform: translateY(60px);
}

.single-phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 50%;
  width: 34%;
  height: 20px;
  transform: translateX(-50%);
  background: #0b0d0c;
  border-radius: 999px;
}

.single-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 34px;
  background: #fff;
}

.family-shot {
  width: min(430px, 78%);
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-2deg) translateY(12px);
}

.family-shot img {
  width: 100%;
  border-radius: 24px;
}

.feature-band {
  padding-block: 112px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 10%, rgba(119, 230, 158, 0.25), transparent 30%),
    linear-gradient(135deg, #086a3a, #054a2b);
}

.feature-band .module-label {
  color: #aef0c5;
}

.feature-band > .container > p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.privacy-grid article {
  min-height: 210px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.privacy-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: #063b23;
  background: #b9efcb;
  border-radius: 15px;
  font-weight: 900;
}

.privacy-grid h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.privacy-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
}

.cta-bottom {
  padding-block: 104px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 110%, rgba(80, 202, 124, 0.25), transparent 44%),
    #fff;
}

.cta-bottom p {
  margin-bottom: 30px;
}

.footer {
  padding-block: 34px;
  background: #f0f6f2;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}

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

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span,
.footer-copy {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #536158;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
}

.page {
  min-height: calc(100vh - 260px);
  padding-block: 64px 100px;
  background:
    radial-gradient(circle at 85% 4%, rgba(80, 202, 124, 0.14), transparent 28%),
    var(--bg);
}

.back-link {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--green-dark);
  font-weight: 750;
  text-decoration: none;
}

.back-link::before {
  content: "←";
  margin-right: 8px;
}

.page-head {
  max-width: 760px;
  margin-bottom: 54px;
}

.page-head h1 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.platform-card {
  min-height: 310px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.platform-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: var(--green-dark);
  background: var(--surface-mint);
  border-radius: 18px;
  font-size: 1.45rem;
  font-weight: 850;
}

.platform-card h2 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.platform-card p {
  margin: 0 0 32px;
  color: var(--muted);
}

.platform-card .btn {
  margin-top: auto;
}

.legal {
  max-width: 860px;
}

.legal-intro {
  margin-bottom: 38px;
  padding: 26px 28px;
  background: var(--surface-mint);
  border: 1px solid #ccebd6;
  border-radius: var(--radius-sm);
}

.legal section {
  padding-block: 28px;
  border-top: 1px solid var(--line);
}

.legal h2 {
  margin: 0 0 10px;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
}

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

.not-found {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 64px 24px;
  text-align: center;
  background:
    radial-gradient(circle, rgba(79, 203, 123, 0.2), transparent 40%),
    var(--bg);
}

.not-found-code {
  display: block;
  color: var(--green);
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.not-found h1 {
  margin-top: 24px;
}

.not-found p {
  max-width: 580px;
  margin: 0 auto 30px;
  color: var(--muted);
}

.dialog-backdrop {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(7, 27, 16, 0.5);
  backdrop-filter: blur(10px);
}

.dialog-backdrop.active {
  display: grid;
}

.dialog {
  width: min(460px, 100%);
  padding: 38px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 40px 120px rgba(5, 38, 20, 0.32);
  text-align: center;
}

.dialog h2 {
  margin: 0 0 12px;
  font-size: 1.8rem;
}

.dialog p {
  margin: 0 0 26px;
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid rgba(32, 163, 90, 0.42);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 74px 0 auto;
    max-height: 0;
    padding: 0 24px;
    display: grid;
    gap: 0;
    overflow: hidden;
    background: rgba(247, 250, 248, 0.98);
    border-bottom: 1px solid transparent;
    opacity: 0;
    transition: max-height 200ms ease, padding 200ms ease, opacity 160ms ease;
  }

  .nav-links.open {
    max-height: 420px;
    padding-block: 18px 26px;
    border-bottom-color: var(--line);
    opacity: 1;
  }

  .nav-links a {
    padding-block: 11px;
  }

  .nav-lang {
    padding-top: 10px;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

  .hero-content {
    max-width: 680px;
    text-align: center;
    margin-inline: auto;
  }

  .hero-logo {
    margin-inline: auto;
  }

  .hero p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-media {
    width: min(680px, 100%);
    margin-inline: auto;
  }

  .module-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .module-reverse .module-media,
  .module-reverse .module-content {
    order: initial;
  }

  .module-content {
    max-width: 720px;
  }
}

@media (max-width: 720px) {
  .container,
  .nav-inner,
  .hero-inner,
  .module-inner {
    width: min(100% - 32px, 1180px);
  }

  .nav-inner {
    min-height: 66px;
  }

  .nav-links {
    inset-block-start: 66px;
  }

  .hero-inner {
    padding-block: 48px 30px;
    gap: 34px;
  }

  .hero-logo {
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    border-radius: 20px;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.7rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-media {
    min-height: 400px;
  }

  .phone {
    width: 176px;
    padding: 6px;
    border-radius: 31px;
  }

  .phone img {
    border-radius: 24px;
  }

  .phone::before {
    top: 11px;
    height: 14px;
  }

  .phone-left {
    top: 64px;
    left: -3%;
  }

  .phone-right {
    top: 74px;
    right: -3%;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-strip div:nth-child(2) {
    border-right: 0;
  }

  .stats-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .module,
  .feature-band,
  .cta-bottom {
    padding-block: 72px;
  }

  .module-inner {
    gap: 36px;
  }

  .module-media {
    min-height: 430px;
    border-radius: 28px;
  }

  .single-phone {
    width: 230px;
  }

  .module-content h2,
  .feature-band h2,
  .cta-bottom h2 {
    font-size: clamp(2.05rem, 11vw, 3rem);
  }

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

  .privacy-grid article {
    min-height: auto;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .page {
    padding-block: 42px 74px;
  }

  .back-link {
    margin-bottom: 34px;
  }

  .platform-card {
    min-height: 280px;
    padding: 30px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
