:root {
  color-scheme: light;

  --color-bg: #ffffff;
  --color-bg-subtle: #f5f5f6;
  --color-text: #16171a;
  --color-text-muted: #62656d;
  --color-border: #e4e5e9;
  --color-border-strong: #cfd1d6;
  --radius-sm: 4px;
  --radius-md: 8px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg-subtle);
}

img,
svg {
  display: block;
}

h1,
p {
  margin: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-bg);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 28px;
  height: 29px;
}

.coming-soon-hero {
  min-height: 100vh;
  /* svh keeps the hero from sitting under mobile browser chrome */
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 3rem 0;
}

.coming-soon-logo {
  margin-bottom: 1.75rem;
}

.hero-content h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-subtext {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 36rem;
}

.hero-badge {
  margin-bottom: 1rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.suite-graphic {
  --node-hub: 88px;
  --node-product: 64px;
  --icon-hub: 48px;
  --icon-product: 40px;

  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.suite-graphic-lines {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.suite-graphic-lines line {
  stroke: var(--color-border-strong);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.suite-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.suite-node img {
  object-fit: contain;
}

.suite-node--hub {
  left: 50%;
  top: 50%;
  width: var(--node-hub);
  height: var(--node-hub);
  border-color: var(--color-border-strong);
  box-shadow: 0 1px 2px rgba(20, 21, 26, 0.04), 0 12px 30px rgba(20, 21, 26, 0.1);
  z-index: 2;
}

.suite-node--hub img {
  width: var(--icon-hub);
  height: var(--icon-hub);
}

.suite-node--product {
  width: var(--node-product);
  height: var(--node-product);
}

.suite-node--product img {
  width: var(--icon-product);
  height: var(--icon-product);
}

.suite-node--top {
  left: 50%;
  top: 13.33%;
}

.suite-node--right {
  left: 86.66%;
  top: 50%;
}

.suite-node--bottom {
  left: 50%;
  top: 86.66%;
}

.suite-node--left {
  left: 13.33%;
  top: 50%;
}

@media (max-width: 760px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 0;
    text-align: left;
  }

  /* The copy leads on small screens; the graphic follows it. */
  .hero-visual {
    order: 1;
  }

  .coming-soon-logo {
    margin-bottom: 1.25rem;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .hero-subtext {
    font-size: 1.0625rem;
  }

  .suite-graphic {
    --node-hub: 72px;
    --node-product: 52px;
    --icon-hub: 40px;
    --icon-product: 32px;

    max-width: 280px;
  }
}

@media (max-width: 380px) {
  .hero-inner {
    gap: 2rem;
  }

  .suite-graphic {
    --node-hub: 64px;
    --node-product: 46px;
    --icon-hub: 36px;
    --icon-product: 28px;

    max-width: 240px;
  }
}

/* Short landscape phones: the graphic costs more than it adds. */
@media (max-height: 460px) and (orientation: landscape) {
  .coming-soon-hero {
    min-height: 0;
  }

  .hero-inner {
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    padding: 1.5rem 0;
  }

  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 0.875rem;
  }

  .hero-subtext {
    font-size: 1rem;
  }

  .coming-soon-logo {
    margin-bottom: 1rem;
  }

  .hero-visual {
    order: 0;
  }

  .suite-graphic {
    max-width: 220px;
  }
}
