/* Shared frame for every page on the site: the menu, the content column and the page heading.
   Profile pages and suite pages both load this, so their menu, edges and titles line up. */
:root {
  --gutter: clamp(20px, 6vw, 88px);
  --page-w: 1180px;
  --frame-w: calc(var(--page-w) + 2 * var(--gutter));
}
/* Space for the scrollbar is kept on every page, so the menu never shifts between pages. */
html { scrollbar-gutter: stable; }
body { margin: 0; background: #0D1B2A; }

/* One content column: the same left and right edge on every page */
.frame { box-sizing: border-box; width: 100%; max-width: var(--frame-w); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Page heading: the same kicker, title and intro on every page */
.page-head { display: flex; flex-direction: column; gap: 22px; padding-top: 56px; }
.page-kicker { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 14px; line-height: 1.55; color: #FFB020; }
.page-title { font-family: "Space Grotesk", Inter, system-ui, sans-serif; font-size: clamp(38px, 5.6vw, 76px); line-height: 1.05; font-weight: 600; letter-spacing: -0.02em; margin: 0; max-width: 1040px; text-wrap: balance; }
.page-lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; color: #C4D0DB; max-width: 680px; margin: 0; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The site menu. It stays pinned; each page's own sticky bar sits just below it. */
.top { position: sticky; top: 0; z-index: 20; background: rgba(13,27,42,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid #33475B; font-family: Inter, system-ui, sans-serif; line-height: 1.55; }
.top-in { box-sizing: border-box; max-width: var(--frame-w); margin: 0 auto; padding: 0 var(--gutter); min-height: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.top-brand { display: inline-flex; align-items: center; min-height: 44px; font-family: "Space Grotesk", Inter, system-ui, sans-serif; font-weight: 600; font-size: 17px; color: #F4F6F3; text-decoration: none; }
.top-brand i { width: 10px; height: 10px; border-radius: 50%; background: #FFB020; box-shadow: 12px 0 0 #6EA8FE; margin-right: 22px; }
.top-brand:hover { color: #FFFFFF; }
.top-links { display: flex; flex-wrap: wrap; gap: 2px; margin-left: auto; }
.top a.top-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 6px; font-size: 14px; font-weight: 500; color: #C4D0DB; text-decoration: none; white-space: nowrap; }
.top a.top-link:hover { color: #FFFFFF; background: rgba(255,255,255,.06); }
.top a.top-link[aria-current] { background: #FFB020; color: #13202E; font-weight: 600; }
.top a:focus-visible, .top button:focus-visible { outline: 3px solid #FFB020; outline-offset: 2px; }
.top-toggle { display: none; margin-left: auto; min-height: 44px; padding: 0 14px; border-radius: 6px; border: 1px solid #33475B; background: transparent; color: #F4F6F3; font: inherit; font-size: 14px; cursor: pointer; }

/* Second row on suite pages: the products */
.top-sub { border-top: 1px solid #22364A; }
.top-sub .top-in { min-height: 44px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 2px; }
.top-sub .top-in::-webkit-scrollbar { display: none; }
.top-sub-label { flex: none; font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 12px; color: #8FA0B0; margin-right: 10px; }
.top-sub a.top-link { min-height: 36px; padding: 0 10px; font-size: 13px; }
.top-sub a.top-link[aria-current] { background: #F4F6F3; color: #13202E; }

@media (max-width: 900px) {
  .top-toggle { display: inline-flex; align-items: center; }
  .top-links { display: none; width: 100%; flex-direction: column; padding-bottom: 10px; }
  .top.open .top-links { display: flex; }
  .top.open { max-height: 100vh; overflow-y: auto; }
}
