:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --orange: #ff9958;
  --white: #fff;
  --ink: #201d32;
  --muted: #585468;
  --brand: #5246c6;
  --brand-dark: #3a2da3;
  --lavender: #ece9fa;
  --line: #e7e3ec;
  --radius: clamp(1.4rem, 3vw, 2.25rem);
  --wrap: 73rem;
  --gutter: clamp(1.125rem, 4vw, 3rem);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-dark); text-underline-offset: 0.25em; }
a:hover { text-decoration-thickness: 0.13em; }
a:focus-visible { outline: 3px solid #8b63e5; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
h1, h2 { text-wrap: balance; }
[tabindex="-1"]:focus { outline: none; }

.wrap {
  width: min(var(--wrap), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.skip {
  position: fixed;
  z-index: 3;
  inset: 0 auto auto 1rem;
  padding: 0.5rem 1rem;
  background: var(--white);
  transform: translateY(-130%);
}

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

.site-header { border-bottom: 1px solid var(--line); }
.landing .site-header { background: #f7f4fc; }
.header-inner, .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.625rem 1.5rem;
  padding-block: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 750;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 clamp(0.85rem, 2.5vw, 1.75rem);
  font-size: 0.9rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover, .nav a[aria-current] { color: var(--brand-dark); text-decoration: underline; }
.nav .language { color: var(--brand-dark); font-weight: 650; }

.hero {
  overflow: hidden;
  background: linear-gradient(142deg, #f8f5fc 24%, #eee8fc 100%);
  border-bottom: 1px solid #e2dbf3;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.91fr) minmax(0, 1.09fr);
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2.5rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: clamp(3rem, 8vw, 7.75rem);
}

.platform {
  color: var(--brand-dark);
  font-size: 0.91rem;
  font-weight: 700;
}

.hero .platform {
  width: fit-content;
  padding: 0.37rem 0.8rem;
  border: 1px solid #d9d0f0;
  border-radius: 999px;
  background: #ffffff70;
}

.hero h1 {
  margin-block: 1rem 1.25rem;
  font-size: clamp(3rem, 6.7vw, 6.15rem);
  font-weight: 800;
  letter-spacing: -0.095em;
  line-height: 1.07;
  text-wrap: wrap;
}

.hero h1 > span { display: block; color: var(--brand); }
.hero h1 .hero-period { color: #b85523; }
.hero:lang(en) h1 {
  font-size: clamp(2.45rem, 5.5vw, 5.15rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.lede {
  max-width: 26rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.16rem);
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: var(--brand-dark);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.button:hover { background: var(--ink); }
.requirement { color: var(--muted); font-size: 0.875rem; }

.hero-visual {
  isolation: isolate;
  position: relative;
  align-self: stretch;
  min-height: clamp(25rem, 48vw, 39.5rem);
}

.hero-visual::before, .hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}

.hero-visual::before {
  width: 90%;
  right: -1%;
  top: 9%;
  border: 1px solid #fff9;
  background: radial-gradient(circle at 25% 20%, #d5c5ff, #a293ee 75%);
  box-shadow: 0 0 0 clamp(0.75rem, 1.8vw, 1.5rem) #d2c5f65c;
}

.hero-visual::after {
  width: clamp(0.65rem, 1.8vw, 1.35rem);
  top: 26%;
  left: 8%;
  background: var(--orange);
  box-shadow: -1.05rem 1.65rem 0 -0.2rem #fbb17f;
}

.phone {
  border: 0.38rem solid #221d31;
  border-radius: clamp(1.4rem, 3vw, 2.25rem);
  background: #221d31;
  overflow: hidden;
}

.phone img { width: 100%; border-radius: calc(clamp(1.4rem, 3vw, 2.25rem) - 0.38rem); }

.hero-phone, .hero-phone-dark {
  position: absolute;
  box-shadow: 0.8rem 1.5rem 2.85rem #2014573d;
}

.hero-phone {
  width: clamp(11.2rem, 49%, 18rem);
  inset: 9% auto auto 59%;
  transform: translateX(-50%) rotate(8deg);
}

.hero-phone-dark {
  width: clamp(9.2rem, 41%, 15rem);
  inset: 17% auto auto 34%;
  transform: translateX(-50%) rotate(-13deg);
}

.check-card {
  position: absolute;
  right: 2%;
  bottom: 11%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem 0.6rem 0.65rem;
  border: 1px solid #ee9a66;
  border-radius: 1rem;
  background: #fff0e4;
  box-shadow: 0 0.7rem 1.9rem #2c216641;
  transform: rotate(-5deg);
  line-height: 1.34;
}

.check-card strong { display: block; font-size: 0.96rem; }
.check-card small { color: #644132; font-size: 0.8rem; }

.check-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
  color: #291d2b;
  font-size: 1.28rem;
  font-weight: 800;
}

.features { padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 5vw, 4rem); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem 2rem;
  margin-bottom: clamp(1.25rem, 4vw, 2.55rem);
}

.section-heading h2, .privacy-callout h2 {
  font-size: clamp(2rem, 4.4vw, 3.65rem);
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.section-heading p, .privacy-callout p { color: var(--muted); }
.section-heading p { max-width: 28rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.45rem);
}

.feature {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eee8f9;
}

.feature-grid .feature:nth-child(2) { background: #f9eadc; }

.feature-copy {
  align-self: center;
  position: relative;
  z-index: 1;
  padding: clamp(1.4rem, 3.5vw, 2.55rem);
}

.feature-copy h3 {
  font-size: clamp(1.45rem, 3.1vw, 2.5rem);
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.feature-copy p {
  max-width: 28rem;
  margin-top: 0.55rem;
  color: var(--muted);
}

.feature-media {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  align-items: start;
  min-height: clamp(18rem, 32vw, 26rem);
  padding-bottom: clamp(1rem, 3vw, 1.65rem);
  padding-inline: 1rem;
  overflow: hidden;
}

.feature-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 11%;
  left: 50%;
  width: min(79%, 27rem);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #ded1fa;
}

.feature-grid .feature:nth-child(2) .feature-media::before { background: #f4cda9; }

.feature-media .phone {
  width: clamp(10.75rem, 55%, 15rem);
  box-shadow: 0.3rem 1rem 2rem #2b20302b;
}

.widget-feature {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  grid-template-rows: 1fr;
  margin-top: clamp(0.9rem, 2vw, 1.45rem);
  background: #30245e;
  color: var(--white);
}

.widget-feature .feature-copy { padding: clamp(1.4rem, 5vw, 4.1rem); }
.widget-feature h3 {
  font-size: clamp(1.85rem, 4.4vw, 3.6rem);
  letter-spacing: -0.07em;
}

.widget-feature p { color: #e2d9f4; }
.widget-feature .feature-media {
  min-height: clamp(20rem, 39vw, 27rem);
  padding-top: clamp(1.4rem, 3.5vw, 2.75rem);
}

.widget-feature .feature-media::before {
  background: #4e3c85;
  box-shadow: 0 0 0 1rem #483678;
}

.widget-feature .phone { width: clamp(10.4rem, 54%, 14rem); }

.screenshot-note { margin-top: 0.9rem; color: var(--muted); font-size: 0.875rem; }

.privacy-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.15rem 2rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.75rem);
  padding: clamp(1.4rem, 3.5vw, 2.75rem);
  border: 1px solid #ddd3ef;
  border-radius: var(--radius);
  background: #f3eff8;
}

.privacy-callout h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  letter-spacing: -0.055em;
}

.landing:lang(en) main :is(h2, h3) { letter-spacing: -0.035em; }

.privacy-callout p { max-width: 39rem; margin-top: 0.55rem; }
.privacy-link {
  border: 1px solid #c9b8e1;
  background: var(--white);
  color: var(--brand-dark);
}

.privacy-link:hover { background: var(--lavender); }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 1.1rem; }
.footer-inner p { color: var(--muted); font-size: 0.88rem; }

.legal-page {
  max-width: 50rem;
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.legal-heading { padding-bottom: 1.7rem; border-bottom: 1px solid var(--line); }
.legal-heading h1 {
  margin-block: 0.55rem;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  letter-spacing: -0.06em;
}

.legal-heading time { color: var(--muted); }
.legal-intro {
  margin-block: 1.8rem;
  padding: 1.15rem 1.35rem;
  border-radius: 0.9rem;
  background: var(--lavender);
  color: var(--ink);
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  padding: 0 0 1.4rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}

.legal-body h2 {
  margin-top: 1.9rem;
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
  scroll-margin-top: 1rem;
  text-wrap: wrap;
}

.legal-body p, .legal-body ul { color: var(--muted); }
.legal-body p + p { margin-top: 0.65rem; }
.legal-body ul { padding-inline-start: 1.4rem; }
.legal-body li + li { margin-top: 0.35rem; }

@media (max-width: 55rem) {
  .hero h1 { letter-spacing: -0.085em; }
  .hero-phone-dark { left: 30%; }
  .check-card { right: 0; }
  .feature-media .phone { width: clamp(9rem, 61%, 12.6rem); }
}

@media (max-width: 42rem) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-block: 2.15rem 0; }
  .hero h1 { font-size: clamp(2.85rem, 10.5vw, 4.3rem); }
  .hero:lang(en) h1 { font-size: clamp(2.3rem, 8.4vw, 4.4rem); }
  .hero-actions { margin-top: 1.15rem; }
  .hero-visual { min-height: clamp(25rem, 107vw, 34rem); }
  .hero-phone { width: clamp(10.5rem, 49%, 15.5rem); }
  .hero-phone-dark { width: clamp(8.8rem, 41%, 13rem); left: 34%; }
  .hero-visual::before { width: min(84%, 28rem); right: 5%; }
  .feature-grid, .widget-feature { grid-template-columns: 1fr; }
  .widget-feature { grid-template-rows: auto 1fr; }
  .widget-feature .feature-media { min-height: clamp(21rem, 91vw, 26rem); padding-top: 0; }
  .widget-feature .phone { width: clamp(10.6rem, 50%, 13.5rem); }
}

@media (max-width: 30rem) {
  .header-inner { gap: 0.125rem; padding-block: 0.45rem; }
  .header-inner .nav { width: 100%; }
}
