/* ── RESET & BASE ──────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── PIXEL LOGO ─────────────────────────────────────────────────── */
.pixel-logo {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: inherit;
  text-decoration: none;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none !important;
}
.pixel-logo-hero {
  font-family: 'Press Start 2P', monospace;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 28px;
  line-height: 1.5;
}

:root {
  --bg:      #F5F5F5;
  --bg-off:  #EEEEEE;
  --bg-dk:   #111111;
  --text:    #111111;
  --muted:   #575757;
  --faint:   #999999;
  --accent:  #1D4ED8;
  --surface: rgba(255, 255, 255, 0.72);
  --border:  rgba(0, 0, 0, 0.07);
  --nav-h:   68px;
  --max-w:   1240px;
  --pad:     clamp(28px, 5vw, 72px);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.65;
}

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

/* ── SCROLL PROGRESS ───────────────────────────────────────────── */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 9999;
  background: var(--accent); width: 0%; transition: width 0.1s linear;
  pointer-events: none;
}

/* ── NAV ────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 800;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  background: rgba(245, 245, 245, 0.90);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.logo {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  text-decoration: none; color: var(--text);
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 13px; color: var(--muted);
  text-decoration: none; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-btn {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  text-decoration: none; color: var(--text);
  padding: 10px 22px; border-radius: 100px;
  border: 1.5px solid rgba(0,0,0,0.18);
  transition: all 0.22s;
}
.nav-btn:hover { background: var(--text); color: #fff; border-color: var(--text); }

/* ── ANIMATION HELPERS ─────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.fade-up.delay-1 { transition-delay: 0.10s; }
.fade-up.delay-2 { transition-delay: 0.20s; }
.fade-up.delay-3 { transition-delay: 0.30s; }
.fade-up.delay-4 { transition-delay: 0.40s; }
.fade-in {
  opacity: 0;
  transition: opacity 1.0s ease;
}
.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.visible {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* ── LAYOUT HELPERS ────────────────────────────────────────────── */
.inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: 112px 0; }
.section-alt { background: var(--bg-off); }

/* ── TYPOGRAPHY ────────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
h1 {
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 800; line-height: 1.03;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 800; line-height: 1.06;
  letter-spacing: -0.03em;
}
h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--muted); line-height: 1.75;
  font-weight: 400;
}
p { font-size: 15px; color: var(--muted); line-height: 1.75; }

/* ── PILL BUTTON ───────────────────────────────────────────────── */
.pill-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 100px;
  border: 1.5px solid rgba(0,0,0,0.18);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  text-decoration: none; color: var(--text);
  transition: all 0.24s;
}
.pill-btn:hover { background: var(--text); color: #fff; border-color: var(--text); }
.pill-btn svg { transition: transform 0.24s; }
.pill-btn:hover svg { transform: translateX(4px); }

.pill-btn-dark {
  background: #fff; color: var(--bg-dk);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.pill-btn-dark:hover { background: var(--bg-dk); color: #fff; border-color: var(--bg-dk); }

/* ── HERO ───────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: var(--nav-h);
  background: linear-gradient(155deg, #F7F7F7 0%, #F0F0F0 60%, #E9E9E9 100%);
  overflow: hidden;
}
.hero-text {
  padding: 80px var(--pad) 80px;
  padding-right: 48px;
}
.hero-text h1 { margin-bottom: 24px; max-width: 560px; }
.hero-text .lead { max-width: 440px; }
.hero-text .pill-btn { margin-top: 40px; }

.hero-visual {
  display: flex; align-items: center; justify-content: center;
  padding: 60px var(--pad) 60px 24px;
  position: relative;
}
.hero-img-wrap {
  position: relative; width: 100%; max-width: 620px;
  border-radius: 16px; overflow: hidden;
  box-shadow:
    0 80px 120px rgba(0,0,0,0.12),
    0 32px 48px rgba(0,0,0,0.08),
    0 8px 16px rgba(0,0,0,0.06);
  transform: rotate(1.5deg);
  transition: transform 0.6s ease;
}
.hero-img-wrap:hover { transform: rotate(0.5deg) scale(1.01); }

/* ── CAPABILITIES ──────────────────────────────────────────────── */
.capabilities { padding: 120px 0; }
.capabilities-header { margin-bottom: 64px; }
.caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cap-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px 44px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.cap-card:hover {
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.cap-icon {
  width: 44px; height: 44px;
  background: var(--bg-off);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.cap-card h3 { margin-bottom: 14px; }
.cap-card p { font-size: 14px; line-height: 1.75; }

/* ── SHOWCASE ──────────────────────────────────────────────────── */
.showcase { padding: 0; background: var(--bg-off); }
.showcase-header { padding: 120px var(--pad) 72px; max-width: var(--max-w); margin: 0 auto; }

.showcase-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  overflow: hidden;
}
.showcase-panel.reverse { direction: rtl; }
.showcase-panel.reverse > * { direction: ltr; }

.panel-visual-wrap {
  position: relative;
  overflow: hidden;
  background: #1A1A1A;
}
.panel-visual-wrap svg,
.panel-visual-wrap .photo-sim {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.showcase-panel:hover .panel-visual-wrap svg { transform: scale(1.02); }

.panel-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 72px 64px;
  background: #fff;
}
.panel-text .eyebrow { margin-bottom: 14px; }
.panel-text h3 { font-size: clamp(24px, 3vw, 38px); margin-bottom: 20px; }
.panel-text p { font-size: 15px; line-height: 1.80; max-width: 380px; }
.panel-num {
  font-size: 80px; font-weight: 800;
  letter-spacing: -0.05em; line-height: 1;
  color: rgba(0,0,0,0.04);
  margin-bottom: 12px;
}

/* ── PHILOSOPHY ────────────────────────────────────────────────── */
.philosophy {
  padding: 140px 0;
  background: var(--bg-dk);
  color: #fff;
}
.philosophy .eyebrow { color: rgba(255,255,255,0.35); }
.philosophy h2 { color: rgba(255,255,255,0.90); margin-bottom: 80px; }
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
}
.principle {
  padding: 48px 44px 52px;
  border-right: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
  transition: background 0.3s;
}
.principle:last-child { border-right: none; }
.principle:hover { background: rgba(255,255,255,0.05); }
.principle-num {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.principle h3 {
  font-size: 22px; font-weight: 700;
  color: rgba(255,255,255,0.90);
  margin-bottom: 14px; letter-spacing: -0.02em;
}
.principle p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.75; }

/* ── FOUNDERS ──────────────────────────────────────────────────── */
.founders { padding: 120px 0; background: var(--bg); }
.founders-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 80px;
  align-items: center;
}
.founders-text h2 { margin-bottom: 28px; }
.founders-text p { font-size: 15px; line-height: 1.82; margin-bottom: 18px; }
.founder-badges {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.founder-badge {
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px 10px 10px;
}
.founder-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #1D4ED8, #3B82F6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.founder-info p { font-size: 13px; font-weight: 600; color: var(--text); margin: 0; line-height: 1.3; }
.founder-info span { font-size: 11px; color: var(--muted); }

.founders-aside {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px;
}
.founders-aside .eyebrow { margin-bottom: 20px; }
.founders-aside h3 { margin-bottom: 20px; font-size: 22px; }
.aside-stat {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.aside-stat:last-child { border-bottom: none; }
.aside-stat-label { font-size: 13px; color: var(--muted); }
.aside-stat-val { font-size: 18px; font-weight: 700; }

/* ── CONTACT ───────────────────────────────────────────────────── */
.contact { padding: 120px 0; background: var(--bg-off); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-text h2 { margin-bottom: 20px; }
.contact-text .lead { margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
}
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.contact-item-text p {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 4px;
}
.contact-item-text a,
.contact-item-text span {
  font-size: 15px; font-weight: 500;
  color: var(--text); text-decoration: none;
  transition: color 0.2s;
}
.contact-item-text a:hover { color: var(--accent); }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px;
}
.contact-form h3 { margin-bottom: 28px; font-size: 22px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(29,78,216,0.4);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%; margin-top: 8px;
  background: var(--text); color: #fff;
  border: none; border-radius: 10px;
  padding: 14px 24px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; font-family: inherit;
  transition: background 0.22s, transform 0.22s;
}
.form-submit:hover { background: #222; transform: translateY(-1px); }

/* ── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: var(--bg-dk);
  color: rgba(255,255,255,0.85);
  padding: 80px var(--pad) 48px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  font-size: 13px; color: rgba(255,255,255,0.38);
  line-height: 1.75; margin-top: 16px; max-width: 280px;
}
.footer-col h4 {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px; color: rgba(255,255,255,0.55);
  text-decoration: none; transition: color 0.2s;
}
.footer-col a:hover { color: rgba(255,255,255,0.90); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-logo {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}

/* ── SUBPAGE HERO ───────────────────────────────────────────────── */
.subpage-hero {
  padding: calc(var(--nav-h) + 80px) var(--pad) 80px;
  max-width: var(--max-w); margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.subpage-hero .eyebrow { margin-bottom: 14px; }
.subpage-hero h1 { font-size: clamp(36px, 5vw, 72px); margin-bottom: 20px; }
.subpage-hero p { font-size: 15px; color: var(--muted); max-width: 520px; }

/* ── SUBPAGE CONTENT ────────────────────────────────────────────── */
.subpage-content {
  max-width: 780px; margin: 0 auto;
  padding: 80px var(--pad) 120px;
}
.subpage-content h2 {
  font-size: 22px; font-weight: 700;
  margin: 52px 0 16px; letter-spacing: -0.02em;
}
.subpage-content h2:first-child { margin-top: 0; }
.subpage-content p {
  font-size: 15px; line-height: 1.82;
  color: var(--muted); margin-bottom: 16px;
}
.subpage-content ul {
  margin: 12px 0 20px 20px;
}
.subpage-content ul li {
  font-size: 15px; line-height: 1.80;
  color: var(--muted); margin-bottom: 8px;
}
.subpage-content strong { color: var(--text); font-weight: 600; }
.subpage-divider {
  border: none; border-top: 1px solid var(--border);
  margin: 40px 0;
}
.last-updated {
  font-size: 12px; color: var(--faint);
  letter-spacing: 0.05em; margin-bottom: 48px;
}

/* ── CAREERS PAGE ───────────────────────────────────────────────── */
.careers-intro { padding: 80px 0 60px; }
.job-list { display: flex; flex-direction: column; gap: 16px; margin-top: 52px; }
.job-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px; padding: 32px 36px;
  display: flex; align-items: center; justify-content: space-between;
  text-decoration: none; color: var(--text);
  transition: box-shadow 0.25s, transform 0.25s;
}
.job-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.job-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.job-meta { display: flex; gap: 12px; margin-top: 10px; }
.job-tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--bg); padding: 4px 12px; border-radius: 100px;
  color: var(--muted);
}
.job-tag.blue { background: rgba(29,78,216,0.08); color: var(--accent); }
.job-arrow { opacity: 0.25; transition: opacity 0.2s, transform 0.2s; }
.job-card:hover .job-arrow { opacity: 0.7; transform: translateX(4px); }

.open-app {
  background: var(--bg-off);
  border-radius: 20px; padding: 60px;
  text-align: center; margin-top: 80px;
}
.open-app h3 { font-size: 28px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.03em; }
.open-app p { max-width: 400px; margin: 0 auto 32px; }

/* ── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-text { padding: 60px var(--pad); }
  .caps-grid { grid-template-columns: 1fr; }
  .showcase-panel { grid-template-columns: 1fr; min-height: auto; }
  .showcase-panel.reverse { direction: ltr; }
  .panel-visual-wrap { min-height: 320px; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .founders-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav-links { display: none; }
}
