:root {
  --bg: #faf2de;
  --card: #ffffff;
  --text: #1c1c1e;
  --text-secondary: #6b6b6b;
  --accent: #007aff;
  --accent-warm: #c9852c;
  --border: rgba(0, 0, 0, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Helvetica Neue", "Microsoft JhengHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
}

header.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

nav.site-nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
}

nav.site-nav a {
  color: var(--text-secondary);
}

section {
  padding: 64px 0;
}

.hero {
  text-align: center;
  padding: 72px 0 56px;
}

.hero img.app-icon {
  width: 108px;
  height: 108px;
  border-radius: 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 40px;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.hero .tagline {
  font-size: 19px;
  color: var(--text-secondary);
  margin: 0 0 32px;
}

.hero .disclaimer {
  font-size: 13px;
  color: var(--accent-warm);
  max-width: 560px;
  margin: 0 auto;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
}

.btn-primary {
  background: var(--text);
  color: #fff;
}

.btn-primary:hover {
  background: #000;
  text-decoration: none;
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

h2.section-title {
  font-size: 28px;
  text-align: center;
  margin: 0 0 8px;
}

p.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin: 0 0 44px;
  font-size: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 30px;
  }
  header.site-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  nav.site-nav {
    gap: 8px 16px;
    font-size: 14px;
    flex-wrap: wrap;
  }
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px 24px;
  border: 1px solid var(--border);
}

.feature-card .emoji {
  font-size: 30px;
  margin-bottom: 12px;
  display: block;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14.5px;
}

.steps {
  counter-reset: step;
}

.step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child {
  border-bottom: none;
}

.step .num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.step h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14.5px;
}

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

@media (max-width: 640px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

.plan-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}

.plan-card.highlight {
  border-color: var(--accent-warm);
  box-shadow: 0 4px 16px rgba(201, 133, 44, 0.15);
}

.plan-card .plan-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.plan-card .plan-price {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
}

.plan-card .plan-note {
  font-size: 12.5px;
  color: var(--accent-warm);
}

footer.site-footer {
  text-align: center;
  padding: 40px 0 60px;
  color: var(--text-secondary);
  font-size: 13.5px;
}

footer.site-footer a {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* Legal / policy document styling */
.doc {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 40px clamp(20px, 6vw, 56px);
  margin: 40px 0 64px;
}

.doc h1 {
  font-size: 28px;
  margin-top: 0;
}

.doc .updated {
  color: var(--text-secondary);
  font-size: 13.5px;
  margin-bottom: 32px;
}

.doc h2 {
  font-size: 19px;
  margin: 36px 0 12px;
}

.doc h2:first-of-type {
  margin-top: 0;
}

.doc p,
.doc li {
  color: #333;
  font-size: 15px;
}

.doc ul {
  padding-left: 20px;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.doc th,
.doc td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
  vertical-align: top;
}

.doc th {
  background: rgba(0, 0, 0, 0.03);
}
