/* The look of noyralabs.com (see DESIGN.md in noyra-apex): Lato, the indigo-to-sky banner, flat cards with a solid ledge. */
@font-face { font-family: Lato; src: url("/fonts/lato-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: Lato; src: url("/fonts/lato-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Lato; src: url("/fonts/lato-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --indigo: #5355bf;
  --cornflower: #5a78cb;
  --sky: #64a4d7;
  --mist: #d3e5f6;
  --ink: #23263a;
  --slate: #5b6177;
  --caption: #6b7088;
  --band: #f4f6fa;
  --rule: #e6e8f0;
  --ledge: #e1e4ec;
  --foot-text: #9da2ba;
  --foot-rule: #33374f;
  --brand: linear-gradient(100deg, #5355bf 0%, #5a78cb 55%, #64a4d7 100%);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; display: flex; min-height: 100dvh; flex-direction: column; background: #fff; color: var(--slate); font: 400 17px/1.65 Lato, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
main { flex: 1; min-width: 0; }
a { color: var(--indigo); }
h1, h2, h3 { color: var(--ink); }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 60; background: #fff; padding: 8px 12px; border-radius: 3px; }
.container { width: 100%; max-width: 1216px; margin-inline: auto; padding-inline: 32px; }
.card { border: 1px solid var(--rule); border-radius: 4px; background: #fff; box-shadow: 0 2px 0 var(--ledge); }
.eyebrow, .nav-link, .btn, .crumbs, .ask-ai, .foot h2 { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.dot { display: grid; width: 48px; height: 48px; flex-shrink: 0; place-items: center; border-radius: 50%; background: var(--indigo); color: #fff; }
.dot svg { width: 22px; height: 22px; }
.quicks li:nth-child(3n + 2) .dot { background: var(--cornflower); }
.quicks li:nth-child(3n) .dot { background: #3f7fb8; }

/* Buttons */
.btn { display: inline-block; border: 2px solid transparent; border-radius: 3px; padding: 14px 28px; letter-spacing: 1.5px; text-decoration: none; transition: color 0.15s ease, background-color 0.15s ease; }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--indigo); }
.btn-inverse { background: #fff; color: var(--indigo); }
.btn-inverse:hover { background: var(--mist); }

/* The banner */
.banner { position: relative; overflow: hidden; background: var(--indigo) var(--brand); color: #fff; }
.banner { overflow: visible; }
.banner :focus-visible, .cta :focus-visible { outline-color: #fff; }
.decoration { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: 62%; pointer-events: none; }
.banner-page .decoration { opacity: 0.7; }
.banner h1 { margin: 0; color: #fff; font-weight: 300; letter-spacing: -0.5px; line-height: 1.12; font-size: clamp(38px, 5vw, 56px); }
.banner-home .banner-text { position: relative; z-index: 2; max-width: 640px; padding: 56px 0 88px; }
.banner-home .search { margin-top: 28px; }
.eyebrow { margin: 0 0 16px; color: var(--mist); }
.lead { margin: 16px 0 0; color: #fff; font-size: 19px; font-weight: 300; line-height: 1.6; }
.banner-row { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: 32px; padding-bottom: 48px; }
.banner-row .banner-text { max-width: 720px; }
.banner-row .search { width: 340px; flex-shrink: 0; }
.logo-title { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.logo-title img { display: block; width: auto; height: clamp(38px, 5vw, 52px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; color: var(--mist); }
.crumbs li + li::before { content: "›"; margin-right: 8px; opacity: 0.7; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* The menu */
.site-nav { position: relative; z-index: 30; }
.nav-row { display: flex; height: 80px; align-items: center; gap: 48px; }
.brand { display: block; flex-shrink: 0; }
.brand img { display: block; width: 140px; height: auto; }
.nav-wide ul { display: flex; gap: 32px; }
.nav-link { display: block; border-bottom: 2px solid transparent; padding: 4px 0; color: #fff; text-decoration: none; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current] { border-bottom-color: #fff; }
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-ticket { padding: 8px 20px; white-space: nowrap; }
.nav-menu { display: none; position: relative; }
.nav-menu summary { display: grid; width: 40px; height: 40px; cursor: pointer; place-items: center; list-style: none; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary svg { width: 26px; height: 26px; }
.nav-menu nav { position: absolute; right: 0; top: calc(100% + 12px); width: 240px; border: 1px solid var(--rule); border-radius: 4px; background: #fff; padding: 8px 0; box-shadow: 0 2px 0 var(--ledge); }
.nav-menu .nav-link { border: 0; padding: 12px 20px; color: var(--ink); }
.nav-menu .nav-link:hover { background: var(--band); }
.nav-menu .nav-link[aria-current] { color: var(--indigo); }

/* Search */
.search { position: relative; }
.search-icon { position: absolute; z-index: 1; left: 14px; top: 50%; display: flex; color: var(--caption); transform: translateY(-50%); pointer-events: none; }
.search-icon svg { width: 18px; height: 18px; }
.search input { width: 100%; border: 1px solid transparent; border-radius: 3px; background: #fff; padding: 13px 16px 13px 42px; color: var(--ink); font: inherit; font-size: 16px; }
.search input::placeholder { color: var(--caption); }
#results { position: absolute; z-index: 40; left: 0; top: calc(100% + 6px); width: max(100%, min(420px, calc(100vw - 40px))); max-height: 60vh; overflow-y: auto; border: 1px solid var(--rule); border-radius: 4px; background: #fff; padding: 6px; box-shadow: 0 2px 0 var(--ledge); }
.banner-row #results { left: auto; right: 0; }
#results[hidden] { display: none; }
#results a { display: block; border-radius: 3px; padding: 8px 10px; text-decoration: none; }
#results a:hover, #results a:focus { background: var(--band); }
#results b { display: block; color: var(--ink); }
#results span { display: block; overflow: hidden; color: var(--caption); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
#results .none { padding: 8px 10px; color: var(--caption); }

/* Ask AI */
.ask-ai { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; color: var(--mist); letter-spacing: 1.5px; }
.ask-ai a { border: 1px solid rgb(255 255 255 / 70%); border-radius: 3px; padding: 5px 10px; color: #fff; text-decoration: none; transition: color 0.15s ease, background-color 0.15s ease; }
.ask-ai a:hover { background: #fff; color: var(--indigo); }
.ask-note { margin: 8px 0 0; color: #fff; font-size: 14px; }

/* Sections */
.block { padding-block: 80px; }
.band { background: var(--band); }
.section-title { margin-bottom: 48px; text-align: center; }
.section-title h2 { margin: 0; font-size: clamp(32px, 4vw, 40px); font-weight: 300; line-height: 1.2; }
.section-title h2::after { content: ""; display: block; width: 60px; height: 3px; margin: 16px auto 0; background: var(--sky); }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.product { display: block; height: 100%; padding: 28px; text-decoration: none; }
.product img { display: block; width: auto; height: 34px; }
.product span { display: block; margin-top: 14px; color: var(--slate); }
.product em, .doc-card em { display: block; margin-top: 10px; color: var(--indigo); font-size: 15px; font-style: normal; font-weight: 700; }
.product:hover, .doc-card:hover { border-color: var(--cornflower); }
.quicks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 24px; }
.quick { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--slate); text-align: center; text-decoration: none; }
.quick .dot { margin-bottom: 10px; }
.quick b { color: var(--ink); font-size: 18px; }
.quick:hover b { color: var(--indigo); }
.quick span:last-child { color: var(--caption); font-size: 15px; }
.faqs { max-width: 860px; }
.faq { border-top: 1px solid var(--rule); padding: 18px 0; }
.faq:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; cursor: pointer; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink); font-size: 18px; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker, .side-group summary::-webkit-details-marker { display: none; }
.faq summary::after, .side-group summary::after { content: ""; width: 8px; height: 8px; flex-shrink: 0; border-right: 2px solid var(--caption); border-bottom: 2px solid var(--caption); transform: rotate(45deg); }
.faq[open] summary::after, .side-group[open] summary::after { transform: rotate(-135deg); }
.faq p { margin: 10px 0 0; }

/* Guides */
.layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 40px; padding-block: 56px 80px; }
.side { position: sticky; top: 20px; max-height: calc(100dvh - 40px); align-self: start; overflow-y: auto; padding-bottom: 4px; }
.side-toggle { display: none; }
.side-card { padding: 8px; }
.side-group summary { display: flex; cursor: pointer; align-items: center; justify-content: space-between; gap: 8px; border-radius: 3px; padding: 8px 10px; color: var(--ink); font-size: 15px; font-weight: 700; list-style: none; }
.side-group summary:hover { background: var(--band); }
.side-group ul { margin: 2px 0 8px; }
.side-group a { display: block; border-radius: 3px; padding: 5px 10px 5px 18px; color: var(--slate); font-size: 15px; line-height: 1.4; text-decoration: none; }
.side-group a:hover { background: var(--band); color: var(--ink); }
.side-group a[aria-current] { background: var(--indigo); color: #fff; font-weight: 700; }
.group-title { margin: 0 0 16px; font-size: 22px; font-weight: 700; line-height: 1.3; }
main > section + section { margin-top: 40px; }
main > section.block + section.block { margin-top: 0; }
.doc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.doc-cards li { display: grid; }
.doc-card { display: flex; gap: 16px; padding: 20px; text-decoration: none; }
.doc-card-text { display: block; min-width: 0; }
.doc-card-text b { display: block; color: var(--ink); font-size: 18px; line-height: 1.3; }
.doc-card-text > span { display: block; margin-top: 4px; color: var(--slate); font-size: 15px; line-height: 1.5; }

/* Reading */
article { max-width: 760px; }
article > :first-child { margin-top: 0; }
article h2 { margin: 36px 0 8px; font-size: 26px; font-weight: 700; line-height: 1.3; }
article h3 { margin: 24px 0 4px; font-size: 19px; font-weight: 700; }
article img { height: auto; border: 1px solid var(--rule); border-radius: 4px; }
article table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 16px; }
article th, article td { border-bottom: 1px solid var(--rule); padding: 8px 12px 8px 0; text-align: left; vertical-align: top; }
article th { color: var(--ink); }
article ul { padding-left: 22px; list-style: disc; }
article ol { padding-left: 22px; list-style: decimal; }
article li { margin: 4px 0; }
article strong, article b { color: var(--ink); }
code { border-radius: 3px; background: var(--band); padding: 1px 5px; color: var(--ink); font-size: 0.9em; overflow-wrap: anywhere; }
pre { overflow-x: auto; border-radius: 4px; background: var(--ink); padding: 16px; color: #fff; }
pre code { background: none; padding: 0; color: inherit; }
blockquote { margin: 18px 0; border-left: 3px solid var(--indigo); border-radius: 0 4px 4px 0; background: var(--band); padding: 2px 18px; }
.callout-warning { border-left-color: #b45309; background: #fff7ed; }
.prev-next { display: grid; max-width: 760px; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.prev-next a { display: block; padding: 14px 18px; text-decoration: none; }
.prev-next a:hover { border-color: var(--cornflower); }
.prev-next small { display: block; color: var(--caption); font-size: 13px; }
.prev-next b { color: var(--ink); }
.prev-next .next { text-align: right; }

/* Bottom of the page */
.cta { background: var(--indigo) var(--brand); padding-block: 64px; color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin: 0; color: #fff; font-size: clamp(30px, 4vw, 36px); font-weight: 300; line-height: 1.2; }
.cta p { margin: 8px 0 0; font-size: 19px; font-weight: 300; }
.foot { background: var(--ink); color: var(--foot-text); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-block: 64px; }
.foot-grid .brand img { width: 150px; }
.foot-grid > div p { max-width: 360px; margin: 20px 0 0; }
.foot h2 { margin: 0; color: #fff; }
.foot ul { margin-top: 20px; display: grid; gap: 12px; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-base { border-top: 1px solid var(--foot-rule); font-size: 14px; }
.foot-base .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 24px; }
.foot-base p { margin: 0; }

@media (max-width: 1100px) {
  .nav-wide { display: none; }
  .nav-menu { display: block; }
}
@media (max-width: 960px) {
  .banner-row { flex-direction: column; align-items: stretch; }
  .banner-row .search { width: 100%; }
  .banner-row #results { left: 0; right: auto; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 24px 56px; }
  .side { position: static; max-height: none; overflow: visible; }
  .side-wide { display: none; }
  .side-toggle { display: block; }
  .side-toggle > summary { cursor: pointer; border: 1px solid var(--rule); border-radius: 4px; background: #fff; padding: 10px 14px; color: var(--ink); font-weight: 700; }
  .side-toggle > .side-card { margin-top: 8px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .container { padding-inline: 20px; }
  .decoration { display: none; }
  .block { padding-block: 56px; }
  .nav-row { gap: 12px; }
  .nav-ticket { padding-inline: 12px; letter-spacing: 1px; font-size: 11px; }
  .banner-home .banner-text { padding: 24px 0 56px; }
  .prev-next { grid-template-columns: 1fr; }
}
