:root {
  color-scheme: light;
  --ink: #202120;
  --paper: #f6f5ef;
  --dark: #202120;
  --muted: #c5c7c1;
  --lilac: #e1dcfa;
  --mint: #d9e6de;
  --lime: #e3e9c2;
  --sand: #ece3d4;
  --mist: #dce7ef;
  --shell: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--dark); }
h1, h2, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.shell { width: min(var(--shell), calc(100% - 96px)); margin-inline: auto; }

.site-header, .hero, .site-footer { color: var(--paper); background: var(--dark); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-inner { min-height: 84px; border-bottom: 1px solid #ffffff20; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.25rem; font-weight: 750; white-space: nowrap; }
.brand img { border-radius: 25%; }
nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 34px); font-size: .9rem; color: var(--muted); }
nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
nav a:hover { color: var(--paper); }
nav .pill { padding-inline: 16px; border: 1px solid #ffffff38; border-radius: 40px; color: var(--paper); }
nav .pill:hover { background: #ffffff12; }

.hero { overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; min-height: 680px; padding-block: 56px 68px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: .9rem; font-weight: 650; letter-spacing: .13em; }
.eyebrow span { inline-size: 8px; block-size: 8px; background: var(--lilac); border-radius: 50%; }
.hero .eyebrow { color: var(--lilac); }
h1, h2 { font-weight: 780; line-height: 1.12; letter-spacing: -.075em; }
h1 { font-size: clamp(3.6rem, 7.3vw, 6.7rem); }
h1 span { color: var(--lilac); }
.hero-description { margin-top: 25px; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.8; }
.hero-code { display: flex; align-items: center; gap: 17px; margin-top: 34px; }
.hero-code img, .closing-code img { border: 6px solid white; border-radius: 12px; background: white; }
.hero-code figcaption { display: grid; gap: 5px; }
.hero-code figcaption span { color: var(--muted); font-size: .9rem; }
.hero-visual { position: relative; display: grid; justify-items: center; align-items: center; isolation: isolate; }
.orbit { position: absolute; z-index: -1; width: min(108%, 500px); aspect-ratio: 1; border-radius: 50%; border: 1px solid #ffffff29; background: radial-gradient(circle, #ad98ef2b, #ad98ef12 57%, transparent 73%); }
.orbit::before, .orbit::after { position: absolute; content: ""; inset: 12%; border: 1px solid #ffffff22; border-radius: 50%; }
.orbit::after { inset: 25%; }
.device { overflow: hidden; padding: 5px; border: 1px solid #ffffff40; border-radius: 33px; background: #27282a; box-shadow: 0 21px 50px #11141826; }
.device img { width: 100%; height: auto; border-radius: 27px; }
.hero-device { width: min(67%, 252px); transform: rotate(5deg); }
.count-note { position: absolute; right: -5px; bottom: 19%; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 15px; background: var(--lime); color: var(--ink); box-shadow: 0 9px 28px #0004; }
.count-note-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #242723; color: white; font-size: 1.4rem; }
.count-note small { display: block; margin-top: 3px; font-size: .875rem; }
.screen-label { position: absolute; bottom: -36px; font-size: .8rem; color: var(--muted); }

.feature { overflow: hidden; }
.feature-templates { background: var(--mint); }
.feature-history { background: var(--sand); }
.feature-stats { background: var(--lilac); }
.feature-export { background: var(--mist); }
.feature-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(35px, 10vw, 145px); min-height: 625px; padding-block: 65px; }
.feature-copy .eyebrow { color: #414b44; }
h2 { font-size: clamp(2.7rem, 5.4vw, 5rem); }
.feature-copy > p:not(.eyebrow), .closing p { max-width: 28em; margin-top: 22px; font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.8; }
.feature-device { justify-self: center; width: min(84%, 224px); }
.feature-stats .feature-copy { grid-column: 2; grid-row: 1; }
.feature-stats .feature-layout > .feature-device { grid-column: 1; grid-row: 1; }
.feature-copy > p.sample-note { color: #514b61; font-size: .9rem; }
.stats-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; padding-block: 0 68px; }
.stats-gallery > figure { display: grid; justify-items: center; align-content: start; gap: 19px; padding: 21px 16px 24px; background: #ffffff43; border: 1px solid #ffffff63; border-radius: 20px; }
.stats-gallery figcaption { display: grid; justify-self: stretch; gap: 5px; line-height: 1.45; }
.stats-gallery figcaption strong { font-size: 1.15rem; }
.stats-gallery figcaption span { color: #514b61; font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.chips li { padding: 7px 13px; border: 1px solid #29392d40; border-radius: 30px; font-size: .9rem; }

.closing { background: var(--lime); }
.closing-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 38px; padding-block: 78px; }
.closing-code { justify-self: center; text-align: center; }
.closing-code figcaption { margin-top: 12px; font-size: .9rem; }
.footer-inner { min-height: 86px; color: var(--muted); font-size: .875rem; }
.footer-inner .brand { color: var(--paper); }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: end; gap: 6px 22px; text-align: right; }
.footer-meta a { white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.footer-meta a:hover { color: var(--paper); }

@media (max-width: 760px) {
  .shell { width: calc(100% - 48px); }
  .header-inner { min-height: 70px; }
  .hero-layout { grid-template-columns: 1fr; gap: 44px; padding-block: 52px 85px; min-height: 0; }
  h1 { font-size: clamp(3.3rem, 12.1vw, 5rem); }
  .hero-description { margin-top: 20px; }
  .desktop-br { display: none; }
  .hero-code { margin-top: 24px; }
  .hero-code img { width: 98px; height: 98px; }
  .hero-visual { width: min(100%, 420px); justify-self: center; }
  .hero-device { width: min(63%, 222px); }
  .count-note { right: 0; bottom: 13%; padding: 10px; gap: 8px; }
  .count-note-icon { width: 28px; height: 28px; }
  .screen-label { bottom: -34px; }
  .feature-layout, .closing-layout { grid-template-columns: 1fr; gap: 33px; min-height: 0; padding-block: 48px; }
  .feature-stats .feature-copy, .feature-stats .feature-layout > .feature-device { grid-column: auto; grid-row: auto; }
  .feature-copy > p:not(.eyebrow), .closing p { margin-top: 17px; }
  .feature-device { width: min(64%, 218px); }
  .stats-gallery { grid-template-columns: 1fr; padding-bottom: 48px; }
  .stats-gallery .feature-device { width: min(88%, 224px); }
  .closing-code { justify-self: start; }
  .footer-meta { flex-direction: column; }
}

@media (max-width: 380px) {
  .shell { width: calc(100% - 32px); }
  nav { gap: 10px; }
  nav .pill { padding-inline: 10px; }
  .brand { gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
