:root {
  --paper: #f7f3ea;
  --ink: #2a241d;
  --muted: #6b6257;
  --line: #ded4c4;
  --card: #fffdf8;
  --surface: #f0e7d9;
  --accent: #b45121;
  --accent-bright: #d9692f;
  --accent-hover: #984218;
  --on-accent: #ffffff;
  --shell: 1280px;
  --reading: 720px;
  --shadow: 0 24px 64px rgba(90, 58, 30, .13), 0 2px 8px rgba(60, 40, 20, .05);
  --font-body: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}
html[lang="zh-Hant"] {
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --font-display: "Songti TC", "Noto Serif TC", "PMingLiU", serif;
}
html[lang="ja"] {
  --font-body: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --font-display: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Longer-language safety net: allow long words (German, Thai strings without
   spaces) to wrap instead of forcing grids/flex items wider than the viewport. */
html { overflow-wrap: anywhere; }
.hero-copy, .hero-card, .section-heading > *, .feature-text, .price-item,
.legal-intro, .legal-article, .download-intro > *, .download-intro-copy,
.platform-card, .footer-grid > *, .footer-links { min-width: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
::selection { background: var(--accent); color: var(--on-accent); }
.shell { width: min(var(--shell), calc(100% - 80px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--accent-hover); outline-offset: 4px; }

/* Shared warm paper chrome */
.site-header { position: relative; z-index: 10; background: rgba(247, 243, 234, .96); }
.home-page .site-header { background: transparent; }
.nav-inner {
  width: min(var(--shell), calc(100% - 80px));
  min-height: 92px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.3;
  text-decoration: none;
}
.brand-mark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent-bright);
  color: #fff;
  font-family: "Songti TC", "Noto Serif TC", serif;
  font-size: 19px;
  font-weight: 700;
}
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.main-nav a {
  padding-block: 8px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(42, 36, 29, .16);
  border-radius: 999px;
  background: rgba(255, 253, 248, .55);
}
.lang button, .lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 32px;
  padding: 4px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.lang button:hover, .lang a:hover { color: var(--ink); }
.lang button.active, .lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }

/* 8-language switcher: a compact dropdown that keeps the header tidy. Works
   without JavaScript because it is built on <details>/<summary>. */
.lang-switch { position: relative; }
.lang-switch > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
  transition: background-color .2s ease, color .2s ease;
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary:hover { color: var(--ink); }
.lang-switch[open] > summary { background: var(--ink); color: var(--paper); }
.lang-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  display: grid;
  gap: 2px;
  min-width: 176px;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
  list-style: none;
}
.lang-list a {
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.lang-list a:hover { background: var(--surface); color: var(--ink); }
.lang-list a[aria-current="true"] { background: var(--ink); color: var(--paper); }

/* Approved hero: desk photograph, warm overlay, rendered woodfish card. */
.hero-stage { position: relative; isolation: isolate; overflow: hidden; }
.hero-stage::before, .hero-stage::after { content: ""; position: absolute; inset: 0; z-index: -2; }
.hero-stage::before { background: url("assets/desk.webp") center / cover no-repeat; }
.hero-stage::after {
  z-index: -1;
  background: linear-gradient(95deg, rgba(247,243,234,.98) 0%, rgba(247,243,234,.9) 34%, rgba(247,243,234,.42) 58%, rgba(247,243,234,.08) 82%);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  align-items: center;
  gap: clamp(48px, 6vw, 88px);
  min-height: 680px;
  padding-block: 64px 88px;
}
.hero-copy { max-width: 660px; }
.hero-badge { margin: 0 0 22px; color: var(--muted); font-size: 14px; letter-spacing: .04em; }
.hero h1 {
  max-width: 660px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(54px, 5vw, 74px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.1;
  text-wrap: balance;
}
html[lang="zh-Hant"] .hero h1 { font-size: clamp(46px, 4.6vw, 64px); letter-spacing: .01em; line-height: 1.25; }
html[lang="ja"] .hero h1 { font-size: clamp(42px, 4.2vw, 58px); letter-spacing: .01em; line-height: 1.4; word-break: auto-phrase; }
.hero-lead { max-width: 570px; margin: 28px 0 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
html[lang="zh-Hant"] .hero-lead, html[lang="ja"] .hero-lead { font-size: 16px; line-height: 2; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.98); }
.button-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px rgba(182, 83, 34, .24); }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { border-color: var(--line); background: var(--card); color: var(--ink); }
.button-secondary:hover { border-color: var(--accent); }
.button[aria-disabled="true"] { cursor: default; }
.button[aria-disabled="true"]:hover { transform: none; }
.text-link {
  padding-block: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 6px;
}
.text-link:hover { text-decoration-color: var(--accent); }
.hero-meta { margin-top: 30px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.hero-meta p { margin: 0; }
.hero-card {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: center;
}
.hero-card-caption { margin: 0; color: var(--muted); font-size: 14px; }
.merit-number { margin: 4px 0 0; color: var(--accent-bright); font-family: var(--font-display); font-size: 30px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.fish-wrap { display: flex; align-items: center; justify-content: center; height: 300px; }
.fish-wrap img { width: min(100%, 400px); height: auto; filter: drop-shadow(0 18px 24px rgba(42,36,29,.12)); }
.poke {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #faf7f0;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}
.poke:hover { color: var(--accent); border-color: var(--accent); }
.values-wrap { padding-block: 28px 24px; background: var(--paper); }
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(222,212,196,.8);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 8px 30px rgba(90,58,30,.05);
}
.values p { margin: 0; padding: 22px 26px; color: var(--muted); font-size: 14px; }
.values p + p { border-left: 1px solid var(--line); }
.values p::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 12px 2px 0; border-radius: 50%; background: var(--accent-bright); }

/* Real client views sit inside tactile, warm-white cards. */
.section { padding-block: 96px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr); align-items: end; gap: 48px; margin-bottom: 48px; }
.section-heading h2 {
  max-width: 650px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 3.8vw, 52px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.18;
  text-wrap: balance;
}
html[lang="zh-Hant"] .section-heading h2, html[lang="ja"] .section-heading h2 { letter-spacing: .01em; line-height: 1.45; }
.section-heading > p { max-width: 430px; margin: 0 0 4px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature-item {
  min-width: 0;
  padding: 20px 20px 26px;
  border: 1px solid rgba(222,212,196,.75);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 10px 32px rgba(90,58,30,.055);
}
.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  overflow: hidden;
  border-radius: 15px;
  background: var(--surface);
}
.feature-shot { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-visual { gap: 12px; padding: 12px; background: #eee4d4; }
.phone-visual img { width: auto; height: 100%; border-radius: 9px; box-shadow: 0 6px 16px rgba(60,40,20,.1); }
.icon-visual { color: var(--accent); }
.feature-icon { width: 58px; height: 58px; }
.feature-icon path, .feature-icon rect, .feature-icon circle { fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.appearance-visual img { width: 88%; height: auto; }
.feature-item h3 { margin: 24px 4px 10px; font-size: 18px; font-weight: 600; line-height: 1.5; }
.feature-item p { margin: 0 4px; color: var(--muted); font-size: 14px; line-height: 1.8; }
html[lang="ja"] .feature-item p { line-height: 1.95; }
.pricing-section { background: var(--surface); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.price-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px;
  border: 1px solid rgba(222,212,196,.8);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 10px 32px rgba(90,58,30,.05);
}
.price-item-accent { border-top: 3px solid var(--accent-bright); padding-top: 28px; }
.price-item h3 { margin: 0; font-size: 17px; font-weight: 600; }
.price { margin: 28px 0 0; color: var(--ink); font-family: var(--font-display); font-size: 56px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-unit { min-height: 48px; margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.price-item ul { display: grid; gap: 12px; margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; }
.price-item li { position: relative; padding-left: 16px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.price-item li::before { content: ""; position: absolute; top: .75em; left: 0; width: 6px; height: 2px; background: var(--accent-bright); }
.price-link { align-self: flex-start; margin-top: 26px; }
.delivery-note { max-width: 760px; margin: 36px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* Single all-in-one purchase card and the download page purchase CTA. */
.pricing-grid-single { grid-template-columns: minmax(0, 680px); justify-content: center; }
.price-item-single { padding: 40px; }
.price-kicker { margin: 0 0 10px; color: var(--accent); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.price-item-single h3 { font-size: 22px; }
.price-item-single .price { margin-top: 18px; }
.price-item-single .price-unit { min-height: 0; }
.price-item-single ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.price-cta { align-self: flex-start; margin-top: 32px; min-height: 54px; padding: 15px 32px; font-size: 16px; }
.button-large { min-height: 56px; padding: 16px 36px; font-size: 16px; }
.purchase-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 0 0 40px; padding: 28px 30px; border: 1px solid rgba(222, 212, 196, .85); border-radius: 20px; background: var(--card); box-shadow: 0 12px 36px rgba(90, 58, 30, .06); }
.purchase-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.platform-after { margin: 24px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.pricing-grid .price-item { position: relative; }
.price-badge { position: absolute; top: -12px; right: 20px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 600; letter-spacing: .04em; box-shadow: 0 4px 12px rgba(182, 83, 34, .28); }
.price-item-featured { box-shadow: 0 18px 46px rgba(182, 83, 34, .14); }
.price-item-featured .price { color: var(--accent); }
@media (max-width: 560px) {
  .price-item-single { padding: 28px; }
  .price-item-single ul { grid-template-columns: 1fr; }
  .purchase-cta { padding: 22px; }
  .button-large { width: 100%; }
}
.faq-section { padding-bottom: 112px; }
.faq-section .section-heading { display: block; margin-bottom: 40px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding-inline: 26px; border: 1px solid rgba(222,212,196,.8); border-radius: 16px; background: var(--card); }
.faq-list summary { position: relative; padding: 23px 52px 23px 0; font-size: 16px; font-weight: 600; line-height: 1.6; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; top: 35px; right: 4px; width: 14px; height: 1px; background: var(--accent); transition: transform .2s ease; }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details p { max-width: var(--reading); margin: -4px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.site-footer { padding-block: 56px; border-top: 1px solid var(--line); background: #f3ede2; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.footer-brand { font-size: 17px; }
.footer-grid > div > p { max-width: 400px; margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.footer-links { justify-self: end; min-width: 0; }
.footer-links nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-links a { color: var(--muted); font-size: 13px; text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.footer-links p { margin: 22px 0 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.footer-links .copyright { margin-top: 8px; font-size: 12px; }

/* Download and legal pages use the same cards and orange actions. */
.download-main { padding-block: 80px 104px; }
.download-intro { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr); align-items: end; gap: clamp(48px, 8vw, 112px); padding-bottom: 64px; }
.download-kicker { margin: 0 0 20px; color: var(--accent); font-size: 13px; }
.download-intro h1 { max-width: 700px; margin: 0; font-family: var(--font-display); font-size: clamp(48px, 5.2vw, 68px); font-weight: 600; letter-spacing: -.04em; line-height: 1.14; text-wrap: balance; }
html[lang="zh-Hant"] .download-intro h1 { font-size: clamp(40px, 4.6vw, 58px); letter-spacing: .01em; line-height: 1.4; }
html[lang="ja"] .download-intro h1 { font-size: clamp(38px, 4.4vw, 56px); letter-spacing: .01em; line-height: 1.45; word-break: auto-phrase; }
.download-intro-copy > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.assurance-list { margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; }
.assurance-list li { position: relative; padding-left: 16px; color: var(--ink); font-size: 14px; line-height: 1.8; }
.assurance-list li + li { margin-top: 8px; }
.assurance-list li::before { content: ""; position: absolute; top: .85em; left: 0; width: 6px; height: 2px; background: var(--accent-bright); }
.download-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.platform-card { min-width: 0; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: 0 12px 36px rgba(90,58,30,.06); }
.platform-card[data-recommended="true"] { border-color: var(--accent-bright); box-shadow: inset 0 3px var(--accent-bright), 0 12px 36px rgba(90,58,30,.06); }
.platform-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.platform-heading h2 { margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.4; }
.platform-status { display: none; margin: 0; color: var(--accent); font-size: 12px; font-weight: 600; line-height: 1.5; text-align: right; }
.platform-card[data-recommended="true"] .platform-status { display: block; }
.platform-requirement { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.download-button { max-width: 100%; margin-top: 28px; text-align: center; }
.release-meta { margin: 32px 0 0; border-top: 1px solid var(--line); }
.release-meta > div { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.release-meta dt { color: var(--muted); font-size: 13px; }
.release-meta dd { margin: 0; font-size: 13px; font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.checksum { border-bottom: 1px solid var(--line); }
.checksum summary { padding-block: 14px; font-size: 13px; font-weight: 500; cursor: pointer; }
.checksum p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.release-note { max-width: var(--reading); margin: 28px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.download-help { max-width: var(--reading); margin-top: 64px; padding: 30px; border-radius: 20px; background: var(--surface); }
.download-help h2 { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.download-help p { margin: 14px 0 20px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.legal-main { padding-block: 72px 104px; }
.legal-layout { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 96px); align-items: start; }
.legal-intro { padding-top: 12px; }
.legal-intro h1 { margin: 0; font-family: var(--font-display); font-size: clamp(38px, 4vw, 54px); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; }
html[lang="zh-Hant"] .legal-intro h1, html[lang="ja"] .legal-intro h1 { letter-spacing: .01em; line-height: 1.45; }
.updated { margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.legal-article { max-width: var(--reading); padding: 40px; border: 1px solid rgba(222,212,196,.8); border-radius: 24px; background: var(--card); box-shadow: 0 12px 36px rgba(90,58,30,.05); }
.legal-section { padding-block: 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 14px; font-size: 17px; font-weight: 600; line-height: 1.6; }
.legal-section p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.95; overflow-wrap: anywhere; }
html[lang="ja"] .legal-section p { line-height: 2.05; }
.legal-back { margin: 32px 0 0; }

/* Hero content is visible by default; GSAP only enhances the entrance, so a
   failed/blocked script never leaves the first screen blank. */
.anim { opacity: 1; }

/* Feature showcase: a numbered tab row over one large preview card.
   With no JavaScript the panels stay stacked and readable (the .is-ready
   class that collapses them to one panel is added by motion.js only). */
.feature-showcase { display: block; }
.feature-nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.feature-tabs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; counter-reset: featuretab; }
.feature-tabs [role="tab"] {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.feature-tabs [role="tab"]::before {
  content: counter(featuretab, decimal-leading-zero);
  counter-increment: featuretab;
  color: var(--accent-bright);
  font-size: 11px;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  opacity: .65;
}
.feature-tabs [role="tab"]:hover { color: var(--ink); border-color: var(--line); }
.feature-tabs [role="tab"][aria-selected="true"] {
  background: var(--card);
  border-color: var(--line);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(90, 58, 30, .06);
}
.feature-tabs [role="tab"][aria-selected="true"]::before { opacity: 1; }
.feature-arrows { display: flex; gap: 8px; margin-left: auto; }
.feature-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.feature-arrow:hover { color: var(--accent); border-color: var(--accent); }

.feature-stage { position: relative; }
.feature-panel { display: flex; flex-direction: column; gap: 18px; }
.feature-panel + .feature-panel { margin-top: 32px; } /* no-JS stacked list */
.feature-showcase.is-ready .feature-panel { display: none; }
.feature-showcase.is-ready .feature-panel.is-active {
  display: flex;
  animation: featureIn .38s cubic-bezier(.22, .61, .36, 1) both;
}
.feature-panel:focus { outline: none; }
.feature-panel:focus-visible .feature-frame { outline: 3px solid var(--accent-hover); outline-offset: 3px; }
@keyframes featureIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.feature-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 26px;
  border: 1px solid rgba(222, 212, 196, .85);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(90, 58, 30, .06);
  overflow: hidden;
}
.feature-frame img {
  max-width: 100%;
  max-height: 360px;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(60, 40, 20, .12);
}
.feature-frame-fish img { width: min(100%, 440px); max-height: 340px; box-shadow: none; filter: drop-shadow(0 18px 24px rgba(42, 36, 29, .12)); }
.feature-frame-pair .shot-pair { display: flex; align-items: flex-end; justify-content: center; gap: 20px; max-width: 100%; }
.feature-frame-pair .shot-pair img { height: 300px; width: auto; max-width: calc(50% - 10px); object-fit: contain; }
.feature-frame-calendar img { max-height: 380px; }
.feature-frame-bubble img { max-width: min(460px, 100%); max-height: 200px; }
.feature-frame-conceal img { opacity: .3; filter: grayscale(.25) blur(.3px); box-shadow: none; }
.feature-text { max-width: 760px; }
.feature-text h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.4; }
.feature-text p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
html[lang="ja"] .feature-text p { line-height: 2; }

@media (max-width: 840px) {
  .feature-arrows { margin-left: 0; }
  .feature-frame { min-height: 360px; padding: 20px; }
  .feature-frame-pair .shot-pair img { height: 250px; }
  .feature-text h3 { font-size: 20px; }
}
@media (max-width: 560px) {
  .feature-tabs [role="tab"] { padding: 8px 11px; font-size: 13px; }
  .feature-frame { min-height: 280px; padding: 16px; border-radius: 18px; }
  .feature-frame img { max-height: 260px; }
  .feature-frame-fish img { max-height: 220px; }
  .feature-frame-pair .shot-pair { gap: 10px; }
  .feature-frame-pair .shot-pair img { height: 200px; max-width: calc(50% - 6px); }
  .feature-frame-calendar img { max-height: 260px; }
  .feature-text h3 { font-size: 18px; }
  .feature-text p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-showcase.is-ready .feature-panel.is-active { animation: none; }
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(380px, 440px); gap: 40px; }
  .hero h1 { font-size: clamp(50px, 5.7vw, 62px); }
  html[lang="zh-Hant"] .hero h1, html[lang="ja"] .hero h1 { font-size: clamp(40px, 4.8vw, 52px); }
  .fish-wrap { height: 260px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  .shell, .nav-inner { width: min(100% - 48px, var(--shell)); }
  .main-nav { display: none; }
  .hero-stage::after { background: linear-gradient(105deg, rgba(247,243,234,.97), rgba(247,243,234,.8)); }
  .hero { grid-template-columns: 1fr; gap: 48px; min-height: 0; padding-block: 64px; }
  .hero-copy { max-width: 680px; }
  .hero-card { max-width: 560px; justify-self: start; }
  .section { padding-block: 72px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-unit { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { justify-self: start; }
  .download-main { padding-block: 64px 88px; }
  .download-intro { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; }
  .download-intro-copy { max-width: 620px; }
  .legal-main { padding-block: 56px 80px; }
  .legal-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .shell, .nav-inner { width: calc(100% - 40px); }
  .nav-inner { min-height: 76px; gap: 12px; }
  .brand { gap: 9px; font-size: 14px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; font-size: 16px; }
  .brand > span:last-child { max-width: 142px; }
  .lang { gap: 0; padding: 2px; }
  .lang button, .lang a { min-width: 29px; min-height: 30px; padding-inline: 6px; font-size: 11px; }
  .hero { gap: 40px; padding-block: 48px 56px; }
  .hero-badge { margin-bottom: 18px; font-size: 12px; }
  .hero h1 { font-size: clamp(42px, 12.4vw, 54px); }
  html[lang="zh-Hant"] .hero h1 { font-size: clamp(34px, 9.8vw, 44px); }
  html[lang="ja"] .hero h1 { font-size: clamp(32px, 9.2vw, 42px); }
  .hero-lead { margin-top: 22px; font-size: 15px; }
  .cta-row { gap: 18px; margin-top: 30px; }
  .button { min-height: 48px; padding: 12px 20px; font-size: 14px; }
  .hero-meta { margin-top: 24px; }
  .hero-card { padding: 20px; border-radius: 20px; }
  .fish-wrap { height: 220px; }
  .values { grid-template-columns: 1fr; }
  .values p { padding: 18px 20px; font-size: 13px; }
  .values p + p { border-top: 1px solid var(--line); border-left: 0; }
  .section { padding-block: 64px; }
  .section-heading h2 { font-size: 36px; }
  html[lang="zh-Hant"] .section-heading h2, html[lang="ja"] .section-heading h2 { font-size: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-visual { height: 200px; }
  .price-item { padding: 26px; }
  .price-item-accent { padding-top: 24px; }
  .price { font-size: 50px; }
  .faq-list details { padding-inline: 20px; }
  .faq-list summary { font-size: 15px; }
  .site-footer { padding-block: 44px; }
  .footer-links nav { align-items: flex-start; flex-direction: column; gap: 14px; }
  .download-main { padding-block: 48px 64px; }
  .download-intro h1 { font-size: clamp(40px, 11vw, 50px); }
  html[lang="zh-Hant"] .download-intro h1 { font-size: clamp(34px, 9.8vw, 42px); }
  html[lang="ja"] .download-intro h1 { font-size: clamp(32px, 9.2vw, 40px); }
  .download-options { grid-template-columns: 1fr; }
  .platform-card { padding: 24px; }
  .download-help { margin-top: 48px; padding: 24px; }
  .legal-article { padding: 24px; border-radius: 20px; }
  .legal-intro h1 { font-size: 38px; }
  .legal-section { padding-bottom: 24px; margin-bottom: 24px; }
  .legal-section p { font-size: 14px; }
}
@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; }
}
