@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* Vazir v30.1.0, served locally; see ../fonts/vazir/LICENSE. */
@font-face {
  font-family: 'Vazir';
  src: url('../fonts/vazir/Vazir-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Vazir';
  src: url('../fonts/vazir/Vazir-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Vazir';
  src: url('../fonts/vazir/Vazir-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Vazir';
  src: url('../fonts/vazir/Vazir-Black.woff2') format('woff2');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --ink: #091a38;
  --navy: #0d2550;
  --blue: #1769ff;
  --blue-dark: #0d50d7;
  --blue-pale: #eef5ff;
  --blue-wash: #f7faff;
  --muted: #687791;
  --line: #e4eaf3;
  --white: #fff;
  --teal: #35b6a2;
  --display: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --body: 'DM Sans', 'Segoe UI', sans-serif;
  --shadow: 0 20px 60px rgba(27, 70, 145, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }

.container { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 25px rgba(18, 46, 89, 0.05);
}

.header-inner { display: flex; align-items: center; min-height: 80px; gap: 42px; }

.brand, .footer-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }

.brand-mark {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 11px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 15px rgba(23, 105, 255, 0.2);
}

.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { color: var(--navy); font-family: var(--display); font-size: 15px; letter-spacing: -0.03em; }
.brand-copy small { margin-top: 5px; color: #8c99ad; font-size: 9px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 26px; margin-inline-start: auto; }
.site-nav a { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; transition: color 180ms ease; }
.site-nav a:hover { color: var(--blue); }

.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.header-cta { padding: 11px 15px; color: var(--navy); background: var(--blue-pale); }
.header-cta:hover, .button:hover { transform: translateY(-2px); }
.header-cta span, .button span { font-size: 17px; font-weight: 400; line-height: 1; }

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
}

.menu-toggle span:not(.sr-only) { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--navy); border-radius: 3px; }

.hero-section {
  position: relative;
  min-height: 710px;
  padding: 173px 0 105px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #f9fbff 54%, #f1f6ff 100%);
}

.hero-grid-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  opacity: 0.42;
  background-image: linear-gradient(rgba(23, 105, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 105, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, #000 35%);
}

.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero-orb-one { top: 94px; right: 13%; width: 470px; height: 470px; border: 1px solid rgba(23, 105, 255, 0.12); animation: rotate-orb 26s linear infinite; }
.hero-orb-two { top: 174px; right: 19%; width: 305px; height: 305px; border: 1px solid rgba(53, 182, 162, 0.18); animation: rotate-orb 19s linear infinite reverse; }

.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.96fr) minmax(450px, 1.04fr); align-items: center; gap: 58px; }

.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 21px; color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: 0.17em; line-height: 1.3; text-transform: uppercase; }
.eyebrow-mark { width: 7px; height: 7px; border: 2px solid var(--blue); border-radius: 50%; box-shadow: 0 0 0 4px rgba(23, 105, 255, 0.1); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); font-family: var(--display); }

h1 { max-width: 625px; margin-bottom: 23px; font-size: clamp(43px, 5vw, 68px); font-weight: 700; letter-spacing: -0.075em; line-height: 1.07; }
h1 span, h2 span { color: var(--blue); }

.hero-lead { max-width: 515px; margin-bottom: 31px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; }
.button { min-height: 47px; padding: 0 18px; }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 11px 24px rgba(23, 105, 255, 0.2); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 14px 29px rgba(23, 105, 255, 0.28); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-size: 12px; font-weight: 700; text-decoration: none; }
.text-link span { color: var(--blue); font-size: 17px; transition: transform 180ms ease; }
.text-link:hover span { transform: translateY(3px); }

.hero-metrics { display: flex; align-items: center; gap: 22px; margin-top: 58px; }
.metric { display: flex; flex-direction: column; gap: 1px; }
.metric strong { color: var(--navy); font-family: var(--display); font-size: 18px; letter-spacing: -0.06em; }
.metric span { color: #8996aa; font-size: 10px; white-space: nowrap; }
.metric-divider { width: 1px; height: 29px; background: #d9e1ec; }

.hero-showcase { position: relative; min-height: 434px; }
.showcase-ring { position: absolute; border: 1px solid rgba(23, 105, 255, 0.14); border-radius: 50%; transform: rotate(-25deg); }
.ring-large { top: 37px; right: 1px; width: 500px; height: 330px; animation: ring-drift 8s ease-in-out infinite; }
.ring-small { top: 86px; right: 57px; width: 375px; height: 235px; border-color: rgba(53, 182, 162, 0.18); transform: rotate(28deg); animation: ring-drift 8s 1s ease-in-out infinite reverse; }

.showcase-card { position: absolute; z-index: 2; top: 42px; right: 42px; width: min(100% - 42px, 420px); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.88); border-radius: 15px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 28px 65px rgba(29, 71, 139, 0.17); transform: rotate(3deg); animation: card-float 6s ease-in-out infinite; backdrop-filter: blur(15px); }
.showcase-topbar { display: grid; grid-template-columns: 56px 1fr 20px; align-items: center; height: 38px; padding: 0 14px; border-bottom: 1px solid #edf1f7; color: #97a4b8; font-size: 8px; }
.window-dots { display: flex; gap: 4px; }
.window-dots i { width: 5px; height: 5px; border-radius: 50%; background: #d7e0ec; }
.window-dots i:first-child { background: #94bcff; }
.showcase-topbar > span { text-align: center; letter-spacing: 0.02em; }
.showcase-topbar b { font-size: 12px; font-weight: 700; text-align: right; }
.showcase-content { display: flex; min-height: 355px; }
.showcase-sidebar { display: flex; width: 54px; flex-direction: column; align-items: center; padding: 17px 0 13px; border-right: 1px solid #edf1f7; background: #fbfcff; }
.sidebar-logo { display: grid; width: 24px; height: 24px; place-items: center; margin-bottom: 39px; color: var(--white); background: var(--blue); border-radius: 7px; font-family: var(--display); font-size: 12px; font-weight: 800; }
.sidebar-line { width: 15px; height: 15px; margin-bottom: 19px; border: 1px solid #bdc9da; border-radius: 5px; }
.sidebar-line.active { border-color: transparent; background: #dce9ff; box-shadow: inset 0 0 0 4px #f4f8ff; }
.sidebar-avatar { display: grid; width: 21px; height: 21px; place-items: center; margin-top: auto; color: #5574a6; background: #e9f0fb; border-radius: 50%; font-size: 8px; font-weight: 700; }
.showcase-main { flex: 1; padding: 28px 24px 19px; }
.showcase-heading { display: flex; flex-direction: column; margin-bottom: 25px; }
.showcase-heading span { color: #8b98aa; font-size: 9px; }
.showcase-heading strong { margin-top: 3px; color: var(--navy); font-family: var(--display); font-size: 16px; letter-spacing: -0.05em; }
.showcase-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 10px; }
.showcase-stats div { padding: 13px; border: 1px solid #edf1f7; border-radius: 8px; }
.showcase-stats small, .showcase-stats strong { display: block; }
.showcase-stats small { color: #9aa6b7; font-size: 8px; }
.showcase-stats strong { margin-top: 4px; color: var(--navy); font-family: var(--display); font-size: 17px; letter-spacing: -0.06em; }
.showcase-chart { padding: 14px 13px 9px; border-radius: 8px; background: var(--blue-pale); }
.chart-head, .chart-days { display: flex; justify-content: space-between; }
.chart-head { margin-bottom: 15px; color: var(--navy); font-size: 9px; font-weight: 700; }
.chart-head small { color: #8c9bb0; font-size: 7px; font-weight: 500; }
.chart-bars { display: flex; align-items: end; justify-content: space-between; height: 70px; padding: 0 5px; border-bottom: 1px solid #d7e4f9; }
.chart-bars i { width: 17px; min-height: 9px; border-radius: 4px 4px 0 0; background: #91b7ff; animation: bar-pulse 3.5s ease-in-out infinite; }
.chart-bars i:nth-child(2n) { background: #5d96ff; animation-delay: 250ms; }
.chart-bars i:last-child { background: var(--blue); animation-delay: 500ms; }
.chart-days { padding: 6px 4px 0; color: #91a2ba; font-size: 7px; }
.showcase-task { display: flex; align-items: center; gap: 9px; margin-top: 11px; padding: 11px 12px; border: 1px solid #edf1f7; border-radius: 8px; }
.task-check { display: grid; width: 20px; height: 20px; flex-shrink: 0; place-items: center; color: var(--white); background: var(--teal); border-radius: 6px; font-size: 10px; }
.showcase-task b, .showcase-task small { display: block; line-height: 1.3; }
.showcase-task b { color: var(--navy); font-size: 9px; }
.showcase-task small { margin-top: 2px; color: #9ba7b8; font-size: 7px; }
.showcase-task em { margin-left: auto; color: #9ba7b8; font-size: 8px; font-style: normal; }

.showcase-badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 10px 13px 10px 10px; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 11px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 15px 35px rgba(24, 62, 122, 0.13); backdrop-filter: blur(13px); }
.badge-top { top: 5px; left: 4px; }
.badge-bottom { right: 0; bottom: 17px; }
.badge-icon, .badge-pulse { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 8px; }
.badge-icon { color: var(--blue); background: #eaf1ff; font-size: 17px; }
.badge-pulse { position: relative; background: #e4f7f3; }
.badge-pulse::after { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(53, 182, 162, 0.13); content: ''; }
.showcase-badge b, .showcase-badge small { display: block; line-height: 1.35; }
.showcase-badge b { color: var(--navy); font-size: 9px; }
.showcase-badge small { margin-top: 2px; color: #929fb2; font-size: 8px; }

.principles-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.principles-inner { display: flex; align-items: center; justify-content: space-between; min-height: 69px; color: #8794a9; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.principles-inner i { width: 4px; height: 4px; background: #b7c9e5; border-radius: 50%; }

.products-section { padding: 120px 0 128px; background: var(--white); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 52px; }
.section-heading .eyebrow { margin-bottom: 15px; }
h2 { margin-bottom: 0; font-size: clamp(32px, 4vw, 48px); font-weight: 700; letter-spacing: -0.075em; line-height: 1.1; }
.section-lead { max-width: 385px; margin-bottom: 3px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.product-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.product-search { display: flex; align-items: center; width: min(100%, 310px); height: 43px; padding: 0 10px 0 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); transition: border-color 180ms ease, box-shadow 180ms ease; }
.product-search:focus-within { border-color: #9ebfff; box-shadow: 0 0 0 4px rgba(23, 105, 255, 0.09); }
.product-search-icon { margin-right: 9px; color: #9aa8bb; font-size: 19px; line-height: 1; transform: rotate(-20deg); }
.product-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.product-search input::placeholder { color: #9aa8b9; }
.product-search kbd { padding: 1px 5px; border: 1px solid var(--line); border-radius: 4px; color: #9aa8b9; background: #f8fafc; font-family: var(--body); font-size: 10px; }
.product-results { color: #8c99ac; font-size: 11px; font-weight: 600; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }

.product-card { display: flex; min-height: 255px; flex-direction: column; padding: 20px 20px 19px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); text-decoration: none; transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease; }
.product-card:hover { border-color: #bcd2fb; box-shadow: var(--shadow); transform: translateY(-6px); }
.product-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; }
.product-icon { display: grid; width: 38px; height: 38px; flex-shrink: 0; place-items: center; border-radius: 10px; color: var(--white); font-family: var(--display); font-size: 10px; font-weight: 800; letter-spacing: 0.02em; }
.icon-coral { background: #e47570; }.icon-blue { background: #4784ef; }.icon-gold { background: #e3a331; }.icon-purple { background: #886ee8; }.icon-green { background: #35a58f; }.icon-ink { background: var(--navy); }
.product-category { color: #99a5b5; font-size: 9px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.product-arrow { margin-left: auto; color: #abb6c6; font-size: 18px; line-height: 1; transition: color 180ms ease, transform 180ms ease; }
.product-card:hover .product-arrow { color: var(--blue); transform: translate(2px, -2px); }
.product-card h3 { margin-bottom: 7px; color: var(--navy); font-size: 15px; letter-spacing: -0.045em; }
.product-card p { margin-bottom: 18px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.product-link { display: flex; align-items: center; gap: 8px; margin-top: auto; color: var(--blue); font-size: 10px; font-weight: 700; }
.product-link span { font-size: 15px; font-weight: 400; transition: transform 180ms ease; }
.product-card:hover .product-link span { transform: translateX(3px); }
.product-card[hidden] { display: none; }
.product-empty { padding: 62px 20px; border: 1px dashed #cbd9ec; border-radius: 15px; text-align: center; }
.product-empty[hidden] { display: none; }
.empty-mark { display: inline-grid; width: 40px; height: 40px; place-items: center; margin-bottom: 13px; border-radius: 50%; color: var(--blue); background: var(--blue-pale); font-family: var(--display); font-weight: 700; }
.product-empty h3 { margin-bottom: 5px; font-size: 17px; letter-spacing: -0.04em; }
.product-empty p { margin-bottom: 0; color: var(--muted); font-size: 12px; }

.capabilities-section { padding: 118px 0 124px; background: var(--blue-wash); }
.compact-heading { margin-bottom: 51px; }
.capabilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.capability-card { position: relative; min-height: 245px; padding: 26px 25px; overflow: hidden; border: 1px solid #dfe8f5; border-radius: 15px; background: var(--white); }
.capability-number { display: inline-block; margin-bottom: 49px; color: var(--blue); font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }
.capability-card h3 { margin-bottom: 9px; color: var(--navy); font-size: 17px; letter-spacing: -0.04em; }
.capability-card p { max-width: 270px; margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.capability-line { position: absolute; right: 25px; bottom: 26px; left: 25px; height: 1px; background: linear-gradient(90deg, #c8daf8, transparent); }
.capability-line::after { position: absolute; top: -2px; left: 0; width: 5px; height: 5px; background: var(--blue); border-radius: 50%; content: ''; }

.closing-section { padding: 0 0 112px; background: var(--blue-wash); }
.closing-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 280px; padding: 52px 58px; overflow: hidden; border-radius: 22px; background: var(--navy); }
.closing-card::before { position: absolute; top: -180px; right: -45px; width: 480px; height: 480px; border: 1px solid rgba(255, 255, 255, 0.11); border-radius: 50%; content: ''; }
.closing-card::after { position: absolute; top: -110px; right: 42px; width: 340px; height: 340px; border: 1px solid rgba(108, 165, 255, 0.15); border-radius: 50%; content: ''; }
.closing-copy { position: relative; z-index: 1; }
.closing-copy .eyebrow { margin-bottom: 14px; color: #83b4ff; }
.closing-copy h2 { max-width: 510px; margin-bottom: 12px; color: var(--white); font-size: clamp(27px, 3.4vw, 41px); }
.closing-copy > p:last-child { max-width: 430px; margin-bottom: 0; color: #b5c3d9; font-size: 14px; }
.button-light { position: relative; z-index: 2; flex-shrink: 0; color: var(--navy); background: var(--white); }
.button-light:hover { background: #eaf1ff; }

.site-footer { background: #f2f6fb; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 20px; color: #8b98aa; font-size: 10px; }
.footer-brand { color: var(--navy); font-family: var(--display); font-size: 13px; font-weight: 700; }
.footer-brand .brand-mark { width: 28px; height: 28px; border-radius: 8px; font-size: 14px; box-shadow: none; }
.footer-inner p { margin-bottom: 0; }

/* Shared product detail page */
.product-page { min-height: calc(100vh - 162px); padding: 143px 0 105px; background: linear-gradient(135deg, #fff 0%, #f7faff 62%, #eef5ff 100%); }
.product-nav { position: fixed; top: 0; right: 0; left: 0; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.82); }
.product-nav .header-inner { min-height: 80px; }
.back-link { display: inline-flex; align-items: center; gap: 9px; margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; }
.back-link:hover { color: var(--blue); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr); align-items: center; gap: 95px; }
.product-label { display: flex; align-items: center; gap: 10px; margin-bottom: 23px; color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.product-label::before { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 0 4px rgba(53, 182, 162, 0.12); content: ''; }
.product-layout h1 { max-width: 580px; margin-bottom: 17px; font-size: clamp(42px, 5vw, 64px); }
.product-tagline { max-width: 530px; margin-bottom: 21px; color: var(--blue); font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.4; }
.product-description { max-width: 535px; margin-bottom: 31px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.product-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.product-visual { position: relative; min-height: 400px; }
.product-visual::before { position: absolute; inset: 28px 9px 24px 35px; border: 1px solid rgba(23, 105, 255, 0.16); border-radius: 50%; transform: rotate(23deg); content: ''; animation: ring-drift 8s ease-in-out infinite; }
.product-visual::after { position: absolute; inset: 59px 50px 55px 66px; border: 1px solid rgba(53, 182, 162, 0.18); border-radius: 50%; transform: rotate(-31deg); content: ''; }
.visual-panel { position: absolute; z-index: 1; inset: 48px 25px 48px 49px; display: flex; flex-direction: column; justify-content: space-between; padding: 27px; border: 1px solid rgba(255, 255, 255, 0.85); border-radius: 19px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 25px 60px rgba(28, 67, 132, 0.15); transform: rotate(3deg); }
.visual-panel-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 19px; border-bottom: 1px solid #edf1f7; }
.visual-panel-symbol { display: grid; width: 39px; height: 39px; place-items: center; color: var(--white); background: var(--blue); border-radius: 11px; font-family: var(--display); font-size: 11px; font-weight: 800; }
.visual-panel-status { color: var(--teal); font-size: 9px; font-weight: 700; }
.visual-panel-title { padding: 20px 0 16px; color: var(--navy); font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.05em; }
.visual-panel-row { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-top: 1px solid #edf1f7; color: var(--muted); font-size: 11px; }
.visual-panel-row b { margin-left: auto; color: var(--navy); font-size: 10px; }
.visual-panel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px #e7f0ff; }
.visual-panel-row:nth-child(3) .visual-panel-dot { background: var(--teal); box-shadow: 0 0 0 4px #e4f7f3; }
.detail-section { padding: 100px 0 112px; background: var(--white); }
.detail-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 100px; }
.detail-grid h2 { font-size: 32px; }
.detail-grid > div:first-child p { max-width: 330px; margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 0; padding: 0; list-style: none; }
.feature-list li { padding: 20px; border: 1px solid var(--line); border-radius: 13px; }
.feature-list li::before { display: grid; width: 25px; height: 25px; place-items: center; margin-bottom: 16px; color: var(--blue); background: var(--blue-pale); border-radius: 7px; content: '\2713'; font-size: 11px; font-weight: 700; }
.feature-list strong { display: block; margin-bottom: 5px; color: var(--navy); font-family: var(--display); font-size: 12px; }
.feature-list span { display: block; color: var(--muted); font-size: 11px; line-height: 1.55; }
.product-footer-cta { padding-bottom: 100px; background: var(--white); text-align: center; }
.product-footer-cta p { margin-bottom: 18px; color: var(--muted); font-size: 13px; }

.contact-section { padding: 118px 0 124px; background: var(--blue-wash); }
.contact-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 49px; }
.contact-heading .eyebrow { margin-bottom: 15px; }
.contact-email-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-email-links .contact-email-card { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.contact-email-card .contact-link-icon { font-size: 18px; }
.contact-email-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.contact-grid { display: grid; grid-template-columns: minmax(250px, 0.75fr) minmax(460px, 1.25fr); gap: 70px; align-items: start; }
.contact-grid .contact-email-links { grid-template-columns: 1fr; }
.contact-kicker { margin-bottom: 17px; color: var(--navy); font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: -0.02em; }
.contact-links { display: grid; gap: 4px; }
.contact-link { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--navy); text-decoration: none; }
.contact-link:hover .contact-link-arrow { color: var(--blue); transform: translate(2px, -2px); }
.contact-link-icon { display: grid; width: 34px; height: 34px; flex-shrink: 0; place-items: center; color: var(--blue); border: 1px solid #d7e5ff; border-radius: 9px; background: var(--white); font-family: var(--display); font-size: 8px; font-weight: 800; letter-spacing: 0.01em; }
.contact-link small, .contact-link strong { display: block; line-height: 1.35; }
.contact-link small { color: #8d9ab0; font-size: 9px; }
.contact-link strong { margin-top: 2px; color: var(--navy); font-size: 12px; }
.contact-link-arrow { margin-left: auto; color: #a4b1c3; font-size: 18px; line-height: 1; transition: color 180ms ease, transform 180ms ease; }
.contact-panel { padding: 29px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 15px 40px rgba(25, 66, 135, 0.06); }
.contact-form { display: grid; gap: 19px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-field { display: grid; gap: 8px; }
.form-field > span { color: var(--navy); font-size: 11px; font-weight: 700; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; outline: 0; color: var(--ink); background: #fbfcff; font-size: 12px; transition: border 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.form-field input { height: 43px; padding: 0 13px; }
.form-field textarea { min-height: 126px; padding: 12px 13px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: #9ebfff; background: var(--white); box-shadow: 0 0 0 4px rgba(23, 105, 255, 0.09); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #a7b1c1; }
.consent-field { display: flex; align-items: flex-start; gap: 9px; color: #7e8ba0; font-size: 10px; line-height: 1.5; }
.consent-field input { width: 14px; height: 14px; flex-shrink: 0; margin: 1px 0 0; accent-color: var(--blue); }
.form-trap { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); opacity: 0; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 3px; }
.form-footer small { color: #9aa6b8; font-size: 10px; }
.contact-alert { padding: 11px 13px; border-radius: 8px; font-size: 11px; line-height: 1.5; }
.contact-alert-success { color: #19725f; background: #eaf8f4; }
.contact-alert-error { color: #a04444; background: #fff0f0; }
.privacy-banner { position: fixed; z-index: 30; right: 22px; bottom: 22px; left: 22px; display: flex; align-items: center; justify-content: space-between; gap: 25px; max-width: 680px; margin-left: auto; padding: 15px 17px; border: 1px solid #d7e4f7; border-radius: 13px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 14px 35px rgba(18, 52, 105, 0.16); backdrop-filter: blur(12px); }
.privacy-banner[hidden] { display: none; }
.privacy-banner strong { display: block; color: var(--navy); font-family: var(--display); font-size: 11px; }
.privacy-banner p { max-width: 400px; margin: 3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.privacy-actions { display: flex; flex-shrink: 0; align-items: center; gap: 7px; }
.privacy-button { padding: 8px 10px; border: 1px solid transparent; border-radius: 7px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 700; }
.privacy-button:hover { color: var(--navy); background: var(--blue-pale); }
.privacy-button-primary { color: var(--white); background: var(--blue); }
.privacy-button-primary:hover { color: var(--white); background: var(--blue-dark); }

[data-reveal] { opacity: 1; transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="50"] { transition-delay: 50ms; } [data-reveal-delay="100"] { transition-delay: 100ms; } [data-reveal-delay="150"] { transition-delay: 150ms; } [data-reveal-delay="200"] { transition-delay: 200ms; }

@keyframes card-float { 0%, 100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-9px); } }
@keyframes ring-drift { 0%, 100% { transform: rotate(-25deg) translate(0); } 50% { transform: rotate(-20deg) translate(6px, -5px); } }
@keyframes rotate-orb { to { transform: rotate(335deg); } }
@keyframes bar-pulse { 0%, 100% { opacity: 0.76; } 50% { opacity: 1; } }

@media (max-width: 1050px) {
  .hero-layout { grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr); gap: 28px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-layout { gap: 55px; }
}

@media (max-width: 780px) {
  .container { width: min(100% - 40px, 590px); }
  .header-inner { position: relative; min-height: 70px; gap: 12px; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-nav { position: absolute; top: 70px; right: 0; left: 0; display: none; flex-direction: column; gap: 0; padding: 10px 20px 14px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; background: var(--white); box-shadow: 0 14px 30px rgba(23, 43, 77, 0.08); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; }
  .header-cta { display: none; }
  .hero-section { min-height: 0; padding: 130px 0 76px; }
  .hero-grid-pattern { width: 100%; opacity: 0.27; mask-image: linear-gradient(180deg, #000, transparent 75%); }
  .hero-layout { display: block; }
  .hero-copy { max-width: 620px; }
  .hero-showcase { width: min(100%, 510px); min-height: 425px; margin: 66px auto 0; }
  .principles-inner { flex-wrap: wrap; justify-content: center; gap: 10px 17px; padding: 17px 0; line-height: 1.4; text-align: center; }
  .products-section, .capabilities-section { padding: 83px 0 88px; }
  .section-heading { display: block; margin-bottom: 35px; }
  .section-lead { margin-top: 18px; }
  .product-toolbar { align-items: stretch; flex-direction: column; gap: 11px; margin-bottom: 20px; }
  .product-search { width: 100%; }
  .product-results { font-size: 10px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .capabilities-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 220px; }
  .capability-number { margin-bottom: 35px; }
  .closing-section { padding-bottom: 80px; }
  .closing-card { display: block; min-height: 0; padding: 39px 30px; }
  .closing-card::before, .closing-card::after { display: none; }
  .closing-card .button { margin-top: 27px; }
  .contact-section { padding: 83px 0 88px; }
  .contact-heading { display: block; margin-bottom: 35px; }
  .contact-heading .section-lead { margin-top: 18px; }
  .contact-email-links { grid-template-columns: 1fr; }
  .contact-email-links .contact-email-card { padding: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .contact-panel { padding: 23px; }
  .footer-inner { flex-wrap: wrap; justify-content: center; padding: 22px 0; text-align: center; }
  .product-page { padding: 121px 0 75px; }
  .product-layout { display: block; }
  .product-layout h1 { font-size: 48px; }
  .product-visual { width: min(100%, 500px); min-height: 390px; margin: 52px auto 0; }
  .detail-section { padding: 75px 0 80px; }
  .detail-grid { display: block; }
  .detail-grid > div:first-child { margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: 40px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-metrics { justify-content: space-between; gap: 8px; margin-top: 47px; }
  .metric span { font-size: 8px; }
  .metric-divider { height: 25px; }
  .hero-showcase { min-height: 345px; margin-top: 42px; transform: scale(0.82); transform-origin: top center; margin-bottom: -63px; }
  .showcase-card { right: 2%; width: 98%; }
  .badge-top { left: -11px; }
  .badge-bottom { right: -11px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 226px; }
  .form-row { grid-template-columns: 1fr; gap: 19px; }
  .form-footer { align-items: flex-start; flex-direction: column-reverse; }
  .form-footer .button { width: 100%; }
  .privacy-banner { right: 12px; bottom: 12px; left: 12px; display: block; padding: 15px; }
  .privacy-actions { justify-content: flex-end; margin-top: 12px; }
  .feature-list { grid-template-columns: 1fr; }
  .product-layout h1 { font-size: 41px; }
  .product-tagline { font-size: 17px; }
  .product-visual { min-height: 315px; transform: scale(0.84); transform-origin: top center; margin-bottom: -52px; }
  .visual-panel { inset: 35px 10px 35px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Shared language selection works without JavaScript. */
.header-inner { gap: 24px; }
.language-switcher { display: inline-flex; flex-shrink: 0; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.language-switcher a { padding: 5px 9px; border-radius: 6px; color: var(--muted); font-family: var(--body); font-size: 12px; line-height: 1.6; text-decoration: none; white-space: nowrap; }
.language-switcher a[lang="fa"] { font-family: 'Vazir', sans-serif; }
.language-switcher a[aria-current="true"] { color: var(--white); background: var(--blue); }
.language-switcher a:hover { box-shadow: inset 0 0 0 1px var(--blue); }
.language-switcher a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.product-nav .language-switcher { margin-inline-start: auto; }
.product-page { overflow: hidden; }
.product-visual { min-height: 0; padding-block: 1px; }
.visual-panel { position: relative; inset: auto; min-height: 304px; margin: 48px 25px; }
.back-link { margin-left: 0; }
.form-field textarea { font-family: inherit; }
.contact-link strong, input[type="email"] { direction: ltr; unicode-bidi: isolate; }

/* Persian typography and mirrored reading order. */
html[lang="fa"] { --display: 'Vazir', sans-serif; --body: 'Vazir', sans-serif; }
html[lang="fa"] body { line-height: 1.9; }
html[lang="fa"] h1, html[lang="fa"] h2 { line-height: 1.5; }
html[lang="fa"] :is(h1, h2, h3, .eyebrow, .brand-copy strong, .brand-copy small, .metric strong, .showcase-heading strong, .showcase-stats strong, .principles-inner, .product-category, .product-label, .product-tagline, .visual-panel-title, .contact-kicker) { letter-spacing: normal; }
html[lang="fa"] .product-tagline { line-height: 1.8; }
html[lang="fa"] :is(.product-category, .product-label, .eyebrow, .brand-copy small, .metric span, .principles-inner, .feature-list span, .privacy-banner p, .consent-field) { line-height: 1.8; }
html[lang="fa"] :is(.product-category, .brand-copy small, .metric span) { font-size: 11px; }
html[lang="fa"] .product-card-top { flex-wrap: wrap; }
html[lang="fa"] .product-card { min-height: 260px; }
[dir="rtl"] :is(.product-arrow, .contact-link-arrow, .visual-panel-row b, .showcase-task em) { margin-left: 0; margin-right: auto; }
[dir="rtl"] .product-search-icon { margin-right: 0; margin-left: 9px; }
[dir="rtl"] .showcase-sidebar { border-right: 0; border-left: 1px solid #edf1f7; }
[dir="rtl"] .showcase-topbar b { text-align: left; }
[dir="rtl"] :is(.button, .text-link, .product-link, .back-link, .header-cta) > span[aria-hidden="true"] { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .visual-panel-row b { transform: scaleX(-1); }
[dir="rtl"] .hero-grid-pattern { right: auto; left: 0; }
[dir="rtl"] .hero-orb-one { right: auto; left: 13%; }
[dir="rtl"] .hero-orb-two { right: auto; left: 19%; }
[dir="rtl"] .privacy-banner { margin-left: 0; margin-right: auto; }

@media (max-width: 1050px) and (min-width: 781px) {
  .header-inner { gap: 16px; }
  .header-cta { display: none; }
  html[lang="fa"] .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 780px) {
  .header-inner { gap: 10px; }
  .header-inner > .language-switcher { margin-inline-start: auto; }
  .menu-toggle { margin-left: 0; }
  .product-nav .header-inner { flex-wrap: wrap; padding-block: 12px; }
  .product-nav .back-link { width: 100%; justify-content: center; }
  .product-nav + main .product-page { padding-top: 160px; }
}
@media (max-width: 360px) {
  .language-switcher a { padding: 5px 6px; font-size: 11px; }
  .header-inner { gap: 7px; }
  .brand { gap: 7px; }
}

@media (max-width: 480px) {
  .visual-panel { min-height: 285px; margin: 35px 10px; }
}

/* The Cloudecode Collective */
.people-section { padding: 108px 0 116px; scroll-margin-top: 100px; background: var(--white); }
.people-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.person-card { display: flex; flex-direction: column; min-width: 0; padding: 25px 20px; border: 1px solid #d8e5f8; border-radius: 17px; background: linear-gradient(155deg, #f2f7ff, #fff 55%); box-shadow: 0 12px 34px rgba(27, 70, 145, 0.045); }
.person-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.person-avatar { display: grid; place-items: center; flex-shrink: 0; width: 62px; height: 62px; border-radius: 19px; background: var(--blue); color: var(--white); font-family: var(--display); font-size: 21px; font-weight: 700; box-shadow: 0 8px 20px rgba(23, 105, 255, 0.16); }
.person-avatar img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.person-card:nth-child(2) .person-avatar { background: #218774; box-shadow: 0 8px 20px rgba(33, 135, 116, 0.14); }
.person-card:nth-child(3) .person-avatar { background: #7961c5; box-shadow: 0 8px 20px rgba(121, 97, 197, 0.14); }
.person-label { max-width: 110px; color: var(--blue); font-size: 10px; line-height: 1.7; }
.person-card h3 { margin-bottom: 5px; font-size: 19px; line-height: 1.6; }
.person-name-alt { margin-bottom: 16px; color: var(--muted); font-size: 12px; text-align: start; }
.person-bio { margin-bottom: 24px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.person-name-alt[lang="fa"] { font-family: 'Vazir', sans-serif; }
[dir="rtl"] .person-name-alt { text-align: right; }
[dir="ltr"] .person-name-alt { text-align: left; }
.person-links { display: grid; gap: 0; padding: 0; margin: auto 0 0; list-style: none; }
.person-links a, .person-contact-text { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; }
.person-link-label { grid-column: 1; color: var(--muted); font-size: 10px; }
.person-link-value { grid-column: 1; color: var(--navy); font-size: 11px; overflow-wrap: anywhere; text-align: start; unicode-bidi: isolate; }
[dir="rtl"] .person-link-value { text-align: right; }
.person-link-arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--blue); }
.person-links a:hover .person-link-value { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.person-links a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.person-card-pending { min-height: 390px; border-style: dashed; border-color: var(--line); background: #fcfdff; box-shadow: none; }
.person-avatar-pending { background: #f0f4fa; color: #9aabc2; box-shadow: none; }
.person-avatar-pending svg { width: 32px; height: 32px; }
.person-number { color: #abb8ca; font-size: 12px; }
.person-card-pending h3 { color: #708099; font-size: 16px; }
.person-pending-copy { color: #8391a6; font-size: 12px; line-height: 1.9; }
.person-pending-status { display: flex; align-items: center; gap: 7px; padding-top: 28px; margin-top: auto; color: #8391a6; font-size: 11px; }
.person-pending-status > span { width: 6px; height: 6px; border-radius: 50%; background: #b7c8dd; }
@media (max-width: 1050px) {
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .people-section { padding: 80px 0; }
}
@media (max-width: 480px) {
  .people-grid { grid-template-columns: minmax(0, 1fr); }
  .person-card { padding: 24px; }
  .person-card-pending { min-height: 275px; }
}

/* Header: featured-products dropdown and instant search. */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: var(--muted); font-family: inherit; font-size: 13px; font-weight: 600; line-height: inherit; cursor: pointer; transition: color 180ms ease; }
.nav-dropdown-toggle:hover, .nav-dropdown.open .nav-dropdown-toggle { color: var(--blue); }
.nav-caret { font-size: 11px; transition: transform 180ms ease; }
.nav-dropdown.open .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 14px); inset-inline-start: -14px; z-index: 30; display: none; min-width: 250px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 18px 40px rgba(18, 46, 89, 0.12); }
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.site-nav .nav-dropdown-menu a { display: flex; flex-direction: column; gap: 1px; padding: 9px 12px; border-radius: 9px; color: var(--navy); font-size: 13px; line-height: 1.5; }
.site-nav .nav-dropdown-menu a:hover { color: var(--blue); background: var(--blue-pale); }
.nav-dropdown-menu a small { color: var(--muted); font-size: 11px; font-weight: 500; }
.nav-dropdown-menu a:first-child { margin-bottom: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--line); border-radius: 9px 9px 0 0; }

.header-search { position: relative; flex-shrink: 0; }
.header-search-toggle { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--navy); cursor: pointer; transition: color 180ms ease, border-color 180ms ease, background 180ms ease; }
.header-search-toggle:hover, .header-search-toggle[aria-expanded="true"] { color: var(--blue); border-color: var(--blue); background: var(--blue-pale); }
.header-search-panel { position: absolute; top: calc(100% + 12px); inset-inline-end: 0; z-index: 30; width: min(420px, calc(100vw - 40px)); padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 18px 40px rgba(18, 46, 89, 0.14); }
.header-search-field { display: flex; align-items: center; gap: 6px; padding: 4px 4px 4px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--blue-wash); }
.header-search-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23, 105, 255, 0.12); }
.header-search-field input { flex: 1; min-width: 0; padding: 8px 0; border: 0; background: none; color: var(--ink); font-family: inherit; font-size: 14px; outline: none; }
.header-search-field input::-webkit-search-cancel-button { display: none; }
.header-search-close { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.header-search-close:hover { color: var(--navy); background: var(--white); }
.header-search-results { display: grid; gap: 2px; max-height: min(52vh, 380px); margin-top: 8px; overflow-y: auto; }
.header-search-results:empty { display: none; }
.header-search-result { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--navy); text-decoration: none; transition: background 150ms ease; }
.header-search-result:hover, .header-search-result.is-active { background: var(--blue-pale); }
.header-search-result .product-icon { width: 36px; height: 36px; font-size: 11px; }
.header-search-result .result-copy { min-width: 0; }
.header-search-result strong { display: block; font-size: 13px; font-weight: 700; line-height: 1.4; }
.header-search-result small { display: block; overflow: hidden; color: var(--muted); font-size: 11.5px; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; }
.header-search-result mark { padding: 0; background: rgba(255, 214, 89, 0.55); color: inherit; border-radius: 2px; }
.header-search-result .result-tag { padding: 3px 8px; border-radius: 999px; background: var(--blue); color: var(--white); font-size: 10px; font-weight: 700; white-space: nowrap; }
.header-search-empty { margin: 10px 4px 4px; color: var(--muted); font-size: 13px; }

@media (max-width: 780px) {
  .site-nav .nav-dropdown { width: 100%; }
  .site-nav .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 10px 0; font-size: 13px; }
  .nav-dropdown-menu { position: static; display: block; min-width: 0; margin: 0 0 6px; padding: 4px 0 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .nav-dropdown .nav-caret { display: none; }
  .site-nav .nav-dropdown-menu a { padding: 8px 10px; }
  .menu-toggle { order: 2; }
  .header-search { order: 1; }
  .header-search-panel { position: fixed; top: 70px; right: 16px; left: 16px; width: auto; }
}

/* Brand logo (assets/images/logo*.png) in the header and footer. */
.brand-mark.brand-logo { width: 44px; height: 44px; background: transparent; box-shadow: none; border-radius: 0; }
.brand-mark.brand-logo img { display: block; width: 44px; height: 44px; object-fit: contain; }
.footer-logo { display: block; width: 160px; height: auto; }
.footer-brand { display: block; }

/* Compact hero: half-size heading and a tighter layout. */
.hero-section { min-height: 0; padding: 118px 0 48px; }
.hero-layout { gap: 40px; }
h1 { max-width: 520px; margin-bottom: 12px; font-size: clamp(22px, 2.5vw, 34px); }
.hero-lead { max-width: 440px; margin-bottom: 18px; font-size: 14px; }
.hero-actions { gap: 16px; }
.hero-metrics { margin-top: 30px; }
.hero-showcase { zoom: 0.72; }
@media (max-width: 780px) { .hero-section { padding: 96px 0 44px; } .hero-showcase { margin-top: 36px; } }

/* Products heading ("Small tools. Meaningful impact.") at half size. */
.products-section .section-heading h2 { font-size: clamp(16px, 2vw, 24px); }
.products-section .section-heading { margin-bottom: 34px; }

/* Price badge on a simple product card (shown when the product has plans). */
.product-price { display: inline-flex; align-items: baseline; gap: 7px; margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--blue-pale); color: var(--navy); font-size: 12px; font-weight: 700; }
.product-price del { color: #9aa4b5; font-size: 11px; font-weight: 600; text-decoration-color: #d64545; }

/* Footer link columns and note, edited from the admin panel. */
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 44px; margin: 22px 0 4px; text-align: center; }
.footer-links-group { display: grid; gap: 7px; }
.footer-links-group strong { color: var(--navy); font-size: 12px; font-weight: 800; }
.footer-links-group ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.footer-links-group a { color: var(--muted); font-size: 12.5px; text-decoration: none; }
.footer-links-group a:hover { color: var(--blue); }
.footer-note { max-width: 44rem; margin: 10px auto 0; color: var(--muted); font-size: 12.5px; line-height: 1.9; }
.footer-note a { color: var(--blue); }
.footer-note p { margin: 0 0 6px; }
.footer-note p:last-child { margin-bottom: 0; }
.footer-note strong { color: var(--navy); }
