/* Super Smart Foot — mobile-first, editorial, no framework */
:root {
  --ink: #1c2724;
  --muted: #5b675f;
  --bg: #f3eee4;
  --paper: #fffdf8;
  --line: #ddd4c6;
  --teal: #1e5f56;
  --teal-dark: #164840;
  --brass: #9a7643;
  --brass-soft: #ead9b8;
  --danger: #8a3d2a;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(22, 48, 44, 0.06), 0 8px 24px rgba(22, 48, 44, 0.05);
  --max: 70rem;
  --text: 42rem;
  --sans: "Noto Sans TC", "Source Han Sans TC", "PingFang TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
  --serif: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", "Songti TC", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
a { color: var(--teal-dark); text-underline-offset: 0.15em; }
a:hover { color: var(--teal); }
img { max-width: 100%; height: auto; }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--teal);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 20;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.wrap-text { width: min(100% - 2rem, var(--text)); margin-inline: auto; }
header.site {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; }
.brand-mark {
  width: 2rem; height: 2rem; flex: none;
}
.brand-name { font-family: var(--serif); font-weight: 700; letter-spacing: 0.01em; line-height: 1.2; }
.brand-name small { display: block; font-family: var(--sans); font-weight: 500; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.04em; }
nav.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
nav.site-nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
nav.site-nav a:hover, nav.site-nav a[aria-current="page"] { color: var(--teal); text-decoration: underline; }
.hero {
  padding: 2.4rem 0 2rem;
  background:
    radial-gradient(1200px 240px at 10% 0%, rgba(30, 95, 86, 0.08), transparent 60%),
    linear-gradient(180deg, #e7efe9 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero h1, .page-head h1, .article-head h1 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.8rem;
  letter-spacing: 0.01em;
}
.hero h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); max-width: 18em; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 42em; }
.kicker {
  display: inline-block;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .grid.cards { grid-template-columns: repeat(2, 1fr); }
  .grid.cards-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card h2, .card h3 { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; }
.card p { margin: 0; color: var(--muted); }
.card a.stretched { text-decoration: none; color: inherit; }
.card a.stretched:hover h2, .card a.stretched:hover h3 { color: var(--teal-dark); }
.meta { color: var(--muted); font-size: 0.88rem; }
main { padding: 2rem 0 3.5rem; }
.article-head { margin-bottom: 1.6rem; }
.article-head h1 { font-size: clamp(1.5rem, 3.4vw, 2.15rem); }
.prose h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin: 2.2rem 0 0.8rem;
  padding-top: 0.2rem;
}
.prose h3 { font-size: 1.08rem; margin: 1.6rem 0 0.5rem; }
.prose p, .prose li { max-width: 44em; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.table-wrap { overflow-x: auto; margin: 1.2rem 0; }
.prose th, .prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
}
.prose th { background: #eef4f1; font-weight: 650; }
.prose tr:last-child td { border-bottom: 0; }
.notice, .disclaimer, .affiliate-note {
  background: #f4ebe0;
  border-left: 4px solid var(--brass);
  padding: 0.85rem 1rem;
  margin: 1.2rem 0;
  border-radius: 0 8px 8px 0;
  color: var(--ink);
}
.disclaimer { background: #f6eee8; border-left-color: var(--danger); font-size: 0.95rem; }
.product {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.2rem 1.3rem;
  margin: 1.1rem 0;
  scroll-margin-top: 5rem;
}
.product h3 { margin: 0 0 0.2rem; font-family: var(--serif); font-size: 1.22rem; }
.product .brand { font-size: 0.86rem; color: var(--muted); margin-bottom: 0.6rem; }
.specs { margin: 0.4rem 0 0.8rem; padding: 0; list-style: none; }
.specs li { margin: 0.15rem 0; }
.specs li span { color: var(--muted); display: inline-block; min-width: 5.5rem; }
.fit { display: grid; gap: 0.6rem; margin: 0.6rem 0 1rem; }
@media (min-width: 640px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit div { background: var(--bg); border-radius: 8px; padding: 0.7rem 0.8rem; }
.fit strong { display: block; font-size: 0.82rem; letter-spacing: 0.04em; margin-bottom: 0.2rem; }
.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font-weight: 650;
  margin: 0.15rem 0.35rem 0.15rem 0;
}
.btn:hover { background: var(--teal-dark); }
.btn.secondary { background: transparent; color: var(--teal-dark) !important; border: 1px solid var(--teal); }
.badge {
  display: inline-block;
  font-size: 0.75rem;
  border: 1px solid var(--brass);
  color: #6d5228;
  background: var(--brass-soft);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  margin-left: 0.35rem;
  vertical-align: middle;
}
details.faq {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  margin: 0.5rem 0;
}
details.faq summary { cursor: pointer; font-weight: 650; }
details.faq p { margin: 0.5rem 0 0.35rem; }
footer.site {
  background: #16302c;
  color: #d7e3df;
  padding: 2.2rem 0 2.6rem;
  font-size: 0.92rem;
}
footer.site a { color: #f3efe6; }
footer.site .wrap { display: grid; gap: 1.2rem; }
@media (min-width: 720px) { footer.site .wrap { grid-template-columns: 2fr 1fr 1fr; } }
footer .fine { color: #9eb2ac; font-size: 0.82rem; }
.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: inherit; }
.updated { font-size: 0.86rem; color: var(--muted); }
section.block { margin: 2.2rem 0; }
.small-list { padding-left: 1.1rem; }
