/* Agent context note: Dependency-free styles for the static Cubical landing page; verify via desktop/mobile browser screenshots. Keep this file focused on this page and update the note after meaningful design changes. */

:root {
  --ink: #14171d;
  --muted: #656b76;
  --paper: #f6f7f8;
  --white: #fff;
  --cyan: #1aa9d7;
  --green: #9bc43b;
  --violet: #4a3592;
  --red: #d1272d;
  --yellow: #f6e800;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  display: flex;
  width: min(calc(100% - 48px), var(--max-width));
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  color: var(--white);
  transform: translateX(-50%);
}

.brand img {
  width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.hero {
  display: grid;
  min-height: 760px;
  place-items: center;
  padding: 140px 24px 80px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 14, 19, 0.94) 0%, rgba(12, 14, 19, 0.68) 52%, rgba(12, 14, 19, 0.26) 100%),
    url("assets/hero-home.jpg") center / cover no-repeat;
}

.hero__content {
  width: min(100%, var(--max-width));
}

.hero h1 {
  max-width: 800px;
  margin: 18px 0 24px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 720;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero__copy {
  max-width: 640px;
  margin: 0 0 36px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.button {
  display: inline-block;
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: 160ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.pillars {
  display: grid;
  width: min(calc(100% - 48px), var(--max-width));
  margin: -52px auto 0;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(15, 18, 25, 0.12);
  grid-template-columns: repeat(3, 1fr);
}

.pillars article {
  padding: 42px;
}

.pillars article + article {
  border-left: 1px solid #e9ebee;
}

.pillars span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
}

.pillars h2 {
  margin: 16px 0 8px;
  font-size: 1.4rem;
}

.pillars p,
.section__copy p,
.product-card p,
.story > p {
  color: var(--muted);
}

.pillars p {
  margin: 0;
}

.section {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 120px 0;
}

.experience {
  display: grid;
  align-items: center;
  gap: 70px;
  grid-template-columns: 0.8fr 1.4fr;
}

.section h2 {
  margin: 16px 0 24px;
  font-size: clamp(2.3rem, 4.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.section__copy > p:last-child,
.story > p {
  font-size: 1.1rem;
}

.experience__visual {
  overflow: hidden;
  padding: 24px 0 0;
  border-radius: 24px;
  background: #11151e;
  box-shadow: 0 28px 70px rgba(18, 25, 38, 0.18);
}

.products {
  border-top: 1px solid #e7e9ec;
}

.section-heading {
  max-width: 850px;
}

.product-grid {
  display: grid;
  gap: 24px;
  margin-top: 64px;
  grid-template-columns: repeat(2, 1fr);
}

.product-card {
  position: relative;
  display: flex;
  min-height: 620px;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: 46px;
  border-radius: 28px;
}

.product-card--aura {
  background: linear-gradient(145deg, #f2f4f6, #e6eaee);
}

.product-card--master {
  background: linear-gradient(145deg, #e9fbff, #f6f8f9);
}

.product-card__copy {
  position: relative;
  z-index: 1;
  max-width: 470px;
}

.product-card__label {
  margin: 0 0 10px;
  color: var(--cyan) !important;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.product-card img {
  width: 80%;
  max-height: 340px;
  margin: 36px auto 0;
  object-fit: contain;
}

.product-card--master img {
  width: 63%;
}

.story {
  display: grid;
  align-items: start;
  gap: 80px;
  border-top: 1px solid #e7e9ec;
  grid-template-columns: 1.2fr 0.8fr;
}

.story h2 {
  margin-bottom: 0;
}

.story > p {
  margin-top: 42px;
}

footer {
  display: grid;
  min-height: 230px;
  align-items: end;
  gap: 10px 32px;
  padding: 64px max(24px, calc((100% - var(--max-width)) / 2));
  color: rgba(255, 255, 255, 0.68);
  background: #101218;
  grid-template-columns: 1fr auto;
}

footer img {
  width: 180px;
  margin-bottom: 22px;
  grid-column: 1 / -1;
}

footer p {
  margin: 0;
  font-size: 0.82rem;
}

@media (max-width: 820px) {
  .site-header {
    width: min(calc(100% - 32px), var(--max-width));
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 680px;
    background-position: 58% center;
  }

  .pillars,
  .experience,
  .product-grid,
  .story {
    grid-template-columns: 1fr;
  }

  .pillars {
    margin-top: -34px;
  }

  .pillars article {
    padding: 30px;
  }

  .pillars article + article {
    border-top: 1px solid #e9ebee;
    border-left: 0;
  }

  .section {
    width: min(calc(100% - 32px), var(--max-width));
    padding: 88px 0;
  }

  .experience,
  .story {
    gap: 42px;
  }

  .product-card {
    min-height: 560px;
    padding: 34px;
  }

  .story > p {
    margin-top: 0;
  }

  footer {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
