:root {
  --ink: #0b1530;
  --ink-2: #172445;
  --muted: #667085;
  --line: #dfe4ec;
  --surface: #f4f6f9;
  --white: #ffffff;
  --blue: #4e6cff;
  --blue-dark: #3655f5;
  --blue-soft: #e9edff;
  --green: #35d39a;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --shadow: 0 24px 70px rgba(9, 23, 55, 0.10);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  padding: 22px 0;
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 1px 0 rgba(11, 21, 48, .08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand img { border-radius: 12px; }

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 17px;
  letter-spacing: .04em;
}

.brand-copy small {
  margin-top: 4px;
  color: #8590a7;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav > a {
  position: relative;
  color: #33405b;
  font-size: 14px;
  font-weight: 600;
  transition: color .2s ease;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  content: "";
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--blue);
  transition: right .2s ease;
}

.site-nav > a:hover { color: var(--ink); }
.site-nav > a:hover::after { right: 0; }

.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 0 22px;
  color: var(--white);
  background: var(--ink);
  border-radius: 100px;
  transition: transform .2s ease, background .2s ease;
}

.site-nav .nav-cta:hover {
  color: var(--white);
  background: var(--blue);
  transform: translateY(-2px);
}

.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 840px;
  padding: 150px 0 0;
  overflow: hidden;
  background: #f8fafc;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .38;
  background-image:
    linear-gradient(rgba(78, 108, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 108, 255, .07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 88%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.hero-glow-one {
  width: 540px;
  height: 540px;
  right: -160px;
  top: 40px;
  background: radial-gradient(circle, rgba(84, 114, 255, .2), transparent 67%);
}

.hero-glow-two {
  width: 480px;
  height: 480px;
  left: -240px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(53, 211, 154, .1), transparent 69%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.eyebrow span {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: currentColor;
}

.eyebrow.dark { color: var(--blue); }
.eyebrow.light { color: #93a6ff; }

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 5.4vw, 78px);
  font-weight: 750;
  line-height: 1.13;
  letter-spacing: -.055em;
}

.hero h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero-lead {
  max-width: 600px;
  margin: 30px 0 0;
  color: #5c6880;
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 27px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(78, 108, 255, .25);
}

.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 18px 38px rgba(78, 108, 255, .33);
}

.button-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .62);
  border-color: #d9dee8;
}

.button-ghost:hover { background: var(--white); }

.hero-stats {
  display: flex;
  gap: 0;
  margin: 54px 0 0;
}

.hero-stats div {
  min-width: 120px;
  padding: 0 26px;
  border-left: 1px solid #d8deea;
}

.hero-stats div:first-child { padding-left: 0; border-left: 0; }
.hero-stats dt { font-size: 29px; font-weight: 750; line-height: 1; }
.hero-stats dd { margin: 9px 0 0; color: #7a8497; font-size: 12px; }

.portfolio-stage {
  position: relative;
  width: 100%;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 40px;
  background:
    radial-gradient(circle at 72% 18%, rgba(99, 128, 255, .18), transparent 35%),
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(233, 237, 247, .86));
  box-shadow: 0 45px 100px rgba(34, 53, 95, .16), inset 0 1px 0 #fff;
  overflow: hidden;
}

.portfolio-stage::before {
  position: absolute;
  content: "";
  inset: 0;
  background-image: radial-gradient(rgba(78, 108, 255, .14) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom right, transparent, black 70%);
}

.stage-topline {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: 32px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  color: #7e8aa1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.stage-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #667189;
  letter-spacing: .05em;
}

.stage-status i {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(53, 211, 154, .13);
}

.stage-orbit {
  position: absolute;
  top: 74px;
  left: 50%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(78, 108, 255, .14);
  border-radius: 50%;
  transform: translateX(-50%);
}

.stage-orbit::before,
.stage-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(78, 108, 255, .1);
  border-radius: 50%;
}

.stage-orbit::before { inset: 45px; }
.stage-orbit::after { inset: 105px; }

.app-tile {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(37, 56, 101, .15);
  transition: transform .25s ease, box-shadow .25s ease;
}

.app-tile:hover {
  z-index: 8;
  transform: translateY(-6px);
  box-shadow: 0 25px 52px rgba(37, 56, 101, .22);
}

.app-tile img {
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 20%;
}

.app-tile span { display: flex; flex-direction: column; padding-right: 8px; line-height: 1.3; }
.app-tile small { color: #818ba0; font-size: 10px; }
.app-tile strong { margin-top: 5px; font-size: 14px; white-space: nowrap; }

.app-tile-main {
  top: 126px;
  left: 50%;
  padding: 18px;
  transform: translateX(-50%);
}

.app-tile-main:hover { transform: translate(-50%, -6px); }
.app-tile-main strong { font-size: 18px; }
.app-tile-hokkien { top: 280px; left: 46px; }
.app-tile-eye { top: 306px; right: 36px; }
.app-tile-translate { left: 128px; bottom: 72px; }
.app-tile-chm { right: 90px; bottom: 55px; }

.stage-note {
  position: absolute;
  z-index: 3;
  left: 31px;
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #727e94;
  font-size: 11px;
}

.stage-note span { color: var(--blue); font-weight: 800; letter-spacing: .08em; }
.stage-note p { margin: 0; }

.hero-marquee {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 70px;
  padding: 25px 0;
  color: #748097;
  border-top: 1px solid rgba(11, 21, 48, .08);
  font-size: 13px;
  font-weight: 650;
}

.hero-marquee i { width: 4px; height: 4px; background: #a7b0c2; border-radius: 50%; }

.section { padding: 120px 0; }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 52px;
}

.section-heading h2,
.approach h2,
.about h2,
.contact-band h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.18;
  letter-spacing: -.045em;
}

.section-heading > p {
  max-width: 460px;
  margin: 0 0 4px;
  color: var(--muted);
}

.products { background: var(--white); }

.product-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-toolbar::-webkit-scrollbar { display: none; }

.filter-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 44px;
  padding: 0 18px;
  color: #5f6b81;
  background: #f5f7fa;
  border: 1px solid #e7eaf0;
  border-radius: 100px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  transition: all .2s ease;
}

.filter-button span { color: #97a1b3; font-size: 10px; }
.filter-button:hover { color: var(--ink); border-color: #cfd6e3; }
.filter-button.is-active { color: var(--white); background: var(--ink); border-color: var(--ink); }
.filter-button.is-active span { color: #aebad4; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  min-height: 475px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.product-card::after {
  position: absolute;
  content: "";
  width: 240px;
  height: 240px;
  right: -130px;
  top: -130px;
  background: radial-gradient(circle, rgba(78, 108, 255, .12), transparent 68%);
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #cad2e1;
  box-shadow: var(--shadow);
}

.product-card.is-hidden { display: none; }

.product-card.featured {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.product-card.featured::before {
  position: absolute;
  content: "";
  inset: 0;
  background:
    linear-gradient(120deg, transparent 30%, rgba(79, 108, 255, .22)),
    radial-gradient(circle at 85% 16%, rgba(65, 211, 159, .18), transparent 30%);
  pointer-events: none;
}

.product-card-wide { grid-column: 1 / -1; min-height: 350px; }

.product-card-top,
.product-identity,
.product-description,
.tag-list,
.product-actions,
.product-wide-layout { position: relative; z-index: 2; }

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8b96aa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}

.product-index { color: var(--blue); }
.featured .product-index { color: #91a3ff; }
.featured .product-platforms { color: #8490a9; }

.product-identity {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 38px;
}

.product-icon {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(31, 50, 94, .14);
}

.product-identity p {
  margin: 0 0 4px;
  color: #7c879a;
  font-size: 12px;
  font-weight: 650;
}

.featured .product-identity p { color: #929db6; }

.product-identity h3 {
  margin: 0;
  font-size: 29px;
  line-height: 1.25;
  letter-spacing: -.03em;
}

.product-description {
  margin: 27px 0 0;
  color: #657086;
  font-size: 15px;
  line-height: 1.85;
}

.featured .product-description { color: #adb7ca; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 6px 11px;
  color: #6a758a;
  background: #f5f7fa;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 650;
}

.featured .tag-list li { color: #c0c9db; background: rgba(255, 255, 255, .075); }

.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 30px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 750;
}

.text-link span { color: var(--blue); }
.featured .text-link span { color: #8ea2ff; }

.download-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--blue);
  background: var(--blue-soft);
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease;
}

.download-trigger:hover { transform: translateY(-2px); background: #dce3ff; }
.featured .download-trigger { color: var(--white); background: var(--blue); }
.featured .download-trigger:hover { background: #617cff; }

.product-wide-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.product-card-wide .product-description { margin-top: 38px; max-width: 560px; }

.future-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 0;
  color: #7d8799;
  font-size: 13px;
}

.future-note span { color: var(--blue); font-size: 20px; }

.approach {
  position: relative;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.approach::before {
  position: absolute;
  content: "";
  width: 700px;
  height: 700px;
  left: -350px;
  bottom: -420px;
  border: 1px solid rgba(102, 130, 255, .28);
  border-radius: 50%;
  box-shadow: 0 0 0 100px rgba(78, 108, 255, .03), 0 0 0 200px rgba(78, 108, 255, .02);
}

.approach-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 110px;
}

.approach-copy { align-self: start; position: sticky; top: 130px; }
.approach-copy > p:not(.eyebrow) { max-width: 470px; margin: 27px 0 34px; color: #a9b4c9; }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { color: var(--white); background: var(--blue); }

.approach-list { margin: 0; padding: 0; list-style: none; }
.approach-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 30px;
  padding: 38px 0;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.approach-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .13); }
.approach-list > li > span { color: #7387e9; font-size: 12px; font-weight: 800; }
.approach-list h3 { margin: -7px 0 10px; font-size: 25px; }
.approach-list p { max-width: 560px; margin: 0; color: #9aa6bd; }

.about { background: #f4f6f9; }

.about-layout {
  display: grid;
  grid-template-columns: .76fr 1.24fr;
  align-items: center;
  gap: 100px;
}

.about-mark {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid #e1e5ec;
  border-radius: 40px;
  box-shadow: 0 30px 70px rgba(36, 52, 87, .08);
  overflow: hidden;
}

.about-mark::before {
  position: absolute;
  content: "";
  inset: 16%;
  border: 1px solid #dce3ff;
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(78, 108, 255, .035), 0 0 0 110px rgba(78, 108, 255, .025);
}

.about-mark span {
  position: relative;
  z-index: 2;
  color: var(--ink);
  font-size: clamp(58px, 8vw, 110px);
  font-weight: 850;
  letter-spacing: -.08em;
}

.about-mark i {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
}

.about-mark i:nth-of-type(1) { left: 14%; top: 28%; }
.about-mark i:nth-of-type(2) { right: 15%; top: 19%; background: var(--green); }
.about-mark i:nth-of-type(3) { right: 23%; bottom: 14%; width: 6px; height: 6px; }

.about-copy > p:not(.eyebrow) { margin: 28px 0 0; color: var(--muted); font-size: 17px; }

.about-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.about-meta div {
  display: flex;
  flex-direction: column;
  padding: 20px 0 0;
  border-top: 1px solid #d8dde7;
}

.about-meta small { color: #8a94a6; font-size: 11px; }
.about-meta strong, .about-meta a { margin-top: 8px; font-size: 14px; font-weight: 700; }
.about-meta a:hover { color: var(--blue); }

.faq { background: var(--white); }
.faq-layout { display: grid; grid-template-columns: .55fr 1.45fr; gap: 100px; }
.section-heading.compact { display: block; margin: 0; }

.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--blue); font-size: 24px; font-weight: 400; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 690px; margin: -5px 0 28px; color: var(--muted); }
.faq-list details a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.contact-band {
  padding: 90px 0;
  color: var(--white);
  background: var(--blue);
}

.contact-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.contact-inner p { margin: 0 0 19px; color: #cbd4ff; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.contact-inner a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .65);
  font-size: 18px;
  font-weight: 700;
}

.contact-inner a:hover { border-color: var(--white); }

.site-footer { color: #b5bfd2; background: #071022; }
.footer-top { display: grid; grid-template-columns: 1fr 1.4fr .8fr; gap: 70px; padding: 74px 0; }
.brand-footer .brand-copy strong { color: var(--white); }

.footer-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

.footer-products p, .footer-contact p {
  grid-column: 1 / -1;
  margin: 0 0 8px;
  color: #6e7a92;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
}

.footer-products a, .footer-contact a { color: #bac4d7; font-size: 13px; }
.footer-products a:hover, .footer-contact a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: #707d94;
  font-size: 12px;
}

.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--white); }

.download-dialog {
  width: min(calc(100% - 32px), 580px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 35px 100px rgba(5, 14, 35, .33);
}

.download-dialog::backdrop { background: rgba(5, 13, 31, .72); backdrop-filter: blur(6px); }

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 28px 23px;
  border-bottom: 1px solid var(--line);
}

.dialog-product { display: flex; align-items: center; gap: 16px; }
.dialog-product img { border-radius: 16px; object-fit: cover; }
.dialog-product small { color: #8a94a6; font-size: 11px; }
.dialog-product h2 { margin: 2px 0 0; font-size: 24px; line-height: 1.2; }

.dialog-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #717c90;
  background: #f2f4f7;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.download-options { display: grid; gap: 10px; padding: 22px 28px; }

.download-option {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 76px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.download-option:hover { transform: translateY(-2px); border-color: #bcc8e1; background: #f8f9fc; }
.download-option img { width: 46px; height: 46px; border-radius: 12px; }
.download-option span { display: flex; flex-direction: column; line-height: 1.35; }
.download-option small { color: #8a94a6; font-size: 10px; }
.download-option strong { margin-top: 3px; font-size: 14px; }
.download-option b { margin-left: auto; color: var(--blue); font-size: 17px; }
.dialog-note { margin: 0; padding: 0 28px 26px; color: #8a94a6; font-size: 11px; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .hero { min-height: auto; padding-top: 130px; }
  .hero-layout { grid-template-columns: 1fr; gap: 55px; }
  .hero-copy { max-width: 760px; }
  .portfolio-stage { max-width: 700px; margin: 0 auto; }
  .hero-marquee { margin-top: 55px; }
  .about-layout { gap: 60px; }
  .approach-layout { gap: 70px; }
  .faq-layout { gap: 60px; }
}

@media (max-width: 860px) {
  .site-header { padding: 14px 0; background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px); }
  .nav-toggle {
    position: relative;
    z-index: 102;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    background: var(--ink);
    border: 0;
    border-radius: 50%;
  }
  .nav-toggle span:not(.sr-only) { width: 17px; height: 1px; background: var(--white); transition: transform .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 90px 32px;
    color: var(--white);
    background: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .22s ease, transform .22s ease;
  }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-nav > a { color: var(--white); font-size: 28px; }
  .site-nav .nav-cta { margin-top: 14px; color: var(--ink); background: var(--white); font-size: 14px; }

  .section { padding: 90px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .section-heading > p { max-width: 620px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card-wide { grid-column: auto; }
  .product-wide-layout { grid-template-columns: 1fr; gap: 0; }
  .product-card-wide .product-description { margin-top: 27px; }
  .approach-layout { grid-template-columns: 1fr; }
  .approach-copy { position: relative; top: auto; }
  .about-layout { grid-template-columns: 1fr; }
  .about-mark { max-width: 430px; }
  .faq-layout { grid-template-columns: 1fr; gap: 35px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .brand-footer { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { font-size: 8px; }
  .brand img { width: 40px; height: 40px; }
  .hero { padding-top: 115px; }
  .hero h1 { font-size: clamp(42px, 12vw, 58px); }
  .hero-lead { margin-top: 23px; font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-stats { justify-content: space-between; }
  .hero-stats div { min-width: 0; flex: 1; padding: 0 13px; }
  .hero-stats dt { font-size: 24px; }
  .hero-stats dd { font-size: 10px; }

  .portfolio-stage { min-height: 520px; border-radius: 28px; }
  .stage-topline { left: 20px; right: 20px; }
  .stage-orbit { width: 330px; height: 330px; top: 94px; }
  .app-tile { padding: 10px; border-radius: 18px; }
  .app-tile span { display: none; }
  .app-tile-main { top: 105px; }
  .app-tile-main img { width: 94px; height: 94px; }
  .app-tile-hokkien { top: 255px; left: 32px; }
  .app-tile-eye { top: 270px; right: 25px; }
  .app-tile-translate { left: 66px; bottom: 69px; }
  .app-tile-chm { right: 55px; bottom: 60px; }
  .stage-note { display: none; }
  .hero-marquee { justify-content: flex-start; margin-top: 42px; overflow: hidden; white-space: nowrap; }
  .hero-marquee span:nth-of-type(n+4), .hero-marquee i:nth-of-type(n+4) { display: none; }

  .section { padding: 76px 0; }
  .section-heading { margin-bottom: 36px; }
  .section-heading h2, .approach h2, .about h2, .contact-band h2 { font-size: 38px; }
  .product-card { min-height: 460px; padding: 24px; border-radius: 28px; }
  .product-identity { margin-top: 30px; gap: 16px; }
  .product-icon { width: 72px; height: 72px; border-radius: 18px; }
  .product-identity h3 { font-size: 25px; }
  .product-actions { align-items: stretch; flex-direction: column; }
  .download-trigger { width: 100%; min-height: 46px; }
  .product-card-wide { min-height: 500px; }

  .approach-list li { grid-template-columns: 40px 1fr; gap: 14px; padding: 30px 0; }
  .approach-list h3 { font-size: 21px; }
  .about-layout { gap: 48px; }
  .about-meta { grid-template-columns: 1fr; }
  .about-mark { border-radius: 28px; }
  .faq-list summary { font-size: 16px; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
  .contact-inner a { font-size: 15px; }
  .footer-top { grid-template-columns: 1fr; gap: 42px; }
  .brand-footer { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .download-dialog { border-radius: 24px; }
  .dialog-head { padding: 22px; }
  .download-options { padding: 18px 22px; }
  .dialog-note { padding: 0 22px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
