:root {
  --product-navy: #071538;
  --product-blue: #075bff;
  --product-cyan: #39d8ff;
  --product-coral: #ff6f57;
  --product-mint: #47edc6;
}

.triscribe-page {
  color: #f8fbff;
  background: var(--product-navy);
}
.triscribe-page::selection { color: #071538; background: var(--product-mint); }
.triscribe-page .noise { opacity: .045; mix-blend-mode: screen; }
.product-shell { width: min(1180px, calc(100vw - 56px)); margin-inline: auto; }
.product-nav {
  position: absolute;
  z-index: 20;
  top: 24px;
  left: 50%;
  width: min(1180px, calc(100vw - 56px));
  min-height: 68px;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: rgba(7, 21, 56, .7);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}
.product-brand { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.product-brand > span {
  display: grid;
  width: 44px;
  height: 38px;
  place-items: center;
  color: var(--product-navy);
  background: #fff;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 850;
}
.product-brand > i { width: 1px; height: 25px; margin-inline: 5px; background: rgba(255,255,255,.22); }
.product-brand img { width: 34px; height: 34px; border-radius: 9px; }
.product-brand strong { letter-spacing: -.02em; }
.product-nav-links { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 670; }
.product-nav-cta { padding: 13px 18px; color: var(--product-navy); background: #fff; border-radius: 12px; }

.product-hero {
  position: relative;
  min-height: 100svh;
  padding: 160px max(28px, calc((100vw - 1180px) / 2)) 90px;
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  overflow: hidden;
}
.product-aura { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(2px); }
.aura-one {
  width: 700px;
  height: 700px;
  top: -280px;
  right: -220px;
  background: radial-gradient(circle, rgba(0,120,255,.45), rgba(0,120,255,0) 68%);
}
.aura-two {
  width: 560px;
  height: 560px;
  bottom: -300px;
  left: -170px;
  background: radial-gradient(circle, rgba(71,237,198,.15), rgba(71,237,198,0) 70%);
}
.product-hero-copy { position: relative; z-index: 2; }
.product-kicker { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.62); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 750; letter-spacing: .08em; }
.version-pill { padding: 7px 9px; color: var(--product-mint); border: 1px solid rgba(71,237,198,.5); border-radius: 99px; }
.hero-app-icon { width: 96px; height: 96px; margin-top: 58px; border-radius: 24px; filter: drop-shadow(0 18px 24px rgba(0,0,0,.32)); }
.product-hero h1 {
  margin: 28px 0 0;
  font-size: clamp(70px, 8vw, 126px);
  line-height: 1.06;
  letter-spacing: -.015em;
}
.product-hero h1 em { display: inline-block; color: var(--product-mint); font-family: Georgia, "Songti SC", serif; font-weight: 400; white-space: nowrap; }
.product-hero-copy > p {
  margin: 40px 0 0;
  color: rgba(255,255,255,.74);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.8;
}
.product-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.download-button, .ghost-button {
  min-height: 58px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 780;
  transition: transform .2s ease, box-shadow .2s ease;
}
.download-button { color: var(--product-navy); background: var(--product-mint); box-shadow: 0 12px 35px rgba(71,237,198,.18); }
.ghost-button { border: 1px solid rgba(255,255,255,.25); }
.download-button:hover, .ghost-button:hover { transform: translateY(-3px); }
.trust-line { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 18px; color: rgba(255,255,255,.5); font-size: 11px; }
.trust-line span { display: flex; align-items: center; gap: 7px; }
.trust-line i { width: 4px; height: 4px; background: var(--product-mint); border-radius: 50%; }

.product-stage { position: relative; min-height: 650px; z-index: 1; }
.stage-glow {
  position: absolute;
  inset: 8% 5%;
  background: linear-gradient(145deg, rgba(10,101,255,.54), rgba(52,210,255,.12));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 45% 55% 58% 42% / 41% 38% 62% 59%;
  box-shadow: inset 0 0 90px rgba(70,230,255,.08), 0 80px 120px rgba(0,0,0,.24);
  animation: blob 9s ease-in-out infinite alternate;
}
@keyframes blob {
  to { border-radius: 58% 42% 38% 62% / 55% 60% 40% 45%; transform: rotate(3deg) scale(1.03); }
}
.app-icon-float {
  position: absolute;
  z-index: 3;
  top: 4%;
  left: 8%;
  width: 126px;
  padding: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 32px;
  backdrop-filter: blur(14px);
  transform: rotate(-8deg);
  animation: float 5s ease-in-out infinite;
}
.app-icon-float img { border-radius: 22px; }
@keyframes float { 50% { transform: rotate(-4deg) translateY(-15px); } }
.dictation-pill {
  position: absolute;
  z-index: 5;
  top: 31%;
  right: 0;
  left: 8%;
  padding: 24px 26px 22px;
  background: rgba(21, 29, 48, .9);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 24px;
  box-shadow: 0 34px 80px rgba(0,0,0,.45);
  backdrop-filter: blur(26px);
}
.dictation-top { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.5); font-size: 11px; }
.dictation-top time { margin-left: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.listen-dot { width: 10px; height: 10px; background: #ff67ab; border-radius: 50%; box-shadow: 0 0 0 7px rgba(255,103,171,.12); }
.dictation-pill p { min-height: 80px; margin: 25px 0 12px; font-size: clamp(21px, 2.2vw, 31px); line-height: 1.45; letter-spacing: -.02em; }
.product-wave { height: 38px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.product-wave i { width: 4px; height: 9px; border-radius: 99px; background: #ff67ab; animation: product-wave .9s ease-in-out infinite alternate; }
.product-wave i:nth-child(2n) { animation-delay: -.2s; }
.product-wave i:nth-child(3n) { animation-delay: -.45s; }
.product-wave i:nth-child(5n) { animation-delay: -.65s; }
@keyframes product-wave { to { height: 30px; } }
.paste-card {
  position: absolute;
  z-index: 4;
  right: 10%;
  bottom: 16%;
  width: 270px;
  height: 130px;
  padding: 24px;
  color: #173a31;
  background: var(--product-mint);
  border-radius: 20px;
  box-shadow: 0 25px 55px rgba(0,0,0,.28);
  font-size: 13px;
  font-weight: 760;
  transform: rotate(5deg);
}
.fake-cursor { width: 70%; height: 16px; margin-top: 26px; border-right: 2px solid var(--product-navy); background: rgba(7,21,56,.12); animation: cursor 1s step-end infinite; }
@keyframes cursor { 50% { border-right-color: transparent; } }
.language-chip {
  position: absolute;
  z-index: 6;
  padding: 11px 16px;
  color: var(--product-navy);
  border-radius: 99px;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
  font-size: 12px;
  font-weight: 800;
}
.chip-zh { top: 21%; right: 10%; background: #fff; transform: rotate(7deg); }
.chip-yue { bottom: 8%; left: 12%; background: var(--product-coral); transform: rotate(-5deg); }
.chip-en { top: 15%; left: 42%; background: var(--product-cyan); transform: rotate(3deg); }
.keyboard-hint { position: absolute; z-index: 5; bottom: 26%; left: 0; display: flex; align-items: center; gap: 6px; padding: 10px; color: rgba(255,255,255,.65); background: rgba(7,21,56,.75); border: 1px solid rgba(255,255,255,.16); border-radius: 13px; backdrop-filter: blur(14px); font-size: 10px; }
.keyboard-hint kbd, .step-icon kbd { padding: 7px 9px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 7px; box-shadow: 0 3px 0 rgba(255,255,255,.13); font-family: inherit; }
.keyboard-hint span { margin-left: 5px; }

.problem-strip {
  position: relative;
  z-index: 3;
  padding: 30px max(28px, calc((100vw - 1180px) / 2));
  display: flex;
  justify-content: space-between;
  color: var(--product-navy);
  background: var(--product-mint);
  transform: rotate(-1deg) scale(1.02);
}
.problem-strip p { margin: 0; font-size: clamp(20px, 2.5vw, 36px); font-weight: 850; letter-spacing: -.04em; }

.how-section { padding-block: 160px; }
.product-section-title > span { color: var(--product-mint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 750; letter-spacing: .09em; }
.product-section-title h2 { margin: 24px 0 0; font-size: clamp(54px, 7vw, 100px); line-height: 1.18; letter-spacing: -.015em; }
.steps { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.steps article { min-height: 390px; padding: 26px 30px 30px; border-right: 1px solid rgba(255,255,255,.18); }
.steps article:first-child { border-left: 1px solid rgba(255,255,255,.18); }
.steps article > span { color: rgba(255,255,255,.35); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.step-icon { height: 120px; margin-top: 42px; display: flex; align-items: center; justify-content: center; gap: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; }
.step-icon kbd { padding: 14px 18px; font-size: 17px; }
.steps h3 { margin: 32px 0 12px; font-size: 25px; letter-spacing: -.035em; }
.steps p { margin: 0; color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.75; }
.mini-wave i { width: 7px; height: 25px; background: var(--product-mint); border-radius: 99px; animation: product-wave .8s ease-in-out infinite alternate; }
.mini-wave i:nth-child(2) { animation-delay: -.2s; }
.mini-wave i:nth-child(3) { animation-delay: -.5s; }
.mini-wave i:nth-child(4) { animation-delay: -.35s; }
.type-icon { color: var(--product-mint); font: 700 48px Georgia, serif; }
.type-icon span { animation: cursor .8s step-end infinite; }

.feature-section { padding-block: 160px; color: var(--product-navy); background: #eef7ff; }
.feature-section .product-section-title > span { color: #075bff; }
.feature-bento { margin-top: 80px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.feature-card { position: relative; min-height: 520px; padding: clamp(28px, 4vw, 52px); overflow: hidden; border: 1px solid rgba(7,21,56,.15); border-radius: 30px; }
.feature-label { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.feature-card h3 { margin: 48px 0 18px; font-size: clamp(43px, 5vw, 70px); line-height: 1.16; letter-spacing: -.015em; }
.feature-card > p { max-width: 470px; margin: 0; font-size: 15px; line-height: 1.8; }
.feature-local { color: #fff; background: var(--product-blue); }
.privacy-orbit { position: absolute; right: -30px; bottom: -80px; width: 320px; height: 320px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; animation: spin 18s linear infinite; }
.privacy-orbit::before { content: ""; position: absolute; inset: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.privacy-orbit img { position: absolute; top: 50%; left: 50%; width: 90px; border-radius: 22px; transform: translate(-50%, -50%); animation: counter-spin 18s linear infinite; }
.privacy-orbit span { position: absolute; padding: 6px 9px; color: var(--product-navy); background: var(--product-mint); border-radius: 99px; font-size: 9px; font-weight: 800; }
.privacy-orbit span:nth-of-type(1) { top: 14px; left: 50%; }
.privacy-orbit span:nth-of-type(2) { right: 8px; top: 50%; }
.privacy-orbit span:nth-of-type(3) { bottom: 26px; left: 18%; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counter-spin { to { transform: translate(-50%, -50%) rotate(-360deg); } }
.feature-language { background: var(--product-coral); }
.language-demo { position: absolute; right: 30px; bottom: 38px; left: 30px; display: grid; gap: 9px; font-family: Georgia, "Songti SC", serif; font-size: clamp(20px, 2.5vw, 34px); font-style: italic; }
.language-demo span:last-child { padding-left: 10%; }
.feature-anywhere { min-height: 420px; color: #fff; background: var(--product-navy); }
.app-row { position: absolute; right: 40px; bottom: 45px; left: 40px; display: flex; justify-content: space-between; }
.app-row span { display: grid; width: 58px; height: 58px; place-items: center; color: var(--product-navy); background: #fff; border-radius: 17px; font-size: 20px; font-weight: 850; box-shadow: 0 15px 30px rgba(0,0,0,.25); }
.app-row span:nth-child(2) { background: var(--product-mint); transform: translateY(-18px) rotate(-4deg); }
.app-row span:nth-child(3) { background: var(--product-coral); transform: rotate(5deg); }
.app-row span:nth-child(4) { background: var(--product-cyan); transform: translateY(-10px); }
.feature-tune { min-height: 420px; display: flex; flex-direction: column; background: #fff; }
.correction { position: absolute; right: 38px; bottom: 42px; left: 38px; padding: 24px; display: flex; align-items: center; gap: 15px; background: #eaf0ff; border-radius: 16px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.feature-tune .correction { position: static; margin-top: 28px; }
.correction s { color: #8a91a5; }
.correction strong { color: var(--product-blue); }

.maker-section { padding-block: 140px; }
.maker-card {
  padding: clamp(38px, 7vw, 88px);
  color: var(--product-navy);
  background: var(--product-mint);
  border-radius: 30px;
  transform: rotate(-1deg);
}
.maker-tag { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.maker-card blockquote { max-width: 900px; margin: 48px 0 30px; font-size: clamp(38px, 5vw, 72px); font-weight: 840; line-height: 1.2; letter-spacing: -.015em; }
.maker-card > p:not(.maker-tag) { max-width: 680px; font-size: 15px; line-height: 1.8; }
.maker-card > a { display: inline-block; margin-top: 24px; padding-bottom: 4px; border-bottom: 2px solid currentColor; font-weight: 780; }

.download-section { position: relative; min-height: 850px; display: grid; place-items: center; overflow: hidden; background: #fff; color: var(--product-navy); }
.download-inner { position: relative; z-index: 3; padding: 100px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.download-inner > img { width: 120px; border-radius: 30px; filter: drop-shadow(0 24px 26px rgba(8,31,83,.25)); }
.download-inner > p { margin: 28px 0 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.download-inner h2 { margin: 30px 0 0; font-size: clamp(70px, 9vw, 132px); line-height: 1.14; letter-spacing: -.015em; }
.download-options { width: min(100%, 1040px); margin-top: 54px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.download-large { min-width: 0; min-height: 118px; margin-top: 0; padding: 18px 20px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; color: #fff; background: var(--product-blue); border: 1px solid transparent; border-radius: 18px; text-align: left; box-shadow: 0 20px 45px rgba(7,91,255,.18); }
.download-large span { font-size: 16px; }
.download-large small { padding: 8px 10px; color: rgba(255,255,255,.72); background: rgba(255,255,255,.1); border-radius: 9px; font-size: 10px; }
.download-windows { background: var(--product-navy); box-shadow: 0 20px 45px rgba(7,21,56,.16); }
.download-github { color: var(--product-navy); background: #fff; border-color: rgba(7,21,56,.18); box-shadow: 0 20px 45px rgba(7,21,56,.08); }
.download-github small { color: rgba(7,21,56,.58); background: rgba(7,21,56,.07); }
.download-note { margin: 22px 0 0; color: #7d8495; font-size: 12px; }
.download-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.download-rings i { position: absolute; width: 520px; height: 520px; border: 1px solid rgba(7,91,255,.12); border-radius: 50%; }
.download-rings i:nth-child(2) { width: 780px; height: 780px; }
.download-rings i:nth-child(3) { width: 1050px; height: 1050px; }

.product-footer { min-height: 100px; display: grid; grid-template-columns: 1fr auto auto; gap: 32px; align-items: center; color: rgba(255,255,255,.5); font-size: 11px; }
.product-footer a { color: #fff; font-weight: 700; }
.product-footer p { margin: 0; }
@media (max-width: 960px) {
  .product-hero { grid-template-columns: 1fr; padding-top: 150px; }
  .product-stage { min-height: 620px; }
  .product-hero-copy { max-width: 700px; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: auto; padding: 28px 0 48px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .steps article:first-child { border-left: 0; }
  .step-icon { max-width: 420px; }
  .feature-bento { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .product-shell, .product-nav { width: calc(100vw - 28px); }
  .product-nav { top: 10px; min-height: 60px; }
  .product-brand strong, .product-nav-links > a:not(.product-nav-cta) { display: none; }
  .product-brand > i { display: none; }
  .product-nav-cta { padding: 11px 14px; }
  .product-hero { min-height: auto; padding: 125px 14px 60px; gap: 20px; }
  .product-kicker > span:last-child { display: none; }
  .hero-app-icon { width: 78px; height: 78px; margin-top: 42px; }
  .product-hero h1 { font-size: 72px; }
  .product-hero-copy > p { font-size: 16px; }
  .trust-line { gap: 12px; }
  .product-stage { min-height: 520px; }
  .stage-glow { inset: 10% 0; }
  .app-icon-float { width: 86px; padding: 10px; border-radius: 22px; }
  .app-icon-float img { border-radius: 15px; }
  .dictation-pill { top: 28%; left: 2%; padding: 20px; }
  .dictation-pill p { font-size: 20px; }
  .paste-card { right: 3%; bottom: 13%; width: 215px; height: 105px; }
  .chip-zh { right: 2%; }
  .chip-yue { left: 3%; }
  .chip-en { top: 13%; }
  .keyboard-hint { bottom: 27%; }
  .problem-strip { padding: 22px 20px; flex-direction: column; gap: 6px; }
  .problem-strip p { font-size: 24px; }
  .how-section, .feature-section { padding-block: 105px; }
  .steps { margin-top: 55px; }
  .feature-bento { margin-top: 55px; }
  .feature-card { min-height: 470px; padding: 28px 24px; border-radius: 22px; }
  .feature-card h3 { margin-top: 38px; }
  .feature-anywhere, .feature-tune { min-height: 410px; }
  .privacy-orbit { width: 270px; height: 270px; }
  .app-row { right: 22px; left: 22px; }
  .app-row span { width: 48px; height: 48px; border-radius: 14px; }
  .maker-section { padding-block: 100px; }
  .maker-card { border-radius: 22px; }
  .download-section { min-height: 720px; }
  .download-options { grid-template-columns: 1fr; gap: 12px; }
  .download-large { min-height: 92px; align-items: center; gap: 8px; padding-block: 16px; text-align: center; }
  .product-footer { padding: 28px 0; grid-template-columns: 1fr auto; }
  .product-footer p:nth-child(2) { display: none; }
  .demo-toast { right: 14px; bottom: 14px; left: 14px; }
}
