/* AST Cyber Lab — light corporate theme (based on TRAIO design language) */
:root {
  --white:      #ffffff;
  --paper:      #f6f6f7;
  --paper-2:    #eeeef0;
  --ink:        #0a0a0a;
  --ink-2:      #26262b;
  --muted:      #5f5f68;
  --muted-2:    #6b6b74;
  --line:       rgba(10,10,10,0.08);
  --line-2:     rgba(10,10,10,0.14);
  --red:        #e30613;
  --red-d:      #c00510;
  --red-soft:   rgba(227,6,19,0.07);
  --red-soft-2: rgba(227,6,19,0.12);
  --ring:       rgba(10,10,10,0.08) 0 0 0 1px;
  --ring-red:   rgba(227,6,19,0.35) 0 0 0 1px;
  --shadow-card: rgba(10,10,10,0.04) 0 1px 2px, rgba(10,10,10,0.06) 0 8px 24px -8px;
  --shadow-lift: rgba(227,6,19,0.28) 0 0 0 1px, rgba(10,10,10,0.08) 0 18px 40px -12px;
  --shadow-screen: rgba(10,10,10,0.06) 0 0 0 1px, rgba(10,10,10,0.10) 0 30px 80px -20px;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px; --r-pill: 100px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
::selection { background: var(--red); color: #fff; }

/* ── SHARED ─────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: 880px; }
.section { padding: 104px 0; }
.section.tight { padding: 72px 0; }
.section.paper { background: var(--paper); }
.section.bordered { border-top: 1px solid var(--line); }
.center { text-align: center; }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red);
}
.label::before { content: ''; width: 18px; height: 2px; background: var(--red); }
.center .label::after { content: ''; width: 18px; height: 2px; background: var(--red); }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--white); box-shadow: var(--ring), rgba(10,10,10,0.04) 0 2px 6px;
  font-size: 12.5px; font-weight: 500; color: var(--muted);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--red-soft-2); }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 56px); font-weight: 500;
  line-height: 1.02; letter-spacing: -0.035em;
  color: var(--ink); margin: 16px 0 18px;
}
.section-title em, .hero-title em, .page-title em { font-style: normal; color: var(--red); }
.section-desc { font-size: 17px; color: var(--muted); line-height: 1.65; letter-spacing: -0.005em; }
.lead { font-size: 19px; color: var(--ink-2); line-height: 1.6; }

/* ── BUTTONS ────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: 14.5px; font-weight: 500;
  letter-spacing: -0.01em; cursor: pointer; border: none; outline: none;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s; white-space: nowrap;
}
.btn:focus-visible { box-shadow: 0 0 0 3px var(--red-soft-2), 0 0 0 1px var(--red); }
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(2px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #222; transform: translateY(-1px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-d); transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--ink); box-shadow: var(--ring); }
.btn-ghost:hover { box-shadow: var(--line-2) 0 0 0 1px; background: var(--paper); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: #f1f1f1; }
.btn-outline-light { background: transparent; color: #fff; box-shadow: rgba(255,255,255,0.25) 0 0 0 1px; }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); }
.btn-lg { padding: 15px 28px; font-size: 15.5px; }

/* ── NAVIGATION ─────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--r-pill); border: 0; background: none; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links > li > a:hover, .nav-links > li > button:hover,
.nav-links > li.open > button { color: var(--ink); background: var(--paper); }
.nav-links > li > a.active { color: var(--ink); }
.nav-links .chev { transition: transform .2s; }
.nav-links > li.open .chev, .nav-links > li:hover .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px;
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--ring), rgba(10,10,10,0.12) 0 24px 48px -16px;
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-links > li:hover .dropdown, .nav-links > li.open .dropdown,
.nav-links > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-links > li::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.dropdown a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px; border-radius: var(--r-sm); transition: background .15s;
}
.dropdown a:hover { background: var(--paper); }
.dropdown a strong { font-size: 14px; font-weight: 600; color: var(--ink); }
.dropdown a span { font-size: 12.5px; color: var(--muted); }
.dropdown hr { border: 0; height: 1px; background: var(--line); margin: 6px 8px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-phone { font-size: 14px; font-weight: 500; color: var(--ink); padding: 8px 6px; white-space: nowrap; }
.nav-right .btn { white-space: nowrap; }
@media (max-width: 1320px) { .nav-phone { display: none; } }
.nav-phone:hover { color: var(--red); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; border: 0; background: none;
}
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--white); flex-direction: column; overflow-y: auto;
  padding: 88px 20px 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .mm-group { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 22px 0 6px; }
.mobile-menu a:not(.btn) {
  font-size: 20px; font-family: var(--font-display); font-weight: 500;
  letter-spacing: -0.02em; color: var(--ink);
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 28px; width: 100%; }

/* ── HERO ───────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 168px 0 96px;
}
.hero::before, .page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(10,10,10,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 100%);
}
.hero::after, .page-hero::after {
  content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 620px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(227,6,19,0.08) 0%, transparent 62%);
}
.hero > .container, .page-hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 56px; align-items: center; }
.hero-badge { margin-bottom: 28px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 68px);
  font-weight: 500; line-height: 1.02; letter-spacing: -0.035em;
  color: var(--ink); margin-bottom: 26px; max-width: 16ch; text-wrap: balance;
}
.hero-sub { font-size: clamp(16px, 1.8vw, 19px); color: var(--muted); line-height: 1.6; max-width: 560px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-mark {
  width: 100%; max-width: 340px; aspect-ratio: 1; position: relative;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--white) 0 55%, transparent 56%),
              conic-gradient(from 210deg, var(--red) 0 22%, var(--paper-2) 22% 100%);
  box-shadow: var(--shadow-screen);
  display: grid; place-items: center;
}
.hero-mark img { width: 52%; }
.hero-stats {
  margin-top: 88px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.hero-stat { padding: 28px 24px 0 0; }
.hero-stat + .hero-stat { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-stat-num { font-family: var(--font-display); font-size: 44px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.hero-stat-num span { color: var(--red); }
.hero-stat-label { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; padding: 160px 0 88px; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
.page-hero-grid.solo { grid-template-columns: 1fr; max-width: 860px; }
.page-hero .eyebrow-product { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.page-title {
  font-family: var(--font-display); font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 500; line-height: 1.06; letter-spacing: -0.035em; margin: 18px 0 22px; text-wrap: balance;
}
.page-sub { font-size: 18px; color: var(--muted); line-height: 1.6; margin-bottom: 34px; max-width: 600px; }
.page-hero-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-screen); background: var(--white); }
.page-hero-img.plain { box-shadow: none; background: none; border-radius: 0; }
.breadcrumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted-2); margin-bottom: 4px; }
.breadcrumbs a:hover { color: var(--red); }

/* ── SCREEN FRAME ───────────────────── */
.screen-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-screen); background: var(--white); }
.screen-chrome { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
.sc-dot { width: 10px; height: 10px; border-radius: 50%; background: #d4d4d8; }
.sc-dot.r { background: var(--red); }
.sc-url { flex: 1; text-align: center; font-size: 11.5px; color: var(--muted-2); }
.screen-img { width: 100%; height: auto; }

/* ── STATS ──────────────────────────── */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--ring); }
.stats-strip.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stats-strip.cols-6 { grid-template-columns: repeat(3, 1fr); }
.stat-item { padding: 36px 28px; background: var(--white); }
.stat-num { font-family: var(--font-display); font-size: 46px; font-weight: 500; letter-spacing: -0.04em; color: var(--ink); line-height: 1; margin-bottom: 12px; }
.stat-num .r { color: var(--red); }
.stat-title { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.stat-label { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ── CARDS ──────────────────────────── */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card {
  position: relative; overflow: hidden;
  padding: 28px; background: var(--white);
  border-radius: var(--r-md); box-shadow: var(--ring);
  transition: box-shadow .25s, transform .25s;
}
.card.paper { background: var(--paper); box-shadow: none; }
a.card:hover, .card.hoverable:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0; transition: opacity .3s;
}
a.card:hover::before, .card.hoverable:hover::before { opacity: 1; }
.card.wide { grid-column: span 2; }
.card-icon {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  background: var(--red-soft); color: var(--red);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card-icon img { width: 24px; height: 24px; }
.card-num { font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--red); margin-bottom: 18px; letter-spacing: .02em; }
.card-tag {
  display: inline-block; align-self: flex-start; padding: 3px 10px; border-radius: var(--r-pill);
  background: var(--red-soft); color: var(--red-d);
  font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px;
}
.card-title { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 10px; line-height: 1.2; }
.card-desc { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.card-desc + .card-desc { margin-top: 10px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--ink); }
a.card:hover .card-link { color: var(--red); }
.list { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.list li::before { content: ''; flex-shrink: 0; margin-top: 8px; width: 6px; height: 6px; border-radius: 1px; background: var(--red); }
.checklist { display: grid; gap: 12px; }
.checklist.cols-2 { grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.checklist li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.55; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: ''; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Product cards (home) */
.product-card { display: flex; flex-direction: column; min-height: 230px; }
.product-card .card-desc { flex: 1; }
.product-card .pc-logo { height: 52px; margin: -8px 0 16px -10px; display: flex; align-items: center; }
.product-card .pc-logo img { max-height: 60px; width: auto; }

/* ── SHOWCASE (text + image) ────────── */
.showcase { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.showcase.flip > :first-child { order: 2; }
.showcase + .showcase { margin-top: 112px; }
.showcase .section-title { font-size: clamp(28px, 3.6vw, 44px); }
.showcase-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-screen); background: var(--paper); }
.showcase-img.plain { box-shadow: none; background: none; border-radius: 0; }
.points { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.point { display: flex; gap: 14px; padding: 16px 18px; background: var(--paper); border-radius: var(--r-sm); }
.point-icon { width: 30px; height: 30px; border-radius: var(--r-xs); background: var(--white); box-shadow: var(--ring); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.point-title { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.point-desc { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ── DARK BAND ──────────────────────── */
.band-dark { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.band-dark::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 80% 50%, #000 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 50%, #000 10%, transparent 80%);
}
.band-dark::after {
  content: ''; position: absolute; right: -200px; top: 50%; transform: translateY(-50%);
  width: 700px; height: 700px; pointer-events: none;
  background: radial-gradient(circle, rgba(227,6,19,0.22) 0%, transparent 60%);
}
.band-dark > .container { position: relative; z-index: 1; }
.band-dark .section-title { color: var(--white); }
.band-dark .section-desc, .band-dark .muted { color: rgba(255,255,255,0.62); }
.band-dark .label { color: #ff4d57; }
.band-dark .label::before, .band-dark .label::after { background: #ff4d57; }
.band-dark .list li { color: rgba(255,255,255,0.82); }
.band-dark .card { background: rgba(255,255,255,0.04); box-shadow: rgba(255,255,255,0.09) 0 0 0 1px; }
.band-dark .card-title { color: var(--white); }
.band-dark .card-desc { color: rgba(255,255,255,0.6); }

.cta-band { padding: 96px 0; }
.cta-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ── LOGO WALLS ─────────────────────── */
.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--ring); }
.logo-wall > * { background: var(--white); display: flex; align-items: center; justify-content: center; padding: 26px 22px; min-height: 120px; transition: background .2s; }
.logo-wall > a:hover { background: var(--paper); }
.logo-wall img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .25s, opacity .25s; }
.logo-wall > *:hover img { filter: none; opacity: 1; }
.logo-wall.color img { filter: none; opacity: 1; }
.logo-wall.cols-4 { grid-template-columns: repeat(4, 1fr); }
.logo-wall.cols-2 { grid-template-columns: repeat(2, 1fr); }

/* Awards timeline */
.awards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.award { padding: 28px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--ring); display: flex; flex-direction: column; gap: 14px; }
.award-year { font-family: var(--font-display); font-size: 40px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--red); }
.award-logo { height: 46px; margin-left: -8px; }
.award-logo img { height: 46px; width: auto; }
.award-title { font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.award-desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* Values / steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { padding: 28px 24px 0 0; position: relative; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-size: 15px; font-weight: 500; color: var(--red); margin-bottom: 18px;
}
.step-title { font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Quote */
.quote { position: relative; padding: 48px; border-radius: var(--r-xl); background: var(--paper); }
.quote::before { content: '“'; position: absolute; top: 12px; left: 32px; font-family: Georgia, serif; font-size: 120px; line-height: 1; color: var(--red); opacity: .9; }
.quote blockquote { position: relative; font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 400; line-height: 1.4; letter-spacing: -0.015em; color: var(--ink); padding-top: 36px; }
.quote figcaption { margin-top: 24px; display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); }
.quote figcaption img { height: 28px; width: auto; }
.quote figcaption strong { color: var(--ink); font-weight: 600; display: block; }

/* People */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person { border-radius: var(--r-md); overflow: hidden; background: var(--white); box-shadow: var(--ring); transition: box-shadow .25s, transform .25s; }
.person:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.person-photo { aspect-ratio: 1; background: var(--paper); overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .35s, transform .5s; }
.person:hover .person-photo img { filter: none; transform: scale(1.03); }
.person-body { padding: 16px 18px 20px; }
.person-name { font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 4px; }
.person-role { font-size: 13px; color: var(--muted); line-height: 1.45; }
.person-org { font-size: 13px; color: var(--red); font-weight: 500; margin-top: 6px; }

.people.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 960px) { .people.cols-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .people.cols-5 { grid-template-columns: repeat(2, 1fr); } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery a { display: block; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4/3; background: var(--paper); }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(10,10,10,0.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--r-sm); }
.lightbox button { position: absolute; background: rgba(255,255,255,0.1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 22px; display: grid; place-items: center; }
.lightbox button:hover { background: var(--red); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Event (appsecfest) */
.event { padding: 64px 0; border-top: 1px solid var(--line); }
.event:first-of-type { border-top: 0; padding-top: 0; }
.event-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; margin-bottom: 36px; }
.event-year { font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.event-year span { color: var(--red); }
.event-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--paper); font-size: 13px; color: var(--ink-2); }
.chip svg { color: var(--red); }
.event-new { margin-top: 18px; }
.event-new li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.event-new li strong { color: var(--ink); font-weight: 600; }

/* Schedule */
.schedule { border-top: 1px solid var(--line); }
.slot { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.slot-time { font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--red); }
.slot-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.slot-who { font-size: 14px; color: var(--muted); margin-top: 4px; }
.slot.break .slot-title { color: var(--muted); font-weight: 500; }

/* Pipeline (DPA) */
.pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pipe { padding: 30px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--ring); }
.pipe-name { font-family: var(--font-display); font-size: 28px; font-weight: 500; letter-spacing: .02em; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.pipe-name::before { content: ''; width: 10px; height: 10px; border-radius: 2px; background: var(--red); }
.pipe ol { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pipe li { font-size: 14px; color: var(--ink-2); line-height: 1.55; padding-left: 14px; border-left: 2px solid var(--line); }
.pipe li.ok { border-left-color: #16a34a; }
.pipe li.bad { border-left-color: var(--red); }

/* Prose (policy) */
.prose h2 { font-family: var(--font-display); font-size: 26px; font-weight: 500; letter-spacing: -0.02em; margin: 48px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 14px; }
.prose h2 span { color: var(--red); font-size: 16px; padding-top: 7px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 16px; color: var(--ink-2); line-height: 1.75; }
.prose ul { margin: 10px 0; display: flex; flex-direction: column; gap: 8px; }
.prose li { padding-left: 20px; position: relative; }
.prose li::before { content: ''; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 1px; background: var(--red); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-size: 17px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; font-weight: 300; color: var(--red); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* Contacts */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { padding: 36px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--ring); }
.contact-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ci { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.contact-row small { display: block; font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.contact-row a, .contact-row p { font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.45; }
.contact-row a:hover { color: var(--red); }
.messengers { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.map-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--ring); margin-top: 16px; aspect-ratio: 21/8; background: var(--paper); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* Partner pill row */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 10px 18px; border-radius: var(--r-pill); background: var(--white); box-shadow: var(--ring); font-size: 14px; font-weight: 500; }

/* Bar (audience) */
.bars { display: flex; flex-direction: column; gap: 18px; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-size: 15px; font-weight: 500; }
.bar-row b { font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.bar { grid-column: span 2; height: 8px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: 4px; }
.bar.r i { background: var(--red); }

/* ── MODAL / FORMS ──────────────────── */
.modal { position: fixed; inset: 0; z-index: 1500; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,10,10,0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal-box {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--white); border-radius: var(--r-xl); padding: 40px;
  box-shadow: rgba(10,10,10,0.3) 0 40px 100px -20px;
  animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.modal-close:hover { background: var(--paper-2); }
.modal-title { font-family: var(--font-display); font-size: 32px; font-weight: 500; letter-spacing: -0.03em; margin-bottom: 6px; }
.modal-sub { font-size: 15px; color: var(--muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-full { grid-column: span 2; }
.form-group label, .form-legend { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 7px; }
.form-input {
  width: 100%; padding: 12px 14px;
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-input::placeholder { color: var(--muted-2); }
.form-input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,10,10,0.06); }
.form-input.invalid { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.form-input[type=file] { padding: 10px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: var(--r-pill); box-shadow: var(--ring); font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: all .15s; user-select: none; }
.chips input:checked + span { background: var(--ink); color: var(--white); box-shadow: none; }
.chips input:focus-visible + span { box-shadow: 0 0 0 2px var(--red); }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; }
.form-check input { margin-top: 2px; accent-color: var(--red); }
.form-check a { color: var(--ink); text-decoration: underline; }
.form-submit { width: 100%; margin-top: 22px; }
.form-note { margin-top: 14px; font-size: 12.5px; color: var(--muted-2); text-align: center; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; display: none; }
.form-status.ok { display: block; background: #ecfdf3; color: #146c2e; }
.form-status.err { display: block; background: var(--red-soft); color: var(--red-d); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: center; padding: 20px 0; display: none; }
.form-success .ok-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; margin: 0 auto 20px; }
form.sent { display: none; }
form.sent + .form-success { display: block; }

/* ── FOOTER ─────────────────────────── */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding: 72px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-logo img { height: 24px; width: auto; margin-bottom: 18px; }
.footer-tagline { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 22px; max-width: 320px; }
.footer-contacts { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.footer-contacts a { font-weight: 500; }
.footer-contacts a:hover { color: var(--red); }
.footer-contacts span { color: var(--muted); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: var(--white); box-shadow: var(--ring); display: grid; place-items: center; color: var(--ink); transition: background .2s, color .2s; }
.footer-social a:hover { background: var(--red); color: var(--white); box-shadow: none; }
.footer-col-title { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14.5px; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-2); }
.footer-bottom a:hover { color: var(--ink); }

/* ── REVEAL ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── RESPONSIVE ─────────────────────── */
@media (max-width: 1080px) {
  .nav-links, .nav-phone { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 960px) {
  .hero-grid, .page-hero-grid, .showcase, .cta-grid, .event-head, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .showcase.flip > :first-child { order: 0; }
  .hero-visual { display: none; }
  .grid-3, .grid-4, .awards, .people, .pipeline { grid-template-columns: repeat(2, 1fr); }
  .grid-5, .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .stats-strip, .hero-stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(3), .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-actions { justify-content: flex-start; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .container, .nav-inner { padding-left: 16px; padding-right: 16px; }
  .nav-right .btn { display: none; }
  .section { padding: 72px 0; }
  .hero { padding: 120px 0 64px; }
  .page-hero { padding: 118px 0 56px; }
  .hero-stats { margin-top: 56px; }
  .grid-2, .grid-3, .grid-4, .awards, .pipeline, .stats-strip, .stats-strip.cols-3, .checklist.cols-2 { grid-template-columns: 1fr; }
  .card.wide { grid-column: span 1; }
  .people { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .person-body { padding: 12px 12px 14px; }
  .person-name { font-size: 15px; }
  .grid-5, .logo-wall, .logo-wall.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .logo-wall > * { min-height: 92px; padding: 18px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .hero-stat, .hero-stat + .hero-stat { padding: 22px 12px 0 0; }
  .hero-stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .hero-stat-num { font-size: 34px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .slot { grid-template-columns: 1fr; gap: 6px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: span 1; }
  .modal-box { padding: 28px 20px; }
  .quote { padding: 32px 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .showcase + .showcase { margin-top: 72px; }
  .contact-card { padding: 24px; }
  .map-frame { aspect-ratio: 4/3; }
}

/* Article */
.article p { margin: 0 0 18px; }
.article .lead { font-size: 20px; color: var(--ink); margin-bottom: 28px; }
.article h2 { margin-top: 44px; }
.article a:not(.btn) { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.article ol li { padding-left: 4px; }
.article ol li::before { display: none; }
.article ul { margin-bottom: 18px; }
.article .quote::before { display: none; }
.faq-body a { color: var(--red); text-decoration: underline; }

/* Language switch */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); background: var(--paper); }
.lang-switch a { padding: 5px 10px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.active { background: var(--white); color: var(--ink); box-shadow: var(--ring); }
.mobile-menu .lang-switch { align-self: flex-start; margin-top: 6px; }
.mobile-menu .lang-switch a { font-family: var(--font-body); font-size: 14px; letter-spacing: 0; border-bottom: 0; padding: 8px 16px; }
@media (max-width: 640px) { .nav-right .lang-switch { display: none; } }

/* Blog list */
.blog-filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.blog-filters button { border: 0; cursor: pointer; padding: 8px 14px; border-radius: var(--r-pill); background: var(--white); box-shadow: var(--ring); font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.blog-filters button.active { background: var(--ink); color: var(--white); box-shadow: none; }
.article-card { display: flex; flex-direction: column; }
.article-card .card-desc { flex: 1; }
.article-card-foot { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 16px; }
.article-card-foot .card-link { margin: 0 0 0 auto; }
.article-card-foot .chip { font-size: 12px; padding: 4px 10px; }
.article-card.hidden { display: none; }
.prose pre { background: var(--ink); color: #f1f1f1; border-radius: var(--r-md); padding: 20px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; margin: 0 0 20px; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.prose :not(pre) > code { background: var(--paper-2); padding: 2px 6px; border-radius: 4px; }
.solutions-box { margin: 40px 0 8px; padding: 22px 24px; border-radius: var(--r-md); background: var(--paper); }
.solutions-box .pill { text-decoration: none !important; color: var(--ink) !important; }
.solutions-box .pill:hover { box-shadow: var(--ring-red); color: var(--red) !important; }

/* Contrast on dark band (WCAG AA) */
.band-dark .card-tag { color: #ff6b73; background: rgba(255,107,115,0.12); }

/* Dark product logos on dark band: white plates */
.band-dark .card.logo-card { background: #fff; box-shadow: none; display: flex; align-items: center; justify-content: center; padding: 26px 30px; min-height: 120px; }
.band-dark .card.logo-card img { max-height: 64px; width: auto; }
