/* Just-Labs: shared visual language with the Just-KS public website. */
:root {
  color-scheme: dark;
  --paper: #020a16;
  --ink: #f5f9ff;
  --muted: #a9c9e8;
  --line: #168bff38;
  --green: #168bff;
  --orange: #37a8ff;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --display: Inter, "Segoe UI", Arial, sans-serif;
}
html { scroll-padding-top: 132px; }
body {
  background: radial-gradient(circle at 20% 0, #0b3474 0, transparent 32%),
    linear-gradient(180deg, #04152f, #020a16 48%, #020a16);
  line-height: 1.6;
}
.wrap { width: min(1132px, calc(100% - 48px)); }
a:focus-visible, button:focus-visible { outline-color: #9ecfff; }
.eyebrow { color: #75c4ff; font-size: 12px; letter-spacing: .12em; font-weight: 800; }
.header.wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1180px, 100%);
  min-height: 112px;
  height: auto;
  padding: 14px 24px;
  gap: 30px;
  background: #020a16e8;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { align-items: center; font-size: 24px; letter-spacing: .02em; font-weight: 800; gap: 12px; }
.header .brand-icon { width: 84px; height: 84px; margin: 0; }
.desktop-nav { gap: 24px; color: var(--muted); font-size: 14px; }
.desktop-nav a:hover { color: white; }
.header-contact {
  border-color: #168bff70;
  border-radius: 24px;
  padding: 12px 19px;
  background: #07162a;
  font-size: 14px;
  font-weight: 800;
  gap: 12px;
}
.header-contact:hover { background: #0b284a; }
.menu-toggle span { background: var(--ink); }
.mobile-nav {
  position: sticky;
  top: 92px;
  z-index: 19;
  margin: 0;
  padding: 12px 24px 20px;
  background: #020a16fa;
  border-bottom: 1px solid var(--line);
}
.hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 52px; padding: 64px 0 84px; min-height: 660px; }
.hero h1 { font-size: clamp(44px, 5.5vw, 70px); line-height: 1.03; letter-spacing: -.045em; font-weight: 750; margin: 14px 0 24px; }
.hero .eyebrow { font-size: 12px; letter-spacing: .12em; margin-bottom: 14px; }
.tiny-dot { background: #37a8ff; }
.hero-you { color: var(--ink); }
.hero-you:after { display: none; }
.hero-intro { font-size: 18px; line-height: 1.65; max-width: 600px; color: var(--muted); margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button, .hero .button, .dialog-actions .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 19px;
  gap: 15px;
  border: 1px solid transparent;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
  color: white;
  background: linear-gradient(135deg, #168bff, #37a8ff);
  box-shadow: 0 10px 28px #087cff35;
}
.button:hover { background: linear-gradient(135deg, #2898ff, #56b5ff); box-shadow: 0 12px 34px #087cff55; }
.hero .button-secondary { background: #07162a; border-color: #168bff70; box-shadow: none; }
.hero .button-secondary:hover { background: #0b284a; }
.hero-footnote { font-size: 13px; color: var(--muted); margin-top: 24px; }
.small-line { background: #37a8ff; }
.ecosystem {
  min-height: 520px;
  height: 520px;
  max-height: none;
  aspect-ratio: auto;
  background: radial-gradient(circle at 50% 37%, #0b347470, transparent 55%), #061327;
  border: 1px solid #168bff75;
  border-radius: 24px;
  box-shadow: 0 24px 65px #0003;
}
.ecosystem:before { display: none; }
.orbit-caption { top: 25px; left: 24px; right: 24px; font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: #75c4ff; }
.orbit-center { width: 230px; height: 230px; top: 38%; background: transparent; box-shadow: none; }
.orbit-center>img { filter: drop-shadow(0 15px 25px #0005); }
.ecosystem-products { position: absolute; left: 24px; right: 24px; bottom: 112px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.orbit-app { position: static; min-width: 0; gap: 9px; font-size: 11px; color: var(--muted); }
.orbit-icon { width: 64px; height: 64px; border-radius: 16px; background: #0a203a; border: 1px solid #168bff45; box-shadow: none; outline-offset: 3px; }
.orbit-icon img { width: 50px; height: 50px; }
.orbit-app[aria-pressed=true] { color: white; }
.orbit-app[aria-pressed=true] .orbit-icon { outline-color: #37a8ff; box-shadow: 0 8px 20px #087cff20; }
.orbit-note { left: 24px; right: 24px; bottom: 22px; min-height: 66px; padding: 12px 14px; background: #071a31; border-color: #168bff38; border-radius: 12px; }
.note-mark { color: #75c4ff; font-size: 24px; }
.orbit-note strong { color: var(--ink); font-size: 12px; }
.orbit-note p { color: var(--muted); font-size: 11px; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.025em; font-weight: 750; }
.product-section { padding: 70px 0 84px; border-top-color: var(--line); }
.section-heading { gap: 36px; margin-bottom: 32px; }
.section-heading>p { font-size: 16px; max-width: 380px; line-height: 1.65; }
.filters { gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.filter { font-size: 13px; padding: 10px 17px; color: var(--muted); border-color: #168bff45; background: #061327; }
.filter:hover { background: #0b284a; }
.filter.active { background: #168bff; color: white; border-color: #168bff; }
.products { gap: 24px; }
.product-card { display: flex; flex-direction: column; border: 1px solid #168bff38; border-radius: 20px; background: linear-gradient(145deg, #061327, #071a31); overflow: hidden; }
.product-art { flex-shrink: 0; height: 300px; border-radius: 0; border-bottom: 1px solid #168bff30; }
.ks-art { background: #0c2343; }
.maps-art { background: #0b3040; }
.folders-art { background: #10243b; }
.safe-art { background: #0c203e; }
.art-category { color: #9ecfff; font-size: 10px; }
.illustration-caption { color: #a9c9e8; font-size: 9px; }
.sample-window, .place-note, .folder-label, .safe-note { color: #172c47; }
.folder-front { color: #172c47; }
.map-road { opacity: .48; }
.safe-orbit, .safe-orbit:after { border-color: #2c5079; }
.product-info { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.product-name h3 { font-size: 27px; font-weight: 750; letter-spacing: -.025em; }
.product-name>span { font-size: 11px; }
.product-info>p { font-size: 15px; line-height: 1.7; max-width: none; margin: 14px 0 20px; }
.product-link, .text-cta { color: #6dc2ff; border-color: #168bff50; font-size: 14px; font-weight: 750; }
.product-link { align-self: flex-start; margin-top: auto; }
.product-link:hover, .text-cta:hover { color: white; }
.studio-section { background: linear-gradient(90deg, #07162a00, #0b347438, #07162a00); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px 0; }
.studio-grid { gap: 56px; }
.studio-visual { height: 410px; border-radius: 24px; background: #061327; border: 1px solid #168bff50; display: flex; align-items: center; justify-content: center; }
.studio-visual-top { position: absolute; left: 26px; top: 22px; color: #75c4ff; letter-spacing: .12em; font-size: 12px; font-weight: 800; }
.studio-logo { width: 265px; height: 265px; object-fit: contain; filter: drop-shadow(0 16px 24px #0005); }
.studio-visual-bottom { border-color: var(--line); color: var(--muted); font-size: 9px; }
.studio-copy p:not(.eyebrow) { font-size: 16px; line-height: 1.75; }
.studio-copy .studio-lead { font-size: 19px!important; color: var(--ink)!important; }
.approach { padding: 80px 0; }
.approach-grid { gap: 18px; }
.approach-grid article { border: 1px solid #168bff38; border-radius: 16px; padding: 25px; background: #061327; }
.approach-grid h3 { font-size: 20px; font-weight: 750; }
.approach-grid p { font-size: 15px; line-height: 1.7; max-width: none; }
.icon-focus { border-color: #55b5ff; }
.icon-focus:after { background: #37a8ff; }
.icon-blocks i { background: #168bff; }
.icon-blocks i:nth-child(2) { background: #75c4ff; }
.icon-blocks i:nth-child(3) { background: #375f95; }
.icon-evolve { color: #75c4ff; }
.contact-section { padding: 38px 44px 44px; border-radius: 20px; border: 1px solid #168bff50; background: linear-gradient(135deg, #0b347455, #061327); color: var(--ink); }
.contact-top .eyebrow, .contact-top>span { color: #75c4ff; }
.contact-section h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 750; letter-spacing: -.025em; }
.contact-bottom p { color: var(--muted); font-size: 15px; }
.contact-email { border-color: #168bff60; color: #75c4ff; font-size: 25px; letter-spacing: -.02em; }
.contact-email:hover { color: white; }
.footer { padding-top: 44px; padding-bottom: 30px; }
.footer .brand { font-size: 23px; }
.footer .brand-icon { width: 64px; height: 64px; margin: 0; }
.footer-top { gap: 30px; }
.footer-top>span { font-size: 13px; }
.back-top { font-size: 13px; color: #75c4ff; }
.footer-bottom { font-size: 12px; }
.footer-bottom div>span { color: var(--muted); }
.privacy-button { color: #75c4ff; border-color: #168bff50; font-size: 13px; }
dialog { border-color: #168bff60; border-radius: 20px; background: #061327; box-shadow: 0 24px 100px #0009; }
dialog::backdrop { background: #020a16b0; }
.dialog-close { background: #0b284a; color: white; }
.dialog-features li { background: #0b284a; color: var(--ink); font-size: 14px; }
.dialog-features li:before { color: #75c4ff; }
.dialog-shell p { font-size: 16px; }
.privacy-shell h3 { font-size: 20px; }
@media(max-width:1100px) {
  .header.wrap { gap: 22px; }
  .desktop-nav { gap: 18px; font-size: 13px; }
  .hero { gap: 34px; }
  .hero h1 { font-size: 60px; }
  .ecosystem-products { left: 20px; right: 20px; gap: 8px; }
}
@media(max-width:980px) {
  .header.wrap { gap: 18px; }
  .desktop-nav { gap: 14px; font-size: 12px; }
  .header-contact { font-size: 12px; padding: 11px 14px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 48px; gap: 36px; }
  .hero h1 { font-size: 64px; max-width: 720px; }
  .hero-intro { max-width: 720px; }
  .ecosystem { width: 100%; max-width: 680px; justify-self: start; }
  .studio-grid { gap: 32px; }
  .section-heading>p { font-size: 15px; max-width: 300px; }
  .approach-grid article { padding: 20px; }
}
@media(max-width:760px) {
  html { scroll-padding-top: 112px; }
  .header.wrap { min-height: 92px; padding: 14px 24px; gap: 14px; }
  .header .brand { font-size: 22px; letter-spacing: .01em; }
  .header .brand-icon { width: 64px; height: 64px; margin: 0; }
  .desktop-nav { display: none; }
  .header-contact { margin-left: auto; }
  .menu-toggle { display: block; padding: 8px; }
  .studio-grid { grid-template-columns: 1fr; }
  .studio-visual { width: 100%; max-width: 680px; }
  .section-heading { display: block; }
  .section-heading>p { margin-top: 20px; max-width: 600px; }
  .products { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-grid article { display: grid; grid-template-columns: 36px 1fr; column-gap: 20px; }
  .approach-icon { grid-row: 1 / 3; margin: 4px 0 0; }
  .contact-bottom { display: block; }
  .contact-bottom p { margin-bottom: 24px; }
  .contact-email { display: inline-flex; }
}
@media(max-width:650px) {
  .wrap { width: calc(100% - 36px); }
  .header.wrap { padding-left: 18px; padding-right: 18px; gap: 10px; }
  .header .brand { font-size: 21px; gap: 9px; }
  .header .brand-icon { width: 60px; height: 64px; }
  .header-contact { font-size: 12px; padding: 10px 13px; }
  .header-contact>span { display: none; }
  .hero { padding: 42px 0 62px; gap: 32px; }
  .hero h1 { font-size: clamp(38px, 9.5vw, 58px); line-height: 1.06; letter-spacing: -.04em; margin-bottom: 24px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .1em; }
  .hero-intro { font-size: 17px; line-height: 1.7; }
  .hero-actions { margin-top: 26px; }
  .hero .button { font-size: 14px; gap: 12px; padding: 12px 17px; }
  .hero-footnote { font-size: 12px; }
  .ecosystem { height: 500px; min-height: 500px; max-height: none; }
  .orbit-caption { font-size: 10px; left: 20px; right: 20px; }
  .orbit-center { width: 220px; height: 220px; top: 38%; }
  .ecosystem-products { left: 18px; right: 18px; gap: 8px; bottom: 112px; }
  .orbit-icon { width: 58px; height: 58px; border-radius: 15px; }
  .orbit-icon img { width: 46px; height: 46px; }
  .orbit-app { font-size: 10px; gap: 9px; }
  .orbit-note { left: 18px; right: 18px; bottom: 20px; min-height: 66px; }
  .orbit-note strong { font-size: 12px; }
  .orbit-note p { font-size: 10px; }
  .product-section { padding: 54px 0 62px; }
  .section-heading h2, .studio-copy h2 { font-size: 36px; letter-spacing: -.025em; }
  .section-heading .eyebrow, .studio-copy .eyebrow { font-size: 10px; }
  .section-heading>p { font-size: 16px; }
  .products { gap: 22px; }
  .product-info { padding: 24px 22px; }
  .product-name h3 { font-size: 27px; }
  .product-info>p { font-size: 15px; }
  .product-link { font-size: 14px; }
  .product-art { height: 300px; }
  .filter { font-size: 12px; padding: 10px 14px; }
  .studio-section { padding: 60px 0; }
  .studio-grid { gap: 32px; }
  .studio-visual { height: 385px; }
  .studio-logo { width: 250px; height: 250px; }
  .studio-copy p:not(.eyebrow) { font-size: 16px; }
  .studio-copy .studio-lead { font-size: 19px!important; }
  .approach { padding: 60px 0; }
  .approach-grid { gap: 16px; }
  .approach-grid h3 { font-size: 20px; }
  .approach-grid p { font-size: 15px; }
  .contact-section { padding: 28px 24px; }
  .contact-section h2 { font-size: 34px; }
  .contact-top .eyebrow { font-size: 10px; }
  .contact-email { font-size: 22px; gap: 20px; }
  .footer .brand { font-size: 22px; }
  .footer .brand-icon { width: 60px; height: 60px; }
  .footer-top { gap: 20px; }
  .footer-top>span { font-size: 12px; }
  .footer-bottom { font-size: 11px; }
  .dialog-shell { padding: 36px 24px; }
  .dialog-shell p { font-size: 15px; }
}
@media(max-width:375px) {
  .header.wrap { gap: 8px; }
  .header .brand { font-size: 19px; gap: 7px; }
  .header .brand-icon { width: 52px; height: 60px; }
  .header-contact { display: none; }
  .menu-toggle { margin-left: auto; padding: 5px; }
  .hero-actions { gap: 10px; }
  .hero .button { font-size: 13px; padding: 11px 14px; }
  .hero-actions>.button { width: 100%; }
  .orbit-icon { width: 50px; height: 50px; }
  .orbit-icon img { width: 40px; height: 40px; }
  .orbit-app { font-size: 9px; }
  .orbit-note { padding: 12px 10px; gap: 9px; }
  .orbit-note p { font-size: 9px; }
  .filter { font-size: 11px; padding: 9px 12px; }
  .product-art { height: 280px; }
  .contact-email { font-size: 20px; gap: 12px; }
}
