:root {
  --bg: #f7faf9;
  --surface: #ffffff;
  --surface-soft: #eefbf7;
  --text: #0f172a;
  --muted: #536174;
  --line: #d8e3e1;
  --accent: #0f766e;
  --accent-strong: #0b5d56;
  --accent-soft: #ccfbf1;
  --warning-bg: #fff7ed;
  --warning-line: #fed7aa;
  --warning-text: #8a3b12;
  --radius: 8px;
  --shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
  line-height: 1.6;
}

body {
  min-height: 100%;
  margin: 0;
}

a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1080px;
  padding: 16px 24px;
}

.brand {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  gap: 12px;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand:hover {
  color: var(--text);
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
  display: block;
  height: 38px;
  object-fit: cover;
  width: 38px;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

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

.hero,
.page-shell {
  margin: 0 auto;
  max-width: 1080px;
  padding: 56px 24px;
}

.hero {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  min-height: calc(100vh - 72px);
  place-items: center;
}

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

.hero h1,
.page-title {
  font-size: clamp(40px, 7vw, 76px);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.hero p,
.lead {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.8;
  margin: 24px 0 0;
}

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

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

.button.primary {
  background: var(--accent);
  color: white;
}

.button.primary:hover {
  background: var(--accent-strong);
  color: white;
  text-decoration: none;
}

.button.secondary {
  background: white;
  color: var(--accent);
}

.button.secondary:hover {
  background: var(--accent-soft);
  text-decoration: none;
}

.device-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 22px;
  width: min(100%, 360px);
}

.app-card {
  background: linear-gradient(180deg, #effffb 0%, #ffffff 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.app-card img {
  border-radius: 14px;
  display: block;
  height: 74px;
  margin-bottom: 18px;
  object-fit: cover;
  width: 74px;
}

.search-row,
.pill-row {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
}

.search-dot,
.pill-dot {
  border-radius: 999px;
  flex: 0 0 auto;
}

.search-dot {
  background: var(--accent);
  height: 14px;
  width: 14px;
}

.pill-dot {
  background: var(--accent-soft);
  height: 34px;
  width: 34px;
}

.row-title {
  font-weight: 850;
}

.row-sub {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 34px 24px;
}

.section-inner {
  margin: 0 auto;
  max-width: 1080px;
}

.section h2,
.content h2 {
  font-size: 30px;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 16px;
}

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

.card,
.content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card {
  padding: 22px;
}

.card h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 8px;
}

.card p,
.content p,
.content li {
  color: var(--muted);
}

.content {
  margin-top: 28px;
  padding: 32px;
}

.content h2 {
  margin-top: 34px;
}

.content h2:first-child {
  margin-top: 0;
}

.content ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.notice {
  background: var(--warning-bg);
  border: 1px solid var(--warning-line);
  border-radius: var(--radius);
  color: var(--warning-text);
  font-weight: 700;
  margin-top: 22px;
  padding: 16px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin-top: 48px;
  padding: 28px 24px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1080px;
}

.footer nav {
  display: flex;
  gap: 16px;
}

@media (max-width: 820px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .device-panel {
    justify-self: start;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-title {
    font-size: 42px;
  }

  .content {
    padding: 22px;
  }
}
