/* Canvas & Core Labs — clean tech/studio theme */

:root {
  --navy-900: #060d1a;
  --navy-800: #0a1830;
  --navy-700: #0f2140;
  --navy-600: #16305a;
  --line: rgba(255, 255, 255, 0.09);
  --blue: #3fa9f5;
  --blue-bright: #6fc2ff;
  --white: #f6f8fb;
  --gray-300: #b9c4d4;
  --gray-500: #8291a8;
  --radius: 16px;
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--gray-300);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--white);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap--wide { max-width: 1320px; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin: 0 0 0.9em;
}

.section { padding: 88px 0; }
.section-title { margin-bottom: 1em; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.link-arrow {
  color: var(--blue-bright);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.link-arrow:hover { color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--blue); color: #04101f; }
.btn--primary:hover { background: var(--blue-bright); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--white); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-bright); }
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 13, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--white);
  font-size: 1.05rem;
  flex-shrink: 0;
}
.brand__mark { border-radius: 8px; flex-shrink: 0; }
.brand__amp { color: var(--blue-bright); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gray-300);
}
.nav-link:hover, .nav-link.is-active { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 2px;
}

/* Hero */
.hero { padding: 96px 0 72px; text-align: center; position: relative; }
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 480px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(63, 169, 245, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; max-width: 760px; }
.hero__mark { margin: 0 auto 28px; border-radius: 18px; }
.hero__lede { font-size: 1.15rem; color: var(--gray-300); max-width: 560px; margin: 0 auto 2em; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.pillar h3 { color: var(--blue-bright); }
.pillar p { margin: 0; color: var(--gray-300); }

/* Product cards (home preview) */
.product-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.product-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  align-items: center;
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.product-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.product-card__media .phone-frame { width: 100%; }
.product-card__body h3 { margin-bottom: 0.2em; }
.product-card__body .eyebrow { color: var(--accent); }
.product-card__body p { font-size: 0.92rem; }

/* About preview */
.about-preview__inner { max-width: 680px; }

/* CTA */
.cta { text-align: center; }
.cta__inner { max-width: 560px; }
.cta p { color: var(--gray-300); }

/* Page header (products / about) */
.page-header { padding: 72px 0 24px; text-align: center; }
.page-header__lede { max-width: 620px; margin: 0 auto; font-size: 1.08rem; }

/* Product detail sections */
.product-detail { padding: 64px 0; border-top: 1px solid var(--line); }
.product-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.product-detail__tagline { color: var(--white); font-size: 1.15rem; font-weight: 600; }
.feature-list {
  list-style: none;
  margin: 1.4em 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.feature-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  color: var(--gray-300);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.product-detail__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 1.6em;
}
.product-detail__actions .badge { height: 44px; width: auto; border-radius: 8px; }

.product-detail__screens {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 520px;
}

/* Phone mockup frame */
.phone-frame {
  position: relative;
  background: linear-gradient(160deg, #26364f, #060b16);
  border-radius: 34px;
  padding: 26px 10px 10px;
  box-shadow:
    0 24px 48px -18px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone-frame img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.phone-frame__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  max-width: 74px;
  height: 12px;
  background: #04070d;
  border-radius: 999px;
  z-index: 2;
}

/* Mission / About page */
.mission { padding-top: 0; }
.mission-statement {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 600;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.4;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.leader-card {
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.leader-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy-600));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.leader-card__role { color: var(--blue-bright); font-weight: 600; font-size: 0.9rem; margin-bottom: 1em; }
.leader-card p:last-child { margin-bottom: 0; color: var(--gray-300); font-size: 0.95rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0;
  margin-top: 40px;
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.brand--footer { font-size: 0.95rem; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.88rem; color: var(--gray-500); }
.footer-nav a:hover { color: var(--white); }
.footer-legal { width: 100%; font-size: 0.8rem; color: var(--gray-500); margin: 0; }

/* Responsive */
@media (max-width: 860px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .product-cards { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
  .product-detail__inner { grid-template-columns: 1fr; gap: 32px; }
  .product-detail__screens { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy-800);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 16px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .product-card { grid-template-columns: 1fr; text-align: center; }
  .product-card__media { max-width: 220px; margin: 0 auto; }
  .product-detail__screens { max-width: 320px; }
}
