:root {
  color-scheme: light;
  --page: #fcf9f7;
  --ink: #050505;
  --muted: #6f6d68;
  --line: rgba(5, 5, 5, 0.1);
  --paper: #fffdf8;
  --sky: #bfe8ff;
  --sky-deep: #91cdf1;
  --blue: #4d8df7;
  --cream: #fff2a6;
  --shadow: 0 18px 44px rgba(17, 18, 20, 0.08), 0 3px 10px rgba(17, 18, 20, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--page);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-stage {
  width: min(100% - 28px, 1880px);
  margin: 0 auto;
  padding: 14px 0 clamp(28px, 5vw, 64px);
}

.hero-card {
  position: relative;
  min-height: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: clamp(24px, 3vw, 34px);
  background:
    radial-gradient(circle at 9% 22%, rgba(255, 255, 255, 0.82) 0 5.4rem, transparent 5.6rem),
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.8) 0 6.8rem, transparent 7rem),
    linear-gradient(180deg, #c7ecff 0%, #dff4ff 48%, #f9fbfb 100%);
  box-shadow: var(--shadow);
  padding-bottom: clamp(34px, 5vw, 74px);
}

.hero-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(5, 5, 5, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 5, 5, 0.026) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  content: "";
}

.sky-wash::after {
  position: absolute;
  right: 8%;
  bottom: -12%;
  width: min(52vw, 860px);
  height: min(34vw, 520px);
  border-radius: 56% 44% 0 0;
  background: linear-gradient(160deg, rgba(255, 242, 166, 0.96), rgba(255, 246, 187, 0.72));
  clip-path: polygon(8% 22%, 32% 7%, 58% 16%, 82% 0, 100% 22%, 100% 100%, 0 100%, 0 36%);
  content: "";
  transform: rotate(-5deg);
}

.nav-pill {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  width: min(920px, calc(100% - 40px));
  min-height: 48px;
  margin-top: 16px;
  padding: 6px 8px 6px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 24px rgba(32, 82, 109, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links a,
.language-switch {
  text-decoration: none;
}

.brand {
  font-weight: 900;
  letter-spacing: -0.08em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: rgba(5, 5, 5, 0.78);
  font-size: 0.92rem;
}

.language-switch {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 0.9rem;
  font-weight: 760;
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  width: min(920px, calc(100% - 32px));
  padding-top: clamp(76px, 12vw, 150px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 20px;
  color: rgba(5, 5, 5, 0.72);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(4.1rem, 5vw, 5.9rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

html[lang="zh-CN"] h1 {
  max-width: 900px;
  font-size: clamp(3.5rem, 5.2vw, 5.4rem);
  letter-spacing: -0.08em;
}

.hero-lede {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(5, 5, 5, 0.62);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(32, 82, 109, 0.12);
  font-size: 0.94rem;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  color: white;
  border-color: var(--ink);
  background: var(--ink);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
}

.paper-collage {
  position: relative;
  inset: auto;
  z-index: 2;
  width: 100%;
  height: clamp(210px, 22vw, 340px);
  margin-top: clamp(16px, 2.6vw, 34px);
  overflow: hidden;
  pointer-events: none;
}

.paper-shape {
  position: absolute;
  display: block;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.08));
}

.paper-shape-blue {
  left: 6%;
  bottom: 7%;
  width: min(34vw, 520px);
  height: min(13vw, 190px);
  border-radius: 42% 52% 39% 46%;
  background: #9fb5ff;
  clip-path: polygon(2% 36%, 18% 18%, 42% 28%, 62% 5%, 90% 23%, 100% 52%, 78% 82%, 43% 75%, 20% 88%, 0 62%);
}

.paper-shape-cream {
  right: -2%;
  bottom: -8%;
  width: min(40vw, 620px);
  height: min(23vw, 350px);
  background:
    repeating-linear-gradient(172deg, transparent 0 32px, rgba(154, 133, 64, 0.25) 33px 34px),
    var(--cream);
  clip-path: polygon(12% 18%, 42% 2%, 73% 14%, 100% 36%, 94% 100%, 2% 100%, 0 38%);
}

.paper-shape-ink {
  right: 12%;
  bottom: 25%;
  width: min(17vw, 260px);
  height: min(5vw, 78px);
  border-radius: 50%;
  background: #050505;
  clip-path: polygon(0 45%, 13% 24%, 28% 34%, 42% 7%, 61% 30%, 78% 18%, 100% 42%, 89% 80%, 60% 72%, 38% 92%, 18% 68%);
}

.screenshot-card {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: min(14vw, 210px);
  margin: 0;
  padding: clamp(8px, 1.2vw, 14px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: clamp(24px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 34px 80px rgba(38, 60, 80, 0.18);
  transform: translateX(-50%) rotate(-2deg);
  backdrop-filter: blur(14px);
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(18px, 2vw, 30px);
}

.shortcut-note {
  position: absolute;
  right: 26%;
  bottom: 18%;
  display: grid;
  gap: 4px;
  min-width: 156px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(38, 60, 80, 0.16);
  transform: rotate(4deg);
  backdrop-filter: blur(14px);
}

.shortcut-note span {
  color: rgba(5, 5, 5, 0.58);
  font-size: 0.74rem;
  font-weight: 760;
  text-transform: uppercase;
}

.shortcut-note strong {
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.stage-bottom {
  position: relative;
  z-index: 3;
  width: min(1080px, calc(100% - 28px));
  margin: clamp(-54px, -4vw, -34px) auto 0;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 40px;
  background:
    radial-gradient(circle at 92% 100%, rgba(255, 242, 166, 0.5), transparent 19rem),
    radial-gradient(circle at 4% 0%, rgba(159, 181, 255, 0.22), transparent 16rem),
    rgba(252, 249, 247, 0.74);
  backdrop-filter: blur(18px);
}

.language-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 0 22px;
  border: 1px solid rgba(5, 5, 5, 0.07);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
}

.language-strip p {
  margin: 0;
  color: rgba(5, 5, 5, 0.54);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: rgba(5, 5, 5, 0.72);
  font-size: 0.94rem;
  font-weight: 720;
}

.language-list span + span::before {
  margin: 0 12px;
  color: rgba(5, 5, 5, 0.24);
  content: "/";
}

.micro-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 1.08fr;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  margin: 18px auto 0;
}

.feature-note {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 34px 46px 32px 40px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(17, 18, 20, 0.06);
}

.feature-note::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 130px;
  height: 130px;
  border-radius: 42% 58% 48% 52%;
  background: rgba(77, 141, 247, 0.12);
  content: "";
}

.feature-note-startup {
  transform: translateY(18px) rotate(-1deg);
}

.feature-note-startup::after {
  background: rgba(255, 242, 166, 0.55);
}

.feature-note-native {
  transform: translateY(-8px) rotate(1deg);
}

.feature-note-native::after {
  background: rgba(5, 5, 5, 0.07);
}

.micro-grid span {
  display: block;
  margin-bottom: 54px;
  color: rgba(5, 5, 5, 0.42);
  font-weight: 820;
}

.micro-grid h2 {
  margin-bottom: 14px;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(2rem, 3.8vw, 4rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.micro-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .hero-card {
    min-height: auto;
  }

  .nav-pill {
    grid-template-columns: auto 1fr auto;
    justify-items: normal;
    width: min(760px, calc(100% - 28px));
    padding: 6px 8px 6px 18px;
  }

  .nav-links {
    gap: 14px;
  }

  .language-switch {
    justify-self: end;
  }

  .hero-copy {
    padding-top: 58px;
  }

  .paper-collage {
    height: 330px;
  }

  .screenshot-card {
    bottom: 14px;
    width: min(34vw, 260px);
  }

  .shortcut-note {
    right: 8%;
  }

  .micro-grid {
    grid-template-columns: 1fr;
  }

  .language-strip {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 18px;
  }

  .language-list {
    justify-content: flex-start;
  }

  .feature-note,
  .feature-note-startup,
  .feature-note-native {
    transform: none;
  }
}

@media (max-width: 560px) {
  .site-stage {
    width: min(100% - 16px, 520px);
    padding-top: 8px;
  }

  .hero-card {
    min-height: auto;
  }

  .nav-links {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 12.5vw, 4.4rem);
    letter-spacing: -0.06em;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .paper-shape-blue {
    left: -18%;
    width: 72vw;
  }

  .paper-shape-cream {
    right: -28%;
    width: 86vw;
  }

  .shortcut-note {
    display: none;
  }

  .micro-grid article {
    min-height: 220px;
  }

  .micro-grid span {
    margin-bottom: 34px;
  }
}
