:root {
  --bg-page: #f7f9fc;
  --bg-surface: #ffffff;
  --bg-tint: #eef7ff;
  --ink-primary: #11151c;
  --ink-secondary: #4a5568;
  --ink-muted: #6e7b8e;
  --border-subtle: #e2e9f2;
  --border-strong: #cbd7e6;

  --brand-sky: #27b6ff;
  --brand-sky-hover: #14a6f2;
  --brand-cobalt: #0e6ce8;
  --brand-crimson: #e11d48;

  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 4px 20px rgba(17, 21, 28, 0.045);
  --shadow-lift: 0 14px 36px rgba(14, 108, 232, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--ink-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

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

.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 249, 252, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 233, 242, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 70px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-link:hover .brand-icon {
  transform: rotate(-4deg) scale(1.06);
}

.brand-name-studio {
  color: var(--ink-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-secondary);
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--brand-cobalt);
}

.nav-cta {
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--ink-primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-cta:hover {
  background: var(--brand-cobalt);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  padding: 96px 0 82px;
  position: relative;
  overflow: visible;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-orb-tr {
  width: 460px;
  height: 460px;
  top: -150px;
  right: max(-130px, calc(50% - 700px));
  background: rgba(39, 182, 255, 0.11);
}

.hero-orb-bl {
  width: 420px;
  height: 420px;
  bottom: -140px;
  left: max(-130px, calc(50% - 690px));
  background: rgba(14, 108, 232, 0.085);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-banner-wrap {
  position: relative;
  display: inline-block;
  max-width: 560px;
  width: 100%;
  margin-bottom: 32px;
}

/* Echo shadow echoing the Split Vision logo motif */
.hero-banner-echo {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: var(--brand-cobalt);
  opacity: 0.16;
  transform: translate(9px, 9px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.hero-banner-wrap:hover .hero-banner-echo {
  transform: translate(13px, 13px);
}

.hero-banner-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.6vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 auto 18px;
  max-width: 20ch;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  color: var(--ink-secondary);
  max-width: 54ch;
  margin: 0 auto 30px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.94rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--brand-sky);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(39, 182, 255, 0.34);
}

.btn-primary:hover {
  background: var(--brand-sky-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 108, 232, 0.28);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--ink-primary);
  border: 1.5px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--brand-sky);
  color: var(--brand-cobalt);
  transform: translateY(-1px);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 56px 0;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-cobalt);
  margin: 0 0 6px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
}

/* Flagship Product Card */
.product-spotlight {
  position: relative;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 32px;
  align-items: center;
  overflow: hidden;
}

.product-spotlight::after {
  content: '';
  position: absolute;
  top: -70px;
  right: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 182, 255, 0.14) 0%, rgba(39, 182, 255, 0) 70%);
  pointer-events: none;
}

.product-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.product-app-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.22);
  flex-shrink: 0;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 2px;
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-desc {
  font-size: 1rem;
  color: var(--ink-secondary);
  margin: 0 0 20px;
  line-height: 1.65;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  color: var(--ink-secondary);
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brand-cobalt);
}

.link-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-subtle {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.link-subtle:hover {
  color: var(--ink-primary);
}

/* Right-side visual spec card inside spotlight */
.product-preview-box {
  position: relative;
  z-index: 1;
  background: #faf7f2;
  border: 1px solid #eadfd2;
  border-radius: 18px;
  padding: 22px;
}

.preview-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8c7b6c;
  margin: 0 0 14px;
}

.pantry-demo {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pantry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 11px;
  background: #ffffff;
  border: 1px solid #ece6dd;
  font-size: 0.86rem;
  font-weight: 500;
}

.pill-in {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
}

.pill-out {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
}

.preview-caption {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: #6e6358;
  line-height: 1.5;
}

/* Principles Grid */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.principle-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.principle-card:hover {
  transform: translateY(-3px);
  border-color: rgba(39, 182, 255, 0.6);
}

.principle-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-cobalt);
  background: var(--bg-tint);
  padding: 4px 9px;
  border-radius: 7px;
  margin-bottom: 14px;
}

.principle-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}

.principle-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* Studio Services / Contact Band */
.contact-band {
  background: var(--ink-primary);
  color: #f4f7fb;
  border-radius: var(--radius-lg);
  padding: 42px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.contact-band::before {
  content: '';
  position: absolute;
  bottom: -90px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 182, 255, 0.28) 0%, rgba(39, 182, 255, 0) 70%);
  pointer-events: none;
}

.contact-band .section-kicker {
  color: var(--brand-sky);
}

.contact-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}

.contact-band p {
  margin: 0;
  color: #b8c4d6;
  font-size: 0.96rem;
  line-height: 1.65;
}

.contact-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8b9bb4;
}

.contact-value {
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
}

.contact-value:hover {
  color: var(--brand-sky);
}

/* Footer */
.site-footer {
  padding: 36px 0 48px;
  margin-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

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

.footer-links a:hover {
  color: var(--brand-cobalt);
}

/* Responsive */
@media (max-width: 820px) {
  .product-spotlight,
  .principles-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 52px 0 40px;
  }

  .product-spotlight,
  .contact-band {
    padding: 26px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-hide-sm {
    display: none;
  }
}
