:root {
  color-scheme: light;
  --paper: #f6f0e4;
  --paper-strong: #fffaf0;
  --ink: #13231f;
  --muted: #68756f;
  --line: #d8d2c5;
  --green: #24785e;
  --green-dark: #174d3f;
  --mint: #dcefe4;
  --amber: #c68428;
  --amber-soft: #f3ddae;
  --blue: #486fa5;
  --blue-soft: #dce7f7;
  --coral: #c8644d;
  --coral-soft: #f1d7cf;
  --shadow: 0 24px 60px rgba(38, 43, 37, 0.14);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(247, 242, 232, 0.92), rgba(247, 242, 232, 1)),
    repeating-linear-gradient(90deg, rgba(19, 35, 31, 0.035) 0 1px, transparent 1px 92px);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  padding: 0.08rem 0.32rem;
  border: 1px solid rgba(36, 120, 94, 0.28);
  border-radius: 6px;
  background: rgba(220, 239, 228, 0.64);
  color: var(--green-dark);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88em;
}

.hero {
  min-height: 92vh;
  padding: 28px clamp(20px, 5vw, 72px) 48px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(23, 77, 63, 0.08), transparent 42%),
    linear-gradient(315deg, rgba(198, 132, 40, 0.14), transparent 38%),
    var(--paper);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-weight: 800;
}

.brand::before {
  content: "";
  width: 13px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), var(--amber));
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(255, 250, 240, 0.76);
  color: var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", "Noto Serif TC", serif;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5.2vw, 5.2rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 4.6vw, 4.8rem);
}

h3 {
  margin-bottom: 20px;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.36rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green-dark);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
}

.button.primary {
  background: var(--green-dark);
  color: #fffaf0;
}

.button.secondary {
  background: rgba(255, 250, 240, 0.72);
}

.hero-panel {
  position: relative;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(19, 35, 31, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: linear-gradient(180deg, var(--green), var(--blue), var(--amber));
}

.verdict-card {
  display: grid;
  gap: 8px;
  padding: 18px 18px 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(246, 240, 228, 0.72);
}

.verdict-card + .verdict-card {
  margin-top: 14px;
}

.verdict-card span,
.platform-summary span,
.review-grid span,
.experiment-card span,
.threshold-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.verdict-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.8vw, 2.4rem);
  line-height: 1.08;
}

.verdict-card.ios {
  border-left: 6px solid var(--green);
}

.verdict-card.android {
  border-left: 6px solid var(--blue);
}

.hero-panel p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  max-width: 1240px;
  margin: clamp(32px, 5vw, 58px) auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.metric-strip div {
  min-width: 0;
  padding: 22px;
  background: rgba(255, 250, 240, 0.72);
}

.metric-strip span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.metric-strip strong {
  display: block;
  overflow-wrap: anywhere;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.05;
}

.metric-strip div:last-child strong {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(1rem, 1.45vw, 1.34rem);
  line-height: 1.18;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 122px) clamp(20px, 5vw, 72px);
}

.section-head {
  max-width: 900px;
}

.section-head.compact {
  max-width: 760px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  line-height: 1.68;
}

.paywall-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.paywall-grid article,
.platform-summary,
.signal-table-wrap,
.threshold-card,
.experiment-card,
.review-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.76);
  box-shadow: 0 10px 30px rgba(38, 43, 37, 0.06);
}

.paywall-grid article {
  padding: 24px;
}

.bar-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 68px;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(36, 120, 94, 0.14);
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--amber));
}

.android-bar {
  background: rgba(72, 111, 165, 0.16);
}

.android-bar i {
  background: linear-gradient(90deg, var(--blue), var(--coral));
}

.bar-row strong {
  color: var(--ink);
  text-align: right;
}

.platform-tabs {
  display: inline-flex;
  gap: 4px;
  margin: 24px 0 28px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.74);
}

.platform-tabs button {
  min-width: 112px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 11px 18px;
}

.platform-tabs button.active {
  background: var(--green-dark);
  color: #fffaf0;
}

.signal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.platform-summary {
  position: sticky;
  top: 20px;
  padding: 24px;
}

.platform-summary h3 {
  margin: 10px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.04;
}

.platform-summary p {
  color: var(--muted);
  line-height: 1.62;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.summary-stats div {
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(246, 240, 228, 0.7);
}

.summary-stats strong {
  display: block;
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.summary-stats small {
  color: var(--muted);
  font-weight: 800;
}

.signal-table-wrap {
  overflow: hidden;
}

.table-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.table-toolbar button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--green-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 8px 12px;
}

.signal-table {
  display: grid;
}

.signal-row {
  display: grid;
  grid-template-columns: minmax(200px, 1.35fr) minmax(140px, 0.8fr) repeat(4, minmax(74px, 0.4fr));
  gap: 16px;
  align-items: center;
  min-width: 840px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.signal-table {
  overflow-x: auto;
}

.signal-row:last-child {
  border-bottom: 0;
}

.signal-row.header {
  position: sticky;
  top: 0;
  background: var(--paper-strong);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  z-index: 1;
}

.signal-name {
  display: grid;
  gap: 6px;
}

.signal-name strong {
  font-size: 1.03rem;
}

.signal-name small {
  color: var(--muted);
  line-height: 1.45;
}

.lift-meter {
  display: grid;
  gap: 8px;
}

.lift-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(104, 117, 111, 0.15);
}

.lift-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--amber));
}

.android-mode .lift-track i {
  background: linear-gradient(90deg, var(--blue), var(--coral));
}

.num {
  font-variant-numeric: tabular-nums;
  font-weight: 850;
}

.stability {
  display: inline-flex;
  justify-content: center;
  width: max-content;
  min-width: 54px;
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--mint);
  color: var(--green-dark);
  font-weight: 900;
}

.android-mode .stability {
  background: var(--blue-soft);
  color: #28486f;
}

.signal-caveat {
  grid-column: 1 / -1;
  display: none;
  margin-top: -4px;
  padding: 12px 14px;
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(243, 221, 174, 0.3);
  color: var(--muted);
  line-height: 1.55;
}

.show-details .signal-caveat {
  display: block;
}

.threshold-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.threshold-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.threshold-card {
  padding: 22px;
}

.threshold-card h3 {
  margin: 8px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.1;
}

.threshold-card .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--mint);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.pill.android {
  background: var(--blue-soft);
  color: #28486f;
}

.experiments {
  max-width: none;
  padding-inline: 0;
}

.experiments .section-head,
.experiment-grid {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 72px);
}

.experiment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.experiment-card {
  min-height: 260px;
  padding: 24px;
}

.experiment-card h3 {
  margin: 10px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  line-height: 1.08;
}

.experiment-card p {
  color: var(--muted);
  line-height: 1.58;
}

.experiment-card strong {
  display: inline-flex;
  margin-top: 14px;
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(198, 132, 40, 0.14);
  color: #74470f;
  font-size: 0.78rem;
  font-weight: 900;
}

.review {
  border-top: 1px solid var(--line);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.review-grid article {
  padding: 24px;
}

.review-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.caveats {
  padding-top: 0;
}

.caveat-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.caveat-list li {
  min-height: 92px;
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--coral);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.76);
  color: var(--muted);
  line-height: 1.55;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .nav {
    align-items: flex-start;
    padding-bottom: 54px;
  }

  .hero-grid,
  .signal-layout,
  .paywall-grid,
  .review-grid,
  .caveat-list {
    grid-template-columns: 1fr;
  }

  .platform-summary {
    position: static;
  }

  .metric-strip,
  .threshold-grid,
  .experiment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 20px;
  }

  .nav {
    display: grid;
  }

  .nav-links {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }

  .hero-actions,
  .platform-tabs,
  .footer {
    width: 100%;
  }

  .button {
    flex: 1 1 190px;
  }

  .metric-strip,
  .threshold-grid,
  .experiment-grid,
  .summary-stats {
    grid-template-columns: 1fr;
  }

  .metric-strip div {
    padding: 18px;
  }

  .platform-tabs button {
    min-width: 0;
    flex: 1;
  }

  .bar-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bar-row strong {
    text-align: left;
  }

  .table-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .signal-row {
    min-width: 760px;
  }

  .footer {
    flex-direction: column;
  }
}
