/* SuperDev 官网：配色照 App（ios/SuperDev/Theme.swift 的夜间那套）——底纯黑，卡片 #1C1C1E，卡片里再一层 #2C2C2E，
   主按钮是字色的实心胶囊；彩色只留给绿 / 黄 / 红三颗状态点。不用衬线字。 */

:root {
  --bg: #000;
  --card: #1c1c1e;
  --card-hi: #2c2c2e;
  --text: #fff;
  --sec: rgba(255, 255, 255, .7);
  --outline: rgba(255, 255, 255, .55);
  --hair: rgba(255, 255, 255, .08);
  --wash: rgba(255, 255, 255, .05);
  --green: #30d158;
  --amber: #ffd60a;
  --red: #ff453a;
  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
::selection { background: #fff; color: #000; }
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { margin: 0; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; }
.ic.sm { width: 16px; height: 16px; }
.ic.xs { width: 13px; height: 13px; }
.ic.lg { width: 26px; height: 26px; stroke-width: 1.6; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot-green { background: var(--green); --c: 48, 209, 88; }
.dot-amber { background: var(--amber); --c: 255, 214, 10; }
.dot-red { background: var(--red); --c: 255, 69, 58; }
.pulse { animation: pulse 1.6s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--c), .55); }
  100% { box-shadow: 0 0 0 9px rgba(var(--c), 0); }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 600 16px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, opacity .2s;
}
.btn:active { transform: scale(.96); }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-solid { background: var(--text); color: #000; }
.btn-solid:hover { background: rgba(255, 255, 255, .86); }
.btn-wash { background: rgba(255, 255, 255, .09); color: var(--text); }
.btn-wash:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { height: 38px; padding: 0 17px; font-size: 14px; }
.btn-lg { height: 58px; padding: 0 34px; font-size: 18px; }

/* ---------- 顶栏 ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: calc(60px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) var(--gutter) 0;
  display: flex; align-items: center; gap: 16px;
  background: rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.nav.scrolled { border-bottom-color: var(--hair); background: rgba(0, 0, 0, .72); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; text-decoration: none; letter-spacing: -.01em; }
.brand-mark { width: 30px; height: 24px; overflow: visible; }
.brand-mark .inf, .b-mark .inf, .noti-ic .inf, .outro-mark .inf { fill: none; stroke: #fff; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark .star, .b-mark .star, .noti-ic .star, .outro-mark .star { fill: #fff; }
.nav-links { display: none; margin-left: auto; gap: 30px; }
.nav-links a { color: var(--sec); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.language-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-left: auto; color: var(--sec); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.language-link:hover, .language-link:focus-visible { color: var(--text); }
@media (max-width: 380px) {
  .nav { gap: 8px; padding-inline: 14px; }
  .nav .btn-sm { padding-inline: 12px; }
}
@media (min-width: 860px) {
  .nav { padding-left: max(var(--gutter), calc((100vw - 1160px) / 2 + var(--gutter))); padding-right: max(var(--gutter), calc((100vw - 1160px) / 2 + var(--gutter))); }
  .nav-links { display: flex; }
  .language-link { margin-left: 8px; }
}

/* ---------- 进场 ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: calc(84px + env(safe-area-inset-top)) var(--gutter) 72px;
  overflow: hidden; isolation: isolate;
}
.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px circle at var(--mx, 50%) var(--my, 32%), rgba(255, 255, 255, .075), transparent 62%),
    radial-gradient(90% 60% at 50% 120%, rgba(255, 255, 255, .06), transparent 70%);
}
.hero-inner { width: 100%; max-width: 980px; }
.mark-stage { width: min(82vw, 500px); margin: 0 auto 6px; }
.big-mark { width: 100%; height: auto; overflow: visible; }
.big-mark .track { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }
.big-mark .draw { fill: none; stroke: #fff; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; opacity: .32; }
.big-mark .comet { fill: none; stroke: #fff; stroke-linecap: butt; stroke-linejoin: round; stroke-width: 5.6; }
.big-mark .comet-a, .big-mark .comet-b { stroke-linecap: round; stroke-width: 5.8; }
.big-mark .comet-b { stroke: #a8a8a8; }
.big-mark .lobe { font: 600 3.3px var(--font); fill: rgba(255, 255, 255, .5); text-anchor: middle; letter-spacing: .2px; opacity: 0; transition: opacity 1.2s ease .2s; }
.big-mark.ready .lobe { opacity: 1; }
.big-star { fill: #fff; transform-box: fill-box; transform-origin: center; animation: twinkle 3.6s ease-in-out infinite; }
.star-halo { transform-box: fill-box; transform-origin: center; animation: halo 3.6s ease-in-out infinite; }
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  45% { transform: scale(.78) rotate(0deg); }
  55% { transform: scale(1.12) rotate(45deg); }
  70% { transform: scale(1) rotate(90deg); }
}
@keyframes halo { 0%, 100% { opacity: .5; transform: scale(1); } 55% { opacity: 1; transform: scale(1.5); } }

.live-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px 8px 13px; margin-bottom: 22px; border-radius: 999px;
  background: rgba(28, 28, 30, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 13px; color: var(--sec);
}
.live-sep { width: 1px; height: 12px; background: rgba(255, 255, 255, .18); }
.live-step { font: 12.5px/1 var(--mono); color: var(--text); transition: opacity .3s, transform .3s; display: inline-block; }
.live-step.swap { opacity: 0; transform: translateY(6px); }

.hero-title {
  font-size: clamp(32px, 9.7vw, 104px); line-height: 1.1; font-weight: 800; letter-spacing: -.04em;
  margin: 0 0 22px;
}
.hero-title .line { display: block; overflow: hidden; padding: 0 .05em .06em; }
:lang(en) .hero-title { font-size: clamp(26px, 8.8vw, 96px); }
.hero-title .hero-word { display: inline-block; white-space: nowrap; }
.hero-title .ch { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: var(--d, 0s); }
.hero-title.in .ch { transform: none; }
html:not(.js) .hero-title .ch { transform: none; }
.sheen.on {
  background: linear-gradient(100deg, #fff 0%, #fff 42%, rgba(255, 255, 255, .38) 50%, #fff 58%, #fff 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s ease-in-out infinite 1s;
}
@keyframes sheen { 0% { background-position: 100% 0; } 40%, 100% { background-position: 0% 0; } }

.hero-sub { max-width: 31em; margin: 0 auto 30px; color: var(--sec); font-size: clamp(16px, 4.3vw, 19px); line-height: 1.7; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.scroll-cue { position: absolute; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); width: 24px; height: 38px; margin-left: -12px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .28); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-height: 780px) { .scroll-cue { display: none; } }

/* ---------- 共用 ---------- */
section { position: relative; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .18em; color: var(--outline); }
.eyebrow.center { text-align: center; }
.h2 { font-size: clamp(32px, 8.6vw, 64px); line-height: 1.14; font-weight: 800; letter-spacing: -.035em; margin-bottom: 40px; }
.h2.big { font-size: clamp(38px, 11.4vw, 100px); line-height: 1.06; }
.demo, .how, .features, .safe, .start, .faq { padding: 96px 0; }
@media (min-width: 900px) { .demo, .how, .features, .safe, .start, .faq { padding: 140px 0; } }

/* ---------- 跑马灯 ---------- */
.marquee { padding: 64px 0 24px; }
.mq-row {
  overflow: hidden; margin-top: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.mq-track { display: flex; gap: 10px; width: max-content; animation: mq 46s linear infinite; }
.mq-row[data-dir="right"] .mq-track { animation-direction: reverse; animation-duration: 52s; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-chip {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 12px 18px; border-radius: 999px; background: var(--card); color: var(--sec); font-size: 15px;
}
.mq-chip .ic { width: 16px; height: 16px; color: var(--text); }

/* ---------- 演示 ---------- */
.demo-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.demo-copy .h2 { margin-bottom: 32px; }
.beats { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.beat { display: flex; gap: 16px; padding: 16px 18px; border-radius: 22px; transition: background-color .5s, opacity .5s; }
html.js .beat.reveal.in { opacity: .45; }
html.js .beat.reveal.in.on { opacity: 1; background: var(--card); }
.beat-no { font: 600 13px/1.9 var(--mono); color: var(--outline); }
.beat h3 { font-size: 19px; margin-bottom: 3px; }
.beat p { margin: 0; color: var(--sec); font-size: 15px; }

@media (min-width: 900px) {
  .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
  .phone-stage { order: 2; }
}
@media (max-width: 899px) {
  .demo-copy { display: contents; }
  .demo-copy > .eyebrow, .demo-copy > .h2 { order: 0; }
  .demo-grid > .phone-stage { order: 1; }
  .beats { order: 2; }
  .demo-grid { gap: 0; }
  .demo-copy .h2 { margin-bottom: 36px; }
  .beats { margin-top: 36px; }
}

.phone-stage { position: relative; display: grid; justify-items: center; }
.story { display: flex; gap: 6px; width: min(300px, 80vw); margin-bottom: 18px; }
.story .seg { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.story .seg i { display: block; height: 100%; width: 0; background: #fff; border-radius: 2px; }
.story-cap { font-size: 14px; color: var(--sec); margin: -6px 0 18px; height: 22px; transition: opacity .3s; }

.phone {
  --pw: min(316px, 82vw);
  width: var(--pw); aspect-ratio: 9 / 19.3;
  padding: 9px; border-radius: calc(var(--pw) * .165);
  background: #0c0c0d;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .06);
  container-type: inline-size;
  position: relative; z-index: 1;
}
.phone-shadow { position: absolute; z-index: 0; left: 50%; bottom: -6%; width: 100%; height: 40%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 255, 255, .09), transparent); pointer-events: none; }
.screen {
  position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--pw) * .135);
  background: #000; display: flex; flex-direction: column;
  font-size: 13px; font-size: clamp(10px, 4.25cqw, 13.5px); line-height: 1.45; text-align: left;
}
.island { position: absolute; top: .75em; left: 50%; width: 30%; height: 2.15em; transform: translateX(-50%); border-radius: 999px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .04); z-index: 5; }
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 1.05em 1.9em .3em 2.2em; font-weight: 600; font-size: .98em; }
.sb-r { display: inline-flex; align-items: flex-end; gap: .18em; }
.sb-r i { width: .22em; background: #fff; border-radius: .1em; }
.sb-r i:nth-child(1) { height: .45em; } .sb-r i:nth-child(2) { height: .65em; } .sb-r i:nth-child(3) { height: .85em; }
.sb-r b { width: 1.7em; height: .82em; margin-left: .35em; border-radius: .25em; border: 1px solid rgba(255, 255, 255, .5); position: relative; }
.sb-r b::after { content: ""; position: absolute; inset: 1.5px; right: 30%; background: #fff; border-radius: .12em; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: .55em 1.15em .45em; }
.proj { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; font-size: 1.1em; }
.proj .ic.sm { width: 1.1em; height: 1.1em; color: var(--outline); }
.demo-tools { display: flex; align-items: center; gap: .7em; }
.demo-tools .ic { width: 1.5em; height: 1.5em; color: var(--sec); }
.demo-result { display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 50%; background: var(--card); }
.demo-result.press { animation: press .5s var(--ease); }

.feed { flex: 1; min-height: 0; overflow: hidden; padding: .4em 1.1em .6em; display: flex; flex-direction: column; justify-content: flex-end; gap: .85em; }
.feed > * { animation: rise .45s var(--ease) both; }
.feed-empty { margin: auto 0; align-self: center; display: flex; flex-direction: column; align-items: center; gap: .8em; color: var(--outline); font-size: 1.05em; padding-bottom: 2em; }
.feed-empty svg { width: 3.6em; height: auto; overflow: visible; opacity: .9; }
.feed-empty .inf { fill: none; stroke: #fff; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }
.feed-empty .star { fill: #fff; }
@keyframes rise { from { opacity: 0; transform: translateY(.8em); } to { opacity: 1; transform: none; } }
.msg-user { align-self: flex-end; max-width: 84%; background: var(--card); border-radius: 1.25em; padding: .62em .95em; }
.msg-user .att-thumb { display: grid; place-items: center; width: 5.4em; height: 6.6em; border-radius: .8em; background: var(--card-hi); margin-bottom: .5em; color: var(--sec); }
.msg-user .att-thumb .ic { width: 1.8em; height: 1.8em; }
.msg-user .voice-tag { display: inline-flex; align-items: center; gap: .3em; color: var(--outline); font-size: .8em; margin-bottom: .2em; }
.msg-user .voice-tag .ic { width: 1.1em; height: 1.1em; }
.msg-ai { display: flex; flex-direction: column; gap: .5em; }
.ai-head { display: flex; align-items: center; gap: .5em; color: var(--sec); font-size: .88em; }
.ai-head .dot { width: .6em; height: .6em; }
.ai-head .t { color: var(--outline); font-variant-numeric: tabular-nums; }
.msg-ai .steps { display: flex; flex-direction: column; gap: .22em; font: .8em/1.5 var(--mono); color: var(--outline); }
.msg-ai .steps span { animation: rise .35s var(--ease) both; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-ai .steps .more { color: var(--sec); }
.changed { align-self: flex-start; display: inline-flex; gap: .5em; align-items: center; background: var(--card); border-radius: 999px; padding: .32em .85em; font-size: .82em; color: var(--sec); animation: rise .35s var(--ease) both; }
.changed .add { color: var(--green); } .changed .del { color: var(--red); }
.ai-text { color: var(--text); }
.act-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: .4em; background: #fff; color: #000; border-radius: 999px; padding: .6em 1.1em; font-weight: 700; font-size: .95em; animation: rise .35s var(--ease) both; }
.act-btn .ic { width: 1.15em; height: 1.15em; stroke-width: 2.2; }
.act-btn.press { animation: press .5s var(--ease); }
@keyframes press { 40% { transform: scale(.9); opacity: .8; } 100% { transform: none; } }

.banner { margin: 0 .9em .5em; padding: .75em .9em .8em; border-radius: 1.1em; background: var(--card); animation: rise .4s var(--ease) both; }
.banner[hidden] { display: none; }
.banner-row { display: flex; align-items: center; gap: .55em; font-size: .9em; margin-bottom: .6em; }
.banner-row .dot { width: .6em; height: .6em; }
.bar { height: .32em; border-radius: 999px; background: var(--card-hi); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: #fff; border-radius: 999px; transition: width .3s linear; }

.composer { padding: .2em .8em 1.9em; }
.input-card { background: var(--card); border-radius: 1.45em; padding: .85em .85em .65em 1em; }
.input-text { min-height: 1.5em; font-size: 1em; }
.input-text .ph { color: var(--outline); }
.caret { display: inline-block; width: 2px; height: 1.1em; vertical-align: -.18em; margin-left: 1px; background: #fff; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.input-row { display: flex; align-items: center; gap: .4em; margin-top: .7em; }
.ibtn { width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--card-hi); display: grid; place-items: center; }
.ibtn .ic, .chip .ic, .send .ic { width: 1.15em; height: 1.15em; }
.chip { height: 2.2em; padding: 0 .75em; border-radius: 999px; background: var(--card-hi); display: inline-flex; align-items: center; gap: .35em; font-size: .82em; white-space: nowrap; }
.chip .ic { width: 1.25em; height: 1.25em; }
.send { margin-left: auto; width: 2.3em; height: 2.3em; border-radius: 50%; display: grid; place-items: center; background: var(--card-hi); color: var(--text); transition: background-color .2s, color .2s, transform .2s; }
.send.solid { background: #fff; color: #000; }
.send.solid .ic { stroke-width: 2.4; }
.send.press { transform: scale(.85); }
.send.hold { background: #fff; color: #000; transform: scale(1.12); box-shadow: 0 0 0 .5em rgba(255, 255, 255, .12); }

.browser { position: absolute; inset: 0; z-index: 4; background: #000; transform: translateY(102%); transition: transform .6s var(--ease); display: flex; flex-direction: column; border-radius: inherit; }
.browser.open { transform: none; }
.b-bar { margin: 3.4em 1em .4em; height: 2.4em; border-radius: 999px; background: var(--card); display: flex; align-items: center; justify-content: center; gap: .4em; font-size: .9em; color: var(--sec); }
.b-page { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.3em; text-align: center; padding: 1em 1.2em 4em; position: relative; overflow: hidden; }
.b-page::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,.7), transparent), radial-gradient(1px 1px at 85% 60%, rgba(255,255,255,.6), transparent), radial-gradient(1px 1px at 35% 75%, rgba(255,255,255,.5), transparent), radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,.4), transparent), radial-gradient(1px 1px at 12% 85%, rgba(255,255,255,.6), transparent); opacity: .8; }
.b-mark { width: 52%; height: auto; overflow: visible; position: relative; }
.b-page b { font-size: 1.85em; line-height: 1.18; letter-spacing: -.03em; position: relative; }
.b-btn { background: #fff; color: #000; border-radius: 999px; padding: .55em 1.3em; font-weight: 700; font-size: .9em; position: relative; }
.home-ind { position: absolute; z-index: 6; bottom: .5em; left: 50%; width: 36%; height: .32em; transform: translateX(-50%); border-radius: 999px; background: rgba(255, 255, 255, .7); }

/* ---------- 安装和打开演示 ---------- */
.install-demo { padding-bottom: clamp(28px, 6vw, 64px); }
.install-demo .h2 { margin-bottom: 14px; }
.install-demo .h2 span { display: inline-block; }
.install-intro { max-width: 35em; margin: 0 0 32px; color: var(--sec); font-size: 17px; }
.install-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.install-card {
  min-width: 0; padding: 18px; border: 1px solid var(--hair); border-radius: 26px;
  background: var(--card);
}
.install-card h3 { margin-bottom: 3px; font-size: 21px; line-height: 1.3; }
.install-project { margin: 0 0 12px; color: var(--sec); font-size: 14px; }
.install-media { overflow: hidden; border-radius: 16px; background: #111113; }
.install-media img { width: 100%; height: auto; }
.install-play {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin: 6px 0 0;
  padding: 0 10px 0 0; border: 0; border-radius: 7px; background: none;
  color: var(--sec); font: 600 14px/1 var(--font); cursor: pointer;
}
.install-play[hidden] { display: none; }
.install-play:hover, .install-play:focus-visible { color: var(--text); }
.install-play:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.install-copy { display: grid; gap: 7px; padding-top: 5px; }
.install-copy p { margin: 0; color: var(--sec); font-size: 15px; line-height: 1.7; }
.install-copy .install-note { font-size: 13.5px; }
@media (min-width: 660px) {
  .install-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .install-card { padding: clamp(12px, 1.6vw, 20px); }
}
@media (min-width: 980px) { .install-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 怎么连 ---------- */
.flow { display: flex; flex-direction: column; }
.node { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 26px; background: var(--card); }
.node-ic { width: 54px; height: 54px; flex: none; border-radius: 17px; background: var(--card-hi); display: grid; place-items: center; }
.node h3 { font-size: 18px; margin-bottom: 2px; }
.node p { margin: 0; color: var(--sec); font-size: 14.5px; }
.link { display: flex; align-items: center; gap: 18px; min-height: 92px; padding: 8px 0 8px 48px; }
.link-line { position: relative; align-self: stretch; width: 2px; flex: none; background: linear-gradient(rgba(255, 255, 255, .06), rgba(255, 255, 255, .22), rgba(255, 255, 255, .06)); border-radius: 2px; }
.link-line i, .link-line em { position: absolute; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px rgba(255, 255, 255, .55); animation: down 2.4s linear infinite; opacity: 0; }
.link-line em { width: 4px; height: 4px; margin-left: -2px; box-shadow: 0 0 8px 1px rgba(255, 255, 255, .35); animation-name: up; animation-duration: 3s; }
.link-line i:nth-child(2) { animation-delay: .8s; } .link-line i:nth-child(3) { animation-delay: 1.6s; }
.link-line em:nth-of-type(2) { animation-delay: 1.5s; }
@keyframes down { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes up { 0% { top: 100%; opacity: 0; } 15% { opacity: .7; } 85% { opacity: .7; } 100% { top: 0; opacity: 0; } }
.link-label { font-size: 13.5px; color: var(--outline); line-height: 1.6; }
.flow-back { display: flex; align-items: center; gap: 12px; margin: 30px 0 0; color: var(--sec); font-size: 16px; }
.back-arrow { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--card); font-size: 18px; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(-360deg); } }
@media (min-width: 960px) {
  .flow { flex-direction: row; align-items: stretch; }
  .node { flex: 1 1 0; flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px; }
  .link { flex: 0 0 150px; flex-direction: column; justify-content: center; gap: 14px; min-height: 0; padding: 0 10px; text-align: center; }
  .link-line { align-self: stretch; width: auto; height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .22), rgba(255, 255, 255, .06)); }
  .link-line i, .link-line em { top: 50% !important; left: 0; margin: -3px 0 0; animation-name: right; }
  .link-line em { margin-top: -2px; animation-name: left; }
  @keyframes right { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
  @keyframes left { 0% { left: 100%; opacity: 0; } 15% { opacity: .7; } 85% { opacity: .7; } 100% { left: 0; opacity: 0; } }
  .link-label { font-size: 12.5px; }
}

/* ---------- 能做什么 ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .span-2, .span-2-md { grid-column: span 2; } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); } .span-2-md { grid-column: auto; } }
.card { position: relative; overflow: hidden; padding: 14px 14px 26px; border-radius: 30px; background: var(--card); isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, .08), transparent 60%); }
.card:hover::before { opacity: 1; }
.card h3 { display: flex; align-items: center; gap: 9px; font-size: 19px; margin: 22px 10px 6px; }
.card h3 .ic { color: var(--outline); }
.card p { margin: 0 10px; color: var(--sec); font-size: 15px; line-height: 1.7; }
.viz { position: relative; height: 150px; border-radius: 20px; background: rgba(0, 0, 0, .38); overflow: hidden; display: grid; place-items: center; }

.viz-voice { grid-template-rows: 1fr auto; gap: 0; padding: 18px 0 16px; }
.wave { display: flex; align-items: center; gap: 5px; height: 64px; }
.wave i { width: 4px; height: 100%; border-radius: 3px; background: #fff; transform: scaleY(.15); animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-duration: .9s; } .wave i:nth-child(4n) { animation-duration: 1.45s; } .wave i:nth-child(5n+1) { animation-duration: 1.05s; }
.wave i:nth-child(2) { animation-delay: -.2s; } .wave i:nth-child(3) { animation-delay: -.5s; } .wave i:nth-child(4) { animation-delay: -.1s; } .wave i:nth-child(5) { animation-delay: -.7s; } .wave i:nth-child(6) { animation-delay: -.3s; } .wave i:nth-child(7) { animation-delay: -.9s; } .wave i:nth-child(8) { animation-delay: -.4s; } .wave i:nth-child(9) { animation-delay: -.6s; } .wave i:nth-child(10) { animation-delay: -.15s; } .wave i:nth-child(11) { animation-delay: -.8s; } .wave i:nth-child(12) { animation-delay: -.35s; } .wave i:nth-child(13) { animation-delay: -.55s; } .wave i:nth-child(14) { animation-delay: -.05s; } .wave i:nth-child(15) { animation-delay: -.75s; } .wave i:nth-child(16) { animation-delay: -.45s; } .wave i:nth-child(17) { animation-delay: -.25s; } .wave i:nth-child(18) { animation-delay: -.65s; }
@keyframes wave { 0%, 100% { transform: scaleY(.15); } 50% { transform: scaleY(1); } }
.hold { padding: 8px 22px; border-radius: 999px; background: var(--card-hi); font-size: 14px; font-weight: 600; }

.viz-attach { perspective: 600px; }
.att { position: absolute; left: 50%; top: 50%; width: 70px; height: 84px; margin: -42px 0 0 -35px; border-radius: 16px; background: var(--card-hi); display: grid; place-items: center; color: var(--sec); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); animation: fan 5s var(--ease) infinite; }
.att .ic { width: 26px; height: 26px; }
.att.a1 { --r: -14deg; --tx: -64px; }
.att.a2 { --r: 0deg; --tx: 0px; z-index: 1; color: var(--text); }
.att.a3 { --r: 14deg; --tx: 64px; }
@keyframes fan { 0%, 100% { transform: translateX(0) rotate(0deg) scale(.92); } 30%, 70% { transform: translateX(var(--tx)) rotate(var(--r)) translateY(calc(var(--tx) * var(--tx) / 900)); } }

.viz-log { place-items: stretch; padding: 0 22px; -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.log { display: flex; flex-direction: column; gap: 9px; font: 13px/1.4 var(--mono); color: var(--outline); animation: logup 9s linear infinite; padding-top: 9px; }
.log span { white-space: nowrap; }
.log .ok { color: var(--text); }
.log em { font-style: normal; color: var(--green); }
.log s { text-decoration: none; color: var(--red); }
@keyframes logup { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.mini-banner { width: 84%; padding: 14px 16px 16px; border-radius: 18px; background: var(--card-hi); }
.mb-row { display: flex; align-items: center; gap: 9px; font-size: 14px; margin-bottom: 12px; }
.mini-banner .bar { background: rgba(0, 0, 0, .4); height: 5px; }
.mini-banner .bar span { animation: fill 3.6s var(--ease) infinite; }
@keyframes fill { 0% { width: 0; } 75%, 100% { width: 100%; } }

.mini-browser { width: 78%; height: 108px; border-radius: 14px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); overflow: hidden; }
.mbz-bar { height: 26px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: var(--card); }
.mbz-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.mbz-bar span { margin-left: 8px; font: 11px var(--mono); color: var(--outline); }
.mbz-body { padding: 14px; display: grid; gap: 8px; }
.mbz-body span { height: 9px; border-radius: 5px; background: linear-gradient(90deg, rgba(255,255,255,.1) 30%, rgba(255,255,255,.28) 50%, rgba(255,255,255,.1) 70%); background-size: 300% 100%; animation: shimmer 2.2s linear infinite; }
.mbz-body span:first-child { height: 16px; width: 62%; }
.mbz-body .short { width: 40%; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

.git { width: 86%; height: auto; overflow: visible; }
.git path { fill: none; stroke-width: 2.6; stroke-linecap: round; }
.git .g-main { stroke: rgba(255, 255, 255, .28); }
.git .g-br { stroke: #fff; stroke-dasharray: 180; stroke-dashoffset: 180; animation: drawbr 4.5s var(--ease) infinite; }
.git circle { fill: #000; stroke: rgba(255, 255, 255, .5); stroke-width: 2.6; }
.git .g-dot { stroke: #fff; animation: popdot 4.5s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.git .g-merge { fill: #fff; stroke: #fff; animation: popdot 4.5s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes drawbr { 0% { stroke-dashoffset: 180; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes popdot { 0%, 25% { transform: scale(0); } 40%, 90% { transform: scale(1); } 100% { transform: scale(0); } }
.mr-pill { position: absolute; right: 16px; bottom: 14px; padding: 5px 13px; border-radius: 999px; background: #fff; color: #000; font-size: 12.5px; font-weight: 700; }

.noti { width: 88%; display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 20px; background: var(--card-hi); animation: notify 5s var(--ease) infinite; }
.noti-ic { width: 36px; height: 36px; flex: none; border-radius: 10px; background: #000; display: grid; place-items: center; }
.noti-ic svg { width: 26px; height: auto; overflow: visible; }
.noti b { display: block; font-size: 13.5px; }
.noti div span { display: block; font-size: 12.5px; color: var(--sec); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.noti div { min-width: 0; }
@keyframes notify { 0% { transform: translateY(-140%); opacity: 0; } 12%, 80% { transform: none; opacity: 1; } 92%, 100% { transform: translateY(-140%); opacity: 0; } }

.fix-banner { width: 86%; max-width: 420px; display: flex; align-items: center; gap: 9px; padding: 12px 12px 12px 16px; border-radius: 18px; background: var(--card-hi); font-size: 14.5px; }
.fix-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; color: #000; font-size: 13.5px; font-weight: 700; white-space: nowrap; animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: scale(.94); } 90% { transform: scale(1.03); } }

/* ---------- 安全 ---------- */
.safe .h2.big { margin-bottom: 44px; }
.cipher { display: grid; gap: 10px; padding: 20px 22px; border-radius: 26px; background: var(--card); margin-bottom: 56px; }
.c-label { font-size: 12.5px; color: var(--outline); letter-spacing: .08em; }
.cipher code { font: 500 clamp(15px, 4.4vw, 24px)/1.5 var(--mono); letter-spacing: .04em; color: var(--text); word-break: normal; overflow-wrap: normal; }
.c-lock { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--sec); }
.c-lock .ic { color: var(--green); }
.safe-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .safe-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.safe-item { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.safe-item h3 { font-size: 20px; margin-bottom: 8px; }
.safe-item p { margin: 0; color: var(--sec); font-size: 15.5px; line-height: 1.75; }

/* ---------- 开始 ---------- */
.start .h2 { margin-bottom: 16px; }
.need { margin: 0 0 40px; color: var(--sec); font-size: 16.5px; }
.need a { color: var(--text); text-underline-offset: 3px; }
.setup { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .setup { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.step { min-width: 0; padding: 28px 24px; border-radius: 30px; background: var(--card); display: flex; flex-direction: column; align-items: flex-start; }
.step-no { display: block; font: 800 64px/1 var(--font); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .4); margin-bottom: 22px; }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { margin: 0; color: var(--sec); font-size: 15.5px; line-height: 1.75; }
.code { position: relative; align-self: stretch; display: flex; align-items: center; gap: 10px; margin: 20px 0; padding: 12px 10px 12px 16px; border-radius: 16px; background: #000; }
.code code { flex: 1; min-width: 0; overflow-x: auto; white-space: pre; font: 13.5px/1.7 var(--mono); color: var(--text); scrollbar-width: none; }
.code code::-webkit-scrollbar { display: none; }
.code .cm { color: var(--outline); }
.byline-download { margin-top: 16px; max-width: 100%; padding-inline: 16px; }
.step .byline-alternative { margin-top: 16px; }
.byline-command { margin: 8px 0 16px; }
.byline-command code { white-space: pre-wrap; overflow-wrap: anywhere; }
.copy { width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; background: var(--card-hi); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: transform .2s; }
.copy:active { transform: scale(.9); }
.copy.done { background: #fff; color: #000; }

.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.stores.center { justify-content: center; margin-top: 0; }
.store { display: inline-flex; align-items: center; gap: 11px; min-width: 168px; padding: 11px 20px 11px 15px; border-radius: 18px; background: #fff; color: #000; text-decoration: none; transition: transform .2s var(--ease), background-color .2s; }
.store:active { transform: scale(.96); }
.store small { display: block; font-size: 11.5px; line-height: 1.3; opacity: .62; }
.store b { display: block; font-size: 18px; line-height: 1.2; letter-spacing: -.01em; }
.store[data-soon] { background: var(--card-hi); color: var(--text); cursor: default; }
.outro .store[data-soon] { background: var(--card); }
.store.nudge { animation: nudge2 .5s var(--ease); }
@keyframes nudge2 { 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }


/* ---------- 问答 ---------- */
.qa { border-bottom: 1px solid var(--hair); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 17.5px; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 16px no-repeat; }
.qa[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E"); }
.qa :is(p, ol) { margin: 0 0 16px; color: var(--sec); font-size: 15.5px; line-height: 1.75; }
.qa summary + p { margin-top: -6px; }
.qa > :last-child { margin-bottom: 22px; }
.qa ol { padding-inline-start: 1.5em; }
.qa li + li { margin-top: 8px; }
.qa :is(code, kbd) { font: .9em var(--mono); background: var(--wash); padding: 1px 6px; border-radius: 6px; color: var(--text); }
.qa kbd { white-space: nowrap; }
.qa a { color: var(--text); text-underline-offset: 3px; }

/* ---------- 收尾 ---------- */
.outro { padding: 120px var(--gutter) 130px; text-align: center; overflow: hidden; isolation: isolate; }
.outro::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 45%, rgba(255, 255, 255, .07), transparent 70%); pointer-events: none; }
.outro-mark { width: min(54vw, 280px); height: auto; margin: 0 auto; overflow: visible; }
.outro-mark .inf { stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 2.2s var(--ease) .2s; }
.outro-mark .star { transform-box: fill-box; transform-origin: center; animation: twinkle 3.6s ease-in-out infinite; }
.outro-mark.in .inf { stroke-dashoffset: 0; }
html:not(.js) .outro-mark .inf { stroke-dashoffset: 0; }
.outro-title { font-size: clamp(40px, 11.5vw, 100px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin: 26px 0 34px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 26px; color: var(--sec); text-decoration: none; font-size: 15px; transition: color .2s; }
.text-link:hover { color: var(--text); }

/* ---------- 页脚 ---------- */
.foot { border-top: 1px solid var(--hair); padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { border-radius: 9px; }
.foot-brand b { display: block; font-size: 15px; }
.foot-brand span { display: block; font-size: 13px; color: var(--outline); }
.foot-copy { margin: 0; font-size: 13px; color: var(--outline); width: 100%; }
@media (min-width: 760px) { .foot-copy { width: auto; } }
.foot-record { margin-block: 12px 0; text-align: center; font-size: 14px; }
.foot-record a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; color: var(--sec); text-underline-offset: 3px; }
.foot-record a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}

/* ---------- 抢先体验 ---------- */
.early { padding: 40px 0 96px; }
@media (min-width: 900px) { .early { padding: 60px 0 140px; } }
.early-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 40px 22px 30px; border-radius: 34px; background: var(--card);
}
/* 一圈慢慢转的白光描边 */
.early-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--a, 0deg), transparent 0deg, rgba(255, 255, 255, .7) 40deg, transparent 90deg, transparent 180deg, rgba(255, 255, 255, .35) 220deg, transparent 270deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: rim 7s linear infinite;
}
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes rim { to { --a: 360deg; } }
.early-glow { position: absolute; z-index: -1; right: -20%; top: -40%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .09), transparent); pointer-events: none; }
.early .h2 { margin-bottom: 16px; }
.early-sub { margin: 0 0 30px; max-width: 30em; color: var(--sec); font-size: 16.5px; line-height: 1.75; }
@media (min-width: 900px) { .early-card { padding: 64px 64px 48px; } }

.seg-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: #000; margin-bottom: 12px; }
.seg-toggle button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--sec); font: 600 14.5px var(--font); cursor: pointer; transition: background-color .25s, color .25s; }
.seg-toggle button.on { background: var(--card-hi); color: var(--text); }

.field { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.field input {
  width: 100%; height: 56px; padding: 0 22px; border-radius: 999px; border: 0; outline: 0;
  background: #000; color: var(--text); font: 17px var(--font);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .1);
  transition: box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: var(--outline); }
.field input:focus { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.field input.bad { box-shadow: inset 0 0 0 1.5px var(--red); }
.field .btn { height: 56px; position: relative; }
@media (min-width: 520px) {
  .field { flex-direction: row; gap: 0; padding: 5px; border-radius: 999px; background: #000; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .1); transition: box-shadow .2s; }
  .field:focus-within { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
  .field:has(input.bad) { box-shadow: inset 0 0 0 1.5px var(--red); }
  .field input, .field input:focus, .field input.bad { height: 50px; box-shadow: none; background: transparent; padding: 0 16px 0 18px; }
  .field .btn { height: 50px; flex: none; }
}
.btn .spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .2); border-top-color: #000; animation: rot .7s linear infinite; }
.btn.loading .lbl { opacity: .35; }
.btn.loading .spin { display: block; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -9px; }
.btn:disabled { cursor: default; }
@keyframes rot { to { transform: rotate(360deg); } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.field-msg { min-height: 24px; margin: 12px 4px 0; font-size: 14.5px; color: var(--sec); }
.field-msg.err { color: var(--red); }
.field-msg .fix { border: 0; padding: 0; background: none; color: var(--text); font: 600 14.5px var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.early-form.shake { animation: nudge2 .45s var(--ease); }

.early-done { display: flex; gap: 18px; align-items: flex-start; padding: 6px 0 8px; opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.early-done.in { opacity: 1; transform: none; }
.early-done[hidden], .early-form[hidden] { display: none; }
.done-check { width: 52px; height: 52px; flex: none; }
.done-check circle { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; transition: stroke-dashoffset .8s var(--ease) .1s; }
.done-check path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 34; stroke-dashoffset: 34; transition: stroke-dashoffset .5s var(--ease) .7s; }
.early-done.in circle, .early-done.in path { stroke-dashoffset: 0; }
.early-done h3 { font-size: 21px; margin: 2px 0 6px; }
.early-done p { margin: 0; color: var(--sec); font-size: 15.5px; word-break: break-all; }
.early-done p b { display: block; color: var(--text); font-weight: 600; }
:lang(en) .early-done p { word-break: normal; overflow-wrap: anywhere; }
.early-done .text-link { margin-top: 14px; border: 0; background: none; padding: 0; font: 14.5px var(--font); cursor: pointer; }
.early-fine { display: flex; align-items: center; gap: 7px; margin: 22px 4px 0; font-size: 13px; color: var(--outline); }
