:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --ink: #0E1116;
  --ink-soft: #3A3F47;
  --muted: #6B7280;
  --border: #E6E6E0;
  --accent: #4F46E5;
  --accent-soft: #EEF0FF;
  --radius: 10px;
  --radius-lg: 16px;
  --maxw: 1120px;
  --shadow: 0 1px 2px rgba(14, 17, 22, 0.04), 0 8px 24px rgba(14, 17, 22, 0.04);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

ul {
  margin: 0 0 1em;
  padding-left: 1.25rem;
  color: var(--ink-soft);
}

li {
  margin-bottom: 0.4em;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--accent) 0%, #8B85FF 100%);
  display: inline-block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a.active {
  color: var(--ink);
}

/* Hero */
.hero {
  padding: 96px 0 72px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
  max-width: 20ch;
  margin-bottom: 20px;
}

.hero p.lede {
  font-size: 1.15rem;
  max-width: 60ch;
  color: var(--ink-soft);
}

/* Sections */
section {
  padding: 64px 0;
}

section + section {
  border-top: 1px solid var(--border);
}

.section-title {
  margin-bottom: 8px;
}

.section-lede {
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 60ch;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: block;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.product-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #D9D9D1;
}

.product-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.product-card__icon svg {
  width: 22px;
  height: 22px;
}

.product-card h3 {
  margin-bottom: 6px;
}

.product-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.product-card__more {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

/* Two-column layout (product detail) */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.aside-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 88px;
}

.aside-card h4 {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.aside-card p {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.aside-card p:last-child {
  margin-bottom: 0;
}

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}

.feature-list li {
  padding-left: 28px;
  position: relative;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
}

/* Prose (privacy / terms) */
.prose {
  max-width: 72ch;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: 1.35rem;
}

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

.prose h3 {
  margin-top: 1.5em;
  font-size: 1.05rem;
}

.prose .muted-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 2.5em;
  padding-top: 1.25em;
  border-top: 1px solid var(--border);
}

/* FAQ */
.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item h3 {
  margin-bottom: 6px;
}

.faq-item p {
  margin: 0;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
}

.button:hover {
  text-decoration: none;
  background: #1a1e24;
}

.button--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.button--ghost:hover {
  background: #fff;
  border-color: #D0D0C7;
}

/* Footer */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  margin-top: 48px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}

.site-footer h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: var(--ink);
}

.site-footer .footer-about {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 36ch;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer__bottom a {
  color: var(--muted);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 64px 0 48px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  section {
    padding: 48px 0;
  }

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

  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .aside-card {
    position: static;
  }

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

  .brand {
    font-size: 1rem;
    gap: 8px;
  }

  .brand__mark {
    width: 16px;
    height: 16px;
  }

  .site-header__inner {
    height: 56px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 0.85rem;
  }

  .container {
    padding: 0 20px;
  }

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

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
