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

:root {
  --canvas: #f5f1ec;
  --surface-1: #ffffff;
  --surface-2: #ede8e1;
  --hairline: #d3cec6;
  --hairline-soft: #e2ddd7;
  --inverse-canvas: #000000;
  --ink: #111111;
  --ink-muted: #626260;
  --ink-subtle: #7b7b78;
  --ink-tertiary: #9c9fa5;
  --inverse-ink: #ffffff;
  --fin-orange: #ff5600;
  --rounded-xs: 4px;
  --rounded-sm: 6px;
  --rounded-md: 8px;
  --rounded-lg: 12px;
  --rounded-xl: 16px;
  --rounded-xxl: 24px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --spacing-section: 96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--canvas);
}

a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--spacing-xl); }

/* Typography */
h1 { font-size: 56px; font-weight: 500; line-height: 1.1; letter-spacing: -1.4px; }
h2 { font-size: 40px; font-weight: 500; line-height: 1.15; letter-spacing: -0.8px; }
h3 { font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: -0.5px; }
h4 { font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -0.3px; }
p { font-size: 16px; line-height: 1.5; }

.eyebrow {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-muted);
  margin-bottom: var(--spacing-sm);
}

.lead { font-size: 18px; line-height: 1.5; letter-spacing: -0.1px; color: var(--ink-muted); }

/* Nav */
.top-nav {
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 56px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: var(--spacing-xl);
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--ink-muted);
  transition: color 0.15s;
}

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

.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }

/* Hero */
.hero {
  padding: var(--spacing-section) 0;
  text-align: center;
}

.hero h1 { margin-bottom: var(--spacing-lg); }
.hero .lead { max-width: 680px; margin: 0 auto var(--spacing-xl); }

/* Product mockup card */
.mockup-card {
  background: var(--surface-1);
  border-radius: var(--rounded-xl);
  padding: var(--spacing-lg);
  border: 1px solid var(--hairline);
  overflow: hidden;
}

.mockup-card img {
  width: 100%;
  border-radius: var(--rounded-lg);
}

/* Sections */
.section { padding: var(--spacing-section) 0; }
.section-header { text-align: center; margin-bottom: var(--spacing-xxl); }
.section-header h2 { margin-bottom: var(--spacing-md); }

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.feature-card {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-lg);
}

.feature-card h4 { margin-bottom: var(--spacing-sm); }
.feature-card p { font-size: 14px; line-height: 1.5; color: var(--ink-muted); }

/* Article card */
.article-card {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  overflow: hidden;
  transition: box-shadow 0.15s;
}

.article-card:hover { box-shadow: none; border-color: var(--ink-muted); }

.article-card-img { width: 100%; height: 200px; object-fit: cover; }
.article-card-body { padding: var(--spacing-lg); }
.article-card-body h4 { margin-bottom: var(--spacing-xs); }
.article-card-body p { font-size: 14px; color: var(--ink-muted); line-height: 1.5; margin-bottom: var(--spacing-md); }
.article-card-meta { font-size: 12px; color: var(--ink-tertiary); }

/* Article read link */
.article-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
}

/* Testimonial strip */
.quote-strip {
  background: var(--inverse-canvas);
  padding: var(--spacing-section) 0;
}

.quote-strip blockquote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--inverse-ink);
}

.quote-strip cite {
  display: block;
  margin-top: var(--spacing-lg);
  font-size: 14px;
  font-style: normal;
  color: #999;
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline-soft);
  border-radius: var(--rounded-md);
  padding: var(--spacing-lg) var(--spacing-xl);
  cursor: pointer;
}

.faq-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  user-select: none;
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: var(--spacing-md);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-body { display: none; margin-top: var(--spacing-md); font-size: 15px; color: var(--ink-muted); line-height: 1.6; }
.faq-item.open .faq-body { display: block; }

/* Form */
.contact-form {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xl);
  max-width: 600px;
  margin: 0 auto;
}

.form-group { margin-bottom: var(--spacing-md); }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-md);
  padding: 10px 14px;
  font-size: 16px;
  color: var(--ink);
  font-family: inherit;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.btn-primary {
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--rounded-md);
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-primary:hover { opacity: 0.85; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.form-message {
  display: none;
  margin-top: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--surface-2);
  border-radius: var(--rounded-sm);
  font-size: 14px;
  color: var(--ink);
}

/* CTA Banner */
.cta-banner {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xxl);
  text-align: center;
}

.cta-banner h3 { margin-bottom: var(--spacing-md); }
.cta-banner p { color: var(--ink-muted); font-size: 18px; }

/* Footer */
.footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 64px var(--spacing-xl);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-xxl);
}

.footer-brand h3 { font-size: 18px; margin-bottom: var(--spacing-sm); }
.footer-brand p { font-size: 12px; color: var(--ink-subtle); line-height: 1.6; max-width: 280px; }

.footer-col h4 { font-size: 12px; font-weight: 500; color: var(--ink); margin-bottom: var(--spacing-md); }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: var(--spacing-xs); }
.footer-col ul li a { font-size: 12px; color: var(--ink-muted); }
.footer-col ul li a:hover { color: var(--ink); text-decoration: none; }

.footer-bottom {
  max-width: 1280px;
  margin: var(--spacing-xxl) auto 0;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--hairline-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 12px; color: var(--ink-tertiary); }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-lg) var(--spacing-xl);
  max-width: 560px;
  width: calc(100% - var(--spacing-xl));
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  z-index: 999;
  display: none;
}

.cookie-banner p { font-size: 14px; color: var(--ink-muted); margin-bottom: var(--spacing-md); }

.cookie-buttons { display: flex; gap: var(--spacing-sm); }

.btn-cookie-accept {
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--rounded-md);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

.btn-cookie-reject {
  background: var(--surface-1);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-md);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

/* Article page */
.article-hero {
  padding: var(--spacing-section) 0 var(--spacing-xxl);
}

.article-hero .eyebrow { margin-bottom: var(--spacing-md); }
.article-hero h1 { margin-bottom: var(--spacing-lg); }

.article-content { max-width: 760px; margin: 0 auto; }
.article-content h2 { margin: var(--spacing-xxl) 0 var(--spacing-md); }
.article-content h3 { margin: var(--spacing-xl) 0 var(--spacing-sm); }
.article-content p { margin-bottom: var(--spacing-md); color: var(--ink); line-height: 1.65; }
.article-content ul, .article-content ol { margin: var(--spacing-md) 0 var(--spacing-md) var(--spacing-xl); }
.article-content li { margin-bottom: var(--spacing-xs); color: var(--ink); line-height: 1.65; }

.article-image-block {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-xl);
  padding: var(--spacing-lg);
  margin: var(--spacing-xxl) 0;
}

.article-image-block img { width: 100%; border-radius: var(--rounded-lg); }
.article-image-block figcaption { font-size: 12px; color: var(--ink-tertiary); margin-top: var(--spacing-sm); }

.info-box {
  background: var(--surface-2);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

.info-box h4 { margin-bottom: var(--spacing-sm); }
.info-box p, .info-box li { font-size: 14px; color: var(--ink-muted); }
.info-box ul { margin-left: var(--spacing-lg); }

.article-meta { font-size: 12px; color: var(--ink-tertiary); margin-bottom: var(--spacing-xxl); }

/* Related articles */
.related-section { padding: var(--spacing-section) 0; border-top: 1px solid var(--hairline-soft); margin-top: var(--spacing-section); }

/* Page (about, privacy, terms) */
.page-hero { padding: var(--spacing-section) 0 var(--spacing-xxl); }
.page-content { max-width: 760px; margin: 0 auto; padding-bottom: var(--spacing-section); }
.page-content h2 { margin: var(--spacing-xxl) 0 var(--spacing-md); }
.page-content h3 { margin: var(--spacing-xl) 0 var(--spacing-sm); }
.page-content p { margin-bottom: var(--spacing-md); line-height: 1.65; color: var(--ink); }
.page-content ul { margin: var(--spacing-md) 0 var(--spacing-md) var(--spacing-xl); }
.page-content li { margin-bottom: var(--spacing-xs); line-height: 1.65; }

/* Disclaimer */
.disclaimer {
  background: var(--surface-2);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: 12px;
  color: var(--ink-subtle);
  line-height: 1.5;
  margin-top: var(--spacing-xl);
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xxl);
}

.stat-item { text-align: center; }
.stat-item .stat-value { font-size: 40px; font-weight: 500; letter-spacing: -0.8px; }
.stat-item .stat-label { font-size: 14px; color: var(--ink-muted); margin-top: var(--spacing-xs); }

/* Breadcrumb */
.breadcrumb {
  font-size: 12px;
  color: var(--ink-tertiary);
  margin-bottom: var(--spacing-lg);
}

.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 6px; }

/* External link ref */
.ref-link { font-size: 12px; color: var(--ink-muted); }
.ref-link a { color: var(--ink-muted); text-decoration: underline; }
.ref-link a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 36px; letter-spacing: -0.8px; }
  h2 { font-size: 28px; letter-spacing: -0.5px; }
  h3 { font-size: 22px; }
  .hero { padding: 64px 0; }
  .section { padding: 64px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: var(--spacing-lg);
    gap: var(--spacing-md);
    z-index: 99;
  }
  .footer-inner { grid-template-columns: 1fr; gap: var(--spacing-xl); }
  .footer-bottom { flex-direction: column; gap: var(--spacing-sm); text-align: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 var(--spacing-md); }
  .cta-banner { padding: var(--spacing-xl); }
}

@media (max-width: 480px) {
  h1 { font-size: 28px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
