/* ==========================================================================
   Praus Go: praus.ai header menus (Products, Developers, Company) and the
   "New" pill above the home hero.
   Everything here is namespaced .pgo-*. It does not change any existing class.
   ========================================================================== */
.pgo-dd{position:relative;display:inline-flex;align-items:center}
.pgo-dd__btn{font:inherit;font-size:14.5px;line-height:23.2px;color:inherit;background:transparent;border:0;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:6px 13px;border-radius:8px;transition:color .18s,background-color .22s}
.pgo-dd__btn:hover,.pgo-dd:focus-within .pgo-dd__btn,.pgo-dd.is-open .pgo-dd__btn{background-color:rgba(23,24,27,.06)}
.pgo-dd__chev{transition:transform .22s}
.pgo-dd.is-open .pgo-dd__chev{transform:rotate(180deg)}
.pgo-dd__menu{position:absolute;left:-6px;top:100%;padding-top:12px;z-index:60;opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .18s,transform .18s,visibility 0s linear .18s}
.pgo-dd.is-open .pgo-dd__menu{opacity:1;visibility:visible;transform:none;transition:opacity .18s,transform .18s,visibility 0s}
.pgo-panel{background:#F3F2EE;border:1px solid #D6D4CF;border-radius:18px;box-shadow:0 30px 60px -28px rgba(23,24,27,.4);padding:8px;color:#18181A;text-align:left;font-size:15px}
.pgo-panel--products{width:620px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.pgo-panel--list{width:300px}
.pgo-col{border-radius:14px;padding:18px}
.pgo-col.is-current{background:rgba(23,24,27,.045)}
.pgo-col__name{display:flex;align-items:center;gap:8px;font-weight:600;font-size:16px}
.pgo-col__desc{margin:3px 0 12px;font-size:13px;line-height:1.4;color:#6B6964}
.pgo-col__links{border-top:1px solid #DAD8D3;padding-top:6px}
.pgo-tag{font-size:11px;font-weight:500;padding:1px 7px;border-radius:999px;border:1px solid #A9A6A0;color:#3B3A38}
.pgo-here{font-size:11px;font-weight:400;color:#6B6964}
.pgo-ar{display:inline-block;transition:transform .22s,opacity .2s}
/* the site styles every link inside .nav; these keep the menu links as menu links */
.header .pgo-panel a{all:unset;box-sizing:border-box;cursor:pointer}
.header .pgo-panel a.pgo-link{display:block;padding:7px 0;color:#3B3A38;font-size:14.5px;line-height:1.35;transition:color .18s}
.header .pgo-panel a.pgo-link:hover{color:#18181A}
.header .pgo-panel a.pgo-link .pgo-ar{opacity:0;transform:translateX(-4px);margin-left:6px}
.header .pgo-panel a.pgo-link:hover .pgo-ar{opacity:1;transform:none}
.header .pgo-panel a.pgo-cta{display:inline-flex;gap:6px;align-items:center;margin-top:10px;font-size:14.5px;font-weight:500;color:#18181A}
.header .pgo-panel a.pgo-cta:hover .pgo-ar{transform:translate(2px,-2px)}
.header .pgo-panel a.pgo-item{display:block;padding:10px 14px;border-radius:10px;color:#18181A;font-size:14.5px;line-height:1.35;transition:background-color .22s}
.header .pgo-panel a.pgo-item:hover{background-color:rgba(23,24,27,.06)}
.header .pgo-panel a.pgo-item b{font-weight:500}
.header .pgo-panel a.pgo-item span{display:block;font-size:13px;color:#6B6964;margin-top:2px}
.header .pgo-panel a.pgo-foot{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;padding:12px 18px;border-top:1px solid #DAD8D3;border-radius:0 0 12px 12px;font-size:13px;color:#3B3A38;transition:background-color .22s}
.header .pgo-panel a.pgo-foot:hover{background-color:rgba(23,24,27,.05)}
.header .pgo-panel a.pgo-foot:hover .pgo-ar{transform:translateX(2px)}
.header .pgo-panel a::after,.header .pgo-panel a::before{content:none!important;display:none!important}
/* phones and tablets: the site's own menu panel shows the groups as plain lists */
@media (max-width:900px){
  .pgo-dd{display:block;width:100%}
  .pgo-dd__btn{display:none}
  .pgo-dd__menu{position:static;opacity:1;visibility:visible;transform:none;padding:0}
  .pgo-panel,.pgo-panel--products,.pgo-panel--list{width:auto;display:block;box-shadow:none;border:0;background:transparent;padding:0}
  .pgo-col{padding:12px 0}
  .pgo-col.is-current{background:transparent}
  .header .pgo-panel a.pgo-foot{padding:12px 0}
}
/* "New" pill above the home hero heading */
.pgo-new{display:inline-flex;align-items:center;gap:12px;padding:5px 5px 5px 6px;margin:0 0 28px;border-radius:999px;border:1px solid #D6D4CF;background:#F7F6F3;color:#18181A;text-decoration:none;font-size:15px;line-height:1.3;transition:border-color .22s,box-shadow .22s}
.pgo-new:is(:hover,:focus-visible){border-color:#BDBAB4;box-shadow:0 8px 22px -14px rgba(23,24,27,.4)}
.pgo-new__tag{font-size:13px;font-weight:500;padding:3px 10px;border-radius:999px;background:#FDE6D6;color:#C2410C}
.pgo-new__name{font-weight:600}
.pgo-new__sub{color:#5B5955}
.pgo-new__go{width:28px;height:28px;border-radius:50%;background:#E6E4DF;display:inline-flex;align-items:center;justify-content:center;font-size:13px;transition:transform .22s}
.pgo-new:is(:hover,:focus-visible) .pgo-new__go{transform:translateX(2px)}
@media (max-width:600px){.pgo-new{font-size:13.5px;gap:8px}.pgo-new__sub{display:none}}
@media (prefers-reduced-motion:reduce){.pgo-dd__menu,.pgo-dd__chev,.pgo-ar,.pgo-new__go{transition:none}}
/* the Products panel is wide, so it centres under its button instead of hanging off the right edge */
@media (min-width:901px){
  .pgo-dd--wide .pgo-dd__menu{left:50%;transform:translate(-50%,4px)}
  .pgo-dd--wide:hover .pgo-dd__menu,.pgo-dd--wide:focus-within .pgo-dd__menu,.pgo-dd--wide.is-open .pgo-dd__menu{transform:translate(-50%,0)}
}
/* Pricing sits next to the menu buttons with the same box, so the row lines up on every page */
@media (min-width:901px){
  .header .nav{align-items:center}
  .header .nav a.pgo-plain{display:inline-flex;align-items:center;padding:6px 13px;font-size:14.5px;line-height:23.2px;border-radius:8px;transition:background-color .22s}
  .header .nav a.pgo-plain:hover{background-color:rgba(23,24,27,.06)}
}

#pgo-fields[hidden]{display:none}

/* ---- fixes 2026-11-17 ---- */
/* the site sets white-space:nowrap on the nav; menu text has to wrap inside the panels */
.header .pgo-panel,.header .pgo-panel *{white-space:normal}
/* same spacing between the menu buttons on every page (the contact page uses a wider nav gap) */
@media (min-width:901px){.header .nav:has(.pgo-dd){column-gap:4px}}

/* Menu panels keep their own text flow inside the navigation's single-line bar. */
.header .pgo-panel--products { box-sizing: border-box; max-width: calc(100vw - 32px); }
.header .pgo-col, .header .pgo-col__desc { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.pgo-mobile-toggle { display: none; }
@media (max-width: 900px) {
  .pgo-mobile-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
    padding: 0; cursor: pointer; background: transparent; color: inherit; border: 0; border-radius: 50%;
  }
  .pgo-mobile-toggle:hover { background: rgba(23,24,27,.06); }
  html body .header .nav:is(.open,.mobile-open):has(.pgo-dd) {
    position: absolute!important; inset: 100% 0 auto!important; transform: none!important;
    display: block!important; width: 100%!important; height: auto!important; box-sizing: border-box;
    max-height: calc(100dvh - 72px)!important; overflow: auto; padding: 12px 20px 20px!important;
    background: #f3f2ee!important; color: #17181b!important; border-bottom: 1px solid #d6d4cf;
  }
  .header .nav .pgo-dd__btn { display: flex; width: 100%; padding: 10px; }
  .header .pgo-dd .pgo-dd__menu { display: none; }
  .header .pgo-dd.is-open .pgo-dd__menu { display: block; }
  .header .pgo-panel--products { max-width: 100%; }
  .header .pgo-col { padding: 12px 10px; }
  .header .pgo-panel a.pgo-foot { padding-inline: 10px; }
}
@media (max-width: 600px) { .pgo-mobile-toggle { width: 38px; height: 38px; } }

/* The secondary pages use a nested header. Keep their frame on the homepage grid. */
body:has(> .header > .header-in) {
  --cw: min(1120px, calc(100vw - 112px)); --go: 44px; --marketing-bar-height: 72px;
}
.header:has(> .header-in) {
  height: var(--marketing-bar-height); background: rgba(233,232,228,.55);
  border-bottom: 1px solid rgba(23,24,27,.09); box-sizing: border-box;
  -webkit-backdrop-filter: blur(14px) saturate(1.5) brightness(1.08);
  backdrop-filter: blur(14px) saturate(1.5) brightness(1.08);
}
.header:has(> .header-in)[data-scrolled] { background: rgba(233,232,228,.82); }
.header > .header-in { width: var(--cw); gap: 24px; }
body:has(> .header > .header-in) .guides .x { top: var(--marketing-bar-height); }
@media (max-width:1200px) { body:has(> .header > .header-in) { --go: 24px; } }
@media (min-width:901px) {
  .header > .header-in { grid-template-columns: 1fr auto 1fr; }
  .header > .header-in > .nav:has(.pgo-dd) { display: flex; }
}
@media (min-width:901px) and (max-width:1000px) {
  .pgo-dd--wide .pgo-dd__menu { left: calc(50% + 32px); }
  .pr-hdr .pr-dd2:first-child .pr-dd2-menu { left: calc(50% + 32px)!important; }
}
@media (max-width:900px) {
  .header > .header-in { grid-template-columns: 1fr auto; }
  .header > .header-in > .nav:not(.mobile-open) { display: none; }
  .header > .header-in > .account { display: flex; align-items: center; gap: 8px; }
}
@media (max-width:760px) {
  body:has(> .header > .header-in) { --cw: calc(100vw - 48px); --go:10px; --marketing-bar-height:64px; }
  .header > .header-in { width: calc(100% - 40px); }
  .header > .header-in .brand img { height: 22px; width: auto; }
}
@media (max-width:600px) { body:has(> .header > .header-in) { --marketing-bar-height:60px; } }
@media (min-width:761px) and (max-width:900px) {
  html body .header #navigation:not(.open) { display: none!important; }
  html body .header .account .menu { display: inline-flex!important; align-items: center; justify-content: center; }
}
.header > .header-in .account .ghost {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 40px;
  padding-inline: 18px; font: 500 14.5px/1.6 Inter, system-ui, sans-serif;
  color: #f5f4f2; background: #17181b; border: 0; border-radius: 999px; box-shadow: none;
}
.header > .header-in .account .ghost:hover { background: #303135; }
@media (max-width:760px) {
  .header > .header-in .brand img { width: auto!important; height: 22px!important; }
}
@media (max-width:600px) {
  .header > .header-in .account .ghost { height:38px; padding-inline:16px; font-size:13.5px; }
}
@media (max-width:360px) { .header > .header-in { width: calc(100% - 24px); } }

/* Inset row highlights keep the text stationary when the pointer crosses columns. */
:is(.header .pgo-panel, .pr-hdr [role=menu]) :is(a.pgo-link,a.pr-mm-link) {
  display: flex; align-items: center; width: auto; min-height: 34px; box-sizing: border-box;
  margin-inline: -8px; padding: 6px 8px; border-radius: 7px; line-height: 1.35;
  transition: color 140ms, background-color 140ms;
}
:is(.header .pgo-panel, .pr-hdr [role=menu]) :is(a.pgo-link,a.pr-mm-link,a.pgo-item,a.pr-sw-item):is(:hover,:focus-visible) {
  background-color: rgba(23,24,27,.075); color: #18181a;
}
:is(.header,.pr-hdr) :is(.pgo-dd,.pr-dd2) :is(a,button):focus-visible {
  outline: 2px solid #585750; outline-offset: -2px;
}
:is(.header .pgo-panel, .pr-hdr [role=menu]) a:focus-visible :is(.pr-ar,.pgo-ar) {
  opacity: 1; transform: none;
}
@media (min-width:901px) {
  /* The transparent part bridges the trigger to the panel below the header rule. */
  :is(.header .pgo-dd__menu,.pr-hdr .pr-dd2-menu) {
    padding-top: calc(var(--marketing-bar-height, 72px) / 2 - 8px);
  }
  :is(.pgo-dd,.pr-dd2):not(.is-open) > :is(.pgo-dd__menu,.pr-dd2-menu) { pointer-events: none; }
}
@media (max-width:900px) {
  html body .header #navigation.open { animation: none!important; transform: none!important; opacity: 1!important; }
  :is(.pr-hdr,.header) :is(.pgo-dd,.pr-dd2) > :is(.pgo-dd__menu,.pr-dd2-menu) {
    overflow: clip; transition: none; transform: none!important; box-sizing: border-box;
  }
  :is(.pr-hdr,.header) :is(.pgo-dd,.pr-dd2).menu-closing > :is(.pgo-dd__menu,.pr-dd2-menu) {
    display: block!important; visibility: visible; opacity: 1; pointer-events: none;
  }
  :is(.header .pgo-panel, .pr-hdr [role=menu]) :is(a.pgo-link,a.pr-mm-link) { min-height:44px; }
}
@media (prefers-reduced-motion:reduce) {
  :is(.header .pgo-dd,.pr-hdr .pr-dd2) :is(a,button,svg,.pgo-dd__menu,.pr-dd2-menu,.pgo-ar,.pr-ar) {
    transition-duration: 0s!important;
  }
}
:is(.pgo-col__desc,.pr-mm-col > div:nth-child(2)) { text-wrap: balance; }

/* Link feedback shared by the public marketing pages. */
a.outbound-link::after,.foot-cols a[href^="https://ortelan.com"]::after,
.pgo-item[href^="https://ortelan.com"] b::after,.pr-sw-item[href^="https://ortelan.com"]>span:first-child::after {
  content:"↗︎"; content:"↗︎" / ""; display:inline-block; margin-inline-start:.24em; font-size:.88em;
  transition:transform 180ms ease;
}
:is(a.outbound-link,.foot-cols a[href^="https://ortelan.com"]):is(:hover,:focus-visible)::after,
.pgo-item:is(:hover,:focus-visible) b::after,.pr-sw-item:is(:hover,:focus-visible)>span:first-child::after {
  transform:translate(2px,-2px);
}
html body a.outbound-link,html body .privacy a {
  text-decoration:underline; text-underline-offset:.2em; text-decoration-color:color-mix(in srgb,currentColor 42%,transparent);
  transition:text-decoration-color 180ms ease;
}
html body a.outbound-link:is(:hover,:focus-visible),html body .privacy a:is(:hover,:focus-visible) { text-decoration-color:currentColor; }
html body .foot-cols a:is(:hover,:focus-visible) { text-decoration:underline; text-underline-offset:.23em; }
@media (prefers-reduced-motion:reduce) {
  a.outbound-link::after,.foot-cols a::after,.pgo-item b::after,.pr-sw-item>span::after { transition:none; }
}
