@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700;800&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap");

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

:root {
  --surface: #f0ead9;
  --surface-bright: #fff9ea;
  --surface-low: #f9f3e2;
  --surface-container: #f4eedd;
  --surface-high: #e8e2d1;
  --white: #ffffff;
  --ink: #1e1c11;
  --text: #1e1c11;
  --muted: #424843;
  --muted-soft: #718076;
  --primary: #1c3826;
  --primary-deep: #062212;
  --primary-darkest: #04180d;
  --secondary: #386847;
  --sage: #c5dec0;
  --sage-strong: #b7ecc3;
  --accent: #3d9e5c;
  --border: #d8d0c0;
  --border-dark: rgba(255, 255, 255, .12);
  --shadow: 0 22px 58px -24px rgba(28, 56, 38, .35);
  --shadow-strong: 0 34px 80px -26px rgba(28, 56, 38, .45);
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", Inter, ui-sans-serif, system-ui, sans-serif;
  --container: 1280px;
  --gutter: clamp(16px, 5vw, 64px);
  --radius-card: 24px;
  --radius-panel: 28px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }
img, svg { max-width: 100%; }

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  vertical-align: middle;
}

.announcement {
  position: relative;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 48px;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.announcement button {
  position: absolute;
  right: 14px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 5px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding: 0 var(--gutter);
  background: rgba(255, 249, 234, .88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
  transition: box-shadow .2s ease, background .2s ease;
}

.site-nav.scrolled {
  background: rgba(255, 249, 234, .96);
  box-shadow: 0 18px 48px rgba(28, 56, 38, .08);
}

.nav-left,
.nav-actions,
.brand {
  display: inline-flex;
  align-items: center;
}

.nav-left { gap: 42px; }
.nav-actions { gap: 18px; }

.brand {
  gap: 9px;
  color: var(--primary-deep);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  color: rgba(30, 28, 17, .66);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a.active { color: var(--primary); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.lang-link,
.nav-login,
.nav-cta,
.btn-primary,
.btn-secondary,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.lang-link {
  gap: 5px;
  color: rgba(30, 28, 17, .52);
  font-size: 12px;
  font-weight: 800;
}

.lang-link strong { color: var(--primary); }
.nav-login { color: var(--primary-deep); font-size: 14px; font-weight: 800; }

.nav-cta,
.btn-primary {
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(61, 158, 92, .24);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.nav-cta { min-height: 42px; padding: 10px 20px; font-size: 14px; }
.btn-primary { min-height: 54px; padding: 14px 28px; }
.nav-cta:hover,
.btn-primary:hover { background: #348b50; transform: translateY(-1px); box-shadow: 0 18px 38px rgba(61, 158, 92, .3); }

.btn-secondary {
  min-height: 54px;
  padding: 14px 28px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  color: var(--primary-deep);
  font-weight: 800;
  background: transparent;
}

.btn-secondary:hover { background: var(--white); }

.text-link {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-deep);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
  min-height: calc(100vh - 106px);
  padding: 96px var(--gutter) 132px;
  background: var(--surface-bright);
  border-bottom-left-radius: 72px;
  border-bottom-right-radius: 72px;
}

.hero > *,
section > * { position: relative; z-index: 1; }

.eyebrow,
.section-label,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(28, 56, 38, .12);
  border-radius: 999px;
  background: var(--sage);
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow { padding: 7px 14px; margin-bottom: 26px; }
.section-label { padding: 6px 12px; margin-bottom: 16px; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--primary-deep);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  margin: 0 0 26px;
  font-size: clamp(4.2rem, 8.4vw, 7.8rem);
  font-weight: 800;
}

.hero h1 span,
.gradient-text {
  display: block;
  color: var(--primary-deep);
  font-weight: 800;
}

.hero p,
.page-hero p,
.section-sub {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
}

.hero p { margin: 0 0 34px; }

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.section-actions.center {
  justify-content: center;
  margin-top: 34px;
}

.chat-widget {
  position: relative;
  max-width: 450px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-strong);
  animation: float 6s ease-in-out infinite;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  background: var(--white);
  color: var(--primary);
  border-bottom: 1px solid var(--border);
}

.chat-avatar,
.icon-box {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--sage-strong);
  color: var(--secondary);
}

.chat-title {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

.chat-status {
  display: block;
  color: var(--muted-soft);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.chat-body { display: grid; gap: 16px; min-height: 330px; padding: 28px; background: var(--surface-low); }

.bubble {
  max-width: 88%;
  padding: 13px 15px;
  border-radius: 12px;
  border-top-left-radius: 2px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 8px 24px rgba(28, 56, 38, .05);
}

.bubble.user {
  justify-self: end;
  border-color: transparent;
  border-top-left-radius: 12px;
  border-top-right-radius: 2px;
  background: var(--sage-strong);
  color: var(--primary);
}

.chat-input {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.chat-input div {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-low);
  color: rgba(30, 28, 17, .48);
  font-size: 13px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--primary-deep);
  color: var(--white);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

section { padding: 104px var(--gutter); }

.trust-strip {
  padding: 32px var(--gutter);
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.trust-inner,
.section-inner,
.footer-inner,
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pill { padding: 9px 14px; background: var(--white); }

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head.left {
  margin-inline: 0;
  text-align: left;
}

.section-title {
  margin: 0 0 18px;
  font-size: clamp(3rem, 5.4vw, 5.8rem);
  font-weight: 800;
}

.section-title strong {
  color: inherit;
  font-weight: 800;
}

.tint-section { background: var(--surface-container); }
.white-section { background: var(--surface); }
.sage-section { background: var(--sage); }

.dark-section {
  background: var(--primary);
  color: var(--white);
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section .section-title { color: var(--white); }

.dark-section .section-sub,
.dark-section p { color: rgba(255, 255, 255, .72); }

.dark-section .section-label {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  color: var(--sage-strong);
}

.grid-3,
.grid-4,
.pricing-grid,
.demo-grid {
  display: grid;
  gap: 22px;
}

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.demo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.demo-card {
  display: flex;
  gap: 16px;
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.demo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 158, 92, .38);
  box-shadow: 0 26px 64px -28px rgba(28, 56, 38, .45);
}

.demo-card.live { border-color: rgba(61, 158, 92, .42); }

.demo-card > .material-symbols-outlined {
  display: inline-grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: var(--sage);
  color: var(--primary);
}

.demo-card h3 {
  margin: 2px 0 10px;
  font-size: 1.35rem;
}

.demo-card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
}

.card,
.price-card,
.step-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover,
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }

.dark-section .card {
  background: #072615;
  border-color: var(--border-dark);
  box-shadow: none;
}

.dark-section .card:nth-child(2),
.dark-section .card:nth-child(3) {
  background: rgba(197, 222, 192, .22);
}

.dark-section .card h3 { color: var(--white); }
.dark-section .card p { color: rgba(255, 255, 255, .74); }
.dark-section .feature-list { color: rgba(255, 255, 255, .78); }
.dark-section .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, .34);
}
.dark-section .btn-secondary:hover {
  color: var(--primary);
  background: var(--white);
}

.icon-box,
.card-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: var(--sage);
  color: var(--accent);
  border: 1px solid rgba(28, 56, 38, .08);
}

.dark-section .icon-box {
  background: transparent;
  border-color: transparent;
  color: var(--accent);
}

.card h3,
.price-card h3,
.step-card h3 { margin: 0 0 12px; font-size: 1.65rem; }
.card p,
.price-card p,
.step-card p { margin: 0; color: var(--muted); }

.compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.check-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
  padding: 28px;
  box-shadow: var(--shadow);
}

.check-card h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.check-card p {
  margin: 0;
  color: var(--muted);
}

.check-card::before {
  content: "check_circle";
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--accent);
  font-family: "Material Symbols Outlined";
}

.warning-card::before {
  content: "priority_high";
  background: var(--surface-container);
  color: var(--primary);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.included-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 110px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 16px 38px -28px rgba(28, 56, 38, .45);
}

.included-item .material-symbols-outlined {
  color: var(--accent);
}

.included-item strong {
  display: block;
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
}

.included-item span:last-child {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.45;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.flow-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, .7fr) auto minmax(180px, .75fr) auto minmax(180px, .75fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: 64px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.source-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
.source-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid rgba(28, 56, 38, .12);
  border-radius: 999px;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 16px 36px -22px rgba(28, 56, 38, .55);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-arrow {
  color: rgba(28, 56, 38, .2);
  font-size: 44px;
}

.flow-node {
  display: grid;
  place-items: center;
  align-content: center;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background: var(--primary-deep);
  color: var(--white);
  box-shadow: 0 0 76px rgba(61, 158, 92, .36);
}

.flow-node strong {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--white);
}

.flow-node span:last-child {
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.active-output {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: rgba(30, 28, 17, .5);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(61, 158, 92, .14);
}

.skeleton { display: grid; gap: 12px; }
.skeleton span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--surface-high);
}

.skeleton span:nth-child(2) { width: 80%; }
.skeleton span:nth-child(3) { background: var(--sage); }

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 34px;
  overflow: visible;
}

.price-card.featured {
  z-index: 2;
  color: var(--white);
  background: var(--primary-deep);
  border-color: transparent;
  box-shadow: var(--shadow-strong);
  transform: scale(1.04);
}

.price-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.price-card.featured h3,
.price-card.featured .price,
.price-card.featured .price span { color: var(--white); }
.price-card.featured p,
.price-card.featured li { color: rgba(255, 255, 255, .8); }

.popular-badge {
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-eyebrow {
  margin-bottom: 28px;
  color: rgba(30, 28, 17, .54);
  font-size: 14px;
}

.price {
  margin: 0 0 28px;
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: clamp(3rem, 4.6vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
}

.price span {
  display: inline;
  color: rgba(30, 28, 17, .48);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
}

.price-card ul {
  display: grid;
  gap: 14px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.price-card li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}

.price-card li::before {
  content: "check_circle";
  font-family: "Material Symbols Outlined";
  color: var(--accent);
}

.price-card .btn-primary,
.price-card .btn-secondary { margin-top: auto; width: 100%; }
.price-card.featured .btn-primary { background: var(--accent); color: var(--white); box-shadow: none; }
.price-card.featured .btn-secondary { color: var(--white); border-color: rgba(255, 255, 255, .28); }

.cta-band {
  position: relative;
  overflow: hidden;
  max-width: none;
  margin: 0 calc(var(--gutter) * -1);
  padding: 104px var(--gutter);
  border-radius: 0;
  background:
    radial-gradient(circle at 52% 50%, rgba(61, 158, 92, .16), transparent 32%),
    repeating-linear-gradient(165deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 38px),
    var(--primary);
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  margin: 0 auto 20px;
  max-width: 860px;
  color: var(--white);
  font-size: clamp(4rem, 7vw, 7rem);
}

.cta-band p {
  max-width: 720px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, .74);
}

.cta-band .btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 18px 38px rgba(0, 0, 0, .18); }

.page-hero {
  padding: 104px var(--gutter) 92px;
  background: var(--surface-bright);
}

.page-hero .section-inner {
  max-width: var(--container);
}

.page-hero .section-title {
  max-width: 900px;
  font-size: clamp(4rem, 7vw, 7.4rem);
}

.demo-page .page-hero {
  padding: 82px var(--gutter) 64px;
}

.demo-page section {
  padding-block: 82px;
}

.demo-page .section-head {
  max-width: 700px;
  margin-bottom: 36px;
}

.demo-page .section-title {
  font-size: clamp(2.9rem, 4vw, 4.8rem);
}

.demo-page .section-sub {
  font-size: 1rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.demo-page .split {
  gap: 28px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.feature-list li {
  display: flex;
  gap: 10px;
}

.feature-list li::before {
  content: "check_circle";
  font-family: "Material Symbols Outlined";
  color: var(--accent);
}

.mini-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  background: var(--white);
  padding: 32px;
  box-shadow: var(--shadow);
}

.demo-page .mini-panel {
  padding: 24px;
  border-radius: 22px;
}

.mini-panel .btn-primary,
.mini-panel .btn-secondary {
  margin-top: 20px;
  width: 100%;
}

.demo-page .feature-list {
  margin-top: 20px;
}

.step-card {
  display: grid;
  gap: 14px;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

.demo-note {
  max-width: 960px;
  margin: 30px auto 0;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-container);
  color: var(--muted);
  text-align: center;
  font-size: 15px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.metric {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-low);
}

.metric span { color: var(--muted); font-size: 12px; }
.metric strong { display: block; color: var(--primary-deep); font-family: var(--font-display); font-size: 36px; line-height: 1; }

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 82px var(--gutter) 32px;
  background: var(--primary-darkest);
  color: rgba(255, 255, 255, .66);
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(120px, 1fr));
  gap: 46px;
  margin-bottom: 58px;
}

.site-footer .brand { color: var(--white); }
.site-footer .brand-mark { filter: brightness(0) invert(1); }
.footer-brand p { max-width: 330px; margin: 18px 0 26px; }

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  text-decoration: none;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-col h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: none;
}

.footer-col a {
  color: rgba(255, 255, 255, .66);
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, .34);
  font-size: 11px;
  text-transform: uppercase;
}

.legal-hero { padding-bottom: 72px; }
.legal-section { padding-top: 72px; }

.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  margin: 42px 0 12px;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.legal-content a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.legal-content a:hover { text-decoration: underline; }

.legal-updated {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--sage);
  color: var(--primary) !important;
  font-size: .8rem !important;
  font-weight: 900;
}

.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(6, 34, 18, .97);
  color: var(--white);
  box-shadow: 0 24px 70px rgba(6, 34, 18, .28);
}

.cookie-consent p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  line-height: 1.5;
}

.cookie-consent a {
  color: var(--sage-strong);
  font-weight: 800;
  text-decoration: none;
}

.cookie-consent a:hover { text-decoration: underline; }

.cookie-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.cookie-actions button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.cookie-secondary {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .82);
}

.cookie-primary {
  background: var(--accent);
  color: var(--white);
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav-left { gap: 16px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px var(--gutter) 24px;
    background: rgba(255, 249, 234, .98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 22px 40px rgba(28, 56, 38, .08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: flex; justify-content: center; padding: 8px 0; }
  .nav-links a.active::after { display: none; }
  .nav-login { display: none; }
  .hero,
  .split { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 72px; border-bottom-left-radius: 40px; border-bottom-right-radius: 40px; }
  .flow-card {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 42px 0;
  }
  .flow-arrow { transform: rotate(90deg); }
  .grid-3,
  .grid-4,
  .pricing-grid,
  .demo-grid,
  .included-grid,
  .process-grid,
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
}

@media (max-width: 640px) {
  .announcement { padding-inline: 42px; font-size: 11px; }
  .site-nav { min-height: 68px; }
  .nav-links { top: 68px; }
  .nav-actions { gap: 10px; }
  .lang-link { display: none; }
  .nav-cta { padding-inline: 14px; font-size: 13px; }
  section,
  .page-hero { padding: 68px var(--gutter); }
  .hero { gap: 42px; padding-bottom: 82px; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 4.9rem); }
  .page-hero .section-title,
  .section-title { font-size: clamp(3rem, 13vw, 4.4rem); }
  .hero-actions,
  .section-actions { flex-direction: column; align-items: stretch; }
  .btn-primary,
  .btn-secondary { width: 100%; }
  .chat-widget { animation: none; }
  .chat-body { min-height: 280px; padding: 22px; }
  .trust-inner { justify-content: flex-start; }
  .grid-3,
  .grid-4,
  .pricing-grid,
  .demo-grid,
  .compact-grid,
  .included-grid,
  .process-grid,
  .metric-grid,
  .footer-inner { grid-template-columns: 1fr; }
  .card,
  .price-card,
  .step-card,
  .mini-panel { padding: 24px; }
  .cta-band { padding: 72px var(--gutter); }
  .cta-band h2 { font-size: clamp(3.2rem, 14vw, 4.6rem); }
  .flow-node { width: 190px; height: 190px; }
  .source-list { width: 100%; }
  .price { font-size: 3.2rem; }
  .cookie-consent {
    align-items: stretch;
    flex-direction: column;
  }
  .cookie-actions { justify-content: flex-end; }
}

/* ── Auth / Sign-up page ────────────────────────────────────────────────── */

.auth-main {
  min-height: calc(100vh - 72px);
  display: flex;
}

.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.auth-hero {
  background: var(--primary-deep);
  display: flex;
  align-items: center;
  padding: clamp(48px, 10vh, 100px) clamp(32px, 6vw, 80px);
}

.auth-hero-content {
  max-width: 420px;
}

.auth-tagline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sage-strong);
  margin-bottom: 28px;
}

.auth-tagline .material-symbols-outlined {
  font-size: 16px;
}

.auth-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 4.5vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin: 0 0 32px;
}

.auth-hero-title span {
  color: var(--sage-strong);
}

.auth-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, .78);
}

.auth-trust-list .material-symbols-outlined {
  font-size: 20px;
  color: var(--sage-strong);
  flex-shrink: 0;
}

.auth-form-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 8vh, 80px) clamp(24px, 5vw, 64px);
  background: var(--surface-bright);
}

.auth-panel {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border-radius: var(--radius-panel);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.auth-panel-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin: 0 0 24px;
  line-height: 1.1;
}

.auth-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.auth-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.auth-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(61, 158, 92, .14);
}

.pw-wrap {
  position: relative;
}

.pw-wrap .auth-input {
  padding-right: 44px;
}

.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-soft);
  padding: 0;
  display: flex;
  align-items: center;
  line-height: 1;
}

.pw-strength {
  display: flex;
  gap: 4px;
  margin-top: 7px;
}

.pw-strength span {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--border);
  transition: background .2s;
}

.pw-strength span.weak   { background: #f87171; }
.pw-strength span.ok     { background: #fbbf24; }
.pw-strength span.strong { background: var(--accent); }

.pw-hint {
  font-size: 12px;
  color: var(--muted-soft);
  margin-top: 5px;
  line-height: 1.4;
}

.auth-submit {
  width: 100%;
  margin-top: 8px;
}

.auth-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.auth-success-message {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
}

.contact-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

.contact-captcha-wrap {
  min-height: 78px;
  margin: 16px 0 18px;
}

.auth-footer-text {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin: 18px 0 0;
  display: flex;
  gap: 5px;
  justify-content: center;
  flex-wrap: wrap;
}

.auth-footer-text a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.auth-footer-text a:hover { text-decoration: underline; }

.auth-terms-text {
  text-align: center;
  font-size: 12px;
  color: var(--muted-soft);
  margin: 10px 0 0;
  line-height: 1.5;
}

.auth-terms-text a {
  color: var(--muted-soft);
  text-decoration: underline;
}

.auth-confirm-icon {
  text-align: center;
  margin-bottom: 16px;
}

.auth-confirm-icon .material-symbols-outlined {
  font-size: 52px;
  color: var(--primary);
}

.auth-success-icon .material-symbols-outlined {
  color: var(--accent);
}

.auth-confirm-sub {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin: 0 0 24px;
  line-height: 1.6;
}

.otp-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.otp-input {
  width: 46px;
  height: 56px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-body);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  outline: none;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}

.otp-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(61, 158, 92, .14);
}

.auth-confirm-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
  flex-wrap: wrap;
}

.auth-link-btn {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  padding: 0;
}

.auth-link-btn:hover { text-decoration: underline; }
.auth-link-btn:disabled { opacity: .5; cursor: default; }

.auth-sep {
  color: var(--border);
  font-size: 14px;
  user-select: none;
}

@media (max-width: 860px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-hero { padding: 48px var(--gutter); }
  .auth-hero-title { font-size: clamp(2.8rem, 9vw, 4rem); }
  .auth-form-col { padding: 48px var(--gutter) 72px; }
}

@media (max-width: 480px) {
  .auth-panel { padding: 28px 20px; }
  .otp-input { width: 40px; height: 50px; font-size: 18px; }
  .auth-panel-title { font-size: 2rem; }
}
