:root { --roket-bg: #FFFFFF; --roket-panel: #FFFFFF; --roket-text: #111; --roket-muted: #777; --roket-card: #efefec; --roket-transition: .3s cubic-bezier(.4,0,.2,1); }
.roket-offcanvas { position: relative; }
.roket-menu-toggle { all: unset; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.roket-menu-toggle:hover, .roket-menu-toggle:active, .roket-menu-toggle:focus { all: unset; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.roket-menu-toggle--icon { padding: 0; }
.roket-menu-toggle--icon:hover, .roket-menu-toggle--icon:active, .roket-menu-toggle--icon:focus {
    background: transparent;
}


.roket-offcanvas__overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0);
  z-index: 999998;
  opacity: 0;
  transition: opacity var(--roket-transition), background var(--roket-transition);
  pointer-events: none;
}
.roket-offcanvas__overlay.is-visible {
  opacity: 1;
  background: rgba(0,0,0,.25);
  pointer-events: auto;
}

.roket-offcanvas__panel {
  position: fixed; top: 0; left: 0; height: 100vh;
  width: min(400px, 88vw);
  background: var(--roket-panel);
  z-index: 999999;
  transform: translateX(-102%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 10px 40px rgba(0,0,0,.15);
  display: flex;
}
.roket-offcanvas__panel.is-open { transform: translateX(0); }
.roket-offcanvas__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 56px;
  background: var(--roket-bg);
  overflow: auto;
}

/* Content wrapper for flex layout - pushes CTAs to bottom */
.roket-content { flex: 1 1 auto; }

.roket-hdr { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; margin-bottom: 42px; }
.roket-hdr__top { display: flex; align-items: center; padding-left: 28px; margin-left: -56px; }
.roket-x { border: 0; background: transparent; cursor: pointer; box-shadow: none; width: 40px; height: 40px; padding: 4px; display: flex; align-items: center; justify-content: center; outline: none; }
.roket-x:hover, .roket-x:focus { background: transparent; opacity: 1; color: inherit; }
.roket-x svg { width: 32px; height: 32px; }
.roket-title { font-size: 12px; color: var(--roket-muted); letter-spacing: .02em; margin: 0; }
.roket-back-title { font-size: 18px; font-weight: 600; margin: 0; display: flex; align-items: center; gap: 6px; background: transparent; border: 0; cursor: pointer; padding: 0; color: var(--roket-text); box-shadow: none; width: max-content; outline: none; }
.roket-back-title:hover, .roket-back-title:focus { background: transparent; color: var(--roket-text); }
.roket-back-title:hover .roket-back-text, .roket-back-title:focus .roket-back-text { text-decoration: underline; text-underline-offset: 3px; }
.roket-back-title svg { width: 22px; height: 22px; flex-shrink: 0; }

.roket-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px;}
.roket-list.roket-list--primary { display: flex; flex-direction: column; gap: 24px; }
.roket-list.roket-list--normal { display: flex; flex-direction: column; gap: 20px; }
.roket-item { margin: 0; opacity: 0; transform: translateY(8px); animation: roketFadeIn .25s ease forwards; }
.roket-item:nth-child(1) { animation-delay: .02s; }
.roket-item:nth-child(2) { animation-delay: .04s; }
.roket-item:nth-child(3) { animation-delay: .06s; }
.roket-item:nth-child(4) { animation-delay: .08s; }
.roket-item:nth-child(5) { animation-delay: .10s; }
.roket-item:nth-child(6) { animation-delay: .12s; }
.roket-item:nth-child(7) { animation-delay: .14s; }
.roket-item:nth-child(8) { animation-delay: .16s; }
.roket-item:nth-child(9) { animation-delay: .18s; }
.roket-item:nth-child(10) { animation-delay: .20s; }
.roket-item.spacer-after { margin-bottom: 14px; }

@keyframes roketFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.roket-row {
  width: max-content;
  display: flex; align-items: center; gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--roket-text);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  box-shadow: none;
  outline: none;
}
.roket-row:hover, .roket-row:focus { background: transparent; color: var(--roket-text); }
.roket-row:hover .label, .roket-row:focus .label { text-decoration: underline; text-underline-offset: 3px; }
.roket-row.primary { font-size: 22px; font-weight: 600; }
.roket-row.normal { font-size: 16px; font-weight: 500; }
.roket-row.active .label,
.roket-flyout .roket-item:hover a { text-decoration: underline; text-underline-offset: 3px; }
.roket-row .arrow { display: flex; align-items: center; }
.roket-row .arrow svg { width: 22px; height: 22px; }
.roket-row .arrow--hover { opacity: 0; transition: opacity .15s ease; }
.roket-row:hover .arrow--hover { opacity: 1; }
.roket-row.active .arrow--hover { opacity: 1; }

/* Flyout panel - appears to the right of main menu */
.roket-flyout {
  position: fixed;
  top: 0;
  left: min(400px, 88vw);
  height: 100vh;
  width: 280px;
  background: var(--roket-panel);
  z-index: 999999;
  padding: 56px 32px 28px;
  box-sizing: border-box;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
  overflow-y: auto;
}
.roket-flyout.is-visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

@media (max-width: 1024px) {
    .roket-list { gap: 24px;}
    .roket-offcanvas__panel { width: calc(100vw - 24px); }
}
@media (max-width: 979px) {
  .roket-flyout { display: none !important; }
}

.roket-flyout h3 { margin: 80px 0 40px; font-size: 18px; font-weight: 600; }

/* CTA Cards - always at bottom */
.roket-cards { margin-top: auto; padding-top: 26px; display: flex; flex-direction: column; gap: 8px; width: 256px; flex-shrink: 0; }
.roket-card {
  background: var(--roket-card);
  padding: 12px;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--roket-text);
  width: 256px;
  height: 100px;
  box-sizing: border-box;
}
@media (max-width: 979px) { 
  .roket-cards { width: 256px; }
  .roket-card { height: 80px; padding: 12px; } 
}
.roket-card:hover, .roket-card:focus { background: var(--roket-card); color: var(--roket-text); outline: none; }
.roket-card:hover .roket-card__label, .roket-card:focus .roket-card__label { text-decoration: underline; text-underline-offset: 3px; }
.roket-dot { width: 9px; height: 9px; border-radius: 99px; flex: 0 0 auto; }
.roket-card__bottom { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.roket-card__label { font-size: 13px; font-weight: 600; }
.roket-card .arrow { display: flex; align-items: center; }
.roket-card .arrow svg { width: 22px; height: 22px; }

/* Page transition animation - only for menu items, not header or CTA */
.roket-offcanvas__inner.is-transitioning .roket-menu-items { opacity: 0; transform: translateX(-10px); }
.roket-offcanvas__inner.is-transitioning-back .roket-menu-items { opacity: 0; transform: translateX(10px); }
.roket-menu-items { transition: opacity .15s ease, transform .15s ease; }
