/* Bubble Dot — company / studio home */
.hub {
  --hub-ink: #15202b;
  --hub-muted: rgba(21, 32, 43, 0.68);
  --hub-faint: rgba(21, 32, 43, 0.48);
  --hub-line: rgba(21, 32, 43, 0.1);
  --hub-bg: #eef3f7;
  --hub-bg-deep: #e2ebf2;
  --hub-coral: #ff6b4a;
  --hub-teal: #1aa6a0;
  --hub-navy: #1c3d5a;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  color: var(--hub-ink);
  background: var(--hub-bg);
}

.hub-nav {
  background: rgba(238, 243, 247, 0.88);
  border-bottom: 1px solid var(--hub-line);
  backdrop-filter: blur(12px);
}

.hub-brand-nav {
  gap: 0;
}

.hub-logo {
  display: block;
  height: 2rem;
  width: auto;
  max-width: min(46vw, 168px);
}

.hub-mark {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 32%, #fff 0 18%, transparent 19%),
    radial-gradient(circle at 68% 62%, var(--hub-teal) 0 34%, transparent 35%),
    radial-gradient(circle at 40% 55%, var(--hub-coral) 0 42%, transparent 43%),
    var(--hub-navy);
  box-shadow: 0 8px 18px rgba(28, 61, 90, 0.18);
}

.hub .nav-links a {
  color: var(--hub-muted);
  font-weight: 600;
}

.hub .nav-links a:hover {
  color: var(--hub-ink);
}

/* Hub has no hamburger — keep the two links on small screens */
.hub .desktop-nav,
.hub-desktop-nav {
  display: flex !important;
}

.hub a:focus-visible,
.hub .btn:focus-visible {
  outline: 2px solid var(--hub-teal);
  outline-offset: 3px;
}

.hub-btn {
  background: linear-gradient(120deg, var(--hub-coral), #e85a38);
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 107, 74, 0.28);
}

.hub-btn-ghost {
  border-color: var(--hub-line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--hub-ink);
}

.hub-btn-ghost:hover {
  background: #fff;
}

.hub-hero-full {
  padding: 6.5rem 0 2.75rem;
  overflow: visible;
  background:
    radial-gradient(ellipse 70% 55% at 88% 18%, rgba(26, 166, 160, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 45% at 8% 78%, rgba(255, 107, 74, 0.08), transparent 50%),
    linear-gradient(180deg, #f5f8fb 0%, var(--hub-bg) 100%);
}

.hub-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 980px) {
  .hub-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 2.25rem;
  }
}

.hub-hero-inner {
  max-width: 34rem;
  min-width: 0;
}

.hub-hero-phones {
  position: relative;
  width: min(100%, 280px);
  height: 340px;
  margin: 0.85rem auto 1.35rem;
  overflow: visible;
}

.hub-hero-phones-desktop {
  display: none;
}

@media (min-width: 980px) {
  .hub-hero-phones-mobile {
    display: none;
  }

  .hub-hero-phones-desktop {
    display: block;
    width: min(100%, 360px);
    height: 420px;
    margin: 0;
    justify-self: end;
  }
}

.hub-phone {
  position: absolute;
  width: 58%;
  height: auto;
  max-height: 100%;
  border-radius: 1.2rem;
  box-shadow: 0 14px 32px rgba(21, 32, 43, 0.2);
  object-fit: cover;
  object-position: top center;
}

.hub-phone-steno {
  left: 0;
  top: 4%;
  transform: rotate(-5deg);
  z-index: 1;
}

.hub-phone-air {
  right: 0;
  top: 12%;
  transform: rotate(4deg);
  z-index: 2;
}

@media (min-width: 980px) {
  .hub-phone {
    width: 54%;
    border-radius: 1.35rem;
    box-shadow: 0 18px 40px rgba(21, 32, 43, 0.18);
  }

  .hub-phone-steno {
    left: 2%;
    top: 6%;
  }

  .hub-phone-air {
    right: 2%;
    top: 14%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hub-phone-steno {
    animation: hubTiltA 10s ease-in-out infinite alternate;
  }

  .hub-phone-air {
    animation: hubTiltB 11s ease-in-out infinite alternate;
  }
}

@keyframes hubTiltA {
  from { transform: rotate(-5deg) translateY(0); }
  to { transform: rotate(-3.5deg) translateY(-6px); }
}

@keyframes hubTiltB {
  from { transform: rotate(4deg) translateY(0); }
  to { transform: rotate(5.5deg) translateY(-5px); }
}

.hub-studio-label {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hub-teal);
}

.hub-wordmark {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--hub-ink);
}

.hub-hero-full h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--hub-navy);
  max-width: 22ch;
}

.hub-lede {
  margin: 0 0 1.35rem;
  color: var(--hub-muted);
  font-size: 1.05rem;
  max-width: 34rem;
  line-height: 1.55;
}

.hub-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hub-apps {
  padding: 2rem 0 3.5rem;
  background: #fff;
  border-top: 1px solid var(--hub-line);
}

.hub-section-head {
  margin-bottom: 1.5rem;
}

.hub-section-label {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hub-coral);
}

.hub-section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  color: var(--hub-ink);
}

.hub-app-rows {
  display: grid;
  gap: 1.35rem;
}

.hub-app-block {
  display: grid;
  gap: 0.65rem;
}

.hub-app-row {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem 1.35rem;
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hub-app-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(21, 32, 43, 0.12);
}

.hub-app-row:focus-visible {
  outline: 3px solid var(--hub-teal);
  outline-offset: 3px;
}

@media (min-width: 800px) {
  .hub-app-row {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 1.85rem 1.85rem 1.85rem 2.1rem;
    min-height: 270px;
  }
}

.hub-app-steno {
  background:
    radial-gradient(ellipse 80% 80% at 90% 20%, rgba(94, 200, 255, 0.25), transparent 50%),
    radial-gradient(ellipse 60% 70% at 10% 90%, rgba(155, 123, 255, 0.2), transparent 50%),
    #0a1220;
  color: #f4f6fb;
}

.hub-app-air {
  background:
    radial-gradient(ellipse 70% 70% at 85% 30%, rgba(176, 221, 255, 0.45), transparent 55%),
    linear-gradient(135deg, #2f7dff 0%, #3742fa 100%);
  color: #fff;
}

.hub-app-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
}

.hub-app-name {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hub-app-desc {
  margin: 0 0 1.1rem;
  max-width: 28rem;
  font-size: 1.05rem;
  opacity: 0.82;
}

.hub-app-go {
  display: inline-flex;
  font-weight: 700;
  font-size: 0.98rem;
}

.hub-app-steno .hub-app-go {
  color: #7ed8ff;
}

.hub-app-air .hub-app-go {
  color: #fff;
}

.hub-app-go::after {
  content: " →";
}

.hub-app-visual {
  justify-self: center;
  width: min(100%, 200px);
}

.hub-app-visual img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.hub-app-visual-steno img {
  object-fit: cover;
  max-height: 320px;
  width: 100%;
  object-position: top center;
}

.hub-app-store {
  justify-self: start;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--hub-navy);
  border-bottom: 1px solid rgba(28, 61, 90, 0.25);
  padding-bottom: 0.1rem;
  margin-left: 0.25rem;
}

.hub-app-store:hover {
  color: var(--hub-coral);
  border-bottom-color: rgba(255, 107, 74, 0.45);
}

.hub-contact-strip {
  padding: 4rem 0 4.5rem;
  background:
    radial-gradient(ellipse 60% 50% at 15% 30%, rgba(26, 166, 160, 0.12), transparent 55%),
    var(--hub-bg);
  border-top: 1px solid var(--hub-line);
}

.hub-contact-inner {
  max-width: 34rem;
}

.hub-contact-strip h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  letter-spacing: -0.03em;
}

.hub-contact-strip p {
  margin: 0 0 1.35rem;
  color: var(--hub-muted);
  font-size: 1.05rem;
}

.hub-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}

.hub-contact-links a {
  font-weight: 700;
  color: var(--hub-navy);
  border-bottom: 1px solid rgba(28, 61, 90, 0.25);
  padding-bottom: 0.12rem;
}

.hub-contact-links a:hover {
  color: var(--hub-coral);
  border-bottom-color: rgba(255, 107, 74, 0.5);
}

.hub-footer {
  background: #fff;
  border-top: 1px solid var(--hub-line);
  color: var(--hub-faint);
}

.hub-footer a:hover {
  color: var(--hub-ink);
}

@media (max-width: 720px) {
  .hub-hero-full {
    padding: 5.5rem 0 1.75rem;
  }

  .hub-wordmark {
    font-size: clamp(2.2rem, 11vw, 2.8rem);
  }

  .hub-hero-full h1 {
    font-size: 1.15rem;
    max-width: none;
  }

  .hub-lede {
    font-size: 0.98rem;
    margin-bottom: 1.1rem;
  }

  .hub-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hub-nav .nav-links {
    gap: 0.75rem;
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-app-row {
    transition: none;
  }

  .hub-app-row:hover {
    transform: none;
  }
}
