/* IT.CAFE "pro" preview: full-width colour bands, big outlined numerals, Rubik.
   Self-hosted Rubik (SIL Open Font License), variable weight 300–900. */
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/fonts/rubik-var-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/fonts/rubik-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --g: #1b1e24;      /* graphite: dark bands, text */
  --g2: #262a33;     /* graphite, raised */
  --v: #5b3bff;      /* violet: the one accent */
  --v-on-dark: #9a87ff;
  --c: #19d3c5;      /* cyan: outlines on dark only */
  --k: #f4f3f1;      /* concrete: light bands */
  --w: #ffffff;
  --mute: #5a5f69;
  --mute-on-dark: #b4b8c0;
  --line: #dcd9d4;
  --line-dark: #3a3f4a;
  --max: 1200px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--w); color: var(--g); font: 400 17px/1.6 "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.015em; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--v); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* bands */
.band { padding: 120px 0; scroll-margin-top: 72px; }
@media (max-width: 700px) { .band { padding: 72px 0; } }
.dark { background: var(--g); color: var(--w); }
.violet { background: var(--v); color: var(--w); }
.concrete { background: var(--k); }
.dark .lead, .dark p.sub { color: var(--mute-on-dark); }
.violet .lead, .violet p.sub { color: #e4deff; }

.kicker { font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--v); margin-bottom: 20px; }
.dark .kicker, .hero .kicker { color: var(--c); }
.violet .kicker { color: #fff; opacity: .8; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--mute); max-width: 56ch; }
.accent { color: var(--v); }
.dark .accent { color: var(--v-on-dark); }

.btn { display: inline-block; font: 500 1rem "Rubik", sans-serif; background: var(--v); color: #fff; padding: 16px 30px; text-decoration: none; border: 2px solid var(--v); cursor: pointer; }
.btn:hover { background: var(--g); border-color: var(--g); }
.dark .btn:hover, .violet .btn:hover { background: #fff; border-color: #fff; color: var(--g); }
.btn.ghost { background: transparent; border-color: currentColor; color: inherit; }
.violet .btn { background: #fff; color: var(--v); border-color: #fff; }
.violet .btn:hover { background: var(--g); color: #fff; border-color: var(--g); }
.link { font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--v); padding-bottom: 2px; }
.dark .link { border-color: var(--c); }
.violet .link { border-color: #fff; }
.link:hover { color: var(--v); }
.dark .link:hover { color: var(--c); }
.violet .link:hover { opacity: .8; color: #fff; }

/* preview notice */
.notice { background: var(--g); color: var(--mute-on-dark); font-size: .82rem; text-align: center; padding: 8px 16px; }
.notice a { color: #fff; }

/* header */
header.site { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 76px; }
.nav-end { justify-self: end; display: flex; align-items: center; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.3rem; letter-spacing: .02em; }
.logo img { width: 40px; height: 40px; object-fit: contain; }
.logo i { font-style: normal; color: var(--v); }
#menu { display: flex; gap: 26px; font-size: .95rem; }
#menu a { text-decoration: none; }
#menu a:hover { color: var(--v); }
/* submenus: dropdown on desktop, listed under the item in the mobile menu */
#menu > li { position: relative; }
#menu .sub { display: none; position: absolute; top: 100%; left: -18px; min-width: 250px; padding: 10px 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(27, 30, 36, .1); z-index: 30; }
#menu .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -30px; height: 30px; }
#menu > li:hover > .sub, #menu > li:focus-within > .sub { display: block; }
#menu .sub a { display: block; padding: 8px 18px; white-space: nowrap; font-size: .92rem; }
@media (min-width: 1281px) { #menu .sub { top: calc(100% + 26px); } }
.nav .btn { padding: 11px 20px; font-size: .95rem; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: var(--g); border-radius: 50%; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 13px; width: 18px; height: 2px; background: #fff; content: ""; }
.menu-btn span { top: 21px; } .menu-btn span::before { top: -6px; left: 0; } .menu-btn span::after { top: 6px; left: 0; }
@media (max-width: 1280px) {
  .nav { grid-template-columns: 1fr auto; }
  .menu-btn { display: block; }
  .nav .btn { display: none; }
  #menu { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--g); color: #fff; padding: 8px 0 16px; }
  #menu.open { display: flex; }
  #menu a { display: block; padding: 14px 32px; font-size: 1.1rem; }
  #menu.open { max-height: calc(100vh - 76px); overflow-y: auto; }
  #menu .sub { display: block; position: static; min-width: 0; padding: 0 0 8px; background: none; border: 0; box-shadow: none; }
  #menu .sub::before { display: none; }
  #menu .sub a { padding: 7px 32px 7px 48px; font-size: .98rem; color: var(--mute-on-dark); white-space: normal; }
}

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(60% 70% at 78% 45%, rgba(91, 59, 255, .38), transparent 70%), var(--g); color: #fff; padding: 140px 0 170px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 70px), 0 100%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.hero h1 { max-width: 14ch; }
.hero .lead { margin-top: 28px; color: var(--mute-on-dark); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.cup { width: 100%; max-width: 420px; justify-self: center; filter: drop-shadow(0 0 60px rgba(91, 59, 255, .55)); }
@media (max-width: 860px) {
  .hero { padding: 72px 0 120px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .cup { max-width: 200px; justify-self: start; order: -1; }
}

/* numbers: one filled, one outlined, label under it */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.stats li { display: flex; flex-direction: column; }
.stats b { font-size: clamp(3rem, 6.4vw, 5.2rem); font-weight: 800; line-height: .95; letter-spacing: -.03em; }
.stats li:nth-child(odd) b { color: transparent; -webkit-text-stroke: 2px #fff; }
.stats span { margin-top: 6px; font-size: 1.15rem; font-weight: 700; }
.stats small { display: block; font-size: .9rem; font-weight: 400; opacity: .8; margin-top: 2px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }
.statsband { margin-top: -70px; padding-top: 150px; }

/* big outlined numerals with the title sitting on them */
.numbered { display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px 40px; margin-top: 72px; }
.numbered > li { position: relative; padding-top: 92px; }
.numbered > li::before { counter-increment: n; content: counter(n); position: absolute; top: -14px; left: -6px; font-size: 9.5rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--v); opacity: .45; z-index: 0; }
.dark .numbered > li::before { -webkit-text-stroke-color: var(--c); }
.numbered { counter-reset: n; }
.numbered h3 { position: relative; z-index: 1; font-size: 1.45rem; padding-left: 44px; min-height: 2.4em; }
.numbered q { display: block; position: relative; margin-top: 18px; font-style: italic; color: var(--mute); quotes: "„" "“"; }
.dark .numbered q { color: var(--mute-on-dark); }
.numbered p { margin-top: 12px; }
.numbered .link { display: inline-block; margin-top: 16px; }
@media (max-width: 1000px) { .numbered { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .numbered { grid-template-columns: 1fr; gap: 40px; } .numbered > li::before { font-size: 7.5rem; } .numbered > li { padding-top: 70px; } }

.numbered.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .numbered.three { grid-template-columns: 1fr; } }
.partners { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.partners p { font-size: 1.1rem; color: var(--mute-on-dark); }
.partners p a { color: #fff; }

/* two columns */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.two.wide-left { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 900px) { .two, .two.wide-left { grid-template-columns: 1fr; gap: 40px; } }
.stack > * + * { margin-top: 22px; }

/* services: big lines, no boxes */
.lines { border-top: 1px solid var(--line-dark); }
.lines li { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line-dark); }
.lines h3 { font-size: 1.6rem; }
.lines span { color: var(--mute-on-dark); }
@media (max-width: 700px) { .lines li { grid-template-columns: 1fr; gap: 8px; } }
.techline { margin-top: 56px; color: var(--mute-on-dark); font-size: .95rem; }
.techline b { color: #fff; font-weight: 500; margin-right: 10px; }

/* case study on violet */
.case h2 { max-width: 22ch; }
.case .stats { grid-template-columns: repeat(3, 1fr); margin: 64px 0; }
@media (max-width: 700px) { .case .stats { grid-template-columns: 1fr; } }
.beats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid rgba(255, 255, 255, .3); padding-top: 32px; }
.beats b { display: block; font-size: 1.1rem; margin-bottom: 8px; }
.beats p { color: #e4deff; }
@media (max-width: 800px) { .beats { grid-template-columns: 1fr; } }

/* self-check */
.check { background: #fff; padding: 36px; }
.check label { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--v); flex: none; margin-top: 2px; }
.check .btn { margin-top: 24px; }
.result { margin-top: 18px; font-weight: 500; }
#evalcta { margin-top: 14px; }

/* price */
.price b.amt { display: block; font-size: clamp(3.6rem, 8vw, 6.4rem); font-weight: 800; line-height: .95; letter-spacing: -.03em; }
.price .per { display: block; font-size: 1.3rem; font-weight: 500; margin-top: 10px; color: var(--mute-on-dark); }
.price ul { margin-top: 36px; border-top: 1px solid var(--line-dark); }
.price li { padding: 16px 0; border-bottom: 1px solid var(--line-dark); color: var(--mute-on-dark); }
.price li b { color: #fff; }
.steps { counter-reset: s; }
.steps li { position: relative; padding: 0 0 30px 92px; min-height: 80px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -12px; font-size: 5rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--c); }
.steps b { display: block; font-size: 1.25rem; }
.steps span { color: var(--mute-on-dark); }

/* about: photo with a diagonal edge */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.about img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%); }
.tags { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-weight: 500; }
.tags li::before { content: "— "; color: var(--v); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 40px; } .about img { aspect-ratio: 4 / 3; } }

/* split band: news and EDU side by side, each a full colour block */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > div { padding: 110px max(32px, calc((100vw - var(--max)) / 2 + 32px)); }
.split > div:first-child { padding-right: 64px; }
.split > div:last-child { padding-left: 64px; }
.split h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.split ul.ticks li { padding: 6px 0 6px 28px; position: relative; }
.split ul.ticks li::before { content: ""; position: absolute; left: 0; top: 16px; width: 14px; height: 2px; background: currentColor; }
.split .img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.split .collage { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; aspect-ratio: 16 / 9; }
.split .collage img { width: 100%; height: 100%; object-fit: cover; }
.split .collage img:first-child { grid-row: span 2; }
.split .expert { font-size: .95rem; color: var(--mute-on-dark); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split > div, .split > div:first-child, .split > div:last-child { padding: 72px 16px; } }

/* community: five groups in one row, each opened by a violet rule */
.community { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; margin-top: 64px; }
.community li { border-top: 3px solid var(--v); padding-top: 22px; }
.community h3 { font-size: 1.6rem; }
.community p { margin-top: 12px; color: var(--mute); }
@media (max-width: 1000px) { .community { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .community { grid-template-columns: 1fr; gap: 28px; } }

/* join */
.join { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 64px; }
.join > div { border-top: 3px solid var(--g); padding-top: 24px; }
.join p { margin: 12px 0 18px; color: var(--mute); }
@media (max-width: 1000px) { .join { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .join { grid-template-columns: 1fr; } }

/* contact */
.contact .place { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 36px; }
.contact .place img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.contact .place figure:first-child img { clip-path: polygon(0 0, 100% 0, 100% 100%, 18% 100%); }
.contact .addr { font-weight: 500; color: #fff; }
form { background: #fff; color: var(--g); padding: 40px; }
.dark form .btn:hover { background: var(--g); border-color: var(--g); color: #fff; }
@media (max-width: 600px) { form { padding: 24px 16px; } }
.field { margin-bottom: 20px; }
.field label, legend { display: block; font-weight: 500; margin-bottom: 8px; }
input[type=text], input[type=email], input[type=tel], textarea { width: 100%; font: inherit; padding: 14px; border: 1px solid #c9c6c0; background: #fff; border-radius: 0; }
input:focus, textarea:focus { outline: 2px solid var(--v); outline-offset: 0; border-color: var(--v); }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; padding: 9px 14px; border: 1px solid #c9c6c0; cursor: pointer; font-size: .95rem; }
.chips input:checked + span { background: var(--v); border-color: var(--v); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--v); outline-offset: 2px; }
/* /start: quick questions in the booking form */
.profile { margin-top: 8px; } .profile .hint { margin: -2px 0 6px; }
.profile .q { margin-top: 16px; } .profile .q p { font-size: .92rem; font-weight: 500; margin-bottom: 8px; }
.profile .chips span { padding: 7px 12px; font-size: .9rem; }
.hint { font-size: .9rem; color: var(--mute); margin-top: 14px; }
.dark .hint { color: var(--mute-on-dark); }
form .hint { color: var(--mute); }
#sent:empty { display: none; }
#sent { font-weight: 500; color: var(--g); }
.hp { position: absolute; left: -9999px; }

/* footer: small sitemap */
footer { background: #fff; padding: 80px 0 40px; border-top: 1px solid var(--line); font-size: .95rem; }
.fcols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.fcols h4 { margin: 0 0 14px; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--v); }
.fcols li { padding: 3px 0; }
.fcols a { text-decoration: none; }
.fcols a:hover { color: var(--v); }
footer .legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--mute); font-size: .85rem; }
footer .legal p + p { margin-top: 6px; }
@media (max-width: 860px) { .fcols { grid-template-columns: 1fr 1fr; } }

/* cookie bar from consent.js */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 760px; margin: 0 auto; background: var(--g); color: #fff; padding: 20px 24px; display: flex; gap: 20px; align-items: center; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); }
.consent p { font-size: .92rem; color: var(--mute-on-dark); }
.consent a { color: #fff; }
.consent > div { display: flex; gap: 10px; flex: none; }
.consent .btn { padding: 10px 18px; font-size: .92rem; }
.consent .btn.line { background: transparent; border-color: #fff; color: #fff; }
.consent .btn:hover { background: #fff; border-color: #fff; color: var(--g); }
@media (max-width: 640px) { .consent { flex-direction: column; align-items: stretch; } }

/* EDU in the menu: a separate site, so it gets its own small badge with the EDU pixel motif */
.edu-link { display: inline-flex; text-decoration: none; font-size: .95rem; align-items: center; gap: 8px; padding: 7px 14px; border: 2px solid var(--v); color: var(--v); font-weight: 600; }
.edu-link svg { width: 14px; height: 14px; }
.edu-link:hover { background: var(--v); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav .btn, .edu-link { height: 44px; }
.hero .topics a { text-decoration: none; }
.hero .topics a:hover { color: #fff; }

/* ---------- EDU page in the new design (edu.it.cafe/pro) ---------- */
.edutag { font-weight: 700; color: var(--v); margin-left: 4px; letter-spacing: .08em; }
.biz-link { border-color: var(--g); color: var(--g); }
.biz-link:hover { background: var(--g); color: #fff; }
.eduhero { position: relative; overflow: hidden; background: var(--v); color: #fff; padding: 110px 0 170px; }
.eduhero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eduhero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.eduhero .kicker { color: #fff; opacity: .85; }
.eduhero .lead { margin-top: 24px; color: #e4deff; }
.eduhero .sub { margin-top: 12px; color: #e4deff; }
.eduhero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.eduhero .btn { background: #fff; color: var(--v); border-color: #fff; }
.eduhero .btn.ghost { background: transparent; color: #fff; }
.eduhero .btn:hover { background: var(--g); border-color: var(--g); color: #fff; }
.eduimg { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%); }
.eduhero .terrain { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; }
@media (max-width: 860px) { .eduhero { padding: 64px 0 140px; } .eduhero .wrap { grid-template-columns: 1fr; } .eduimg { clip-path: none; } }

.edupage .tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px 32px; border-top: 1px solid var(--line-dark); padding-top: 40px; }
.edupage .tiles .pix { width: 56px; height: 40px; fill: var(--c); margin-bottom: 18px; }
.edupage .tiles li:nth-child(2) .pix { fill: var(--v-on-dark); }
.edupage .tiles li:nth-child(4) .pix { fill: #e62bd4; }
.edupage .tiles h3 { font-size: 1.25rem; }
.edupage .tiles p { margin-top: 10px; color: var(--mute-on-dark); }
@media (max-width: 1000px) { .edupage .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .edupage .tiles { grid-template-columns: 1fr; } }

.formats5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; margin-top: 56px; }
.formats5 li { border-top: 3px solid #fff; padding-top: 22px; }
.formats5 h3 { font-size: 1.3rem; }
.formats5 p { margin: 10px 0 16px; color: #e4deff; }
@media (max-width: 1000px) { .formats5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .formats5 { grid-template-columns: 1fr; } }

.edupage .ascii { margin-top: 36px; font: 14px/1.25 ui-monospace, Menlo, Consolas, monospace; color: var(--c); }
.edupage form .chips input[type=checkbox] { position: absolute; opacity: 0; }
.edupage #sent.show:empty { display: none; }

.inspire { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.inspire li { border-top: 3px solid var(--g); padding-top: 20px; }
.inspire a { font-size: 1.3rem; font-weight: 700; text-decoration: none; }
.inspire a:hover { color: var(--v); }
.inspire span { display: block; margin-top: 8px; color: var(--mute); }
@media (max-width: 800px) { .inspire { grid-template-columns: 1fr; } }

/* links to other websites: open in a new tab, marked with an arrow */
a.ext::after { content: "\2197"; display: inline-block; margin-left: .2em; font-size: .85em; text-decoration: none; }

/* manual-work calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; }
.calc-in { padding: 40px; display: grid; gap: 28px; }
.calc-in label { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; }
.calc-in label span { grid-column: 1 / -1; font-weight: 500; }
.calc-in input[type=range] { width: 100%; accent-color: var(--v); }
.calc-in output { min-width: 5.5em; text-align: right; font-weight: 700; font-size: 1.2rem; color: var(--v); }
.calc-out { background: var(--g); color: #fff; padding: 40px; }
.calc-out p b { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.calc-out p + p { margin-top: 22px; }
.calc-out p span { display: block; margin-top: 6px; color: var(--mute-on-dark); }
.calc-out p:nth-child(2) b { color: var(--c); }
.calc-ours { color: #fff; font-weight: 500; }
.calc-note { font-size: .88rem; color: var(--mute-on-dark); }
.calc-out .btn { margin-top: 28px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-in, .calc-out { padding: 24px 16px; } }

/* exit-readiness check inside the dark business-value band */
.exitwrap { margin-top: 72px; }
.exith { font-size: 1.6rem; color: #fff; }
.dark .check { color: var(--g); }
.dark .check .btn.ghost { color: var(--g); }
.dark .check .btn.ghost:hover { background: var(--g); color: #fff; border-color: var(--g); }
.dark .check .result { color: var(--g); }

/* language switch and version switch */
.nav .langs { display: flex; gap: 2px; font-size: .85rem; }
.nav .langs a { text-decoration: none; padding: 6px 8px; color: var(--mute); }
.nav .langs a.on { color: var(--g); font-weight: 700; }
.nav .langs a:hover { color: var(--v); }
footer .versions b { color: var(--g); }
.nav .btn, .edu-link { white-space: nowrap; }

/* home signpost: four doors to the subpages */
.doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; counter-reset: d; }
.doors li { background: #fff; padding: 28px 24px 26px; border-top: 4px solid var(--v); display: flex; flex-direction: column; }
.doors li::before { counter-increment: d; content: "0" counter(d); font-weight: 800; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--v); margin-bottom: 18px; }
.doors h3 { font-size: 1.45rem; }
.doors p { margin: 10px 0 18px; color: var(--mute); flex: 1; }
.doors .link { align-self: flex-start; }
@media (max-width: 1000px) { .doors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .doors { grid-template-columns: 1fr; } }
/* subpage header */
.pagehero { background: radial-gradient(60% 90% at 85% 30%, rgba(91, 59, 255, .35), transparent 70%), var(--g); color: #fff; padding: 110px 0 90px; }
.pagehero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 20ch; }
.pagehero .kicker { color: var(--c); }
.pagehero .lead { margin-top: 24px; color: var(--mute-on-dark); max-width: 60ch; }
.pagehero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.pagehero .btn:hover { background: #fff; border-color: #fff; color: var(--g); }
@media (max-width: 700px) { .pagehero { padding: 64px 0 56px; } }
#menu a[aria-current="page"] { color: var(--v); font-weight: 600; }

/* local AI band on the automation page, hackathon note in the community */
#lokalni-ai .ticks li { padding: 6px 0 6px 28px; position: relative; }
#lokalni-ai .ticks li::before { content: ""; position: absolute; left: 0; top: 16px; width: 14px; height: 2px; background: var(--c); }
#lokalni-ai .expert { color: var(--mute-on-dark); font-size: .95rem; }
.split-img .collage { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; aspect-ratio: 4 / 3; }
.split-img .collage img { width: 100%; height: 100%; object-fit: cover; }
.split-img .collage img:first-child { grid-row: span 2; }
.hack { margin-top: 48px; padding: 28px 32px; border-left: 4px solid var(--v); background: var(--k); }
.hack h3 { font-size: 1.5rem; }
.hack p { margin: 10px 0 16px; color: var(--mute); max-width: 75ch; }

/* business page: three doors, the sale door first and strongest */
.doors.three { grid-template-columns: repeat(3, 1fr); }
.doors li.main { background: var(--v); color: #fff; border-top-color: var(--g); }
.doors li.main::before { -webkit-text-stroke-color: #fff; }
.doors li.main p { color: #e4deff; }
.doors li.main .link { border-color: #fff; }
@media (max-width: 860px) { .doors.three { grid-template-columns: 1fr; } }
.numbered:not(.three) { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .numbered:not(.three) { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .numbered:not(.three) { grid-template-columns: 1fr; } }

/* outlined numerals on the violet band (they were violet on violet) */
.violet .numbered > li::before { -webkit-text-stroke-color: rgba(255, 255, 255, .7); opacity: 1; }
.violet .numbered p { color: #e4deff; }

/* language switch inside the mobile menu */
.menu-langs { display: none; }
@media (max-width: 1280px) {
  .nav-end > .langs { display: none; }
  #menu .menu-langs { display: block; border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 8px; padding: 10px 24px 0; }
  #menu .menu-langs .langs { display: flex; gap: 4px; font-size: 1rem; }
  #menu .menu-langs a { display: inline-block; padding: 10px 8px; font-size: 1rem; color: var(--mute-on-dark); }
  #menu .menu-langs a.on { color: #fff; }
}
.contact .place { grid-template-columns: 1fr; }
.contact .place img { aspect-ratio: 16 / 10; }
/* confirmation shown in place of the form after sending */
form[hidden] { display: none !important; }
.sent-box { background: #fff; color: var(--g); padding: 40px; border-left: 6px solid var(--v); outline: none; }
.sent-box p { font-size: 1.35rem; font-weight: 700; line-height: 1.35; margin: 0 0 24px; }
.sent-box p::before { content: "✓"; display: block; width: 44px; height: 44px; line-height: 44px; text-align: center; margin-bottom: 18px; background: var(--v); color: #fff; font-size: 1.4rem; }
.sent-box .btn { background: transparent; border-color: var(--g); color: var(--g); }
.sent-box .btn:hover { background: var(--g); color: #fff; }
/* meeting slot picker in the contact form */
.slots .hint { margin: 4px 0 6px; }
.slot-row { margin-top: 12px; }
.slot-row[hidden] { display: none; }
.slot-label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 0 0 6px; }
