:root {
  --background: #070b12;
  --foreground: #f8fbff;
  --muted: rgba(248, 251, 255, 0.72);
  --line: rgba(248, 251, 255, 0.22);
  --ink: #111827;
  --paper: #f7f8fb;
  --paper-muted: #667085;
  --blue: #0d0d91;
  --teal: #13b7bd;
  --amber: #e7a64d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.page {
  min-height: 100svh;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  isolation: isolate;
  background-image:
    linear-gradient(
      90deg,
      rgba(7, 11, 18, 0.96) 0%,
      rgba(7, 11, 18, 0.82) 42%,
      rgba(7, 11, 18, 0.28) 100%
    ),
    url("/assets/incredihome-hero-bg.png");
  background-position: center;
  background-size: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 11, 18, 0.08), rgba(7, 11, 18, 0.84)),
    radial-gradient(circle at 72% 30%, rgba(19, 183, 189, 0.2), transparent 28%);
}

.hero__shell {
  display: flex;
  min-height: inherit;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 0 68px;
}

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

.site-logo {
  display: block;
  width: 244px;
  max-width: 66%;
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.58));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
}

.site-nav a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 251, 255, 0.9);
  padding: 0 15px;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(288px, 390px);
  align-items: end;
  gap: 72px;
}

.hero__copy {
  max-width: 790px;
}

.eyebrow,
.section-kicker,
.focus-panel p,
.pillars span {
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
}

h1,
h2,
h3,
p {
  margin: 0;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  color: #ffffff;
  font-size: 7rem;
  font-weight: 850;
  line-height: 0.86;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: keep-all;
}

.lede {
  max-width: 650px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.32rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  padding: 0 20px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button:hover,
.site-nav a:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.site-nav a:focus-visible {
  outline: 3px solid rgba(19, 183, 189, 0.45);
  outline-offset: 3px;
}

.button--primary {
  background: #ffffff;
  color: #07101b;
}

.button--secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.focus-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07)),
    rgba(7, 11, 18, 0.34);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
  padding: 28px;
}

.focus-panel p {
  color: var(--amber);
}

.focus-panel h2 {
  margin-top: 16px;
  color: #ffffff;
  font-size: 3.3rem;
  font-weight: 850;
  line-height: 0.94;
}

.focus-panel span {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.66;
}

.build {
  background: var(--paper);
  color: var(--ink);
  padding: 74px 0 82px;
}

.build__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 58px;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
}

.build h2 {
  max-width: 560px;
  font-size: 3.6rem;
  font-weight: 840;
  line-height: 0.98;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(17, 24, 39, 0.14);
}

.pillars article {
  min-height: 260px;
  background: #ffffff;
  padding: 26px;
}

.pillars span {
  display: block;
  color: var(--teal);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  margin-bottom: 44px;
}

.pillars h3 {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.16;
}

.pillars p {
  margin-top: 16px;
  color: var(--paper-muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.site-footer {
  border-top: 1px solid rgba(248, 251, 255, 0.12);
  background: #070b12;
  color: rgba(248, 251, 255, 0.72);
  padding: 28px 0;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer p,
.site-footer a {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

@media (max-width: 980px) {
  h1 {
    font-size: 5rem;
  }

  .hero__content,
  .build__inner {
    grid-template-columns: 1fr;
  }

  .hero__content {
    gap: 42px;
  }

  .focus-panel {
    max-width: 520px;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillars article {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 680px);
  }

  .hero {
    min-height: 100svh;
    background-position: 62% center;
  }

  .hero__shell {
    padding: 18px 0 46px;
  }

  .site-header {
    align-items: flex-start;
  }

  .site-logo {
    width: 188px;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-nav a {
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.86rem;
  }

  h1 {
    font-size: 3rem;
  }

  .lede {
    font-size: 1.08rem;
  }

  .hero__actions {
    flex-direction: column;
    max-width: 340px;
  }

  .focus-panel {
    padding: 22px;
  }

  .focus-panel h2 {
    font-size: 2.5rem;
  }

  .build {
    padding: 56px 0 64px;
  }

  .build h2 {
    font-size: 2.55rem;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.55rem;
  }
}
