/* Shared look for the 3 homepage mockups and news.html.
   Tokens copied from the app (src/dashboard/voice-dash-view.css:8-19, voice-shell.css:65); no new colours. */
:root {
  --bd: rgba(56, 150, 142, .42);
  --pnl-a: rgba(13, 32, 34, .62);
  --pnl-b: rgba(10, 16, 26, .66);
  --cy: rgba(71, 255, 255, .55);
  --ink: #e9eef6;
  --ink-2: #dfe7f0;
  --ink-3: #aebbc9;
  --or: #ff9d3d;
  --grn: #4ade80;
  --amb: #fbbf24;
  --red: #ff5252;
  --gry: #94a3b8;
  --prog: linear-gradient(90deg, #3b8a84, #ff9d3d);
  --font: "Inter", "Noto Sans TC", -apple-system, "Segoe UI", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-h: "Outfit", "Noto Sans TC", -apple-system, "Segoe UI", "Microsoft JhengHei", sans-serif;
  --nav-h: 64px;
  --gut: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6;
  background-color: #06090f;
  background-image: radial-gradient(1200px 800px at 50% 42%, #0a1018 0%, #06090f 72%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p, li { text-wrap: pretty; }   /* no single character left alone on the last line */
a { color: inherit; }
button { font: inherit; color: inherit; }
.stars { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
main, .nav, .footer { position: relative; z-index: 1; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
@media (max-width: 767.98px) { :root { --gut: 16px; --nav-h: 58px; } }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(6, 9, 15, .72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--bd); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; flex: none; }
.brand img { width: 34px; height: 34px; }
.brand b { font-family: var(--font-h); font-size: 20px; font-weight: 600; letter-spacing: .02em; }
.brand small { font-size: 12px; color: var(--ink-3); letter-spacing: .06em; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; border-radius: 8px;
  font-size: 15px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--or); background: rgba(255, 157, 61, .06); }
.nav-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 10px; cursor: pointer;
  background: transparent; border: 1px solid var(--bd); color: var(--ink-2); font-size: 20px; }
.icon-btn:hover { border-color: var(--cy); }
.nav-burger { display: none; }
.nav-menu { display: none; }
@media (max-width: 1199px) {
  .nav-links { display: none; }
  .nav-tools { margin-left: auto; }
  .nav-burger { display: inline-grid; }
  .nav-menu.open { display: block; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 49; padding: 8px var(--gut) 16px;
    background: rgba(6, 9, 15, .96); border-bottom: 1px solid var(--bd); }
  .nav-menu a { display: flex; align-items: center; min-height: 48px; padding: 0 8px; font-size: 17px; color: var(--ink-2); text-decoration: none;
    border-bottom: 1px solid rgba(56, 150, 142, .18); }
}
@media (max-width: 479px) { .nav-tools .btn { display: none; } .brand small { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 10px;
  font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; border: 1px solid transparent; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 17px; }
.btn-primary { background: var(--or); color: #06090f; box-shadow: 0 0 22px rgba(255, 157, 61, .28); }
.btn-primary:hover { box-shadow: 0 0 30px rgba(255, 157, 61, .45); }
.btn-ghost { background: rgba(13, 32, 34, .45); color: var(--ink); border-color: var(--cy); }
.btn-ghost:hover { box-shadow: 0 0 16px rgba(71, 255, 255, .2); }
.btn i { font-size: 1.15em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: .04em; color: var(--ink-3); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--or); box-shadow: 0 0 10px rgba(255, 157, 61, .8); }
.h-hero { font-family: var(--font-h); font-weight: 600; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.22; margin: 14px 0 0; letter-spacing: .01em; }
.h-hero .gold { color: var(--or); display: block; font-size: .72em; margin-top: 8px; }
.h-section { font-family: var(--font-h); font-weight: 600; font-size: clamp(26px, 3vw, 38px); line-height: 1.3; margin: 12px 0 0; }
.h-section .soft { color: var(--ink-3); }
.h-section .gold { color: var(--or); }
.lead { color: var(--ink-3); font-size: 17px; line-height: 1.75; margin: 14px 0 0; max-width: 680px; }
.sec-head { margin-bottom: 40px; }
.sec-head.center { text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.section { padding: 96px 0; }
@media (max-width: 767.98px) { .section { padding: 64px 0; } .lead { font-size: 16px; } }

/* ---------- app card (voice-dash-view.css:51-60) ---------- */
.dcard {
  position: relative; display: flex; flex-direction: column;
  padding: 12px 16px 14px;
  background: linear-gradient(180deg, var(--pnl-a), var(--pnl-b));
  border-radius: 12px;
  border: 1px solid rgba(71, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(71, 255, 255, 0.45), 0 0 16px rgba(71, 255, 255, 0.20), inset 0 1px 0 rgba(120, 255, 255, 0.12), 0 4px 16px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  transition: box-shadow .25s, background .25s, border-color .25s, opacity .25s, transform .25s;
}
.dcard.is-next { box-shadow: 0 0 0 1px rgba(71, 255, 255, 0.85), 0 0 30px rgba(71, 255, 255, 0.32), inset 0 1px 0 rgba(120, 255, 255, 0.12), 0 4px 16px rgba(0, 0, 0, 0.5); }
.dcard.is-gray { background: color-mix(in srgb, var(--gry) 12%, #04080d); border-color: color-mix(in srgb, var(--gry) 30%, transparent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5); }
.dcard.is-gray .dgrid, .dcard.is-gray .dtitle, .dcard.is-gray .dstep, .dcard.is-gray .dline { filter: grayscale(1); opacity: .55; }
.dhd { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.dstep { flex: none; font-size: 14px; font-weight: 700; color: var(--or); padding: 2px 9px; border-radius: 999px;
  background: rgba(255, 157, 61, .12); border: 1px solid rgba(255, 157, 61, .5); line-height: 1.5; }
.dtitle { margin: 0; font-size: 21px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.dline { margin: 0 0 10px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.dgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 10px; }
.dtile { text-align: center; padding: 5px 2px; border-radius: 8px; background: rgba(255, 255, 255, .025); }
.dtile b { display: block; font-size: 25.2px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 767.98px) { .dtile b { font-size: 22px; } }
.dtile small { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-3); }
.v-y { color: var(--amb); } .v-g { color: var(--grn); } .v-w { color: var(--ink); } .v-r { color: var(--red); }
.demo { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 999px; font-size: 11px; line-height: 17px; font-weight: 500;
  color: var(--gry); border: 1px solid rgba(148, 163, 184, .45); vertical-align: middle; }
.dpoints { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.dpoints li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.dpoints li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--or); box-shadow: 0 0 8px rgba(255, 157, 61, .7); }

/* ---------- app dialog bubble (voice-guide.css:18-58) ---------- */
.bubble {
  padding: 11px 16px 12px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(13, 32, 34, .93), rgba(10, 16, 26, .95));
  border: 1px solid rgba(71, 255, 255, .55);
  box-shadow: 0 0 0 1px rgba(71, 255, 255, .4), 0 0 18px rgba(71, 255, 255, .18), 0 6px 20px rgba(0, 0, 0, .5);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
}
.bubble .bhead { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.bubble .bidx { font-size: 12px; font-weight: 700; color: var(--or); padding: 2px 9px; border-radius: 999px;
  background: rgba(255, 157, 61, .12); border: 1px solid rgba(255, 157, 61, .5); }
.bubble .btitle { font-weight: 600; font-size: 17px; }
.bubble .dpoints { margin-top: 6px; }

/* ---------- orb box ---------- */
.orb { position: relative; aspect-ratio: 1 / 1; pointer-events: none; }
.orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.orb .orb-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.links-cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: block; }

/* ---------- scoring ---------- */
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.legend-list { display: grid; gap: 12px; }
.legend-row { display: grid; grid-template-columns: 10px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; }
.legend-row .sw { width: 10px; height: 40px; border-radius: 5px; }
.legend-row b { display: block; font-size: 17px; }
.legend-row span.desc { color: var(--ink-3); font-size: 14.5px; }
.legend-row .pct { font-family: var(--font-h); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-direct { color: var(--grn); } .t-indirect { color: var(--amb); } .t-weak { color: var(--gry); } .t-reject { color: var(--red); }
.sw-direct { background: var(--grn); } .sw-indirect { background: var(--amb); } .sw-weak { background: var(--gry); } .sw-reject { background: var(--red); }
@media (max-width: 1023px) { .legend { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { padding: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 18px; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { margin-left: auto; color: var(--or); transition: transform .2s; flex: none; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq .faq-body { padding: 0 18px 16px; color: var(--ink-3); line-height: 1.8; font-size: 15.5px; }
.faq .faq-body a { color: var(--or); }

/* ---------- cta ---------- */
.cta-v3 { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 32px 36px; }
.cta-v3 .h-section { margin: 0; }
.cta-v3 .lead { margin-top: 8px; color: var(--ink); font-size: 19px; }   /* user 10-10: bright white, .lead + 2 px */
.cta-v3 .btn { flex: none; }
@media (max-width: 767.98px) { .cta-v3 { flex-direction: column; align-items: flex-start; padding: 24px 20px; } .cta-v3 .lead { font-size: 18px; } }

/* ---------- news strip (under the top bar, user 10-09) ---------- */
.news-strip { position: relative; z-index: 1; padding: 14px 0 0; }
.news-strip .inner { display: grid; grid-template-columns: auto 1fr 1fr; gap: 14px; align-items: stretch; }
.news-strip .lbl { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; font-weight: 600; text-decoration: none; color: var(--ink); }
.news-strip .lbl i { color: var(--or); }
.news-strip a.item { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 10px 16px; text-decoration: none;
  border-radius: 12px; border: 1px solid var(--bd); background: rgba(13, 32, 34, .45); }
.news-strip a.item:hover { border-color: var(--cy); }
.news-strip .meta { font-size: 13px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; }
.news-strip .ttl { font-size: 15.5px; color: var(--ink); }
@media (max-width: 1023px) { .news-strip .inner { grid-template-columns: 1fr; } .news-strip .lbl { padding: 0 4px; } }
/* go-live P1 B2: with only one news item it takes both columns */
@media (min-width: 1024px) { .news-strip a.item:nth-child(2):last-child { grid-column: span 2; } }

.tag { display: inline-block; padding: 0 8px; border-radius: 999px; font-size: 12px; line-height: 20px; border: 1px solid currentColor; }
.tag.prod { color: rgba(71, 255, 255, .85); } .tag.ops { color: var(--amb); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--bd); padding: 20px 0 24px; background: rgba(6, 9, 15, .6); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--ink-3); font-size: 13.5px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }