/* Cortex Digital LLC — converted from Claude Design project 43f605d4 */

:root {
  --bg: #F3F1EC;
  --bg-card: #FBFAF7;
  --bg-footer: #ECE9E2;
  --ink: #15171C;
  --ink-soft: #3A3D45;
  --ink-faint: #5A5E68;
  --border: #DEDAD1;
  --border-input: #CFCAC0;
  --accent: #2F4BD8;
  --accent-dark: #1A2E99;
  --accent-soft: #E4E7FB;
  --lavender: #7C8CFF;
  --green: #2BB673;
  --green-soft: #DDF2E7;
  --green-ink: #14653E;
  --error: #C0362C;
  --paper: #F3F1EC;
  --mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

input, select, textarea, button { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 241, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink);
  display: grid;
  place-items: center;
}
.brand-mark span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lavender);
}
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.site-nav a { color: var(--ink-soft); }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.btn {
  display: inline-block;
  cursor: pointer;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
}
.btn:hover { background: var(--accent); color: #fff; text-decoration: none; }

/* Hero */
.hero { padding-top: 96px; padding-bottom: 72px; }
.hero-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-input);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-banner .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.hero h1 {
  font-size: clamp(44px, 7.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 28px 0 0;
  max-width: 13ch;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); }
.hero p {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 28px 0 0;
  text-wrap: pretty;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 15px 25px;
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }

/* Ticker strip */
.ticker { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 24px; overflow: hidden; }
.ticker-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.ticker-inner .diamond { color: var(--accent); }

/* Sections */
.section { padding-top: 112px; padding-bottom: 112px; }
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: end;
}
.section-head h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 14px 0 0;
  max-width: 14ch;
}
.section-head .intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 52ch;
  text-wrap: pretty;
}

/* Services cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 300px;
}
.service-card:hover { border-color: var(--ink); }
.service-card .num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.service-card h3 { font-size: 24px; letter-spacing: -0.02em; font-weight: 700; margin: auto 0 0; }
.service-card p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0; text-wrap: pretty; }

/* Quote band */
.quote-band { background: var(--ink); color: var(--paper); }
.quote-band .container { padding-top: 112px; padding-bottom: 112px; display: grid; gap: 40px; }
.quote-band blockquote {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 500;
  max-width: 28ch;
  text-wrap: pretty;
}
.quote-attrib { display: flex; align-items: center; gap: 14px; }
.quote-attrib .rule { width: 40px; height: 2px; background: var(--lavender); }
.quote-attrib .who { font-weight: 700; }
.quote-attrib .what {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A9ACB5;
  margin-top: 4px;
}

/* Careers */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px;
}
.careers-grid h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 14px 0 0;
}
.chips {
  display: inline-flex;
  gap: 8px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chip-blue { background: var(--accent-soft); color: var(--accent-dark); padding: 6px 10px; border-radius: 6px; }
.chip-green { background: var(--green-soft); color: var(--green-ink); padding: 6px 10px; border-radius: 6px; }
.careers-copy {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 24px 0 0;
  max-width: 46ch;
  text-wrap: pretty;
}
.careers-note { font-size: 15px; color: var(--ink-faint); margin: 20px 0 0; }
.jobs { display: flex; flex-direction: column; gap: 12px; }
.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.job-card .job-info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.job-card h4 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; margin: 0; }
.job-card .meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.job-card .desc { font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin: 4px 0 0; max-width: 44ch; }
.btn-apply {
  cursor: pointer;
  border: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
}
.btn-apply:hover { background: var(--ink); }

/* Contact CTA */
.contact-section { padding-bottom: 112px; }
.cta-card {
  background: var(--accent);
  color: #fff;
  border-radius: 28px;
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-card h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0;
  max-width: 14ch;
}
.cta-card p {
  font-size: 19px;
  line-height: 1.5;
  margin: 18px 0 0;
  max-width: 42ch;
  color: var(--accent-soft);
}
.btn-light {
  background: #fff;
  color: var(--ink);
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
}
.btn-light:hover { background: var(--bg); color: var(--ink); text-decoration: none; }

/* Doc pages (about / services / privacy) */
.doc { max-width: 760px; margin: 0 auto; padding: 88px 24px 112px; }
.back-link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.doc .doc-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 40px;
}
.doc h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 14px 0 0;
}
.doc .lede { font-size: 20px; line-height: 1.55; color: var(--ink-soft); margin: 24px 0 0; text-wrap: pretty; }
.doc-body {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 56px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.doc-body section { display: flex; flex-direction: column; gap: 12px; }
.doc-body h2 { font-size: 22px; letter-spacing: -0.015em; font-weight: 700; margin: 0; }
.doc-body p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); margin: 0; text-wrap: pretty; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-footer); }
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.6; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .name { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.footer-brand p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; max-width: 32ch; }
.footer-head {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.footer-col a.plain { color: var(--ink); }
.footer-col a.plain:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Apply modal */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(21, 23, 28, 0.55);
  overflow-y: auto;
  padding: 40px 16px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.overlay[hidden] { display: none; }
.modal {
  background: var(--bg-card);
  border-radius: 24px;
  width: 100%;
  max-width: 620px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal-head h3 { font-size: 28px; letter-spacing: -0.025em; font-weight: 800; margin: 8px 0 0; }
.modal-close {
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 18px;
  color: var(--ink);
}
.modal-close:hover { background: var(--bg-footer); }
.apply-form {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field.full { grid-column: 1 / -1; }
.field input,
.field select,
.field textarea {
  font-size: 16px;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid var(--border-input);
  border-radius: 10px;
  background: #fff;
  outline: none;
}
.field input:focus,
.field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
  grid-column: 1 / -1;
}
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); }
.form-footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.form-footer .assurance { font-size: 13px; color: var(--ink-faint); }
.btn-submit {
  cursor: pointer;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
}
.btn-submit:hover { background: var(--accent); color: #fff; }

/* Modal success view */
.success-view { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.success-view[hidden] { display: none; }
.success-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-ink);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
}
.success-view h4 { font-size: 22px; margin: 0; font-weight: 700; }
.success-view p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.success-summary {
  white-space: pre-wrap;
  background: var(--bg-footer);
  border-radius: 12px;
  padding: 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  max-height: 220px;
  overflow: auto;
}
.success-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-accent {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
}
.btn-accent:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }
.btn-ghost-outline {
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 11px 19px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
}
.btn-plain {
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 11px 12px;
  font-weight: 600;
  color: var(--ink-faint);
}

@media (max-width: 640px) {
  .site-nav { gap: 18px; font-size: 14px; }
  .hero { padding-top: 64px; padding-bottom: 56px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
}
