/* Pyloxa — 官網樣式。品牌色沿用 App：靛藍 #4932D4、橘 #F29611（direction: The product performs）。 */
:root {
  --ground: #f7f7f8;
  --tone: #ececef;
  --ink: #15131f;
  --soft: #5b5868;
  --accent: #4932d4;
  --accent-ink: #ffffff;
  --accent-tint: #e9e5fb;
  --orange: #f29611;
  --orange-tint: #fcecd3;
  --green: #1d7a4b;
  --green-tint: #e3f2e9;
  --red: #c2352b;
  --font: "Archivo", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(1.75rem, 1.2rem + 1.6vw, 2.25rem);
  --step-display: clamp(3.25rem, 5.2vw, 5rem);
  --margin: clamp(16px, 3vw, 40px);
  --gap-section: clamp(96px, 12vw, 200px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.wrap {
  padding-inline: var(--margin);
  max-width: 1440px;
  margin-inline: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(12px, 2vw, 32px);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.3em;
  background: var(--accent);
  color: var(--accent-ink);
  font: 600 var(--step-body) / 1 var(--font);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition:
    transform 160ms var(--ease),
    background-color 160ms var(--ease);
}

.button:hover {
  background: #3a25b8;
}

.button:active {
  transform: translateY(1px) scale(0.98);
}

.button.is-light {
  background: var(--ground);
  color: var(--ink);
}

.button.is-light:hover {
  background: #ffffff;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: var(--margin);
  top: 8px;
  z-index: 10;
  background: var(--ink);
  color: var(--ground);
  padding: 8px 12px;
}

/* ---- 導覽 ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
}

/* 文字字標：正式標誌完成前暫用（D-41） */
.nav .mark {
  display: block;
  font-size: var(--step-lead);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-decoration: none;
}

.nav ul {
  display: flex;
  gap: clamp(14px, 2.2vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--step-small);
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--soft);
  transition: color 160ms var(--ease);
}

.nav a:hover {
  color: var(--ink);
}

.nav .nav-download {
  color: var(--accent);
  font-weight: 600;
}

/* ---- 首屏 ---- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(980px, 100svh);
}

.hero-copy {
  padding-top: clamp(48px, 9vh, 120px);
  grid-column: 1 / 7;
}

.hero h1 {
  font-size: var(--step-display);
  max-width: 9em;
}

.hero .lead {
  margin-top: 28px;
  font-size: var(--step-body);
  max-width: 40ch;
}

.hero .actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero .meta {
  font-size: var(--step-small);
  color: var(--soft);
}

.stage {
  position: absolute;
  left: calc(100% * 4 / 12);
  right: 0;
  top: 46%;
  bottom: 0;
  background: var(--accent);
  clip-path: polygon(120px 0, 100% 0, 100% 100%, 0 100%, 0 120px);
}

.stage-inner {
  position: absolute;
  left: 56px;
  top: 56px;
  width: min(640px, calc(100% - 80px));
}

.stage-note {
  position: absolute;
  right: var(--margin);
  bottom: 28px;
  color: var(--accent-ink);
  font-size: var(--step-small);
  max-width: 26ch;
  text-align: right;
}

/* ---- App 的元件（data-ui：沿用 App 的邊框、圓角與字級） ---- */
[data-ui] {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  color: #171520;
  background: #ffffff;
  border: 1px solid #dedbe6;
  border-radius: 10px;
  text-align: left;
}

[data-ui] .ui-row {
  padding: 16px 18px;
}

[data-ui] .ui-title {
  font-weight: 600;
  font-size: 15px;
}

[data-ui] .ui-muted {
  color: #6b6878;
  font-size: 13px;
}

[data-ui] .badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px;
  border: 1px solid #dedbe6;
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
  background: #f5f4f8;
}

[data-ui] .badge.warn {
  color: #a6600a;
  border-color: #f0cf9c;
  background: #fdf5e8;
}

[data-ui] .badge.ok {
  color: var(--green);
  border-color: #b9dcc7;
  background: var(--green-tint);
}

[data-ui] .badge.bad {
  color: var(--red);
  border-color: #f0c0bb;
  background: #fcecea;
}

[data-ui] .badge.info {
  color: var(--accent);
  border-color: #cfc7f5;
  background: var(--accent-tint);
}

[data-ui] .ui-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 7px;
  border: 1px solid #dedbe6;
  background: #ffffff;
  font: 600 14px / 1.2 var(--font);
  color: #171520;
  cursor: pointer;
  transition:
    background-color 140ms var(--ease),
    transform 140ms var(--ease);
}

[data-ui] .ui-button:hover {
  background: #f4f3f7;
}

[data-ui] .ui-button:active {
  transform: scale(0.97);
}

[data-ui] .ui-button.primary {
  background: #171520;
  border-color: #171520;
  color: #ffffff;
}

[data-ui] .ui-button.primary:hover {
  background: #2c2938;
}

[data-ui] .seg {
  display: inline-flex;
  border: 1px solid #dedbe6;
  border-radius: 8px;
  overflow: hidden;
}

[data-ui] .seg button {
  border: 0;
  background: #ffffff;
  padding: 6px 12px;
  font: 400 14px / 1.2 var(--font);
  color: #45424f;
  cursor: pointer;
  transition: background-color 140ms var(--ease);
}

[data-ui] .seg button + button {
  border-left: 1px solid #dedbe6;
}

[data-ui] .seg button[aria-pressed="true"] {
  background: #171520;
  color: #ffffff;
}

[data-ui] .seg button:hover:not([aria-pressed="true"]) {
  background: #f4f3f7;
}

[data-ui] input[type="text"],
[data-ui] textarea {
  width: 100%;
  border: 1px solid #dedbe6;
  border-radius: 8px;
  padding: 9px 11px;
  font: 400 14px / 1.45 var(--font);
  color: #171520;
  background: #ffffff;
  resize: none;
}

/* 派工面板（首屏的互動元件） */
.router .router-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #ecebf0; /* taste-skill-ignore：App 元件（data-ui）本身的樣式 */
}

.router .field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #6b6878;
}

.router .fields {
  display: grid;
  gap: 14px;
}

.router .decision {
  border-top: 1px solid #ecebf0; /* taste-skill-ignore：App 元件（data-ui）本身的樣式 */
  display: grid;
  gap: 6px;
}

.router .decision .who {
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.router .quota-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #ecebf0; /* taste-skill-ignore：App 元件（data-ui）本身的樣式 */
  font-size: 14px;
}

.toggle {
  position: relative;
  width: 2.1em;
  height: 1.15em;
  flex: none;
  border-radius: 999px;
  border: 0;
  background: #cfccd8;
  cursor: pointer;
  transition: background-color 160ms var(--ease);
}

.toggle::after {
  content: "";
  position: absolute;
  top: 0.15em;
  left: 0.15em;
  width: 0.85em;
  height: 0.85em;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 180ms var(--ease);
}

.toggle[aria-checked="true"] {
  background: var(--green);
}

.toggle[aria-checked="true"]::after {
  transform: translateX(0.95em);
}

.router .quota-box {
  margin: 0 18px 18px;
  padding: 14px 16px;
  border: 1px solid #f0cf9c; /* taste-skill-ignore：App 元件（data-ui）本身的樣式 */
  border-radius: 8px;
  background: #fdf8ee;
  display: grid;
  gap: 10px;
}

.router .quota-box[hidden] {
  display: none;
}

.router .quota-box .ui-title {
  color: #8a4f06;
}

/* ---- 區塊共用 ---- */
section {
  scroll-margin-top: 24px;
}

.section {
  margin-top: var(--gap-section);
}

.section-head {
  font-size: var(--step-head);
}

.flow .section-head {
  margin-bottom: 56px;
}

/* 工作的三個狀態 */
.states {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(12px, 2vw, 32px);
  row-gap: 56px;
}

.states .section-head {
  grid-column: 4 / 10;
  margin-bottom: 40px;
}

.state-word {
  grid-column: 1 / 4;
  text-align: right;
  font-size: var(--step-lead);
  color: var(--soft);
  align-self: center;
}

.state-row {
  grid-column: 4 / 10;
}

.task-row .ui-row {
  display: grid;
  gap: 8px;
}

.task-row .top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.task-row .top .spacer {
  flex: 1;
}

.task-row .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 13px;
}

.check-line svg {
  flex: none;
  width: 14px;
  height: 14px;
}

.spin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #c9c4ea;
  border-top-color: var(--accent);
  animation: spin 900ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 使用流程：呼叫與回應 */
.flow {
  max-width: 1440px;
}

.flow-col {
  width: min(560px, 100%);
  margin-left: calc(100% * 3 / 12);
}

.exchange + .exchange {
  margin-top: 88px;
}

.exchange .say {
  font-size: var(--step-lead);
  font-weight: 600;
}

.exchange .call {
  margin-top: 16px;
  background: var(--tone);
  padding: 20px;
}

.exchange .response {
  margin-top: 24px;
  margin-left: 56px;
}

.exchange .response {
  background: var(--tone);
  padding: clamp(10px, 1.4vw, 18px);
  width: min(820px, calc(100vw - 2 * var(--margin) - 56px));
}

/* 第一張截圖裁出對話區（不含側欄），維持可讀的大小 */
.exchange .response .crop-chat {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 78% 0;
}

.exchange .response img {
  width: 100%;
}

.exchange .response.result {
  background: #ffffff;
  padding: 0;
}

.exchange.final .response {
  width: min(900px, calc(100vw - 2 * var(--margin)));
  margin-left: 56px;
}

.result .files {
  list-style: none;
  margin: 0;
  padding: 0 18px 12px;
  font-size: 13px;
  font-family: var(--font);
}

.result .files li {
  display: flex;
  gap: 10px;
  padding: 3px 0;
}

.result .files .st {
  color: var(--green);
  width: 1.2em;
}

/* 額度用盡：文字與截圖 */
.fallback {
  background: var(--orange);
  padding-block: clamp(72px, 9vw, 140px);
}

.fallback .grid {
  align-items: start;
}

.fallback-copy {
  grid-column: 1 / 6;
}

.fallback-copy h2 {
  font-size: var(--step-head);
}

.fallback-copy p {
  margin-top: 24px;
  max-width: 36ch;
}

.fallback-copy .figures {
  margin-top: 32px;
  display: grid;
  gap: 4px;
  font-size: var(--step-lead);
}

.fallback-shots {
  grid-column: 6 / 13;
  display: grid;
  gap: 24px;
}

.fallback-shots img {
  background: #ffffff;
  padding: clamp(8px, 1vw, 14px);
}

.fallback-shots .small {
  width: 82%;
  justify-self: end;
}

/* 功能句與開關 */
.bands {
  margin-top: var(--gap-section);
}

.band {
  min-height: 20vh;
  display: flex;
  align-items: center;
  background: var(--ground);
  transition: background-color 260ms var(--ease);
}

.band .grid {
  width: 100%;
  align-items: center;
  padding-block: 28px;
}

.band .sentence {
  grid-column: 1 / 11;
}

.band .line {
  font-size: var(--step-head);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--soft);
  transition: color 200ms var(--ease);
}

.band .consequence {
  display: block;
  margin-top: 10px;
  font-size: var(--step-body);
  max-width: 60ch;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    opacity 220ms var(--ease),
    max-height 220ms var(--ease);
}

.band .switch {
  grid-column: 11 / 13;
  justify-self: end;
  font-size: var(--step-head);
}

.band.is-on .line {
  color: var(--ink);
}

.band.is-on .consequence {
  max-height: 6em;
  opacity: 1;
}

.band.is-on.c1 {
  background: var(--accent-tint);
}

.band.is-on.c2 {
  background: var(--orange-tint);
}

.band.is-on.c3 {
  background: var(--green-tint);
}

.band.is-on.c4 {
  background: var(--tone);
}

/* 價格表 */
.pricing table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step-lead);
}

.pricing th,
.pricing td {
  text-align: left;
  vertical-align: top;
  padding: 20px;
}

.pricing thead th {
  font-weight: 600;
  font-size: var(--step-head);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.pricing thead .price {
  display: block;
  font-weight: 400;
  margin-top: 6px;
}

.pricing thead .period {
  font-size: var(--step-small);
  color: var(--soft);
  font-weight: 400;
}

.pricing thead th:first-child {
  font-weight: 400;
}

.pricing tbody tr:nth-child(even) th,
.pricing tbody tr:nth-child(even) td {
  background: var(--tone);
}

.pricing tbody th {
  font-weight: 400;
  color: var(--soft);
  width: 33%;
}

.pricing .rec {
  background: var(--accent-tint);
}

.pricing tbody tr:nth-child(even) .rec {
  background: #ddd7f8;
}

.pricing tfoot td {
  padding-top: 28px;
}

.pricing .later {
  color: var(--soft);
  font-size: var(--step-body);
}

.pricing-phone {
  display: none;
}

.pricing-note {
  margin: 20px 0 0;
  max-width: 68ch;
  font-size: var(--step-small);
  color: var(--soft);
}

/* Pro 早鳥名單（端點設定在 <meta name="pyloxa:waitlist">，沒有設定時只顯示「即將開放」） */
.waitlist {
  display: grid;
  gap: 10px;
  max-width: 30rem;
  font-size: var(--step-body);
}

.waitlist label {
  font-weight: 600;
}

.waitlist-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.waitlist input[type="email"] {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.85em 1em;
  font: 400 var(--step-body) / 1 var(--font);
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cfcbdb;
  border-radius: 0;
}

.waitlist input[type="email"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.waitlist .button {
  flex: none;
}

.waitlist .button:disabled {
  opacity: 0.6;
  cursor: default;
}

.waitlist-note,
.waitlist-status {
  margin: 0;
}

.waitlist-note {
  font-size: var(--step-small);
  color: var(--soft);
}

.waitlist-status:empty {
  display: none;
}

.waitlist.is-done label,
.waitlist.is-done .waitlist-row,
.waitlist.is-done .waitlist-note {
  display: none;
}

.waitlist.is-done .waitlist-status {
  color: var(--green);
  font-weight: 600;
}

/* 常見問題 */
.faq .grid {
  align-items: start;
}

.faq-list {
  grid-column: 1 / 6;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  font-size: var(--step-body);
}

.faq-list .faq-head {
  color: var(--soft);
}

.faq-list button {
  display: flex;
  gap: 14px;
  align-items: baseline;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--soft);
  cursor: pointer;
  transition: color 150ms var(--ease);
}

.faq-list button::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  transform: translateY(-2px);
}

.faq-list button[aria-selected="true"] {
  color: var(--ink);
}

.faq-list button[aria-selected="true"]::before {
  background: var(--accent);
  opacity: 1;
}

.faq-list .inline-answer {
  display: none;
}

.faq-pane {
  grid-column: 7 / 13;
  position: sticky;
  top: 120px;
  font-size: var(--step-lead);
  line-height: 1.3;
  max-width: 30ch;
  min-height: 9em;
  transition: opacity 150ms var(--ease);
}

.faq-pane.is-fading {
  opacity: 0;
}

/* 收尾：打開 Pyloxa 的第一個畫面 */
.close {
  margin-top: var(--gap-section);
  background: var(--accent);
  color: var(--accent-ink);
  min-height: 90svh;
  display: flex;
  align-items: center;
}

.close .grid {
  width: 100%;
  align-items: end;
  padding-block: 64px;
}

.close-copy {
  grid-column: 1 / 6;
  align-self: end;
}

.close-copy h2 {
  font-size: var(--step-display);
  line-height: 0.95;
}

.close-copy p {
  margin-top: 24px;
  font-size: var(--step-body);
  max-width: 38ch;
}

.close-copy .smartscreen {
  margin-top: 14px;
  font-size: var(--step-small);
  opacity: 0.85;
}

.starter {
  grid-column: 7 / 12;
  justify-self: start;
  width: min(440px, 100%);
  box-shadow: 0 24px 60px rgba(10, 6, 40, 0.35); /* taste-skill-ignore：App 元件（data-ui）本身的樣式 */
}

.starter .ui-row + .ui-row {
  border-top: 1px solid #ecebf0; /* taste-skill-ignore：App 元件（data-ui）本身的樣式 */
}

.starter h3 {
  font-size: var(--step-lead);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.starter .download {
  width: 100%;
  justify-content: center;
  padding-block: 12px;
}

/* 頁尾：磚塊 */
.tiles {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
}

.tile {
  background: var(--tone);
  padding: 20px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tile.statement {
  grid-column: 1 / 5;
}

.tile.statement p:first-child {
  font-size: var(--step-lead);
  line-height: 1.25;
  max-width: 22ch;
}

.tile.statement .legal {
  font-size: var(--step-small);
  color: var(--soft);
}

.tile.links {
  grid-column: 5 / 8;
}

.tile.links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: var(--step-body);
}

.tile.links a {
  text-decoration: none;
}

.tile.links a:hover {
  text-decoration: underline;
}

.tile.system {
  grid-column: 8 / 10;
  font-size: var(--step-body);
}

.tile.issue {
  grid-column: 10 / 13;
}

.tile.issue a {
  font-size: var(--step-lead);
}

.tile.word {
  grid-column: 1 / 9;
  min-height: 320px;
  background: var(--ink);
  align-items: center;
  justify-content: center;
}

.tile.word .wordmark {
  font-size: var(--step-display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.tile.go {
  grid-column: 9 / 13;
  min-height: 320px;
  background: var(--orange);
  color: var(--ink);
  text-decoration: none;
  font-size: var(--step-lead);
  line-height: 1.15;
  transition: background-color 180ms var(--ease);
}

.tile.go:hover {
  background: #f7a52e;
}

.tile.go svg {
  align-self: flex-end;
  width: 56px;
  height: 56px;
  transition: transform 200ms var(--ease);
}

.tile.go:hover svg {
  transform: translate(4px, -4px);
}

.credits {
  font-size: var(--step-small);
  color: var(--soft);
  padding: 12px var(--margin) 24px;
}

/* ---- 動態 ---- */
.reveal > * {
  opacity: 1;
}

.js .reveal > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.js .reveal.is-in > * {
  opacity: 1;
  transform: none;
}

.js .reveal.is-in > :nth-child(2) {
  transition-delay: 80ms;
}

.js .reveal.is-in > :nth-child(3) {
  transition-delay: 160ms;
}

.js .reveal.is-in > :nth-child(4) {
  transition-delay: 240ms;
}

.js .reveal.is-in > :nth-child(5) {
  transition-delay: 320ms;
}

.js .reveal.is-in > :nth-child(n + 6) {
  transition-delay: 400ms;
}

.js .stage {
  animation: shutter 1.1s var(--ease) both;
}

.js .stage-inner {
  animation: settle 1.1s var(--ease) both;
}

@keyframes shutter {
  from {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%, 100% 0);
  }
  to {
    clip-path: polygon(120px 0, 100% 0, 100% 100%, 0 100%, 0 120px);
  }
}

@keyframes settle {
  from {
    transform: scale(1.12) translateY(20px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.drift {
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: scale(1) translateY(0);
  }
  to {
    transform: scale(1.04) translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal > *,
  .js .stage,
  .js .stage-inner,
  .drift,
  .spin {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ---- 手機 ---- */
@media (max-width: 900px) {
  .nav ul li.optional {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    grid-column: 1 / -1;
    padding-top: 24px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 11vw, 4rem);
  }


  .stage {
    position: relative;
    left: auto;
    top: auto;
    margin-top: 40px;
    margin-inline: calc(-1 * var(--margin));
    min-height: 620px;
    clip-path: polygon(72px 0, 100% 0, 100% 100%, 0 100%, 0 72px);
  }

  .js .stage {
    animation: none;
  }

  .stage-inner {
    left: 16px;
    top: 40px;
    width: calc(100% - 32px);
  }

  .stage-note {
    display: none;
  }

  .states .section-head,
  .state-row {
    grid-column: 1 / -1;
  }

  .states {
    row-gap: 10px;
  }

  .state-word {
    grid-column: 1 / -1;
    text-align: left;
    font-size: var(--step-body);
    order: 1;
    margin-bottom: 38px;
  }

  .flow-col {
    margin-left: 0;
  }

  .exchange .response,
  .exchange.final .response {
    margin-left: 0;
    width: 100%;
  }

  .fallback-copy,
  .fallback-shots {
    grid-column: 1 / -1;
  }

  .fallback-shots {
    margin-top: 40px;
  }

  .fallback-shots .small {
    width: 100%;
  }

  .band {
    min-height: 132px;
  }

  .band .sentence {
    grid-column: 1 / 10;
  }

  .band .line {
    font-size: var(--step-lead);
  }

  .band .switch {
    grid-column: 10 / 13;
    font-size: var(--step-lead);
  }

  .band .consequence {
    font-size: var(--step-small);
  }

  .pricing table {
    display: none;
  }

  .pricing-phone {
    display: grid;
    gap: 48px;
  }

  .plan-block {
    padding: 20px;
    background: var(--tone);
  }

  .plan-block.rec {
    background: var(--accent-tint);
  }

  .plan-block h3 {
    font-size: var(--step-head);
    font-weight: 600;
  }

  .plan-block .price {
    font-size: var(--step-head);
  }

  .plan-block dl {
    margin: 16px 0;
    display: grid;
    gap: 12px;
    font-size: var(--step-body);
  }

  .plan-block dt {
    color: var(--soft);
  }

  .plan-block dd {
    margin: 0;
  }

  .plan-block .button {
    width: 100%;
    justify-content: center;
  }

  .plan-block .waitlist {
    max-width: none;
  }

  .faq-list,
  .faq-pane {
    grid-column: 1 / -1;
  }

  .faq-pane {
    display: none;
  }

  .faq-list .inline-answer {
    font-size: var(--step-body);
    margin: 10px 0 0 22px;
  }

  .faq-list li.is-open .inline-answer {
    display: block;
  }

  .close {
    min-height: 84svh;
  }

  .close-copy,
  .starter {
    grid-column: 1 / -1;
  }


  .starter {
    margin-top: 40px;
  }

  .starter .download {
    min-height: 52px;
  }

  .tiles {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 6px;
  }

  .tile.word,
  .tile.go {
    grid-column: 1 / -1;
    min-height: 160px;
  }

  .tile.word {
    order: -2;
  }

  .tile.go {
    order: -1;
  }

  .tile.links,
  .tile.issue,
  .tile.system {
    grid-column: span 1;
    min-height: 180px;
  }

  .tile.statement {
    grid-column: 1 / -1;
    min-height: 180px;
  }
}

.result .result-foot {
  border-top: 1px solid #ecebf0; /* taste-skill-ignore：App 元件（data-ui）本身的樣式 */
}

/* 繁體中文版：中文字不收緊字距，標題行高放寬，換行依中文規則 */
:lang(zh-Hant) h1,
:lang(zh-Hant) h2,
:lang(zh-Hant) h3,
:lang(zh-Hant) .band .line,
:lang(zh-Hant) .pricing thead th,
:lang(zh-Hant) .starter h3 {
  letter-spacing: 0;
  line-height: 1.2;
}

:lang(zh-Hant) body {
  line-break: strict;
}
