:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fb;
  --color-text: #1a1f2e;
  --color-muted: #5a6275;
  --color-accent: #2563eb;
  --color-accent-dark: #1d4ed8;
  --color-border: #e5e7eb;
  --max-width: 1100px;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 760px; }

/* ===== Header ===== */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--color-text);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
}
.brand-name { font-size: 18px; }
.nav a {
  margin-left: 24px;
  color: var(--color-muted);
  font-size: 15px;
}
.nav a:hover { color: var(--color-text); text-decoration: none; }

/* ===== Hero ===== */
.hero {
  padding: 96px 0 72px;
  text-align: center;
  background: linear-gradient(180deg, #f7f8fb 0%, #ffffff 100%);
}
.hero h1 {
  font-size: 56px;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.hero .tagline {
  font-size: 20px;
  color: var(--color-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}
.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  text-decoration: none;
}

/* ===== Sections ===== */
.section {
  padding: 72px 0;
}
.section-alt {
  background: var(--color-bg-alt);
}
.section h2 {
  font-size: 32px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.section-sub {
  color: var(--color-muted);
  margin: 0 0 40px;
  font-size: 17px;
}

/* ===== Product card ===== */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 40px;
}
.product-media img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.product-logo {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
}
.product h3 {
  font-size: 28px;
  margin: 0 0 12px;
}
.product-info p {
  color: var(--color-muted);
  font-size: 16px;
}
.product-links {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.appstore-link img {
  height: 44px;
  width: auto;
}

/* ===== Contact list ===== */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-list li:last-child { border-bottom: none; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
  margin-top: 48px;
  background: var(--color-bg-alt);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-inner p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}
.footer-nav a {
  margin-left: 20px;
  color: var(--color-muted);
  font-size: 14px;
}

/* ===== Policy pages ===== */
.muted { color: var(--color-muted); }
.section h1 {
  font-size: 40px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.section h2 {
  margin-top: 40px;
}

/* ===== Responsive ===== */
@media (max-width: 760px) {
  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: 40px; }
  .hero .tagline { font-size: 17px; }
  .section { padding: 48px 0; }
  .section h2 { font-size: 26px; }
  .product {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
  .nav a { margin-left: 16px; font-size: 14px; }
  .footer-nav a { margin-left: 12px; }
}
