/* simpleThings. — 依 brand/simpleThings logo standard.md：黑底白字、Inter Tight 800 */
@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/InterTight-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #000000;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.14);
  --text: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang TC", "PingFang SC", "Noto Sans TC", "Noto Sans SC", sans-serif;
  --brand: "Inter Tight", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.7;
}
a { color: var(--fg); text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.4); }
a:hover { text-decoration-color: var(--fg); }

/* Wordmark */
.wm {
  font-family: var(--brand);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--fg);
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
}
.wm .t {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.6px currentColor;
  opacity: 0.68;
}
.wm .dot {
  display: inline-block;
  width: 0.085em;
  height: 0.085em;
  background: currentColor;
  border-radius: 50%;
  margin-left: 0.025em;
  transform: translateY(-0.02em);
}
.app-name { font-family: var(--brand); font-weight: 800; letter-spacing: -0.03em; }

/* Layout */
header.site, main, footer.site { max-width: 680px; margin: 0 auto; padding: 0 16px; }
header.site { padding-top: 32px; font-size: 24px; }
main { padding-top: 24px; padding-bottom: 48px; }
footer.site {
  /* 分隔線只畫在內容寬度內（不含左右 16px 留白） */
  background: linear-gradient(var(--line), var(--line)) no-repeat center top / calc(100% - 32px) 1px;
  padding-top: 20px; padding-bottom: 40px;
  color: var(--muted); font-size: 14px;
}
footer.site a { color: var(--muted); }

h1 { font-size: 28px; line-height: 1.25; margin: 0 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 19px; margin: 36px 0 8px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

/* Policy pages */
.langs { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.langs a { color: var(--muted); }
section[id] { scroll-margin-top: 16px; }

/* Home */
.hero { padding: 72px 0 56px; }
.hero .wm { font-size: clamp(48px, 13vw, 88px); }
.hero .wm .t { -webkit-text-stroke-width: 1.3px; }
.hero p { font-size: 20px; color: var(--muted); margin-top: 28px; max-width: 30em; }
.apps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.apps li { padding: 22px 0; border-bottom: 1px solid var(--line); margin: 0; }
.apps .app-name { font-size: 26px; }
.apps .tag { font-size: 13px; color: var(--muted); margin-left: 10px; letter-spacing: 0.02em; }
.apps .links { font-size: 14px; color: var(--muted); margin-top: 4px; }
.apps .links a { color: var(--muted); }

/* Support */
.faq h3 { font-size: 17px; margin: 24px 0 4px; }
.contact { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin: 8px 0 32px; }
