/* ================= Codartia — Institucional ================= */

:root {
  --brand: #A78BFA;          /* violet sun */
  --brand-deep: #6D45E0;
  --brand-soft: #C8B4FF;

  --bg-0: #06050D;
  --bg-1: #0C0A18;
  --bg-2: #14102A;
  --surface: rgba(255,255,255,0.04);
  --surface-strong: rgba(255,255,255,0.08);
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);
  --text: #F1ECFF;
  --text-dim: #B5AECC;
  --text-mute: #7C7595;

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --max: 1280px;
  --pad: clamp(20px, 4vw, 56px);

  --shadow-sun: 0 0 80px 10px color-mix(in oklch, var(--brand) 35%, transparent),
                0 0 200px 40px color-mix(in oklch, var(--brand) 20%, transparent);
}

/* Light mode */
[data-theme="light"] {
  --bg-0: #F6F4FF;
  --bg-1: #ECE7FF;
  --bg-2: #DCD3FF;
  --surface: rgba(20, 16, 42, 0.04);
  --surface-strong: rgba(20, 16, 42, 0.07);
  --line: rgba(20, 16, 42, 0.10);
  --line-strong: rgba(20, 16, 42, 0.18);
  --text: #15102B;
  --text-dim: #3D335C;
  --text-mute: #6B638A;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body { min-height: 100vh; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ============= Layout ============= */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  width: 100%;
}

.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--brand);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin-bottom: 20px;
}

.section-lede {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text-dim);
  max-width: 620px;
  text-wrap: pretty;
}

/* ============= Stars background ============= */
.cosmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.cosmos canvas { width: 100%; height: 100%; display: block; }

[data-theme="light"] .cosmos { opacity: 0.18; mix-blend-mode: multiply; }

.bg-grad {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 800px at 50% 0%, color-mix(in oklch, var(--brand) 22%, transparent), transparent 60%),
    radial-gradient(800px 600px at 90% 60%, color-mix(in oklch, var(--brand-deep) 16%, transparent), transparent 70%),
    radial-gradient(900px 700px at 10% 90%, color-mix(in oklch, var(--brand) 12%, transparent), transparent 70%);
}
[data-theme="light"] .bg-grad {
  background:
    radial-gradient(1200px 800px at 50% 0%, color-mix(in oklch, var(--brand) 22%, transparent), transparent 60%),
    radial-gradient(900px 700px at 10% 90%, color-mix(in oklch, var(--brand) 10%, transparent), transparent 70%);
}

.app-root { position: relative; z-index: 1; }

/* ============= Nav ============= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: color-mix(in oklch, var(--bg-0) 65%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 36px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 18px;
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff 0%, var(--brand) 35%, var(--brand-deep) 80%);
  box-shadow: 0 0 20px color-mix(in oklch, var(--brand) 50%, transparent);
}
.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav-link {
  font-size: 14px;
  color: var(--text-dim);
  transition: color .2s;
  position: relative;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -23px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 1px;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ============= Lang toggle ============= */
.lang-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.lang-toggle button {
  padding: 6px 10px;
  border-radius: 100px;
  color: var(--text-mute);
  transition: all .2s;
}
.lang-toggle button.on {
  background: var(--brand);
  color: #15102B;
  font-weight: 600;
}

/* ============= Buttons ============= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #15102B;
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--brand) 60%, transparent),
              0 8px 30px -6px color-mix(in oklch, var(--brand) 50%, transparent);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--brand), 0 12px 40px -6px color-mix(in oklch, var(--brand) 70%, transparent); }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--surface-strong); border-color: var(--line-strong); }
.btn-link {
  padding: 0;
  background: none;
  color: var(--brand-soft);
  font-size: 14px;
}
.btn-link:hover { color: var(--text); }

/* ============= Hero ============= */
.hero {
  position: relative;
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: 0;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.hero-eyebrow .pill {
  background: var(--brand);
  color: #15102B;
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin: 0 auto 24px;
  max-width: 14ch;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand-soft), var(--brand), #FF9EBA 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 22px);
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto 36px;
  text-wrap: pretty;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* The planet system canvas */
.planet-stage {
  position: relative;
  margin: 0 auto;
  width: min(96vw, 1100px);
  aspect-ratio: 1.15 / 1;
  max-height: 90vh;
}
@media (max-width: 700px) {
  .planet-stage { aspect-ratio: 1 / 1; max-height: 80vh; }
}

.planet-tooltip {
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -100%);
  background: color-mix(in oklch, var(--bg-0) 92%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 200px;
  max-width: 280px;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity .15s;
  z-index: 5;
}
.planet-tooltip.show { opacity: 1; }
.planet-tooltip .tt-name {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.planet-tooltip .tt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.planet-tooltip .tt-tag {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
  text-wrap: pretty;
}
.planet-tooltip .tt-cta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-soft);
  margin-top: 8px;
}

.hero-instruction {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 18px;
}

/* ============= Stats strip ============= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: clamp(60px, 10vw, 120px);
}
.stat {
  background: var(--bg-0);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 13px;
  color: var(--text-dim);
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============= Product grid (cards) ============= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all .3s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  cursor: pointer;
}
.product-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c) 0%, transparent 70%);
  opacity: 0.4;
  filter: blur(40px);
  transition: all .4s;
  pointer-events: none;
}
.product-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}
.product-card:hover::before {
  opacity: 0.7;
  top: -20%;
}
.product-card .pc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in oklch, white 40%, var(--c)) 0%, var(--c) 60%, color-mix(in oklch, var(--c) 60%, black) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  letter-spacing: -0.03em;
  box-shadow: 0 4px 16px color-mix(in oklch, var(--c) 40%, transparent);
}
.product-card .pc-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.product-card .pc-segment {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.product-card .pc-tag {
  font-size: 15px;
  color: var(--text-dim);
  flex: 1;
  text-wrap: pretty;
}
.product-card .pc-foot {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============= Cases ============= */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 820px) { .cases-grid { grid-template-columns: 1fr; } }

.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.case-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.case-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.case-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute); text-align: right; }
.case-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.case-metric {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--brand-soft);
  letter-spacing: -0.01em;
}
.case-author { font-size: 13px; color: var(--text-dim); display: flex; gap: 6px; flex-wrap: wrap; }
.case-author strong { color: var(--text); font-weight: 500; }

/* ============= Segments / Solutions ============= */
.segment-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.segment-row {
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 800px) { .segment-row { grid-template-columns: 1fr; gap: 20px; } }
.segment-row h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.5vw, 36px);
  letter-spacing: -0.025em;
}
.segment-row .seg-counter {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.segment-products { display: flex; flex-wrap: wrap; gap: 10px; }
.seg-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 16px 10px 10px;
  transition: all .2s;
}
.seg-chip:hover { background: var(--surface-strong); border-color: var(--line-strong); }
.seg-chip .chip-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, color-mix(in oklch, white 40%, var(--c)), var(--c));
  box-shadow: 0 0 12px color-mix(in oklch, var(--c) 40%, transparent);
}
.seg-chip .chip-name { font-size: 14px; font-weight: 500; }

/* ============= Footer ============= */
.footer {
  border-top: 1px solid var(--line);
  margin-top: clamp(80px, 12vw, 140px);
  padding: 60px 0 40px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-dim); transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
}

/* ============= Reveal animations =============
 * Disabled — preview environment does not advance CSS animations
 * reliably. Content stays fully visible.
 */
.reveal, .reveal.in { opacity: 1; transform: none; }

/* ============= About page ============= */
.about-hero {
  padding-top: clamp(60px, 8vw, 120px);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 800px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
}
.value-card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.value-card p { color: var(--text-dim); font-size: 15px; text-wrap: pretty; }

/* ============= MVV (Mission/Vision/Values) ============= */
.mvv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.mvv-values { grid-column: 1 / -1; }
@media (max-width: 820px) {
  .mvv-grid { grid-template-columns: 1fr; }
  .mvv-values { grid-column: auto; }
}

.mvv-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mvv-card::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -30%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c) 0%, transparent 65%);
  opacity: 0.35;
  filter: blur(50px);
  pointer-events: none;
}
.mvv-mission { --c: var(--brand); }
.mvv-vision  { --c: #FFB44C; }
.mvv-values  { --c: #14C8B0; }

.mvv-marker {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in oklch, var(--c) 18%, transparent);
  color: var(--c);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in oklch, var(--c) 30%, transparent);
}
.mvv-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c);
}
.mvv-body {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: pretty;
  color: var(--text);
  max-width: 36ch;
}

.mvv-values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  margin-top: 8px;
}
@media (max-width: 720px) { .mvv-values-list { grid-template-columns: 1fr; gap: 22px; } }
.mvv-values-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.mvv-bullet {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c);
  letter-spacing: 0.06em;
  min-width: 22px;
  padding-top: 2px;
}
.mvv-values-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  color: var(--text);
}
.mvv-values-list p {
  font-size: 14px;
  color: var(--text-dim);
  text-wrap: pretty;
  line-height: 1.5;
}

.timeline {
  display: flex;
  flex-direction: column;
}
.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-year {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-soft);
  letter-spacing: 0.04em;
}
.timeline-body {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.015em;
  text-wrap: pretty;
  color: var(--text);
}

/* ============= Blog ============= */
.blog-list {
  display: flex;
  flex-direction: column;
}
.blog-row {
  display: grid;
  grid-template-columns: 80px 1fr 0.4fr 16px;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  transition: padding .2s;
  cursor: pointer;
}
.blog-row:last-child { border-bottom: 1px solid var(--line); }
.blog-row:hover { padding-left: 12px; padding-right: 12px; background: var(--surface); }
.blog-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-soft);
}
.blog-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 24px);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.blog-excerpt {
  font-size: 14px;
  color: var(--text-dim);
  text-wrap: pretty;
}
.blog-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  text-align: right;
}
.blog-arrow { color: var(--text-mute); transition: transform .2s; }
.blog-row:hover .blog-arrow { transform: translateX(4px); color: var(--brand-soft); }
@media (max-width: 740px) {
  .blog-row { grid-template-columns: 1fr; gap: 8px; }
  .blog-meta { text-align: left; }
}

/* ============= Careers ============= */
.careers-list { display: flex; flex-direction: column; }
.career-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.6fr 0.6fr 20px;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  cursor: pointer;
  transition: padding .2s;
}
.career-row:last-child { border-bottom: 1px solid var(--line); }
.career-row:hover { padding-left: 12px; padding-right: 12px; background: var(--surface); }
.career-role {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.015em;
}
.career-meta { font-size: 13px; color: var(--text-dim); }
.career-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px 10px;
  color: var(--text-dim);
}
@media (max-width: 800px) {
  .career-row { grid-template-columns: 1fr; gap: 6px; }
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px) { .benefits { grid-template-columns: 1fr; } }
.benefit { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.benefit h5 { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.benefit p { font-size: 14px; color: var(--text-dim); text-wrap: pretty; }

/* ============= Contact ============= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.field input, .field textarea, .field select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--surface-strong);
}
.field textarea { resize: vertical; min-height: 110px; }

.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-block h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.contact-block p { font-size: 17px; }

/* ============= Mobile nav ============= */
.menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}
@media (max-width: 880px) { .menu-btn { display: inline-flex; } }
.menu-btn svg { width: 16px; height: 16px; }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: color-mix(in oklch, var(--bg-0) 96%, transparent);
  backdrop-filter: blur(20px);
  z-index: 49;
  padding: 24px var(--pad);
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
}

/* ============= Product Modal ============= */
.pm-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: color-mix(in oklch, #000 70%, transparent);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pm-modal {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: 36px;
  max-width: 620px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.6),
              0 0 60px -10px color-mix(in oklch, var(--c, var(--brand)) 30%, transparent);
}
.pm-modal::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 280px;
  background: radial-gradient(circle at 80% 0%, var(--c) 0%, transparent 60%);
  opacity: 0.25;
  pointer-events: none;
  border-top-right-radius: var(--r-xl);
}
.pm-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
}
.pm-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, color-mix(in oklch, white 40%, var(--c)) 0%, var(--c) 60%, color-mix(in oklch, var(--c) 60%, black));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 8px 24px color-mix(in oklch, var(--c) 50%, transparent);
  flex-shrink: 0;
}
.pm-seg {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.pm-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.025em;
  margin-top: 2px;
}
.pm-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 22px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: all .2s;
}
.pm-close:hover { background: var(--surface-strong); color: var(--text); transform: rotate(90deg); }
.pm-tagline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 18px;
  text-wrap: pretty;
}
.pm-body p { color: var(--text-dim); font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.pm-features { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.pm-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}
.pm-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.pm-actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.pm-actions .btn { flex: 1; justify-content: center; min-width: 180px; }

/* Misc */
.kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 6px;
}

.dim { color: var(--text-dim); }
.mute { color: var(--text-mute); }
