/* ── Variables ───────────────────────────────────────────── */
:root {
  --bg: #f7f3ee;
  --bg-warm: #f0ebe3;
  --ink: #1a1a1a;
  --muted: rgba(0, 0, 0, 0.48);
  --line: rgba(0, 0, 0, 0.08);
  --card: rgba(255, 255, 255, 0.88);
  --card-border: rgba(255, 255, 255, 0.72);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 16px 52px rgba(0,0,0,0.11), 0 4px 14px rgba(0,0,0,0.06);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-full: 100px;
  --green: #256649;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; letter-spacing: 0; }
html, body { min-height: 100%; }
html { background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Barlow', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: '';
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 0%,  rgba(255,210,140,.44) 0%, transparent 55%),
    radial-gradient(ellipse 60% 55% at 92% 95%, rgba(190,205,255,.38) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 78%  8%, rgba(215,195,255,.28) 0%, transparent 50%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(180,130,50,.18); }

/* ── Page roots ──────────────────────────────────────────── */
.site-page, .lp-page, .document-page { position: relative; z-index: 1; min-height: 100vh; }

/* ── Nav ─────────────────────────────────────────────────── */
.nav-bar {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 26px 0;
  color: var(--ink);
}
.nav-bar--plain { position: relative; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800; color: var(--ink); }
.brand img { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 6px 14px; border-radius: var(--radius-full);
  font-size: 14px; font-weight: 600; color: rgba(0,0,0,0.55);
  transition: color 160ms ease, background 160ms ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(0,0,0,0.06); }

/* ── Hero ────────────────────────────────────────────────── */
.hero-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 140px 0 72px; }
.hero-copy { max-width: 800px; }
.kicker {
  display: inline-block; margin: 0 0 18px; padding: 5px 13px;
  border-radius: var(--radius-full); background: rgba(0,0,0,0.07); color: rgba(0,0,0,0.6);
  font-size: 11px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0; font-size: 78px; font-weight: 900; line-height: 1.0;
  letter-spacing: -2.5px; color: var(--ink); max-width: 800px;
}
.hero-body { max-width: 580px; margin: 24px 0 0; font-size: 19px; font-weight: 400; line-height: 1.72; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-badge { margin: 14px 0 0; font-size: 13px; font-weight: 500; color: rgba(0,0,0,0.35); }

/* ── Buttons ─────────────────────────────────────────────── */
.primary-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: var(--radius-full);
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 700;
  border: none; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(0,0,0,0.28); background: #000; }
.primary-button.is-disabled { opacity: .42; cursor: default; transform: none !important; box-shadow: none; }
.primary-button--white { background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,0.14); }
.primary-button--white:hover { background: #f6f4f1; box-shadow: 0 8px 24px rgba(0,0,0,0.16); }
.secondary-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.68); border: 1.5px solid rgba(0,0,0,0.11);
  color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.secondary-button:hover { transform: translateY(-1px); background: rgba(255,255,255,0.92); border-color: rgba(0,0,0,0.2); box-shadow: var(--shadow-sm); }
.secondary-button--ghost { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.28); color: #fff; }
.secondary-button--ghost:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.44); }

/* ── Product showcase ────────────────────────────────────── */
.product-showcase { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 0 0 88px; }
.product-showcase img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.06); }

/* ── Proof bar ───────────────────────────────────────────── */
.proof-bar {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  padding: 16px 24px; background: rgba(255,255,255,0.55);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.proof-item { padding: 0 20px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(0,0,0,0.44); }
.proof-item + .proof-item { border-left: 1px solid var(--line); }

/* ── Section wrapper ─────────────────────────────────────── */
.value-section, .content-section, .why-section, .data-section, .download-band, .bottom-cta, .site-footer {
  width: min(1180px, calc(100% - 48px)); margin-left: auto; margin-right: auto;
}
.value-section  { padding: 88px 0 0; }
.content-section { padding: 88px 0 0; }
.why-section    { padding: 88px 0 0; }
.data-section   { padding: 88px 0 0; }
.download-band  { padding: 88px 0 0; }
.bottom-cta     { padding: 88px 0 0; }

/* ── Section head ────────────────────────────────────────── */
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { margin: 10px 0 0; font-size: 48px; font-weight: 900; line-height: 1.06; letter-spacing: -1.2px; color: var(--ink); }
.section-body { margin: 14px 0 0; font-size: 18px; line-height: 1.7; color: var(--muted); }

/* ── Value / Feature / Why grids ─────────────────────────── */
.value-grid, .feature-grid, .why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.value-card, .why-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 32px 28px;
}
.value-card h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.4px; color: var(--ink); }
.value-card p, .why-card p { margin: 12px 0 0; font-size: 15px; line-height: 1.72; color: var(--muted); }
.why-card { padding: 28px; }
.why-card h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--ink); }
.why-card p { margin: 10px 0 0; font-size: 14px; }
.feature-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 32px 28px;
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-card h3 { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.3; color: var(--ink); }
.feature-card p { margin: 12px 0 0; font-size: 15px; line-height: 1.72; color: var(--muted); }

/* ── Data / Privacy ──────────────────────────────────────── */
.data-inner {
  display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 48px;
  align-items: center; padding: 52px; background: var(--ink); border-radius: var(--radius); color: #fff;
}
.data-inner .kicker { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.72); }
.data-inner h2 { margin: 12px 0 0; font-size: 36px; font-weight: 900; line-height: 1.1; letter-spacing: -0.6px; color: #fff; }
.data-inner > div > p { margin: 14px 0 0; font-size: 15px; line-height: 1.72; color: rgba(255,255,255,0.62); }
.data-inner ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.data-inner li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: rgba(255,255,255,0.08); border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.88);
}
.data-inner li::before {
  content: '✓'; flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,0.18); font-size: 10px;
}

/* ── Download ────────────────────────────────────────────── */
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.download-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 32px; background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.download-card h3 { margin: 0; font-size: 18px; font-weight: 800; color: var(--ink); }
.download-card p { margin: 5px 0 0; font-size: 13px; color: var(--muted); }
.text-link {
  flex: none; display: inline-flex; align-items: center;
  padding: 9px 20px; border-radius: var(--radius-full);
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.text-link:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.muted-link { flex: none; font-size: 13px; font-weight: 600; color: var(--muted); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 10px; }
.faq-item { padding: 26px 30px; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.faq-item h3 { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.4; color: var(--ink); }
.faq-item p { margin: 10px 0 0; font-size: 14px; line-height: 1.74; color: var(--muted); }

/* ── Bottom CTA ──────────────────────────────────────────── */
.bottom-cta-inner {
  padding: 76px 56px; border-radius: var(--radius); background: var(--ink);
  text-align: center; position: relative; overflow: hidden;
}
.bottom-cta-inner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 65% 55% at 18% 0%, rgba(255,205,110,.20) 0%, transparent 60%),
              radial-gradient(ellipse 55% 48% at 88% 100%, rgba(160,185,255,.16) 0%, transparent 60%);
}
.bottom-cta-inner h2 { position: relative; margin: 0; font-size: 54px; font-weight: 900; line-height: 1.06; letter-spacing: -1.8px; color: #fff; }
.bottom-cta-inner p { position: relative; margin: 16px 0 0; font-size: 17px; color: rgba(255,255,255,0.58); }
.bottom-cta-inner .hero-actions { position: relative; justify-content: center; margin-top: 36px; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  padding: 48px 0 52px; border-top: 1px solid var(--line);
  display: grid; gap: 12px; margin-top: 88px;
}
.site-footer p { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.site-footer nav { display: flex; gap: 2px; flex-wrap: wrap; }
.site-footer nav a {
  padding: 5px 12px; border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600; color: var(--muted);
  transition: color 160ms ease, background 160ms ease;
}
.site-footer nav a:hover { color: var(--ink); background: rgba(0,0,0,0.06); }
.site-footer small { font-size: 12px; color: rgba(0,0,0,0.3); }

/* ── Document pages ──────────────────────────────────────── */
.document-page .nav-bar--plain { margin-bottom: 0; }
.document-shell { max-width: 840px; width: min(840px, calc(100% - 48px)); margin: 0 auto; padding: 60px 0 100px; }
.document-shell h1 { margin: 0; font-size: 52px; font-weight: 900; letter-spacing: -1px; line-height: 1.08; color: var(--ink); }
.document-intro { margin: 18px 0 0; font-size: 17px; line-height: 1.7; color: var(--muted); }
.document-section { padding-top: 40px; }
.document-section h2 { margin: 0; font-size: 19px; font-weight: 800; color: var(--ink); }
.document-section p { margin: 10px 0 0; font-size: 15px; line-height: 1.74; color: var(--muted); }
.support-shell {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px;
  width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 60px 0 100px;
}
.support-copy h1 { margin: 0; font-size: 52px; font-weight: 900; letter-spacing: -1px; line-height: 1.08; color: var(--ink); }
.support-copy p { margin: 18px 0 0; font-size: 17px; line-height: 1.7; color: var(--muted); }
.support-mail { margin-top: 24px; }
.support-list { display: grid; gap: 12px; }
.support-item { padding: 26px 28px; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.support-item h2 { margin: 0; font-size: 17px; font-weight: 800; color: var(--ink); }
.support-item p { margin: 10px 0 0; font-size: 14px; line-height: 1.72; color: var(--muted); }

/* ── Landing page ────────────────────────────────────────── */
.lp-page { min-height: 100vh; display: flex; flex-direction: column; }
.lp-header {
  display: flex; align-items: center; padding: 20px min(72px, 6vw);
  border-bottom: 1px solid var(--line); background: rgba(247,243,238,0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 20;
}
.lp-hero { padding: 80px min(72px, 6vw) 72px; flex: 1; }
.lp-hero-inner { max-width: 760px; }
.lp-hero h1 { margin: 0; font-size: 66px; font-weight: 900; line-height: 1.04; letter-spacing: -1.8px; color: var(--ink); }
.lp-body { max-width: 560px; margin: 22px 0 0; font-size: 18px; line-height: 1.7; color: var(--muted); }
.lp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.lp-benefits {
  padding: 52px min(72px, 6vw); background: rgba(255,255,255,0.6);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lp-benefits ul { max-width: 660px; margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.lp-benefits li { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.benefit-check {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: var(--green);
  color: #fff; font-size: 10px; font-weight: 900; margin-top: 1px;
}
.lp-trust {
  display: flex; justify-content: center; flex-wrap: wrap;
  padding: 15px min(72px, 6vw); background: var(--bg-warm); border-bottom: 1px solid var(--line);
}
.lp-trust span { padding: 0 18px; font-size: 11px; font-weight: 800; color: rgba(0,0,0,0.38); text-transform: uppercase; letter-spacing: 0.07em; }
.lp-trust span + span { border-left: 1px solid var(--line); }
.lp-footer { display: flex; align-items: center; gap: 18px; padding: 20px min(72px, 6vw); border-top: 1px solid var(--line); margin-top: auto; }
.lp-footer a { font-size: 13px; font-weight: 600; color: rgba(0,0,0,0.42); transition: color 160ms ease; }
.lp-footer a:hover { color: var(--ink); }
.lp-footer small { margin-left: auto; font-size: 12px; color: rgba(0,0,0,0.28); }

/* ── Language switcher ───────────────────────────────────── */
.lang-switch { display: flex; gap: 2px; align-items: center; }
.lang-switch button {
  background: transparent; border: 1px solid rgba(0,0,0,0.15); border-radius: var(--radius-full);
  padding: 3px 10px; font-size: 12px; font-family: inherit; font-weight: 500;
  color: rgba(0,0,0,0.42); cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease; line-height: 1.5;
}
.lang-switch button:hover { background: rgba(0,0,0,0.06); color: var(--ink); border-color: rgba(0,0,0,0.25); }
.lang-switch button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Carousel ────────────────────────────────────────────── */
.carousel {
  width: min(1180px, calc(100% - 48px)); margin: 0 auto 88px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.06);
  position: relative; background: #111;
}
.carousel-track {
  display: flex; transition: transform 480ms cubic-bezier(.4,0,.2,1);
}
.carousel-slide {
  flex: 0 0 100%; position: relative;
}
.carousel-slide img { width: 100%; display: block; border-radius: 0; }
.carousel-caption {
  position: absolute; bottom: 14px; left: 18px;
  padding: 4px 12px; border-radius: var(--radius-full);
  background: rgba(0,0,0,0.52); backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.88); font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; pointer-events: none;
}
.carousel-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; align-items: center;
}
.cdot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none; padding: 0; cursor: pointer;
  transition: background 220ms ease, transform 220ms ease;
}
.cdot.active { background: #fff; transform: scale(1.3); }
.cdot:hover { background: rgba(255,255,255,0.7); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-copy h1 { font-size: 54px; letter-spacing: -1.5px; }
  .section-head h2 { font-size: 38px; }
  .value-grid, .feature-grid, .why-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .data-inner { grid-template-columns: 1fr; gap: 32px; }
  .support-shell { grid-template-columns: 1fr; }
  .bottom-cta-inner h2 { font-size: 40px; }
  .lp-hero h1 { font-size: 48px; }
}
@media (max-width: 600px) {
  .nav-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-section, .product-showcase, .value-section, .content-section,
  .why-section, .data-section, .download-band, .bottom-cta, .site-footer { width: calc(100% - 32px); }
  .hero-section { padding: 120px 0 56px; }
  .hero-copy h1 { font-size: 40px; letter-spacing: -1px; }
  .hero-body { font-size: 16px; }
  .hero-actions { display: grid; }
  .primary-button, .secondary-button { width: 100%; }
  .data-inner { padding: 32px 24px; }
  .bottom-cta-inner { padding: 48px 26px; }
  .bottom-cta-inner h2 { font-size: 32px; letter-spacing: -0.8px; }
  .bottom-cta-inner .hero-actions { display: grid; }
  .lp-hero { padding: 56px 24px 52px; }
  .lp-hero h1 { font-size: 36px; letter-spacing: -0.8px; }
  .lp-cta { display: grid; }
  .lp-benefits { padding: 40px 24px; }
  .lp-footer { flex-wrap: wrap; gap: 10px; padding: 18px 24px; }
  .lp-footer small { margin-left: 0; width: 100%; }
  .download-card { flex-direction: column; align-items: flex-start; }
}
