:root {
  color-scheme: light dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  background: #f6f9fc;
  color: #102338;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

/* Rooted Signals corporate site */
.corporate-rooted {
  min-height: 100svh;
  background: #f6f9fc;
  color: #102338;
}

.corporate-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(22px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(16, 35, 56, 0.12);
  box-shadow: 0 12px 34px rgba(6, 27, 51, 0.08);
  backdrop-filter: blur(16px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  width: min(232px, 54vw);
}

.brand-link img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.corporate-nav nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
}

.corporate-nav nav a {
  color: #102338;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.corporate-hero {
  position: relative;
  display: flex;
  min-height: 82svh;
  align-items: center;
  overflow: hidden;
  padding: 126px clamp(24px, 6vw, 90px) 64px;
  background:
    linear-gradient(90deg, rgba(4, 20, 40, 0.98) 0%, rgba(4, 36, 74, 0.92) 42%, rgba(0, 98, 188, 0.45) 74%, rgba(0, 132, 232, 0.18) 100%),
    url("/assets/rooted-signals-logo-source.png") center / cover no-repeat,
    #07335f;
  isolation: isolate;
}

.corporate-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 112px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 86px);
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 84%, transparent 100%);
  opacity: 0.5;
}

.corporate-hero::after {
  position: absolute;
  inset: auto -18vw -28vw auto;
  z-index: -1;
  width: min(760px, 82vw);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.hero-grid {
  position: absolute;
  inset: 24% -8% auto auto;
  z-index: -1;
  width: min(820px, 74vw);
  height: min(420px, 46vw);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  transform: skewX(-18deg);
}

.hero-grid::before,
.hero-grid::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.15);
}

.hero-grid::before {
  left: 18%;
  top: 0;
  width: 1px;
  height: 100%;
  box-shadow:
    140px 0 0 rgba(255, 255, 255, 0.12),
    280px 0 0 rgba(255, 255, 255, 0.1),
    420px 0 0 rgba(255, 255, 255, 0.08);
}

.hero-grid::after {
  left: 0;
  top: 32%;
  width: 100%;
  height: 1px;
  box-shadow:
    0 92px 0 rgba(255, 255, 255, 0.1),
    0 184px 0 rgba(255, 255, 255, 0.08);
}

.hero-inner {
  width: min(900px, 100%);
}

.hero-logo {
  display: block;
  width: min(660px, 94vw);
  height: auto;
  margin-bottom: clamp(28px, 5vh, 48px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  background: rgba(246, 249, 252, 0.94);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.corporate-kicker,
.section-label {
  margin: 0 0 14px;
  color: #9dd8ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.corporate-hero h1,
.corporate-split h2 {
  margin: 0;
  color: #fff;
  font-weight: 850;
  line-height: 0.94;
  letter-spacing: 0;
}

.corporate-hero h1 {
  max-width: 820px;
  font-size: clamp(3.3rem, 9vw, 8.8rem);
}

.corporate-lede {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(248, 251, 255, 0.88);
  font-size: clamp(1.08rem, 2.1vw, 1.42rem);
  line-height: 1.45;
}

.corporate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.corporate-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 850;
  text-decoration: none;
}

.corporate-actions a:first-child {
  background: #fff;
  color: #07264a;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #04182f;
}

.signal-band p {
  min-height: 86px;
  margin: 0;
  padding: 26px clamp(18px, 3vw, 34px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(248, 251, 255, 0.84);
  font-size: clamp(0.92rem, 1.7vw, 1.05rem);
  font-weight: 850;
}

.signal-band p:last-child {
  border-right: 0;
}

.corporate-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
  padding: clamp(54px, 8vw, 104px) clamp(24px, 6vw, 90px);
  background: #f6f9fc;
  color: #102338;
}

.corporate-split .section-label {
  color: #006ecb;
}

.corporate-split h2 {
  max-width: 720px;
  color: #102338;
  font-size: clamp(2.1rem, 5.4vw, 5.4rem);
}

.system-list {
  display: grid;
  gap: 1px;
  background: rgba(10, 47, 86, 0.16);
  border: 1px solid rgba(10, 47, 86, 0.16);
}

.system-list a {
  display: grid;
  gap: 6px;
  padding: 22px;
  background: #fff;
  color: #102338;
  text-decoration: none;
}

.system-list span {
  color: #0072ce;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.system-list strong {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
}

@media (min-width: 821px) {
  .corporate-hero {
    min-height: 78svh;
    padding-top: 176px;
  }

  .corporate-hero .hero-logo {
    display: none;
  }

  .corporate-hero h1 {
    max-width: 680px;
    font-size: clamp(4.8rem, 7.4vw, 8rem);
  }
}

/* Live Rooted placeholder stays separate from the corporate site. */
.live-rooted {
  min-height: 100svh;
  background: #10130f;
  color: #f7f3e8;
}

.live-rooted .site-shell {
  min-height: 100svh;
  background: #10130f;
}

.live-rooted .hero {
  position: relative;
  display: flex;
  min-height: 86svh;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(28px, 5vw, 76px);
  isolation: isolate;
}

.live-rooted .hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: url("/assets/liverootedlife-hero.png");
  background-position: center;
  background-size: cover;
}

.live-rooted .hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(16, 19, 15, 0.9) 0%, rgba(16, 19, 15, 0.48) 46%, rgba(16, 19, 15, 0.08) 100%),
    linear-gradient(0deg, rgba(16, 19, 15, 0.74) 0%, rgba(16, 19, 15, 0.1) 58%);
}

.live-rooted .live-logo-badge {
  position: absolute;
  right: clamp(28px, 7vw, 126px);
  top: 50%;
  z-index: 0;
  width: min(620px, 43vw);
  height: auto;
  max-height: 76svh;
  transform: translateY(-50%);
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.42));
}

.live-rooted .hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding-bottom: clamp(16px, 4vh, 44px);
}

.live-rooted .eyebrow {
  margin: 0 0 16px;
  color: #ffd36b;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.live-rooted h1 {
  margin: 0;
  color: #fffaf0;
  font-size: clamp(3.25rem, 10vw, 8.5rem);
  font-weight: 850;
  line-height: 0.9;
  letter-spacing: 0;
}

.live-rooted .lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 250, 240, 0.88);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.45;
}

.live-rooted .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.live-rooted .actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 250, 240, 0.42);
  border-radius: 6px;
  padding: 11px 16px;
  background: rgba(255, 250, 240, 0.1);
  color: #fffaf0;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.live-rooted .actions a:first-child {
  background: #f58a7d;
  color: #1e100e;
}

.live-rooted .status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 250, 240, 0.24);
}

.live-rooted .status-strip p {
  min-height: 80px;
  margin: 0;
  padding: 24px clamp(18px, 3vw, 36px);
  background: #10130f;
  color: rgba(255, 250, 240, 0.82);
  font-size: clamp(0.96rem, 2vw, 1.08rem);
  font-weight: 750;
}

@media (max-width: 820px) {
  .corporate-nav {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }

  .brand-link {
    width: min(300px, 78vw);
  }

  .corporate-nav nav {
    width: 100%;
    justify-content: space-between;
  }

  .corporate-hero {
    min-height: 88svh;
    padding: 168px 22px 48px;
  }

  .hero-logo {
    width: min(560px, 92vw);
  }

  .signal-band {
    grid-template-columns: 1fr 1fr;
  }

  .signal-band p:nth-child(2n) {
    border-right: 0;
  }

  .corporate-split {
    grid-template-columns: 1fr;
    padding: 48px 22px;
  }
}

@media (max-width: 560px) {
  .corporate-nav nav a {
    font-size: 0.75rem;
  }

  .corporate-hero {
    padding-top: 158px;
  }

  .corporate-actions a {
    flex: 1 1 190px;
  }

  .signal-band {
    grid-template-columns: 1fr;
  }

  .signal-band p {
    min-height: 62px;
    border-right: 0;
  }

  .live-rooted .hero {
    min-height: 84svh;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 22px;
  }

  .live-rooted .live-logo-badge {
    position: relative;
    right: auto;
    top: auto;
    width: min(330px, 86vw);
    max-height: none;
    margin: 0 auto 18px;
    transform: none;
  }

  .live-rooted .hero-copy {
    padding-bottom: 0;
  }

  .live-rooted .actions a {
    flex: 1 1 180px;
  }

  .live-rooted .status-strip {
    grid-template-columns: 1fr;
  }
}
