/* ============================================================
   SSB MEDIA — Design System
   Brand red preserved (#fe0101). Premium, professional, modern.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --red:        #fe0101;
  --red-600:    #e00606;
  --red-700:    #bd0404;
  --red-soft:   rgba(254, 1, 1, 0.10);
  --red-glow:   rgba(254, 1, 1, 0.45);
  --amber:      #ffc107;

  /* Neutrals */
  --ink:        #0a0a0c;
  --ink-900:    #101013;
  --ink-800:    #16161a;
  --ink-700:    #1f1f25;
  --ink-600:    #2b2b33;

  --paper:      #ffffff;
  --paper-2:    #f7f7f9;
  --paper-3:    #eef0f3;

  --text:       #14141a;
  --muted:      #5d6068;
  --muted-2:    #8a8d96;

  --line:       #e6e7ec;
  --line-2:     #d8dae1;
  --line-dark:  rgba(255, 255, 255, 0.10);
  --line-dark-2:rgba(255, 255, 255, 0.06);

  /* System */
  --container:  1200px;
  --radius:     18px;
  --radius-sm:  12px;
  --radius-lg:  28px;
  --shadow-sm:  0 1px 2px rgba(16,16,20,.06), 0 4px 14px rgba(16,16,20,.05);
  --shadow:     0 10px 30px rgba(16,16,20,.08), 0 2px 8px rgba(16,16,20,.05);
  --shadow-lg:  0 30px 70px -20px rgba(16,16,20,.30);
  --ease:       cubic-bezier(.22,.61,.36,1);
  --t:          .35s var(--ease);

  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--red); color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.dark { background: var(--ink); color: #e9e9ee; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.muted-bg { background: var(--paper-2); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(2.4rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.01em; }
p  { color: var(--muted); }
.dark p { color: #a9aab3; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.dark .eyebrow { color: #ff5a5a; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.12rem; margin-top: 16px; }

.lead { font-size: 1.2rem; color: var(--muted); }
.highlight { color: var(--red); }
.text-gradient {
  background: linear-gradient(100deg, #fff 30%, #ff7b7b 75%, var(--red));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: .98rem; letter-spacing: -0.01em;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn i { font-size: .9em; transition: transform var(--t); }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 24px -8px var(--red-glow); }
.btn-primary:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: 0 14px 34px -10px var(--red-glow); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-700); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.dark .btn-ghost, .hero .btn-ghost, .page-hero .btn-ghost, .cta .btn-ghost { color: #fff; border-color: var(--line-dark); }
.dark .btn-ghost:hover, .hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .cta .btn-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red); transition: gap var(--t); }
.link-arrow:hover { gap: 12px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t), box-shadow var(--t);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(16,16,20,.02);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.02em; color: #fff; transition: color var(--t); }
.site-header.scrolled .brand { color: var(--ink); }
.brand .mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: var(--red); color: #fff; font-size: .95rem; box-shadow: 0 6px 16px -6px var(--red-glow);
}
.brand-mark { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; display: block; box-shadow: 0 4px 12px -5px rgba(0,0,0,.4); }
.site-footer .brand-mark { box-shadow: none; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; font-weight: 500; font-size: .95rem; color: rgba(255,255,255,.78);
  padding: 9px 14px; border-radius: 9px; transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { color: #fff; }
.site-header.scrolled .nav-links a { color: #3a3b42; }
.site-header.scrolled .nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.site-header.scrolled .nav-links a.active { color: var(--ink); }
/* Mobile dropdown panel is white, so force dark links there regardless of scroll state */
.site-header.open .nav-links a { color: #3a3b42; }
.site-header.open .nav-links a.active { color: var(--ink); }
.nav-links a.badge-hiring::after {
  content: "Hiring"; margin-left: 8px; font-family: var(--font-body); font-size: .62rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--red);
  background: var(--red-soft); padding: 3px 7px; border-radius: 999px; vertical-align: middle;
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 560px at 78% -8%, #2a0606 0%, transparent 60%), var(--ink);
  color: #fff; padding: clamp(140px, 18vh, 200px) 0 clamp(80px, 9vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-dark-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark-2) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(900px 500px at 50% 0%, #000 0%, transparent 75%);
  opacity: .6;
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -120px;
  background: radial-gradient(circle, var(--red-glow), transparent 65%); filter: blur(20px); pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 500;
  color: #d9d9e0; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
  padding: 7px 14px 7px 10px; border-radius: 999px; margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #38d66b; box-shadow: 0 0 0 3px rgba(56,214,107,.18); }
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero h1 .text-gradient { display: inline; }
.hero-tagline { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: #fff; letter-spacing: -0.01em; margin-bottom: 20px; }
.hero-sub { font-size: 1.18rem; color: #b6b7c0; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
.hero-proof { display: grid; grid-template-columns: repeat(4, auto); gap: 38px; }
.hero-proof .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.1rem); color: #fff; letter-spacing: -0.02em; }
.hero-proof .lbl { font-size: .82rem; color: #9092a0; margin-top: 4px; }

/* Hero visual — stacked channel cards */
.hero-visual { position: relative; display: grid; gap: 14px; }
.hv-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: rgba(255,255,255,.045); border: 1px solid var(--line-dark);
  border-radius: 16px; backdrop-filter: blur(6px); transition: transform var(--t), border-color var(--t);
}
.hv-card:hover { transform: translateX(-6px); border-color: rgba(255,255,255,.22); }
.hv-card img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.hv-card .hv-meta { flex: 1; min-width: 0; }
.hv-card .hv-name { font-weight: 600; color: #fff; font-size: .98rem; }
.hv-card .hv-sub { font-size: .82rem; color: #9092a0; }
.hv-card .hv-stat { text-align: right; }
.hv-card .hv-stat b { font-family: var(--font-display); color: #fff; font-size: 1.05rem; }
.hv-card .hv-stat span { display: block; font-size: .72rem; color: #9092a0; }
.hv-prod {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px;
  background: linear-gradient(100deg, rgba(254,1,1,.16), rgba(254,1,1,.04));
  border: 1px solid rgba(254,1,1,.28);
}
.hv-prod .hv-ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 1.1rem; }
.hv-prod .hv-name { font-weight: 600; color: #fff; }
.hv-prod .hv-sub { font-size: .82rem; color: #c9b6b6; }

/* ---------- Logo / trust strip ---------- */
.trust { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 26px 0; }
.trust .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trust .label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #8a8c98; }
.trust .platforms { display: flex; gap: 30px; align-items: center; color: #c9cad3; font-size: 1.5rem; }
.trust .platforms i { transition: color var(--t), transform var(--t); }
.trust .platforms i:hover { color: #fff; transform: translateY(-2px); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  position: relative; padding: 32px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  overflow: hidden;
}
.pillar::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--red); transition: width var(--t); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.pillar:hover::after { width: 100%; }
.pillar .p-ic { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font-size: 1.3rem; margin-bottom: 20px; }
.pillar h3 { margin-bottom: 10px; }
.pillar p { font-size: .98rem; margin-bottom: 18px; }

/* ---------- Channel cards ---------- */
.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.channel-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.channel-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.cc-top { display: flex; align-items: center; gap: 14px; padding: 22px 22px 18px; }
.cc-top img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.cc-name { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }
.cc-handle { font-size: .84rem; color: var(--muted-2); }
.cc-niche { padding: 0 22px; }
.cc-niche .tag { display: inline-block; font-size: .74rem; font-weight: 600; color: var(--red); background: var(--red-soft); padding: 5px 11px; border-radius: 999px; }
.cc-desc { padding: 14px 22px 8px; font-size: .92rem; color: var(--muted); flex: 1; }
.cc-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 8px; }
.cc-stats div { padding: 16px 10px; text-align: center; border-right: 1px solid var(--line); }
.cc-stats div:last-child { border-right: none; }
.cc-stats b { display: block; font-family: var(--font-display); font-size: 1.18rem; letter-spacing: -0.02em; color: var(--ink); }
.cc-stats span { font-size: .72rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .05em; }
.cc-foot { padding: 16px 22px; border-top: 1px solid var(--line); }
.cc-foot a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--ink); transition: gap var(--t), color var(--t); }
.cc-foot a:hover { color: var(--red); gap: 12px; }
.cc-foot i.fa-youtube { color: var(--red); }

/* ---------- Stats band ---------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.statband .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; color: #fff; }
.statband .num .unit { color: var(--red); }
.statband .lbl { color: #9092a0; margin-top: 8px; font-size: .96rem; }

/* ---------- Product showcase ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.product.reverse .product-media { order: 2; }
.product + .product { margin-top: clamp(64px, 8vw, 110px); }
.product-tag { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .82rem; color: var(--red); margin-bottom: 16px; }
.product h2 { margin-bottom: 16px; }
.product .product-lead { font-size: 1.1rem; margin-bottom: 24px; }
.product-feats { display: grid; gap: 14px; margin-bottom: 30px; }
.product-feats li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-weight: 500; }
.product-feats i { color: var(--red); margin-top: 4px; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.mock {
  position: relative; border-radius: var(--radius-lg); padding: 22px;
  background: linear-gradient(160deg, var(--ink-900), var(--ink)); border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock::before { content: ""; position: absolute; width: 320px; height: 320px; right: -80px; top: -80px; background: radial-gradient(circle, var(--red-glow), transparent 70%); }
.mock-bar { display: flex; gap: 7px; margin-bottom: 18px; position: relative; }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.mock-row { display: flex; align-items: center; gap: 13px; padding: 14px; border-radius: 13px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); margin-bottom: 11px; position: relative; }
.mock-row .thumb { width: 56px; height: 38px; border-radius: 7px; background: linear-gradient(135deg, var(--red), #7a0202); flex-shrink: 0; display: grid; place-items: center; color: #fff; font-size: .8rem; }
.mock-row .thumb.alt { background: linear-gradient(135deg, #2b2b33, #15151a); }
.mock-row .ml { flex: 1; }
.mock-row .ml b { color: #fff; font-size: .9rem; display: block; }
.mock-row .ml span { color: #8a8c98; font-size: .76rem; }
.mock-row .pill { font-size: .68rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(56,214,107,.16); color: #4ce07c; }
.mock-row .pill.red { background: var(--red-soft); color: #ff6b6b; }

/* phone mock for app */
.phone {
  width: 230px; margin-inline: auto; border-radius: 36px; padding: 12px;
  background: linear-gradient(160deg, #1a1a1f, #0a0a0c); border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg); position: relative;
}
.phone-screen { border-radius: 26px; overflow: hidden; aspect-ratio: 9/19; background: radial-gradient(120% 80% at 50% 0%, #2a0606, #0a0a0c); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; }
.phone .palm { width: 84px; height: 84px; border-radius: 24px; background: linear-gradient(140deg, var(--red), #6a0202); display: grid; place-items: center; color: #fff; font-size: 2rem; box-shadow: 0 14px 30px -10px var(--red-glow); }
.phone h4 { color: #fff; font-family: var(--font-display); font-size: 1.1rem; }
.phone p { color: #b6b7c0; font-size: .8rem; line-height: 1.5; }
.phone .stars { color: var(--amber); letter-spacing: 3px; }

/* metric strip inside products */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.metric { padding: 20px; border-radius: var(--radius-sm); background: var(--paper-2); border: 1px solid var(--line); }
.metric b { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); display: block; letter-spacing: -0.02em; }
.metric span { font-size: .82rem; color: var(--muted); }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform var(--t), box-shadow var(--t);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .f-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 1.15rem; margin-bottom: 18px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 9px; }
.feature p { font-size: .95rem; }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 26px; }
.step .num { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--line-2); letter-spacing: -0.03em; line-height: 1; margin-bottom: 14px; }
.dark .step .num { color: var(--ink-600); }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .94rem; }

/* ---------- Careers / roles ---------- */
.careers-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.evp { display: grid; gap: 16px; margin-top: 6px; }
.evp li { display: flex; gap: 14px; align-items: flex-start; }
.evp .e-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); color: #ff5a5a; flex-shrink: 0; }
.evp b { color: #fff; display: block; font-size: 1rem; }
.evp span.t { color: #a9aab3; font-size: .92rem; }
.stack { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.stack span { font-size: .82rem; font-weight: 500; color: #d9d9e0; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); padding: 7px 13px; border-radius: 999px; }

.roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.role {
  padding: 22px; border-radius: var(--radius-sm); background: rgba(255,255,255,.03);
  border: 1px solid var(--line-dark); transition: border-color var(--t), background var(--t), transform var(--t);
}
.role:hover { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.05); transform: translateY(-3px); }
.role h3 { font-size: 1.05rem; color: #fff; margin-bottom: 8px; }
.role p { font-size: .9rem; color: #a9aab3; margin-bottom: 14px; }
.role-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.role-meta .tag { font-size: .72rem; font-weight: 500; color: #c9cad3; background: rgba(255,255,255,.05); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-dark); }
.role a.apply { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: #ff5a5a; transition: gap var(--t); }
.role a.apply:hover { gap: 12px; }

/* ---------- Values / about ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t); }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value .v-ic { color: var(--red); font-size: 1.5rem; margin-bottom: 14px; }
.value h3 { font-size: 1.08rem; margin-bottom: 8px; }
.value p { font-size: .92rem; }

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-split + .about-split { margin-top: clamp(48px, 7vw, 90px); }
.about-split.reverse .as-media { order: 2; }
.as-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.as-body h2 { margin-bottom: 18px; }
.as-body p { margin-bottom: 16px; font-size: 1.02rem; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(700px 300px at 80% -20%, #3a0808, transparent 60%), var(--ink);
  padding: clamp(48px, 7vw, 84px); text-align: center; border: 1px solid var(--ink-700);
}
.cta::after { content: ""; position: absolute; width: 400px; height: 400px; left: -120px; bottom: -180px; background: radial-gradient(circle, var(--red-glow), transparent 65%); }
.cta .container, .cta > * { position: relative; z-index: 2; }
.cta h2 { color: #fff; margin-bottom: 16px; }
.cta p { color: #b6b7c0; max-width: 540px; margin: 0 auto 30px; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform var(--t), box-shadow var(--t); text-align: left;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card .c-ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font-size: 1.25rem; margin-bottom: 18px; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-card p { font-size: .94rem; margin-bottom: 10px; }
.contact-card a.c-link { font-weight: 600; color: var(--red); word-break: break-word; }
.contact-card address { font-style: normal; color: var(--text); font-weight: 500; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: radial-gradient(900px 460px at 80% -20%, #2a0606, transparent 60%), var(--ink);
  color: #fff; padding: clamp(130px, 16vh, 180px) 0 clamp(56px, 7vw, 84px); position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-dark-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark-2) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(700px 360px at 50% 0, #000, transparent 75%); opacity: .5;
}
.page-hero .container { position: relative; z-index: 2; max-width: 820px; }
.page-hero h1 { color: #fff; margin-bottom: 18px; }
.page-hero p { color: #b6b7c0; font-size: 1.2rem; max-width: 620px; }
.crumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: #9092a0; margin-bottom: 22px; }
.crumb a:hover { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b6b7c0; padding: 70px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: .94rem; max-width: 300px; color: #9092a0; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); color: #c9cad3; transition: var(--t); }
.footer-social a:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-2px); }
.footer-col h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #71747f; margin-bottom: 16px; }
.footer-col a { display: block; font-size: .95rem; color: #b6b7c0; padding: 6px 0; transition: color var(--t); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; flex-wrap: wrap; font-size: .86rem; color: #71747f; }

/* ---------- Real logos & product media ---------- */
.hv-ic.hv-ic-logo { background: #fff; padding: 8px; }
.hv-ic.hv-ic-logo img { width: 100%; height: 100%; object-fit: contain; }

.product-lockup { display: inline-flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.product-lockup .pl-logo { width: 50px; height: 50px; border-radius: 13px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 8px; box-shadow: var(--shadow-sm); flex-shrink: 0; }
.dark .product-lockup .pl-logo, .page-hero .product-lockup .pl-logo { border-color: var(--line-dark); }
.product-lockup .pl-logo img { width: 100%; height: 100%; object-fit: contain; }
.product-lockup .pl-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--text); line-height: 1.15; }
.dark .product-lockup .pl-name, .page-hero .product-lockup .pl-name { color: #fff; }
.product-lockup .pl-tag { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; color: var(--muted-2); text-transform: uppercase; }

/* Video in browser-chrome frame */
.video-frame { position: relative; border-radius: var(--radius-lg); padding: 14px; background: linear-gradient(160deg, var(--ink-900), var(--ink)); border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg); overflow: hidden; }
.video-frame::before { content: ""; position: absolute; width: 300px; height: 300px; right: -80px; top: -90px; background: radial-gradient(circle, var(--red-glow), transparent 70%); pointer-events: none; z-index: 0; }
.video-frame .vf-bar { display: flex; gap: 7px; margin-bottom: 12px; position: relative; z-index: 1; padding-left: 4px; }
.video-frame .vf-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.video-frame video { display: block; width: 100%; border-radius: 12px; position: relative; z-index: 1; background: #000; }

/* Demo-step cards with video */
.vsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vstep { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform var(--t), box-shadow var(--t); }
.vstep:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.vstep video { width: 100%; display: block; background: #0a0a0c; aspect-ratio: 16/11; object-fit: cover; }
.vstep .vs-body { padding: 20px 22px 24px; }
.vstep .vs-num { font-family: var(--font-display); font-weight: 700; color: var(--red); font-size: .82rem; letter-spacing: .08em; }
.vstep h3 { font-size: 1.1rem; margin: 6px 0 8px; }
.vstep p { font-size: .92rem; }

/* Testimonials */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 15px; transition: transform var(--t), box-shadow var(--t); }
.dark .tcard { background: rgba(255,255,255,.03); border-color: var(--line-dark); }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tcard .stars { color: var(--amber); letter-spacing: 2px; font-size: .9rem; }
.tcard p { color: var(--text); font-size: 1.04rem; line-height: 1.55; flex: 1; }
.dark .tcard p { color: #e9e9ee; }
.tcard .who { font-size: .88rem; color: var(--muted); font-weight: 600; }
.dark .tcard .who { color: #9092a0; }

/* Palmina real app icon in phone */
.phone .palm-logo { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 16px 36px -10px rgba(0,0,0,.6); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 460px; }
  .pillars, .channel-grid, .feature-grid, .vsteps, .tcards { grid-template-columns: repeat(2, 1fr); }
  .product, .about-split, .careers-split { grid-template-columns: 1fr; gap: 36px; }
  .product.reverse .product-media, .about-split.reverse .as-media { order: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .statband { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-cta .btn:not(.nav-toggle) { display: none; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 4px; padding: 16px 24px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-header.open .nav-links a { padding: 13px 14px; }
  .hero-proof { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .pillars, .channel-grid, .feature-grid, .values, .metrics, .roles, .vsteps, .tcards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .trust .container { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .statband { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
}
