
:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.08);
  --accent-strong: rgba(79, 70, 229, 0.16);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --danger: #f97373;
  --max-width: 1120px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-inner {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 56px;
}

@media (min-width: 768px) {
  .page-inner {
    padding: 28px 24px 72px;
  }
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.7), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (min-width: 768px) {
  .header-inner {
    padding: 16px 24px 12px;
  }
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: radial-gradient(circle at 0% 0%, #22d3ee 0, #4f46e5 30%, #a855f7 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.9);
}

.brand-logo span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5, #22d3ee);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.9);
}

.nav-cta span {
  opacity: 0.96;
}

.nav-link-muted {
  color: var(--muted);
}

.nav-link-active {
  color: #f9fafb;
}

.nav-link-muted:hover,
.nav-link-active:hover {
  color: #e5e7eb;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.7), rgba(15, 23, 42, 0.96));
  color: #e5e7eb;
  font-size: 18px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(circle at top, #020617, #020617);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav a {
  padding: 8px 4px;
  font-size: 14px;
}

.mobile-nav .nav-cta {
  margin-top: 4px;
  align-self: flex-start;
}

/* Hero / Layout */
.hero {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr);
  gap: 20px;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    align-items: stretch;
  }
}

.hero-main {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8));
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 24px 20px 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero-main {
    padding: 28px 24px 22px;
  }
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), rgba(15, 23, 42, 0.9));
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5e7eb;
  gap: 6px;
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle at center, #22c55e, #166534);
  box-shadow: 0 0 10px rgba(22, 163, 74, 0.8);
}

.hero-title {
  font-size: clamp(34px, 4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.hero-title span {
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 38rem;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-primary {
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5, #22d3ee);
  border: none;
  color: #f9fafb;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.95);
  cursor: pointer;
}

.btn-secondary {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
  color: var(--muted);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.hero-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero-card-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 900px) {
  .hero-card-grid {
    gap: 14px;
  }
}

.hero-mini-card {
  padding: 10px 10px 11px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.96));
}

.hero-mini-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  margin-bottom: 4px;
}

.hero-mini-body {
  font-size: 12px;
  color: #e5e7eb;
}

/* Hero side panel */
.hero-side {
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
  padding: 16px 14px 14px;
  box-shadow: var(--shadow-soft);
}

.hero-side-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.hero-side-label {
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-side-badge {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #bbf7d0;
}

.hero-company-list {
  margin: 10px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.company-pill {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.company-pill-main {
  display: flex;
  flex-direction: column;
}

.company-pill-title {
  font-size: 12px;
  font-weight: 500;
}

.company-pill-sub {
  font-size: 11px;
  color: var(--muted);
}

.company-pill-link {
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--muted);
}

/* Sections */
.page-section {
  margin-top: 32px;
}

.section-card {
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(150deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
  padding: 22px 18px 20px;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 900px) {
  .section-card {
    padding: 24px 22px 22px;
  }
}

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.section-title {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-lede {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 40rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

@media (min-width: 900px) {
  .two-column {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  }
}

.text-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.text-body p {
  margin: 0 0 10px;
}

.text-body p:last-child {
  margin-bottom: 0;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.98));
  color: var(--muted);
}

/* Principle list */
.principles-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

@media (min-width: 900px) {
  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.principle-card {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
  padding: 12px 12px 12px;
}

.principle-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 6px;
}

.principle-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.principle-body {
  font-size: 13px;
  color: var(--muted);
}

/* Company cards */
.company-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

@media (min-width: 900px) {
  .company-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.company-card {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
  padding: 14px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.company-chip {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.company-name {
  font-size: 15px;
  font-weight: 600;
}

.company-desc {
  font-size: 13px;
  color: var(--muted);
}

.company-focus-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-top: 4px;
}

.company-focus-list {
  list-style: none;
  padding-left: 0;
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text);
}

.company-focus-list li {
  margin-bottom: 3px;
}

.company-actions {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-subtle {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.98));
  color: var(--muted);
}

/* Service list */
.service-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

@media (min-width: 900px) {
  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.service-card {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.96));
  padding: 12px 12px 12px;
}

.service-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.service-sub {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 6px;
}

.service-body {
  font-size: 13px;
  color: var(--muted);
}

.service-deliverables {
  margin-top: 6px;
  padding-left: 18px;
  font-size: 12px;
  color: var(--text);
}

.service-deliverables li {
  margin-bottom: 3px;
}

/* Contact */
.contact-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

label {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  background: rgba(15, 23, 42, 0.96);
  color: var(--text);
  font-size: 14px;
  padding: 8px 10px;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

input:focus,
textarea:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.7);
}

.btn-submit {
  margin-top: 4px;
  padding: 9px 16px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: #f9fafb;
  background: linear-gradient(135deg, #4f46e5, #22d3ee);
  cursor: pointer;
  align-self: flex-start;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.95);
}

.form-status {
  min-height: 18px;
  font-size: 13px;
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: #22c55e;
}

.form-status[data-state="error"] {
  color: #f97316;
}

/* Simple content pages (privacy/terms/security) */
.simple-content {
  margin-top: 28px;
}

.simple-content h1 {
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.simple-content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 40rem;
}

.simple-content h2 {
  font-size: 16px;
  margin-top: 16px;
  margin-bottom: 6px;
}

.simple-content ul {
  font-size: 14px;
  color: var(--muted);
  padding-left: 20px;
}

.simple-content li {
  margin-bottom: 4px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top, #020617, #000);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

@media (min-width: 768px) {
  .footer-inner {
    padding: 18px 24px 22px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: #e5e7eb;
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.footer-tag {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.96));
}
