/* ============================================================
   YATOVI / AUTOWIRE — Main Stylesheet
   ============================================================ */

/* ── 0. Google Fonts ── */
/* @import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Mono:wght@300;400;500&display=swap');
*/
/* ── 1. Custom Properties ── */
:root {
  /* Accent – yellow-green */
  --accent:         #E0F929;
  --accent-dim:     rgba(224, 249, 41, 0.15);
  --accent-border:  rgba(224, 249, 41, 0.40);

  /* Foreground/text use of accent: dark in light mode for legibility */
  --accent-fg:      #242426;

  /* Accent 2 – same yellow-green */
  --accent-2:        #E0F929;
  --accent-2-dim:    rgba(224, 249, 41, 0.15);
  --accent-2-border: rgba(224, 249, 41, 0.40);

  /* Light Mode (default) */
  --bg-0:      #FFFFFF;
  --bg-1:      #FFFFFF;
  --bg-2:      #D2D2D2;
  --bg-inv:    #242426;
  --text-0:    #242426;
  --text-1:    rgba(36, 36, 38, 0.90);
  --text-2:    rgba(36, 36, 38, 0.45);
  --text-inv:  #FFFFFF;
  --border:    #D2D2D2;
  --border-md: #D2D2D2;

  /* Shadows */
  --shadow-sm:     0 1px 3px rgba(36,36,38,0.06);
  --shadow-md:     0 4px 16px rgba(36,36,38,0.08);
  --shadow-lg:     0 16px 48px rgba(36,36,38,0.10);
  --shadow-accent:   0 0 40px rgba(224,249,41,0.25);
  --shadow-accent-2: 0 0 40px rgba(224,249,41,0.25);

  /* Typography */
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'DM Mono', 'Fira Mono', monospace;

  /* Radius */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-2xl:  28px;
  --r-full: 9999px;

  /* Spacing */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* Transitions */
  --t:      200ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --accent-fg: #E0F929;
  --bg-0:      #242426;
  --bg-1:      rgba(255, 255, 255, 0.04);
  --bg-2:      rgba(255, 255, 255, 0.09);
  --bg-inv:    #FFFFFF;
  --text-0:    #FFFFFF;
  --text-1:    rgba(255, 255, 255, 0.65);
  --text-2:    rgba(255, 255, 255, 0.40);
  --text-inv:  #242426;
  --border:    rgba(255, 255, 255, 0.15);
  --border-md: rgba(255, 255, 255, 0.25);

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.40);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.50);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.60);
}

/* ── 2. Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-0);
  color: var(--text-0);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--t-slow), color var(--t-slow);
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ── 3. Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ── 4. Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

@media (min-width: 768px)  { .container { padding: 0 var(--sp-10); } }
@media (min-width: 1280px) { .container { padding: 0 var(--sp-12); } }

.section        { padding: var(--sp-12) 0; }
.section-sm     { padding: var(--sp-8) 0; }
.section-alt    { background: var(--bg-1); }

@media (min-width: 768px) {
  .section    { padding: var(--sp-20) 0; }
  .section-sm { padding: var(--sp-10) 0; }
}

/* ── 5. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 12px 24px;
  border-radius: var(--r-full);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  transition: all var(--t);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: #242426;
}
.btn-primary:hover {
  background: #c8dc1a;
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--text-0);
  border: 1.5px solid var(--border-md);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-fg);
  background: var(--accent-dim);
}

.btn-ghost {
  background: transparent;
  color: var(--text-1);
  padding: 10px 16px;
}
.btn-ghost:hover { color: var(--text-0); background: var(--bg-1); }

.btn-lg   { padding: 15px 32px; font-size: 1rem; }
.btn-sm   { padding: 8px 16px; font-size: 0.8125rem; }
.btn-icon { padding: 10px; }
.w-full   { width: 100%; justify-content: center; }

/* ── 6. Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.badge-accent {
  background: var(--accent-dim);
  color: var(--accent-fg);
  border: 1px solid var(--accent-border);
}
.badge-neutral {
  background: var(--bg-2);
  color: var(--text-1);
  border: 1px solid var(--border);
}

/* ── 7. Cards ── */
.card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.card:hover {
  border-color: var(--border-md);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card-white { background: var(--bg-0); }

/* ── 8. Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
  background: var(--bg-0);
  border-bottom: 1px solid var(--border);
}
.nav.scrolled {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 700;
  font-size: 1.075rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text-0);
  transition: opacity var(--t);
}
.nav-logo:hover { opacity: 0.7; }
.nav-logo-mark {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #242426;
  letter-spacing: 0;
  flex-shrink: 0;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2px;
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-link {
  padding: 8px 14px;
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-1);
  transition: all var(--t);
  text-decoration: none;
}
.nav-link:hover              { color: var(--text-0); background: var(--bg-1); }
.nav-link.active             { color: var(--accent-fg); background: var(--accent); font-weight: 700; }
[data-theme="dark"] .nav-link.active { background: transparent; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.theme-toggle {
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border-md);
  background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-1);
  transition: all var(--t);
  font-size: 1rem;
}
.theme-toggle:hover { color: var(--text-0); border-color: var(--text-0); background: var(--bg-1); }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-hamburger {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border-md);
  background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-0);
  font-size: 1.1rem;
  transition: all var(--t);
}
.nav-hamburger:hover { background: var(--bg-1); }
@media (min-width: 768px) { .nav-hamburger { display: none; } }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: var(--sp-4) 0 var(--sp-6);
  border-top: 1px solid var(--border);
  background: var(--bg-0);
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { padding: 12px 16px; border-radius: var(--r-lg); font-size: 1rem; }
.nav-mobile .btn { margin-top: var(--sp-2); }

/* ── 9. Hero ── */
.hero {
  padding-top: 120px;
  padding-bottom: var(--sp-20);
  position: relative;
  overflow: hidden;
}

/* LSS photo background */
.hero-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero .hero-img-wrap {
  top: 68px; /* start below nav so image doesn't bleed into nav area */
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.45;
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  /* Fade left (solid bg behind text) → transparent right; fade bottom edge */
  background:
    linear-gradient(to right,  var(--bg-0) 10%, transparent 60%),
    linear-gradient(to top,    var(--bg-0) 0%,  transparent 28%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
  opacity: 0.6;
}
.hero-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(224,249,41,0.10) 0%, transparent 65%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-badge    { margin-bottom: var(--sp-6); }
.hero-title {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
  margin-bottom: var(--sp-6);
  max-width: 16ch;
}
.hero-title .accent { color: var(--accent-fg); }
.hero-description {
  font-size: clamp(1rem, 2.2vw, 1.175rem);
  color: var(--text-1);
  max-width: 50ch;
  line-height: 1.7;
  margin-bottom: var(--sp-10);
  text-shadow: 0 0 8px rgba(255,255,255,0.9), 0 0 20px rgba(255,255,255,0.7), 0 0 40px rgba(255,255,255,0.4);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-12);
}
.hero-social-proof p { font-size: 0.875rem; color: var(--text-2); }
.hero-social-proof strong { color: var(--text-1); }
.founder-avatars {
  display: flex;
}
.founder-avatar {
  width: 34px; height: 34px;
  border-radius: var(--r-full);
  background: var(--bg-2);
  border: 2px solid var(--bg-0);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--text-2);
  margin-left: -8px;
}
.founder-avatar:first-child { margin-left: 0; }

.hero-visual {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

/* App mockup frame */
.app-frame {
  background: var(--bg-1);
  border: 1px solid var(--border-md);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.app-frame-bar {
  background: var(--bg-2);
  padding: 12px var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  border-bottom: 1px solid var(--border);
}
.app-frame-dots { display: flex; gap: 6px; }
.app-frame-dot { width: 10px; height: 10px; border-radius: 50%; }
.app-frame-dot:nth-child(1) { background: #FF5F57; }
.app-frame-dot:nth-child(2) { background: #FFBD2E; }
.app-frame-dot:nth-child(3) { background: #28C840; }
.app-frame-title {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-2);
  font-family: var(--font-mono);
}
.app-frame-content {
  aspect-ratio: 16/7;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-10);
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
}
.app-frame-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}
.app-frame-placeholder .ti {
  font-size: 3.5rem;
  color: var(--accent-fg);
  opacity: 0.6;
}
.app-frame-placeholder p {
  font-size: 0.875rem;
  color: var(--text-2);
  font-family: var(--font-mono);
}

/* floating badges on mockup */
.mockup-badge {
  position: absolute;
  background: var(--bg-0);
  border: 1px solid var(--border-md);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-4);
  box-shadow: var(--shadow-md);
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  white-space: nowrap;
}
.mockup-badge .ti { color: var(--accent-fg); font-size: 1rem; }
.mockup-badge-1 { top: -16px; right: 48px; }
.mockup-badge-2 { bottom: -16px; left: 48px; }

/* ── 10. Stats Strip ── */
.stats-strip {
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  padding: var(--sp-4) var(--sp-8);
  text-align: center;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.00;
  font-family: var(--font-sans);
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  color: #242426;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 88' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='b' x='-8%25' y='-1%25' width='116%25' height='102%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.001 0.04' numOctaves='3' seed='11' result='ns'/%3E%3CfeColorMatrix in='ns' type='matrix' values='1 0 0 0 0 0 0 0 0 0.5 0 0 1 0 0 0 0 0 1 0' result='nx'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='nx' scale='12' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='10' y='10' width='380' height='68' fill='%23e0f929' filter='url(%23b)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0.1em 0.3em 0.1em 0.2em;
  border-radius: 0;
}
.stat-item:nth-child(2) .stat-number {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 88' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='b' x='-8%25' y='-1%25' width='116%25' height='102%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.001 0.04' numOctaves='3' seed='37' result='ns'/%3E%3CfeColorMatrix in='ns' type='matrix' values='1 0 0 0 0 0 0 0 0 0.5 0 0 1 0 0 0 0 0 1 0' result='nx'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='nx' scale='12' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='10' y='10' width='380' height='68' fill='%23e0f929' filter='url(%23b)'/%3E%3C/svg%3E");
}
.stat-item:nth-child(3) .stat-number {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 88' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='b' x='-8%25' y='-1%25' width='116%25' height='102%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.001 0.04' numOctaves='3' seed='53' result='ns'/%3E%3CfeColorMatrix in='ns' type='matrix' values='1 0 0 0 0 0 0 0 0 0.5 0 0 1 0 0 0 0 0 1 0' result='nx'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='nx' scale='12' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='10' y='10' width='380' height='68' fill='%23e0f929' filter='url(%23b)'/%3E%3C/svg%3E");
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-1);
  margin-top: var(--sp-2);
  font-weight: 500;
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: var(--sp-6) 0; }
  .stat-item:last-child { border-bottom: none; }
}

/* ── 11. Section header ── */
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #242426;
  background: var(--accent);
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.section-tag::before {
  content: '';
  display: block;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  flex-shrink: 0;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: var(--sp-5);
}
.section-desc {
  font-size: clamp(0.9375rem, 2vw, 1.075rem);
  color: var(--text-1);
  max-width: 52ch;
  line-height: 1.7;
}

/* ── 12. Feature Grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
}
.feature-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.feature-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}
.feature-card.blue:hover {
  border-color: var(--accent-2-border);
  box-shadow: var(--shadow-accent-2);
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--bg-inv);
  border: none;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: var(--sp-5);
}
[data-theme="dark"] .feature-icon {
  background: var(--accent);
  color: #242426;
}
/* Blue variant for feature icons, badges, cards */
.feature-icon-blue {
  background: var(--bg-inv);
  border: none;
  color: var(--accent);
}
[data-theme="dark"] .feature-icon-blue {
  background: var(--accent);
  color: #242426;
}
.badge-blue {
  background: var(--accent-2-dim);
  color: var(--accent-fg);
  border: 1px solid var(--accent-2-border);
}
.accent-2 { color: var(--accent-fg); }
.bg-accent-2-dim {
  background: var(--bg-inv);
  border: none;
  color: var(--accent);
}
[data-theme="dark"] .bg-accent-2-dim {
  background: var(--accent);
  color: #242426;
}

.feature-title {
  font-size: 1.075rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--text-1);
  line-height: 1.65;
}

/* ── 13. Problem / Solution ── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 680px) { .problem-grid { grid-template-columns: 1fr 1fr; } }

.problem-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}
.ps-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-full);
  display: inline-block;
  margin-bottom: var(--sp-6);
}
.label-before { background: rgba(255,80,80,0.1); color: #ff5050; border: 1px solid rgba(255,80,80,0.2); }
.label-after  { background: var(--accent-dim); color: var(--accent-fg); border: 1px solid var(--accent-border); }

.ps-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.ps-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.9375rem;
  color: var(--text-1);
  line-height: 1.5;
}
.ps-item i { font-size: 0.95rem; flex-shrink: 0; margin-top: 3px; }
.ps-item .ti-circle-x { color: #ff5050; }
.ps-item .ti-circle-check { color: var(--accent-fg); }

/* ── 14. How it works (steps) ── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

.step-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.step-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}
.step-bg-num {
  position: absolute;
  bottom: -8px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 5.5rem;
  font-weight: 700;
  color: var(--border-md);
  line-height: 1;
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
}
.step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #242426;
  font-family: var(--font-mono);
  margin-bottom: var(--sp-5);
}
.step-icon {
  font-size: 1.75rem;
  color: var(--text-2);
  margin-bottom: var(--sp-4);
  display: block;
}
.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 0.9125rem;
  color: var(--text-1);
  line-height: 1.65;
}

/* ── 15. CTA Band ── */
.cta-band {
  background: var(--accent);
  padding: var(--sp-12) 0;
}
.cta-band .section-tag   { background: rgba(36,36,38,0.12); color: #242426; }
.cta-band .section-title { color: #242426; margin-bottom: var(--sp-3); }
.cta-band .section-desc  { color: rgba(36,36,38,0.65); max-width: 46ch; }
.cta-band .cta-inner     { display: flex; flex-direction: column; gap: var(--sp-6); }
@media (min-width: 768px) {
  .cta-band .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.cta-band .btn-cta {
  background: #242426;
  color: var(--accent);
  border-radius: var(--r-full);
  padding: 15px 32px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
}
.cta-band .btn-cta:hover { background: #242426; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.cta-soft {
  text-align: center;
  padding: var(--sp-20) 0;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-soft .section-title { margin-bottom: var(--sp-4); }
.cta-soft .section-desc  { margin: 0 auto var(--sp-10); }
.cta-soft .btn-row { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

/* ── 16. Footer ── */
.footer {
  padding: var(--sp-16) 0 var(--sp-10);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-8); }
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-1);
  margin-top: var(--sp-4);
  max-width: 26ch;
  line-height: 1.6;
}
.footer-col-title {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: var(--sp-4);
}
.footer-links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-link {
  font-size: 0.9rem;
  color: var(--text-1);
  transition: color var(--t);
}
.footer-link:hover { color: var(--text-0); }
.footer-bottom {
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-copy { font-size: 0.8125rem; color: var(--text-2); }
.footer-legal { display: flex; gap: var(--sp-5); }
.footer-legal a { font-size: 0.8125rem; color: var(--text-2); transition: color var(--t); }
.footer-legal a:hover { color: var(--text-1); }

/* ── 17. Page Header (inner pages) ── */
.page-hero {
  padding-top: 120px;
  padding-bottom: var(--sp-16);
}
.page-hero-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #242426;
  background: var(--accent);
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.page-hero-tag::before {
  content: '';
  display: block;
  width: 14px;
  height: 1.5px;
  background: currentColor;
}
.page-hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--sp-5);
}
.page-hero-desc {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--text-1);
  max-width: 52ch;
  line-height: 1.7;
  text-shadow: 0 0 8px rgba(255,255,255,0.9), 0 0 20px rgba(255,255,255,0.7), 0 0 40px rgba(255,255,255,0.4);
}

/* ── autowire hero wordmark ── */
.aw-hero-wordmark {
  font-size: clamp(4.5rem, 12vw, 9rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin-bottom: var(--sp-6);
  user-select: none;
}
.aw-word-auto {
  color: var(--text-0);
	padding: 0 0.08em 0 0;
}
.aw-word-wire {
  color: #242426;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 88' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='b' x='-8%25' y='-1%25' width='116%25' height='102%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.001 0.025' numOctaves='3' seed='61' result='ns'/%3E%3CfeColorMatrix in='ns' type='matrix' values='1 0 0 0 0 0 0 0 0 0.5 0 0 1 0 0 0 0 0 1 0' result='nx'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='nx' scale='12' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='10' y='10' width='380' height='68' fill='%23e0f929' filter='url(%23b)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0.05em 0.1em 0.05em 0.07em;
  margin-left: -0.07em;
  border-radius: 0;
  line-height: 1;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ── 18. Autowire Workflow ── */
.workflow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 768px) { .workflow-grid { grid-template-columns: repeat(3, 1fr); } }

.workflow-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.workflow-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}
.workflow-card-num {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--border);
  letter-spacing: -0.06em;
  pointer-events: none;
}
.workflow-card-icon {
  width: 40px; height: 40px;
  background: var(--bg-inv);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: var(--sp-4);
  flex-shrink: 0;
}
[data-theme="dark"] .workflow-card-icon {
  background: var(--accent);
  color: #242426;
}
.workflow-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.workflow-card-desc {
  font-size: 0.875rem;
  color: var(--text-1);
  line-height: 1.65;
}

/* ── 19. Benefits ── */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 600px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }

.benefit-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.benefit-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}
.benefit-icon {
  width: 40px; height: 40px;
  background: var(--bg-inv);
  border: none;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: var(--sp-4);
}
[data-theme="dark"] .benefit-icon {
  background: var(--accent);
  color: #242426;
}
.benefit-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.benefit-desc {
  font-size: 0.875rem;
  color: var(--text-1);
  line-height: 1.65;
}

/* ── 20. Tech Grid ── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-4);
}
.tech-item {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.tech-item:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}
.tech-item i {
  width: 40px; height: 40px;
  background: var(--bg-inv);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: var(--sp-4);
}
[data-theme="dark"] .tech-item i {
  background: var(--accent);
  color: #242426;
}
.tech-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: var(--sp-2); }
.tech-item p  { font-size: 0.875rem; color: var(--text-1); line-height: 1.65; }
.benefit-icon.blue {
  background: var(--bg-inv);
  border: none;
  color: var(--accent);
}
[data-theme="dark"] .benefit-icon.blue {
  background: var(--accent);
  color: #242426;
}
.step-num-badge.blue { background: var(--accent-2); }
.stat-number-blue { color: var(--accent-fg); }
[data-theme="dark"] .stat-number-blue { color: #242426; }

/* ── 21. Contact ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}
@media (min-width: 900px) { .contact-layout { grid-template-columns: 3fr 2fr; } }

.form-group { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.form-row   { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-label { font-size: 0.875rem; font-weight: 600; }
.form-required { color: var(--accent-fg); }

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-1);
  border: 1.5px solid var(--border-md);
  border-radius: var(--r-lg);
  font-size: 0.9375rem;
  color: var(--text-0);
  font-family: var(--font-sans);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-2); }
.form-textarea { resize: vertical; min-height: 140px; }

.form-input.is-invalid,
.form-textarea.is-invalid,
.form-select.is-invalid {
  border-color: #ff5050;
  box-shadow: 0 0 0 3px rgba(255, 80, 80, 0.15);
}
.form-input.is-invalid:focus,
.form-textarea.is-invalid:focus,
.form-select.is-invalid:focus {
  border-color: #ff5050;
  box-shadow: 0 0 0 3px rgba(255, 80, 80, 0.2);
}

.form-hint   { font-size: 0.8rem; color: var(--text-2); margin-top: 4px; }

.form-checkbox {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  cursor: pointer;
  margin-bottom: var(--sp-5);
  width: fit-content;
}
.form-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.form-checkbox-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-md);
  border-radius: 5px;
  background: var(--bg-1);
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-checkbox-box::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #242426;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0;
  transition: opacity var(--t);
}
.form-checkbox input[type="checkbox"]:checked + .form-checkbox-box {
  background: var(--accent);
  border-color: var(--accent);
}
.form-checkbox input[type="checkbox"]:checked + .form-checkbox-box::after {
  opacity: 1;
}
.form-checkbox input[type="checkbox"]:focus-visible + .form-checkbox-box {
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-checkbox-label {
  font-size: 0.875rem;
  color: var(--text-1);
  line-height: 1.4;
  user-select: none;
}
.form-status {
  display: none;
  padding: 12px 16px;
  border-radius: var(--r-lg);
  font-size: 0.9rem;
  margin-top: var(--sp-3);
  align-items: center;
  gap: var(--sp-2);
}
.form-status.success { display: flex; background: var(--accent-dim); border: 1px solid var(--accent-border); color: var(--accent-fg); }
.form-status.error   { display: flex; background: rgba(255,80,80,0.1); border: 1px solid rgba(255,80,80,0.2); color: #ff5050; }

.contact-info-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  height: fit-content;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:first-child { padding-top: 0; }
.contact-info-item:last-child  { border-bottom: none; padding-bottom: 0; }
.contact-info-icon {
  width: 38px; height: 38px;
  background: var(--bg-inv);
  border: none;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.05rem;
  flex-shrink: 0;
}
[data-theme="dark"] .contact-info-icon {
  background: var(--accent);
  color: #242426;
}
.contact-info-label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-2); margin-bottom: 4px; }
.contact-info-value { font-size: 0.9375rem; color: var(--text-0); line-height: 1.5; }

/* ── 22. Legal pages ── */
.legal-content { max-width: 720px; }
.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-3);
}
.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-2);
  color: var(--text-1);
}
.legal-content p, .legal-content li {
  font-size: 0.9375rem;
  color: var(--text-1);
  line-height: 1.75;
  margin-bottom: var(--sp-4);
}
.legal-content ul   { list-style: disc; padding-left: var(--sp-6); margin-bottom: var(--sp-4); }
.legal-content a    { color: var(--accent-fg); text-decoration: underline; }
.legal-content hr   { border: none; border-top: 1px solid var(--border); margin: var(--sp-10) 0; }
.legal-lang-toggle  {
  display: inline-flex;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 3px;
  gap: 2px;
  margin-bottom: var(--sp-8);
}
.lang-btn {
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-1);
  transition: all var(--t);
}
.lang-btn.active { background: var(--accent); color: #242426; }

/* ── 23. Scroll Progress ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 200;
  width: 0%;
  transition: width 0.1s linear;
}

/* ── 24. Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Elements that animate in on scroll */
.anim {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.anim.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger delays */
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }
.d6 { transition-delay: 0.48s; }

/* Hero immediate animation */
.hero-anim {
  animation: fadeInUp 0.75s ease forwards;
  opacity: 0;
}
.ha1 { animation-delay: 0.05s; }
.ha2 { animation-delay: 0.18s; }
.ha3 { animation-delay: 0.30s; }
.ha4 { animation-delay: 0.42s; }
.ha5 { animation-delay: 0.55s; }
.ha6 { animation-delay: 0.70s; }

/* ── 25. Utilities ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.highlight {
  color: #242426;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0.08em 0.3em 0.08em 0.12em;
  margin-left: -0.12em;
  border-radius: 0;
  line-height: 1.25;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* Only seed varies per instance — straight top/bottom from zeroed G channel, stroky left/right from x-only displacement */
.highlight[data-hl="1"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 88' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='b' x='-8%25' y='-1%25' width='116%25' height='102%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.001 0.04' numOctaves='3' seed='17' result='ns'/%3E%3CfeColorMatrix in='ns' type='matrix' values='1 0 0 0 0 0 0 0 0 0.5 0 0 1 0 0 0 0 0 1 0' result='nx'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='nx' scale='12' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='10' y='10' width='380' height='68' fill='%23e0f929' filter='url(%23b)'/%3E%3C/svg%3E");
}
.highlight[data-hl="2"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 88' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='b' x='-8%25' y='-1%25' width='116%25' height='102%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.001 0.04' numOctaves='3' seed='29' result='ns'/%3E%3CfeColorMatrix in='ns' type='matrix' values='1 0 0 0 0 0 0 0 0 0.5 0 0 1 0 0 0 0 0 1 0' result='nx'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='nx' scale='12' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='10' y='10' width='380' height='68' fill='%23e0f929' filter='url(%23b)'/%3E%3C/svg%3E");
  padding-left: 0.28em;
  margin-left: -0.28em;
}
.highlight[data-hl="3"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 88' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='b' x='-8%25' y='-1%25' width='116%25' height='102%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.001 0.04' numOctaves='3' seed='7' result='ns'/%3E%3CfeColorMatrix in='ns' type='matrix' values='1 0 0 0 0 0 0 0 0 0.5 0 0 1 0 0 0 0 0 1 0' result='nx'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='nx' scale='12' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='10' y='10' width='380' height='68' fill='%23e0f929' filter='url(%23b)'/%3E%3C/svg%3E");
  padding-left: 0.25em;
  margin-left: -0.25em;
}
.highlight[data-hl="4"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 88' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='b' x='-8%25' y='-1%25' width='116%25' height='102%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.001 0.04' numOctaves='3' seed='43' result='ns'/%3E%3CfeColorMatrix in='ns' type='matrix' values='1 0 0 0 0 0 0 0 0 0.5 0 0 1 0 0 0 0 0 1 0' result='nx'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='nx' scale='12' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='10' y='10' width='380' height='68' fill='%23e0f929' filter='url(%23b)'/%3E%3C/svg%3E");
  padding-left: 0.38em;
  margin-left: -0.38em;
}
[data-theme="dark"] .hero-description,
[data-theme="dark"] .page-hero-desc {
  text-shadow: none;
}
.mono { font-family: var(--font-mono); }
.divider { border: none; border-top: 1px solid var(--border); }
.mb-2  { margin-bottom: var(--sp-2); }
.mb-3  { margin-bottom: var(--sp-3); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }
.mb-10 { margin-bottom: var(--sp-10); }
.mb-12 { margin-bottom: var(--sp-12); }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mt-10 { margin-top: var(--sp-10); }

@media (max-width: 767px)  { .hide-mobile  { display: none !important; } }
@media (min-width: 768px)  { .hide-desktop { display: none !important; } }

/* Smooth theme transition */
html.theme-transitioning * {
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease !important;
}

/* ── 30. Device Mockup Frames (Tablet / Phone) ── */

/* Uniform-size wrapper for the 3 workflow step phones */
.workflow-mockup {
  margin-top: auto;
  padding-top: var(--sp-6);
  width: 200px;
  height: 390px;
  margin-left: auto;
  margin-right: auto;
}
.workflow-mockup .device-frame {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.workflow-mockup .device-screen {
  flex: 1;
  min-height: 0;
}
.workflow-mockup .device-body {
  overflow: hidden;
}

/* Camera view for step 1 */
.device-camera-view {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #000;
}
.device-camera-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.9;
}
.device-camera-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
/* Corner focus brackets */
.device-camera-overlay::before,
.device-camera-overlay::after {
  content: '';
  position: absolute;
  width: 44px;
  height: 44px;
  border-color: rgba(255,255,255,0.85);
  border-style: solid;
}
.device-camera-overlay::before {
  top: 14px; left: 14px;
  border-width: 2px 0 0 2px;
}
.device-camera-overlay::after {
  bottom: 14px; right: 14px;
  border-width: 0 2px 2px 0;
}
.device-camera-shutter {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
}
.device-camera-shutter::after {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
}

.device-frame {
  background: #1C1C1E;
  border-radius: 30px;
  padding: 9px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07),
    inset 0 1px 0 rgba(255,255,255,0.05),
    var(--shadow-lg);
  position: relative;
}

.device-screen {
  background: var(--bg-1);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.device-statusbar {
  height: 28px;
  background: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}
.device-status-time {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-0);
}
.device-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--text-0);
}

.device-appbar {
  height: 42px;
  background: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.device-appbar-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-0);
  letter-spacing: -0.01em;
}
.device-appbar i { font-size: 1.05rem; color: var(--text-2); }

.device-body {
  flex: 1;
  background: var(--bg-1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.device-tabbar {
  height: 52px;
  background: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  padding-bottom: 2px;
}
.device-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-2);
  font-size: 1.1rem;
  flex: 1;
}
.device-tab.active { color: var(--accent); }
.device-tab span {
  font-size: 0.57rem;
  font-family: var(--font-mono);
  font-weight: 500;
}

.device-homebar {
  height: 22px;
  background: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.device-homepill {
  width: 88px;
  height: 3px;
  background: var(--text-2);
  border-radius: 2px;
  opacity: 0.35;
}

/* Split view (hero landscape) */
.device-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}
.device-panel {
  background: var(--bg-2);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 12px;
  text-align: center;
  min-height: 170px;
}
.device-panel i { font-size: 2rem; color: var(--accent); opacity: 0.55; }
.device-panel-label {
  font-size: 0.68rem;
  color: var(--text-2);
  font-family: var(--font-mono);
  line-height: 1.4;
}
.device-panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-full);
  font-size: 0.61rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
}

/* Single-panel content (workflow steps) */
.device-content-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  text-align: center;
  padding: var(--sp-5);
  width: 100%;
  min-height: 180px;
}
.device-content-center i { font-size: 2.25rem; color: var(--accent); opacity: 0.55; }
.device-content-center p {
  font-size: 0.68rem;
  color: var(--text-2);
  font-family: var(--font-mono);
  line-height: 1.4;
}

/* Component list mockup (step 2) */
.device-comp-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.device-comp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.68rem;
  color: var(--text-1);
  font-family: var(--font-mono);
}
.device-comp-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Export button mockup (step 3) */
.device-export-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  align-self: stretch;
  background: var(--accent);
  color: #242426;
  border-radius: var(--r-full);
  padding: 9px 12px;
  font-size: 0.70rem;
  font-weight: 700;
  font-family: var(--font-sans);
  margin-top: 4px;
  white-space: nowrap;
}

/* SLD viewer mockup (step 3) */
.device-body-sld {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
}
.device-sld-view {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.device-sld-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% 28%;
}
.device-sld-toolbar {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.device-sld-tool {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: #242426;
}
.device-sld-tool.accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Floating notification on device */
.device-notif {
  position: absolute;
  background: var(--bg-0);
  border: 1px solid var(--border-md);
  border-radius: 12px;
  padding: 7px 14px;
  box-shadow: var(--shadow-md);
  font-size: 0.775rem;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  z-index: 2;
  font-weight: 500;
}
.device-notif i { color: var(--accent); font-size: 0.9rem; }
.device-notif-top    { top: -14px; right: 36px; }
.device-notif-bottom { bottom: -14px; left: 36px; }

/* ── 31. About / Products responsive (index page) ── */
@media (max-width: 768px) {
  .products-grid-responsive {
    grid-template-columns: 1fr !important;
  }
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: var(--sp-10) !important;
  }
}

/* ── 32. GDPR Font Consent Banner ── */
#font-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: var(--sp-4) var(--sp-4);
  background: #1c1c1e;
  border-top: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.40);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
#font-consent-banner.consent-banner--visible {
  transform: translateY(0);
}
.consent-banner__body {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.consent-banner__text {
  flex: 1;
  min-width: 200px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
.consent-banner__text strong {
  color: #fff;
  font-weight: 600;
}
.consent-banner__link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.consent-banner__link:hover {
  color: #fff;
}
.consent-banner__actions {
  display: flex;
  gap: var(--sp-2);
  flex-shrink: 0;
}
.consent-banner__btn {
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}
.consent-banner__btn--secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.70);
}
.consent-banner__btn--secondary:hover {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.consent-banner__btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #242426;
}
.consent-banner__btn--primary:hover {
  background: #f0ff40;
  border-color: #f0ff40;
}
@media (max-width: 600px) {
  .consent-banner__body {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
  }
  .consent-banner__actions {
    width: 100%;
  }
  .consent-banner__btn {
    flex: 1;
    text-align: center;
  }
}
