:root {
  --bg: oklch(99% 0.004 250);
  --bg-alt: oklch(96% 0.012 250);
  --text: oklch(24% 0.04 260);
  --text-muted: oklch(45% 0.02 260);
  --text-muted-2: oklch(35% 0.02 260);
  --border: oklch(90% 0.01 260);
  --border-light: oklch(85% 0.01 260);
  --navy: oklch(20% 0.045 260);
  --navy-dark: oklch(16% 0.035 260);
  --blue: oklch(56% 0.19 258);
  --blue-light: oklch(94% 0.05 258);
  --blue-soft-text: oklch(48% 0.16 258);
  --blue-link: oklch(50% 0.18 258);
  --success-bg: oklch(94% 0.06 150);
  --success-border: oklch(80% 0.08 150);
  --success-text: oklch(32% 0.08 150);
}

* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "Segoe UI", system-ui, sans-serif; color: var(--text); background: var(--bg); overflow-x: hidden; }
h1, h2, h3, p { overflow-wrap: break-word; }
a { color: var(--blue-link); }
a:hover { color: var(--blue); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

[hidden] { display: none !important; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px; background: white; color: var(--text);
  gap: 24px; flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 oklch(0% 0 0 / 0.02);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand:hover, .brand:hover .brand-name { color: var(--text); }
.brand:hover .brand-name span { color: var(--blue-link); }
.brand img { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.brand-name span { color: var(--blue-link); }
.nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.nav a:not(.btn-login) { position: relative; color: var(--text-muted-2); text-decoration: none; font-size: 15px; padding-bottom: 4px; transition: color .25s ease; }
.nav a:not(.btn-login)::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; width: 18px; height: 1px;
  background: var(--blue); border-radius: 1px; opacity: 0; transform: translateX(-50%) scaleX(0);
  transform-origin: center; transition: transform .28s cubic-bezier(.22,.8,.24,1), opacity .2s ease;
}
.nav a:not(.btn-login):hover { color: var(--blue); }
.nav a:not(.btn-login):hover::after { opacity: 1; transform: translateX(-50%) scaleX(1); }
.header-right { display: flex; align-items: center; gap: 28px; }
.lang-switch { position: relative; }
.lang-switch-toggle {
  display: flex; align-items: center; gap: 6px; border: 1px solid var(--border-light);
  border-radius: 7px; background: white; color: var(--text); font-size: 13px; font-weight: 600;
  padding: 7px 12px; cursor: pointer; font-family: inherit;
}
.lang-switch-caret { font-size: 10px; color: var(--text-muted); transition: transform .15s ease; }
.lang-switch.open .lang-switch-caret { transform: rotate(180deg); }
.lang-switch-menu {
  position: absolute; top: calc(100% + 6px); right: 0; background: white;
  border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 10px 28px oklch(20% 0.045 260 / 0.14);
  display: flex; flex-direction: column; min-width: 84px; overflow: hidden; z-index: 60;
}
.lang-switch-menu button {
  border: none; background: transparent; color: var(--text-muted-2); font-size: 13px;
  font-weight: 600; padding: 9px 14px; text-align: left; cursor: pointer; font-family: inherit;
}
.lang-switch-menu button:hover { background: var(--bg-alt); }
.lang-switch-menu button.active { color: var(--blue); }
.btn-login {
  background: var(--blue); color: white; padding: 9px 18px; border-radius: 7px;
  text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap;
}
.btn-login:hover { color: white; }
.mobile-nav-toggle {
  display: none; border: 1px solid var(--border-light); border-radius: 7px; background: white;
  color: var(--text); padding: 8px 12px; font: 600 13px/1.2 -apple-system, "Segoe UI", system-ui, sans-serif; cursor: pointer;
}

/* Hero */
.hero { max-width: 1180px; margin: 0 auto; padding: 48px 48px 64px; text-align: center; }
.eyebrow {
  display: inline-block; font-family: ui-monospace, monospace; font-size: 12px;
  letter-spacing: .02em; color: var(--blue-soft-text); background: var(--blue-light);
  padding: 7px 16px; border-radius: 20px; margin-bottom: 28px;
}
.hero h1 { font-size: 52px; line-height: 1.08; font-weight: 750; letter-spacing: -0.02em; margin: 0 0 24px; max-width: 1080px; margin-left: auto; margin-right: auto; text-wrap: pretty; }
.hero-sub { font-size: 19px; line-height: 1.55; color: var(--text-muted); max-width: 800px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.btn-primary { background: var(--blue); color: white; padding: 14px 28px; border-radius: 8px; text-decoration: none; font-size: 16px; font-weight: 600; }
.btn-secondary { background: white; color: var(--text); border: 1px solid var(--border-light); padding: 14px 28px; border-radius: 8px; text-decoration: none; font-size: 16px; font-weight: 600; }
.hero-note { font-size: 13px; color: oklch(55% 0.02 260); margin: 0 0 56px; }
.video-frame {
  position: relative; max-width: 920px; margin: 0 auto; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, oklch(95% 0.015 258), oklch(95% 0.015 258) 12px, oklch(92% 0.02 258) 12px, oklch(92% 0.02 258) 24px);
}
.video-badge {
  background: oklch(20% 0.045 260 / 0.85); color: white; padding: 14px 22px; border-radius: 10px;
  font-family: ui-monospace, monospace; font-size: 13px; display: flex; align-items: center; gap: 10px;
}
.play-triangle { width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid white; }

/* Section shells */
.section { padding: 88px 48px; }
.section-alt { background: var(--bg-alt); padding: 80px 48px; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-inner-narrow { max-width: 1000px; margin: 0 auto; }
.section h2 { font-size: 34px; font-weight: 750; letter-spacing: -0.01em; margin: 0 0 12px; text-align: center; }
.section-alt h2 { font-size: 34px; font-weight: 750; letter-spacing: -0.01em; margin: 0 0 12px; text-align: center; }
.section-alt h2.spaced { margin-bottom: 48px; }
.pricing-reassurance { max-width: 700px; margin: -28px auto 40px; color: var(--text-muted); font-size: 14px; line-height: 1.55; text-align: center; }
.section-sub { font-size: 16px; color: var(--text-muted); text-align: center; max-width: 650px; margin: 0 auto 48px; }
.section-sub-wide { max-width: 800px; }
.section-compact-top { padding-top: 0; }

/* Integrations grid */
.grid-integrations { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 26px; }
.card-icon {
  width: 38px; height: 38px; border-radius: 9px; background: var(--blue-light); color: var(--blue-soft-text);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; margin-bottom: 16px;
}
.card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin: 0; }
.card-need { background: var(--navy); border-radius: 12px; padding: 26px; color: white; display: flex; flex-direction: column; justify-content: space-between; }
.card-need h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: white; }
.card-need p { font-size: 14px; color: oklch(80% 0.02 260); line-height: 1.5; margin: 0 0 20px; }
.card-need a { color: oklch(75% 0.1 258); font-size: 14px; font-weight: 600; text-decoration: none; }

/* Problems */
.grid-problems { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; margin-top: 48px; }
.problem-num { font-family: ui-monospace, monospace; font-size: 14px; color: var(--blue); font-weight: 700; margin-bottom: 10px; }
.problem-item h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; line-height: 1.3; min-height: 47px; }
.problem-item p { font-size: 15px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* Disclaimer callout */
.callout {
  max-width: 900px; margin: 0 auto; background: var(--blue-light); border: 1px solid oklch(85% 0.06 258);
  border-radius: 14px; padding: 32px 36px;
}
.callout h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; color: oklch(30% 0.06 258); }
.callout p { font-size: 14.5px; color: oklch(38% 0.04 258); line-height: 1.6; margin: 0; }
.callout .callout-note { margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid oklch(85% 0.06 258); }
.callout .callout-note strong { color: oklch(30% 0.06 258); }

/* Pricing */
.grid-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  background: white; border-radius: 14px; padding: 30px; display: flex; flex-direction: column;
  border: 1px solid var(--border); position: relative;
}
.plan.highlighted { border: 2px solid var(--blue); box-shadow: 0 12px 32px oklch(56% 0.19 258 / 0.18); }
.plan-badge { position: absolute; top: -12px; left: 24px; background: var(--blue); color: white; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 12px; }
.plan-tag { font-family: ui-monospace, monospace; font-size: 12px; color: var(--blue); font-weight: 700; letter-spacing: .04em; margin-bottom: 10px; min-height: 30px; }
.plan-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin: 0 0 20px; min-height: 48px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; }
.plan-price .amount { font-size: 32px; font-weight: 750; }
.plan-price .period { font-size: 14px; color: oklch(50% 0.02 260); }
.plan-features { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; align-content: start; }
.plan-feature { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; line-height: 1.45; min-height: 20px; color: oklch(30% 0.02 260); }
.plan-feature .check { color: var(--blue); font-weight: 700; }
.plan-cta { text-align: center; background: var(--blue-light); color: oklch(40% 0.14 258); padding: 12px; border-radius: 8px; text-decoration: none; font-size: 14.5px; font-weight: 700; }
.plan-cta.disabled { background: oklch(93% 0.008 260); color: oklch(60% 0.02 260); cursor: not-allowed; pointer-events: none; }
.plan.highlighted .plan-cta { background: var(--blue); color: white; }
.pricing-footnote { font-size: 12.5px; color: oklch(52% 0.02 260); text-align: center; margin: 32px 0 0; }
.license-coming-soon {
  max-width: 760px; margin: 24px auto 0; padding: 20px 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; background: white; border: 1px dashed var(--border-light); border-radius: 12px;
}
.license-coming-soon h3 { margin: 6px 0 4px; font-size: 16px; }
.license-coming-soon p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.45; }
.license-status, .license-note { color: var(--text-muted-2); font-size: 12px; font-weight: 700; }
.license-status { color: var(--blue-soft-text); text-transform: uppercase; letter-spacing: .04em; }
.license-note { white-space: nowrap; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; background: white; border: none; padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
  font-size: 15.5px; font-weight: 600; color: var(--text); font-family: inherit;
}
.faq-marker { color: var(--blue); font-size: 18px; }
.faq-answer { padding: 0 20px 20px; font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }

/* Contact */
.contact-wrap { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-response-note { font-size: 15px; color: var(--text-muted); margin: 0 0 12px; }
.contact-email { font-size: 14.5px; margin: 0 0 32px; }
.contact-email a { font-weight: 600; text-decoration: none; }
.contact-success {
  background: var(--success-bg); border: 1px solid var(--success-border); color: var(--success-text);
  padding: 18px; border-radius: 10px; font-size: 14.5px; font-weight: 600;
}
.contact-status {
  padding: 14px 18px; border-radius: 10px; font-size: 14.5px; font-weight: 600; margin: 0 0 14px;
  background: var(--blue-light); border: 1px solid var(--border-light); color: var(--blue-soft-text);
}
.contact-status.is-error {
  background: oklch(96% 0.035 25); border-color: oklch(82% 0.08 25); color: oklch(39% 0.13 25);
}
.contact-form { display: flex; flex-direction: column; gap: 14px; text-align: left; background: white; border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.contact-form label { font-size: 13px; font-weight: 700; color: var(--text-muted-2); }
.contact-form input, .contact-form textarea {
  padding: 12px 14px; border: 1px solid var(--border-light); border-radius: 8px; font-size: 14.5px; font-family: inherit;
}
.contact-form textarea { resize: vertical; }
.contact-form button {
  background: var(--blue); color: white; border: none; padding: 13px; border-radius: 8px;
  font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.contact-form button:disabled { opacity: .65; cursor: wait; }

/* Footer CTA */
.footer-cta { background: var(--navy); color: white; padding: 80px 48px; text-align: center; }
.footer-cta h2 { font-size: 30px; font-weight: 750; letter-spacing: -0.01em; max-width: 720px; margin: 0 auto 32px; }
.footer-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-cta-outline { background: transparent; border: 1px solid oklch(45% 0.03 260); color: white; padding: 14px 28px; border-radius: 8px; text-decoration: none; font-size: 15.5px; font-weight: 700; }

/* Footer */
.footer { background: var(--navy-dark); color: oklch(75% 0.015 260); padding: 56px 48px 32px; }
.footer-grid { max-width: 1180px; margin: 0 auto 40px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.footer-brand img { width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0; }
.footer-brand span { font-size: 15px; font-weight: 700; color: white; }
.footer-tagline { font-size: 13.5px; line-height: 1.6; max-width: 340px; margin: 0; }
.footer-heading { font-size: 13px; font-weight: 700; color: white; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: oklch(75% 0.015 260); text-decoration: none; font-size: 13.5px; }
.footer-bottom { max-width: 1180px; margin: 0 auto; border-top: 1px solid oklch(30% 0.02 260); padding-top: 24px; }
.footer-disclaimer { font-size: 12px; line-height: 1.6; color: oklch(60% 0.01 260); margin: 0 0 16px; }
.footer-copyright { font-size: 12.5px; margin: 0; }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px; z-index: 100;
  max-width: 640px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: white; border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 22px; box-shadow: 0 16px 40px oklch(20% 0.045 260 / 0.18);
}
.cookie-text { font-size: 13.5px; line-height: 1.55; color: var(--text-muted); margin: 0; flex: 1 1 280px; }
.cookie-text a { color: var(--blue-link); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner button {
  border-radius: 7px; padding: 10px 18px; font-size: 13.5px; font-weight: 600;
  cursor: pointer; font-family: inherit; white-space: nowrap;
}
.cookie-accept { background: var(--blue); color: white; border: none; }
.cookie-decline { background: white; color: var(--text-muted-2); border: 1px solid var(--border-light); }

@media (max-width: 1024px) {
  .header { padding: 14px 24px; gap: 16px; }
  .nav { gap: 20px; }
  .hero, .section, .section-alt, .footer-cta, .footer { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 860px) {
  .header { padding: 12px 20px; gap: 12px; }
  .brand-name { font-size: 16px; }
  .header-right { margin-left: auto; }
  .mobile-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; order: 4; flex-basis: 100%; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: 10px; border-top: 1px solid var(--border); }
  .header.nav-open .nav { display: flex; }
  .nav a:not(.btn-login) { padding: 10px 0; }
  .nav a:not(.btn-login) { font-size: 14px; }
  .btn-login { margin: 8px 0 0; padding: 8px 14px; font-size: 13px; text-align: center; }
  .header-right { gap: 12px; }
  .hero h1 { font-size: 40px; }
  .hero h1 span { width: auto !important; max-width: 100%; }
  .hero-sub { font-size: 17px; }
  .grid-problems { gap: 24px; }
  .problem-item h3 { min-height: 0; }
}

@media (max-width: 560px) {
  .hero { padding: 32px 18px 48px; }
  .hero h1 { font-size: 30px; letter-spacing: -0.015em; }
  .hero-sub { font-size: 15.5px; }
  .eyebrow { font-size: 11px; padding: 7px 12px; line-height: 1.5; text-align: left; }
  .hero-ctas { gap: 10px; }
  .btn-primary, .btn-secondary { flex: 1 1 100%; text-align: center; padding: 13px 20px; font-size: 15px; }
  .video-frame { aspect-ratio: 4/3; }
  .video-badge { font-size: 11.5px; padding: 10px 14px; }
  .section, .section-alt { padding: 56px 18px; }
  .section-compact-top { padding-top: 0; }
  .section h2, .section-alt h2 { font-size: 26px; }
  .section-alt h2.spaced { margin-bottom: 32px; }
  .pricing-reassurance { margin: -14px auto 28px; }
  .section-sub { font-size: 15px; margin-bottom: 32px; }
  .contact-form input, .contact-form textarea { font-size: 16px; }
  .callout { padding: 24px 20px; }
  .plan { padding: 26px 22px; }
  .plan-desc, .plan-tag { min-height: 0; }
  .faq-question { font-size: 15px; padding: 16px; gap: 14px; }
  .footer-cta { padding: 56px 18px; }
  .footer-cta h2 { font-size: 24px; }
  .footer { padding: 44px 18px 28px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px; gap: 14px; }
  .cookie-actions { width: 100%; }
  .cookie-banner button { flex: 1; }
  .license-coming-soon { align-items: flex-start; flex-direction: column; gap: 8px; padding: 18px 20px; }
}

@media (max-width: 400px) {
  .header { padding: 10px 14px; }
  .brand img { width: 28px; height: 28px; }
  .brand-name { font-size: 15px; }
  .nav { gap: 14px; }
  .nav a:not(.btn-login) { font-size: 13.5px; }
  .hero h1 { font-size: 26px; }
}
