/* Pressta marketing site — tokens mirrored from design/src/styles/theme.css */
:root {
  --pearl-50: #fbfaf6;
  --pearl-200: #f1efe8;
  --pearl-300: #e8e5da;
  --tide-100: #b5d4f4;
  --tide-400: #378add;
  --tide-500: #185fa5;
  --tide-700: #0e3d6d;
  --tide-900: #0c2840;
  --mint-500: #2e9e6e;
  --amber-500: #d9932c;
  --ink-500: #6b7280;
  --card-shadow: 0 10px 30px rgba(12, 40, 64, 0.10);
  --radius-xl: 24px;
  --radius-md: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "PingFang TC", "Noto Sans TC", "Helvetica Neue", system-ui, sans-serif;
  background: var(--pearl-200);
  color: var(--tide-900);
  line-height: 1.7;
  font-size: 17px;
}

a { color: var(--tide-500); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .cta:focus-visible {
  outline: 3px solid var(--tide-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { padding: 28px 0; }
.site-header .wrap { display: flex; align-items: baseline; justify-content: space-between; }
.wordmark { font-weight: 700; font-size: 20px; letter-spacing: 0.02em; color: var(--tide-900); }
.wordmark .dot { color: var(--tide-500); }
.site-nav a { font-size: 15px; margin-left: 20px; color: var(--tide-700); }

/* Hero */
.hero { padding: 40px 0 16px; text-align: left; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--tide-500);
  text-transform: uppercase;
}
h1 {
  font-size: clamp(30px, 6vw, 44px);
  font-weight: 700;
  line-height: 1.35;
  margin: 14px 0 18px;
  letter-spacing: 0.01em;
}
.lede { color: var(--ink-500); max-width: 34em; }

.cta-row { margin: 30px 0 10px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta {
  display: inline-block;
  background: var(--tide-500);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 28px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(24, 95, 165, 0.35);
}
.cta:hover { background: var(--tide-700); text-decoration: none; }
.cta-note { font-size: 13px; color: var(--ink-500); }

/* Chart card (signature) */
.phone-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
  padding: 24px;
  margin: 44px 0 12px;
}
.card-head { display: flex; justify-content: space-between; align-items: baseline; }
.reading-avg { font-variant-numeric: tabular-nums; }
.reading-avg .sys { font-size: 34px; font-weight: 700; }
.reading-avg .dia { font-size: 20px; color: var(--ink-500); }
.mode-toggle { display: flex; gap: 8px; }
.mode-toggle span {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
  background: var(--tide-100); color: var(--tide-700);
}
.mode-toggle .active { background: var(--tide-500); color: #fff; }

.chart-svg { width: 100%; height: auto; display: block; margin: 10px 0 4px; }

@media (prefers-reduced-motion: no-preference) {
  .curve {
    stroke-dasharray: 1300;
    stroke-dashoffset: 1300;
    animation: draw 1.6s ease-out forwards;
  }
  .curve.dia { animation-delay: 0.25s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.legend {
  display: flex; align-items: center; gap: 18px;
  font-size: 13px; color: var(--ink-500);
}
.legend .swatch { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }
.legend .ref { margin-left: auto; }

.rows { margin-top: 18px; display: grid; gap: 10px; }
.row {
  display: flex; align-items: baseline; gap: 10px;
  background: var(--pearl-50);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-variant-numeric: tabular-nums;
}
.row .status { width: 9px; height: 9px; border-radius: 50%; align-self: center; }
.row .bp { font-weight: 600; font-size: 18px; }
.row .hr, .row .time { color: var(--ink-500); font-size: 14px; }
.row .time { margin-left: auto; }
.ok { background: var(--mint-500); }
.warn { background: var(--amber-500); }
.caption { font-size: 13px; color: var(--ink-500); text-align: center; margin-bottom: 40px; }

/* Features */
.features { padding: 40px 0; display: grid; gap: 34px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.feature h3::before {
  content: "";
  display: inline-block;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--tide-400);
  margin-right: 10px;
}
.feature p { color: var(--ink-500); font-size: 15.5px; }

/* Privacy strip */
.privacy-strip {
  background: var(--tide-900);
  color: var(--pearl-200);
  border-radius: var(--radius-xl);
  padding: 34px 32px;
  margin: 24px 0 40px;
}
.privacy-strip h2 { font-size: 22px; margin-bottom: 8px; }
.privacy-strip p { color: var(--tide-100); font-size: 15.5px; }
.privacy-strip a { color: #fff; text-decoration: underline; }

/* Inner pages (support / privacy) */
.page { padding: 24px 0 48px; }
.page h1 { font-size: 32px; }
.page h2 { font-size: 20px; margin: 36px 0 10px; }
.page p, .page li { color: #3c4654; font-size: 16px; }
.page ul { padding-left: 1.4em; }
.page .updated { font-size: 13px; color: var(--ink-500); margin-top: 8px; }
.faq dt { font-weight: 700; margin-top: 26px; }
.faq dd { margin: 6px 0 0; color: #3c4654; }
.contact-box {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  padding: 22px 26px;
  margin-top: 36px;
}

/* Disclaimer + footer */
.disclaimer {
  font-size: 13px;
  color: var(--ink-500);
  border-top: 1px solid var(--pearl-300);
  padding: 26px 0 0;
}
.site-footer { padding: 26px 0 46px; font-size: 14px; color: var(--ink-500); }
.site-footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer .copy { margin-right: auto; }
