/* fabrikken.ai marketing site */

/* ====== skip-nav ====== */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--ink-900);
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top 150ms var(--ease-standard);
}
.skip-nav:focus { top: 0; }

.shell { width: 100%; }

/* ====== nav ====== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,247, 0);
  transition: background 200ms var(--ease-standard), border-color 200ms var(--ease-standard);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(251,250,247, 0.78);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-bottom-color: var(--border-subtle);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 32px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 7.5px; font-family: var(--font-display); font-weight: 600; letter-spacing: -.5px; color: var(--ink-900); font-size: 20px; }
.brand:hover { color: var(--ink-900); text-decoration: none; }
.brand .tld { color: var(--ink-400); font-weight: 400; }
.nav-links { display: flex; gap: 24px; align-items: center; justify-content: center; }
.nav-links a { color: var(--ink-700); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--brand-orange); text-decoration: none; }
.nav-get-started { margin-left: 8px; flex-shrink: 0; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-burger {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--ink-700); padding: 6px; border-radius: var(--r-sm);
  line-height: 0; transition: color 140ms, background 140ms;
}
.nav-burger:hover { color: var(--ink-900); background: var(--bg-tint); }

/* Language switcher */
.lang {
  position: relative; display: inline-block;
}
.lang-btn {
  background: transparent; border: 1px solid var(--border-default);
  color: var(--ink-700); font-size: 13px; font-weight: 500;
  padding: 6px 10px; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}
.lang-btn:hover { border-color: var(--ink-200); color: var(--ink-900); }
.lang-btn .chev { width: 12px; height: 12px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: var(--surface); border: 1px solid var(--border-default);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  min-width: 160px; padding: 6px; display: none; z-index: 60;
}
.lang.open .lang-menu { display: block; }
.lang-menu button {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 8px 10px; border-radius: var(--r-sm); cursor: pointer;
  font-size: 14px; color: var(--ink-700);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.lang-menu button:hover { background: var(--bg-tint); color: var(--ink-900); }
.lang-menu button[aria-current="true"] { color: var(--brand-orange); font-weight: 500; }
.lang-menu button .code { font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); }

/* ====== buttons ====== */
.btn {
  font-family: var(--font-sans); font-weight: 500; font-size: 14px; line-height: 1;
  padding: 10px 16px; border-radius: var(--r-md);
  border: 1px solid transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 140ms var(--ease-standard); text-decoration: none;
}
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: var(--r-sm); }
.btn.lg { padding: 14px 22px; font-size: 16px; }
.btn.primary { background: var(--brand-orange); color: white; box-shadow: var(--shadow-sm); }
.btn.primary:hover { background: var(--brand-orange-600); box-shadow: var(--shadow-md); text-decoration: none; color: white; }
.btn.primary:active { background: var(--brand-orange-700); }
.btn.ghost { background: transparent; color: var(--ink-700); }
.btn.ghost:hover { background: var(--ink-100); text-decoration: none; color: var(--ink-900); }

/* ====== hero ====== */
.hero {
  position: relative;
  max-width: 1280px; margin: 0 auto;
  padding: 96px 32px 64px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px; align-items: start;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 30% 20%, var(--brand-orange-50) 0%, transparent 70%);
  z-index: -1; pointer-events: none;
}
.hero-inner { display: flex; flex-direction: column; gap: 24px; }
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-orange); display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand-orange); }

.display {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.6vw, 76px);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.04;
  color: var(--ink-900); margin: 0;
}
.display-2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.05;
  color: var(--ink-900); margin: 0;
}
.lede { font-size: 19px; line-height: 1.55; color: var(--ink-500); max-width: 540px; margin: 0; }
.hero-cta { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.btn-br { display: none; }
.hero-meta { grid-column: 1 / -1; margin-top: 32px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.logos { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; row-gap: 18px; }
.logo-stub { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; color: var(--ink-400); text-transform: none; font-size: 17px; flex: 0 0 auto; }
.logo-ref { display: inline-flex; align-items: center; gap: 10px; opacity: .7; transition: opacity var(--dur-base) var(--ease-standard); text-decoration: none; flex: 0 0 auto; }
.logo-ref:hover { opacity: 1; text-decoration: none; }
.logo-ref img { height: 36px; width: auto; display: block; mix-blend-mode: multiply; }
.logo-ref img[src*=".svg"] { height: 32px; mix-blend-mode: normal; }
.logo-ref img[src*="borsen"] { height: 24px; }
.logo-name { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; color: var(--ink-700); font-size: 17px; text-transform: none; }

/* Single-line infinite ticker, applied via JS when items overflow two rows. */
.logos--ticker { flex-wrap: nowrap; overflow: hidden; row-gap: 0; width: 100%; max-width: 100%; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.logos--ticker .logos-track { display: flex; gap: 28px; align-items: center; flex-shrink: 0; animation: tickerSlide 60s linear infinite; will-change: transform; }
.logos--ticker:hover .logos-track,
.logos--ticker:focus-within .logos-track { animation-play-state: paused; }
@keyframes tickerSlide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logos--ticker .logos-track { animation: none; } }

/* ====== hero art ====== */
.hero-art { display: flex; justify-content: flex-end; padding-top: 42px; }
.hero-video-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; width: 100%; }
.hero-video {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  display: block;
}
.hero-video-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 500; font-size: 14px; line-height: 1;
  padding: 10px 16px; border-radius: var(--r-md);
  border: 1px solid transparent;
  background: transparent; color: var(--ink-700);
  transition: all 140ms var(--ease-standard); text-decoration: none;
}
.hero-video-cta:hover { background: var(--ink-100); color: var(--ink-900); text-decoration: none; }
.hero-video-cta svg { flex-shrink: 0; }

/* ====== features ====== */
.features { max-width: 1280px; margin: 0 auto; padding: 96px 32px; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.section-head.center { text-align: center; align-items: center; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(32px, 3.6vw, 48px); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; color: var(--ink-900); margin: 0; max-width: 720px; }
.section-head-row { display: flex; align-items: center; gap: 20px; }
.section-head-icon { flex-shrink: 0; color: var(--brand-orange); opacity: 0.65; line-height: 0; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
.feat-card {
  background: var(--surface); border: 1px solid var(--border-default);
  border-radius: var(--r-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms var(--ease-standard);
}
.feat-card:hover { box-shadow: var(--shadow-md); }
.feat-ico {
  width: 44px; height: 44px;
  background: var(--brand-orange-50); color: var(--brand-orange);
  border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
}
.feat-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.feat-card-head h2, .feat-card-head h3 { flex: 1; margin: 0; }
.feat-card h3 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; color: var(--ink-900); }
.feat-card p { font-size: 15px; line-height: 1.6; color: var(--ink-500); margin: 0; flex: 1; }
.link { display: inline-flex; gap: 6px; align-items: center; color: var(--brand-orange); font-weight: 500; font-size: 14px; }
.link:hover { color: var(--brand-orange-600); text-decoration: none; gap: 9px; }

/* ====== principles ====== */
.principles { max-width: 1280px; margin: 0 auto; padding: 32px 32px 96px; }
.prin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border-default); border-bottom: 1px solid var(--border-default); }
.prin { padding: 40px 32px; border-right: 1px solid var(--border-default); display: flex; flex-direction: column; gap: 10px; }
.prin:last-child { border-right: 0; }
.prin .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--brand-orange); }
.prin h4 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: var(--ink-900); margin: 0; }
.prin p { font-size: 15px; line-height: 1.6; color: var(--ink-500); margin: 0; }

/* ====== CTA ====== */
.cta { background: var(--ink-900); color: white; padding: 96px 32px; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; right: -120px; bottom: -200px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,91,0,.45) 0%, transparent 70%);
  filter: blur(20px);
}
.cta-inner { max-width: 880px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 20px; align-items: center; position: relative; }
.cta-inner h2 { color: white; }
.cta-inner .lede { color: rgba(255,255,255,.65); }
.cta-actions { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.cta .btn.ghost { color: white; }
.cta .btn.ghost:hover { background: rgba(255,255,255,.08); color: white; }

/* ====== about page ====== */
.about-hero {
  position: relative;
  max-width: 1280px; margin: 0 auto;
  padding: 96px 32px 64px;
}
.about-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 70% 30%, var(--brand-orange-50) 0%, transparent 70%);
  z-index: -1; pointer-events: none;
}
.about-hero-inner { display: flex; flex-direction: column; gap: 20px; max-width: 740px; }
.about-hero-inner .lede { max-width: 620px; }

.about-who { border-top: 1px solid var(--border-default); border-bottom: 1px solid var(--border-default); }
.about-who-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 80px 32px;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start;
}
.about-who-inner h2 {
  font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.1;
  color: var(--ink-900); margin: 0;
  position: sticky; top: 80px;
}
.about-who-body { display: flex; flex-direction: column; gap: 18px; }
.about-who-body p { font-size: 17px; line-height: 1.65; color: var(--ink-600); margin: 0; }

.about-prin { max-width: 1280px; margin: 0 auto; padding: 80px 32px; }
.about-prin-inner .section-head { margin-bottom: 48px; }

.about-services { background: var(--ink-900); padding: 80px 32px; }
.about-services-inner { max-width: 1280px; margin: 0 auto; }
.about-services-inner .section-head h2 { color: white; }
.about-services-inner .section-head .lede { color: rgba(255,255,255,.65); }
.about-services-inner .feat-card {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
  color: white;
}
.about-services-inner .feat-card h3 { color: white; }
.about-services-inner .feat-card p { color: rgba(255,255,255,.7); }
.about-services-inner .feat-card .link { color: rgba(255,255,255,.8); }
.about-services-inner .feat-card .link:hover { color: white; }

/* ====== footer ====== */
.foot { max-width: 1280px; margin: 0 auto; padding: 64px 32px 32px; }
.foot-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid var(--border-default); }
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-brand .row-mark { display: flex; align-items: center; gap: 7.5px; }
.foot-brand .wm { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -.5px; color: var(--ink-900); }
.foot-brand .wm .tld { color: var(--ink-400); font-weight: 400; }
.foot-brand .caption { color: var(--fg-3); font-size: 13px; }
.foot-brand em { font-style: italic; color: var(--ink-400); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot-cols h6 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 14px; font-weight: 600; }
.foot-cols a { display: block; font-size: 14px; color: var(--ink-700); padding: 4px 0; }
.foot-cols a:hover { color: var(--brand-orange); text-decoration: none; }
.foot-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 13px; color: var(--fg-3); gap: 16px; flex-wrap: wrap; }
.foot-bottom .version { font-family: var(--font-mono); letter-spacing: 0.02em; }
.legal-link { background: none; border: none; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: transparent; transition: color 150ms, text-decoration-color 150ms; }
.legal-link:hover { color: var(--fg-1); text-decoration-color: currentColor; }

/* ====== chatbot page ====== */
.chatbot-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  align-items: stretch;
  overflow: hidden;
  max-width: 1280px;
  margin: 0 auto;
}
.chatbot-hero-inner {
  display: flex; flex-direction: column; gap: 20px;
  padding: 96px 48px 64px 32px;
  justify-content: center;
}
.chatbot-hero-cta { margin-top: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.chatbot-hero-cta-note { font-size: 0.875rem; color: var(--fg-3); margin: 0; }
.chatbot-hero-art {
  display: flex; flex-direction: column;
  overflow: hidden;
  /* 96px base + ~18px eyebrow + 20px gap = flugt med h1 */
  padding: 132px 32px 64px 0;
}
.chatbot-hero-img-wrap {
  position: relative; flex: 1; overflow: hidden;
}
.chatbot-hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 38% 10%;
  display: block;
}
.chatbot-hero-img-wrap::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to right,  var(--paper) 0%, rgba(251,250,247,0) 40%),
    linear-gradient(to bottom, var(--paper) 0%, rgba(251,250,247,0) 18%),
    linear-gradient(to top,    var(--paper) 0%, rgba(251,250,247,0) 18%);
}
.chatbot-hero-caption {
  font-size: 0.75rem; color: var(--fg-3); font-style: italic;
  margin: 0; padding: 10px 16px 0;
}

/* ---- form card ---- */
.chatbot-form-card {
  background: #14110F;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 24px 64px rgba(20,17,15,0.28), 0 4px 16px rgba(20,17,15,0.18);
  position: sticky;
  top: 88px;
}
.form-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brand-orange);
  margin: 0 0 24px;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 5px; }
.contact-form label > span { font-size: 0.8125rem; font-weight: 500; color: var(--fg-2); }
.req { color: var(--brand-orange); font-weight: 700; }
.contact-form input,
.contact-form textarea {
  padding: 10px 13px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--fg-1);
  outline: 2px solid transparent; /* visible in Windows High Contrast Mode, hidden otherwise */
  transition: border-color 150ms, background 150ms;
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand-orange);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(255,91,0,0.12);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--fg-3); font-size: 0.8125rem; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-size: 0.8125rem; font-weight: 500; color: var(--fg-2); }

/* CVR row: country select + number input side by side */
.cvr-row { display: flex; gap: 8px; }
.cvr-country-select {
  flex: 0 0 auto; width: 168px;
  padding: 10px 28px 10px 10px;
  border: 1px solid var(--border-default); border-radius: var(--radius-md);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 8px center;
  -webkit-appearance: none; appearance: none;
  color: var(--fg-1); font-family: var(--font-body); font-size: 0.875rem;
  cursor: pointer; line-height: 1.4; box-sizing: border-box;
  transition: border-color 150ms;
}
.cvr-country-select:focus {
  outline: none; border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(255,91,0,0.12);
}
.cvr-number-input { flex: 1 1 auto; min-width: 0; }

/* CVR validation status + spinner */
@keyframes cvr-spin { to { transform: rotate(360deg); } }
.cvr-spinner {
  display: inline-block; flex-shrink: 0;
  width: 13px; height: 13px;
  border: 2px solid var(--border-default); border-top-color: var(--fg-3);
  border-radius: 50%; animation: cvr-spin 0.7s linear infinite;
}
.cvr-status {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.8125rem; line-height: 1.4; margin-top: 4px; min-height: 18px;
}
.cvr-status:empty { display: none; }
.cvr-status--validating { color: var(--fg-3); }
.cvr-status--valid      { color: #16A34A; }
.cvr-status--invalid    { color: #DC2626; }
.cvr-status--error      { color: var(--fg-3); }
.file-upload-area {
  display: block; border: 2px dashed var(--border-default); border-radius: var(--radius-md);
  padding: 18px 20px; cursor: pointer; text-align: center;
  transition: border-color 150ms, background 150ms;
}
.file-upload-area:hover, .file-upload-area:focus-within {
  border-color: var(--brand-orange); background: var(--brand-orange-50);
}
.file-upload-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-upload-ui { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--fg-2); }
.file-upload-hint { font-size: 0.8125rem; color: var(--fg-3); }
.file-upload-names { font-size: 0.8125rem; color: var(--fg-2); line-height: 1.5; }
.file-upload-warning {
  margin-top: 4px; padding: 8px 12px;
  background: #FFF7ED; border: 1px solid #FED7AA;
  border-radius: var(--radius-sm); font-size: 0.8125rem; color: #C2410C; line-height: 1.5;
}
.form-error {
  padding: 10px 14px; background: #FEF2F2; border: 1px solid #FECACA;
  border-radius: var(--radius-sm); font-size: 0.8125rem; color: #DC2626; line-height: 1.5;
}
.terms-row { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.terms-row input[type="checkbox"] { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--brand-orange); cursor: pointer; }
.terms-row span { font-size: 0.9rem; line-height: 1.5; color: var(--fg-2); }
.terms-row .legal-link { text-decoration-color: currentColor; }
.form-required-note { font-size: 0.75rem; color: var(--fg-3); margin: 0; }
.form-footer { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.form-footer .btn { width: 100%; justify-content: center; }
.form-success {
  padding: 48px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.form-success-icon { color: var(--brand-orange); line-height: 0; }
.form-success h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--fg-1); margin: 0; }
.form-success p { font-size: 0.9375rem; color: var(--fg-2); margin: 0; max-width: 400px; }

/* ====== chatbot capabilities ====== */
.chatbot-caps { border-top: 1px solid var(--border-subtle); padding: 80px 0; }
.chatbot-caps-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.chatbot-caps .section-head { margin-bottom: 48px; }
.caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cap-group {
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px 32px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
}
.cap-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cap-group-head h3 { flex: 1; font-size: 0.9375rem; font-weight: 600; color: var(--fg-1); margin: 0; }
.cap-group-icon { flex-shrink: 0; color: var(--brand-orange); opacity: 0.65; line-height: 0; }
.cap-group ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.cap-group li { font-size: 0.875rem; color: var(--fg-2); line-height: 1.6; padding-left: 16px; position: relative; }
.cap-group li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-orange); flex-shrink: 0; }

.chatbot-hero-icon { display: none; }
.chatbot-mcp { border-top: 1px solid var(--border-subtle); padding: 80px 0 96px; }
.chatbot-mcp-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; display: flex; flex-direction: column; gap: 24px; }
.chatbot-mcp-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.chatbot-mcp-card {
  display: flex; flex-direction: column; gap: 16px;
  background: var(--surface-1); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); padding: 44px 48px;
}
.mcp-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.mcp-card-head-text { display: flex; flex-direction: column; gap: 8px; }
.chatbot-mcp-card h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.15;
  color: var(--ink-900);
}
.mcp-bot-icon {
  width: 140px; height: 140px;
  background: var(--brand-orange-50); color: var(--brand-orange);
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mcp-bot-icon svg { width: 104px; height: 104px; stroke-width: 1.1; }
@media (max-width: 680px) {
  .chatbot-mcp-card { padding: 36px 28px; }
  .mcp-bot-icon { width: 96px; height: 96px; }
  .mcp-bot-icon svg { width: 72px; height: 72px; }
}

@media (max-width: 980px) {
  .pricing { padding: 64px 0; }
  .pricing-inner { padding: 0 24px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .chatbot-caps { padding: 64px 0; }
  .chatbot-caps-inner { padding: 0 24px; }
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .chatbot-learn { padding: 64px 0; }
  .chatbot-learn-inner { padding: 0 24px; }
  .learn-grid { grid-template-columns: 1fr; }
  .chatbot-hero { grid-template-columns: 1fr; min-height: auto; }
  .chatbot-hero-inner { padding: 64px 24px 40px; justify-content: flex-start; }
  .chatbot-hero-img-wrap { min-height: 260px; }
  .chatbot-hero-img-wrap::before { background: linear-gradient(to bottom, var(--paper) 0%, rgba(251,250,247,0) 32%); }
  .chatbot-hero-caption { padding: 8px 24px 0; }
  .chatbot-form-card { position: static; }
  .chatbot-hero-icon { display: block; }
  .chatbot-mcp { padding-left: 0; padding-right: 0; }
  .chatbot-mcp-inner { padding: 0 24px; }
  .chatbot-mcp-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ====== modal ====== */
body.modal-open { overflow: hidden; }
.modal-wrap { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-wrap[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20,17,15,0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal-box { position: relative; background: var(--paper); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); width: 100%; max-width: 600px; max-height: 85vh; display: flex; flex-direction: column; overflow: hidden; }
.modal-box--lg { max-width: 680px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px 20px; border-bottom: 1px solid var(--border-subtle); flex-shrink: 0; }
.modal-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--fg-1); margin: 0; }
.modal-close { background: none; border: none; cursor: pointer; color: var(--fg-3); padding: 4px; border-radius: var(--radius-sm); line-height: 1; font-size: 1.5rem; transition: color 150ms, background 150ms; }
.modal-close:hover { color: var(--fg-1); background: var(--surface-2); }
.modal-body { padding: 24px 28px 28px; overflow-y: auto; }
.modal-body h3 { font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-2); margin: 20px 0 6px; }
.modal-body h3:first-child { margin-top: 0; }
.modal-body p { font-size: 0.9375rem; line-height: 1.65; color: var(--fg-1); margin: 0; }
.modal-updated { margin-top: 24px !important; font-size: 0.8125rem !important; color: var(--fg-3) !important; }

/* ====== pricing ====== */
.pricing { padding: 80px 0; border-top: 1px solid var(--border-subtle); }
.pricing-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.pricing .section-head { margin-bottom: 32px; }
.pricing .section-head h2 { max-width: none; }
.pricing-lede { max-width: none !important; }
.pricing-controls {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.currency-toggle { display: flex; border: 1px solid var(--border-default); border-radius: var(--r-sm); overflow: hidden; }
.currency-btn {
  background: transparent; border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  color: var(--fg-2); padding: 7px 16px;
  transition: background 140ms, color 140ms;
}
.currency-btn.active { background: var(--brand-orange); color: #fff; }
.currency-btn:not(.active):hover { background: var(--surface-2); color: var(--fg-1); }
.annual-label-wrap { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.annual-label-text { font-size: 0.875rem; color: var(--fg-2); }
.toggle-switch { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-track {
  display: block; width: 40px; height: 22px;
  background: var(--border-default); border-radius: 999px; cursor: pointer;
  transition: background 200ms; position: relative;
}
.toggle-track::after {
  content: ''; position: absolute;
  width: 16px; height: 16px; background: #fff; border-radius: 50%;
  top: 3px; left: 3px; transition: transform 200ms;
}
.toggle-switch input:checked + .toggle-track { background: var(--brand-orange); }
.toggle-switch input:checked + .toggle-track::after { transform: translateX(18px); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; align-items: stretch;
  padding-top: 20px;
}
.pricing-notes {
  margin-top: 28px;
  padding-top: 0;
  list-style: disc;
  padding-left: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.pricing-notes li {
  font-size: 0.8rem; line-height: 1.6;
  font-style: italic;
  color: var(--text-secondary);
}
.plan-card {
  display: flex; flex-direction: column; gap: 20px;
  padding: 28px 24px 24px;
  background: var(--surface-1); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); position: relative;
}
.plan-card.highlight {
  background: var(--paper);
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 1px var(--brand-orange), var(--shadow-md);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  color: #fff; background: var(--brand-orange);
  padding: 4px 12px; border-radius: 999px;
}
.plan-header { display: flex; flex-direction: column; gap: 8px; }
.plan-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--fg-1); margin: 0; }
.plan-tagline { font-size: 0.8125rem; line-height: 1.55; color: var(--fg-2); margin: 0; }
.plan-price-block { display: flex; flex-direction: column; gap: 7px; min-height: 90px; }
.plan-price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.plan-onboarding-row { padding-bottom: 7px; border-bottom: 1px solid var(--border-subtle); margin-bottom: 2px; }
.price-row-label { font-size: 0.8125rem; color: var(--fg-3); }
.price-row-amount { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 600; color: var(--fg-1); white-space: nowrap; }
.plan-onboarding-row .price-row-amount { font-size: 1.0625rem; }
.plan-price-contact { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--fg-2); }
.plan-divider { border: none; border-top: 1px solid var(--border-subtle); margin: 0; }
.plan-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.875rem; color: var(--fg-2); line-height: 1.5; }
.plan-check { color: var(--brand-orange); flex-shrink: 0; margin-top: 1px; line-height: 0; }
.has-tooltip {
  text-decoration: underline dashed;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
  cursor: help;
  position: relative;
  display: inline-block;
  border-radius: 2px;
  outline: none;
}
.has-tooltip:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}
.tip-bubble {
  display: none;
  text-decoration: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink-900);
  color: var(--paper);
  font-size: 0.75rem;
  line-height: 1.55;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  width: 260px;
  z-index: 200;
  pointer-events: none;
  white-space: normal;
  text-align: left;
}
.tip-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--ink-900);
}
.has-tooltip:hover .tip-bubble,
.has-tooltip.tip-open .tip-bubble {
  display: block;
}
.plan-cta { width: 100%; justify-content: center; }

/* ====== chatbot-learn ====== */
.chatbot-learn { padding: 80px 0; border-top: 1px solid var(--border-subtle); }
.chatbot-learn-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.chatbot-learn .section-head { margin-bottom: 48px; }
.chatbot-learn .section-head h2 { max-width: none; }
.chatbot-learn .lede { max-width: 680px; }
.learn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.learn-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 32px;
  background: var(--surface-1); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
}
.learn-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.learn-card-head h3 { flex: 1; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--fg-1); margin: 0; }
.learn-card p { font-size: 0.9rem; line-height: 1.65; color: var(--fg-2); margin: 0; }
.learn-ico {
  width: 40px; height: 40px;
  background: var(--brand-orange-50); color: var(--brand-orange);
  border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ====== lang-teaser (chatbot page) ====== */
.lang-teaser {
  padding: 80px 0;
  background: var(--surface-1);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.lang-teaser-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.lang-teaser .section-head { margin-bottom: 48px; }
.lang-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.lang-timeline { display: flex; flex-direction: column; margin-top: 32px; }
.lang-timeline-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.lang-timeline-item:last-child { border-bottom: none; }
.lang-timeline-status {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}
.lang-timeline-status.done { background: var(--brand-orange); color: #fff; }
.lang-timeline-status.active {
  background: transparent;
  border: 2px solid var(--brand-orange);
  color: var(--brand-orange);
}
.lang-timeline-status.upcoming {
  background: transparent;
  border: 2px solid var(--border-default);
  color: var(--fg-3);
}
.lang-timeline-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--fg-1);
  line-height: 1.3;
}
.lang-timeline-note {
  font-size: 0.8125rem;
  color: var(--fg-3);
  margin-top: 3px;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}
.lang-why {
  background: var(--paper);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
}
.lang-why h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--fg-1);
  margin: 0 0 12px;
}
.lang-why p { font-size: 0.9375rem; line-height: 1.75; color: var(--fg-2); margin: 0 0 12px; }
.lang-why p:last-child { margin-bottom: 0; }

/* ====== ai-admin-teaser (chatbot page) ====== */
.ai-admin-teaser {
  padding: 80px 0;
  background: var(--bg-sunk);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.ai-admin-teaser-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.ai-admin-teaser .section-head { margin-bottom: 48px; }
.ai-admin-teaser .section-head h2 { max-width: none; }
.ai-admin-teaser .lang-why { background: var(--paper); }

/* ====== responsive ====== */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 64px 24px; gap: 40px; }
  .hero-art { justify-content: center; padding-top: 0; }
  .hero-video-wrap { width: 100%; align-items: center; }
  .hero-cta { flex-wrap: nowrap; align-items: center; }
  .btn-br { display: inline; }
  .feat-grid { grid-template-columns: 1fr; }
  .prin-grid { grid-template-columns: 1fr; }
  .prin { border-right: 0; border-bottom: 1px solid var(--border-default); }
  .nav-burger { display: flex; align-items: center; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border-default);
    box-shadow: 0 8px 24px rgba(20,17,15,0.10);
    padding: 8px 24px 24px;
  }
  .nav.menu-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border-subtle); font-size: 16px; }
  .nav-links .nav-get-started {
    margin: 16px 0 0; width: 100%; justify-content: center;
    border-bottom: none; padding: 14px 22px; font-size: 16px;
  }
  .lang-teaser-inner { padding: 0 24px; }
  .ai-admin-teaser-inner { padding: 0 24px; }
  .lang-teaser-grid { grid-template-columns: 1fr; gap: 32px; }
  .learn-grid { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; gap: 32px; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .nav-inner { padding: 14px 20px; gap: 16px; grid-template-columns: auto 1fr; }
  .nav-cta { justify-self: end; }
  .features, .principles, .foot { padding-left: 24px; padding-right: 24px; }
  .about-hero { padding: 64px 24px; }
  .about-who-inner { grid-template-columns: 1fr; gap: 32px; padding: 56px 24px; }
  .about-who-inner h2 { position: static; }
  .about-prin { padding: 56px 24px; }
  .about-services { padding: 56px 24px; }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .caps-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .chatbot-hero-inner { padding-top: 32px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .about-hero { padding-top: 32px; }
}

/* ====== hindi: Devanagari font ====== */
html[lang="hi"] {
  --font-sans:    'Noto Sans Devanagari', sans-serif;
  --font-display: 'Noto Sans Devanagari', sans-serif;
}
