/* TESTCASE — prototyp 1.6 / HTML + CSS + JavaScript, bez frameworków */
:root {
  color-scheme: light;
  --ink: #272635;
  --ink-2: #343343;
  --ink-3: #414050;
  --accent: #e2bb43;
  --accent-dark: #b98f1f;
  --teal: #006d72;
  --paper: #f6f6f4;
  --white: #fff;
  --muted: #626574;
  --line: #e3e3e5;
  --radius: 14px;
  --container: 1160px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth}
body {margin:0;background:var(--white);color:var(--ink);line-height:1.6;font-size:16px}
a {color:inherit;text-decoration:none}
a:hover {color:var(--teal)}
button,input,textarea {font:inherit}
button {cursor:pointer}
img,svg {max-width:100%;height:auto}
:focus-visible {outline:3px solid var(--accent-dark);outline-offset:4px}
.container {width:min(calc(100% - 44px),var(--container));margin:0 auto}
.skip-link {position:absolute;left:16px;top:-100px;background:white;color:#111;padding:10px;z-index:9999}
.skip-link:focus {top:15px}
.eyebrow {font-size:.76rem;text-transform:uppercase;letter-spacing:.16em;font-weight:800;color:var(--teal)}
.eyebrow.gold {color:var(--accent)}
h1,h2,h3,h4,p {margin-top:0}
h1,h2,h3,h4 {line-height:1.16;letter-spacing:-.025em}
h1 {font-size:clamp(2.5rem,4.5vw,4.65rem);font-weight:820}
h2 {font-size:clamp(1.95rem,3.4vw,3rem);font-weight:790}
h3 {font-size:1.21rem}
p {color:var(--muted)}
strong {color:var(--ink)}
.lead {font-size:clamp(1.05rem,1.6vw,1.21rem);line-height:1.72}
.small {font-size:.9rem}
.muted {color:var(--muted)}
.section {padding:92px 0}
.section-tight {padding:62px 0}
.section.alt {background:var(--paper)}
/* Home PL/EN: cieply zolty akcent dla YouTrack, bez zmiany innych podstron. */
.section.yt-highlight {background:#f6e9c3}
.section.yt-highlight .feature-box {background:#fffdf7;border-color:#e5d29f}
.section.yt-highlight .feature-list li:before {background:#fffaf0}

.section.dark {background:var(--ink);color:var(--white)}
.section.dark p,.section.dark .lead {color:#dbdbe2}
.section-title {max-width:720px;margin-bottom:36px}
.section-title p:last-child {margin-bottom:0}
.pill {display:inline-block;font-size:.78rem;font-weight:750;border-radius:999px;padding:6px 12px;background:#e9e6dc;color:var(--ink)}
/* Header */
.utility {background:#232331;color:#dedde4;font-size:.77rem}
.utility .container {display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px 0}
.utility a {color:#eeeef2}.utility a:hover{color:var(--accent)}
.utility-links,.utility-social {display:flex;align-items:center;gap:19px;flex-wrap:wrap}
.utility-links span+span {border-left:1px solid #77737d;padding-left:19px}
.site-header {position:sticky;top:0;background:var(--ink);color:white;z-index:80;border-bottom:1px solid #454353}
.header-inner {height:76px;display:flex;align-items:center;gap:25px;justify-content:space-between}
.brand {display:inline-flex;align-items:center;gap:11px;font-weight:850;font-size:1.3rem;letter-spacing:.035em;color:white;white-space:nowrap}
.brand:hover {color:white}
.main-nav {display:flex;align-items:center;gap:29px;margin-left:auto}
.nav-link {font-size:.92rem;font-weight:690;color:#f0eff4;white-space:nowrap}
.nav-link:hover,.nav-link.is-active {color:var(--accent)}
.nav-entry {position:relative;display:flex;align-items:center;gap:2px}
.nav-toggle {border:0;background:none;color:#d7d7df;padding:5px;display:inline-flex;align-items:center;justify-content:center;border-radius:5px}
.nav-toggle:hover {color:var(--accent)}
.chev {display:inline-block;width:7px;height:7px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg);margin:-4px 2px 0}
.drop {position:absolute;top:100%;left:-18px;min-width:245px;background:white;color:var(--ink);border:1px solid var(--line);border-radius:0 0 10px 10px;box-shadow:0 18px 35px #15151a25;padding:12px;display:none;z-index:90}
.nav-entry:hover>.drop,.nav-entry:focus-within>.drop,.nav-entry.open>.drop {display:block}
.drop a {display:block;padding:9px 12px;color:#2b2b38;font-size:.88rem;font-weight:620;border-radius:6px}
.drop a:hover,.drop a.is-active {background:#f6f2e4;color:#70551a}
.drop .subline {padding-left:25px;font-size:.84rem;color:#6c6870}
.header-actions {display:flex;align-items:center;gap:12px}
.lang {font-size:.77rem;letter-spacing:.03em;color:#c7c5cf;font-weight:800}
.lang.active {color:var(--accent)}
.lang:hover {color:white}
.lang-sep {color:#888592;font-size:.75rem}
.menu-button {display:none;background:none;border:1px solid #6a6876;border-radius:8px;color:white;padding:9px 12px;line-height:1}
/* Buttons */
.btn {display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;border-radius:8px;padding:13px 21px;font-weight:760;font-size:.95rem;line-height:1.3;transition:transform .16s ease,background .16s ease;color:var(--ink)}
.btn:hover {transform:translateY(-1px)}
.btn-primary {background:var(--accent);color:var(--ink)}.btn-primary:hover {background:#f0cc5c;color:var(--ink)}
.btn-outline {background:transparent;border-color:#878491;color:white}.btn-outline:hover {border-color:var(--accent);color:var(--accent)}
.btn-dark {background:var(--ink);color:white}.btn-dark:hover {background:#444354;color:white}
.btn-plain {border-color:#c8c7cc;background:transparent}.btn-plain:hover{border-color:var(--ink);color:var(--ink)}
.btn-row {display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
/* Home */
.hero {background:var(--ink);color:white;overflow:hidden;position:relative}
.hero:before {content:"";position:absolute;width:680px;height:680px;border:1px solid #6664742e;border-radius:50%;right:-290px;top:-225px;box-shadow:0 0 0 88px #6f6d7a09,0 0 0 180px #6f6d7a07;pointer-events:none}
.hero-grid {display:grid;grid-template-columns:1.24fr .76fr;gap:56px;align-items:center;min-height:510px;padding:92px 0 96px;position:relative}
.hero h1 {color:white;margin:18px 0 24px;max-width:770px}
.hero p {color:#d6d5df;max-width:640px}
.hero h1 em {color:var(--accent);font-style:normal}
.hero-panel {background:#323141;border:1px solid #555263;border-radius:16px;padding:28px;box-shadow:0 20px 45px #17172420}
.panel-head {font-size:.78rem;letter-spacing:.11em;text-transform:uppercase;color:#b8b7c3;font-weight:780;padding-bottom:19px;border-bottom:1px solid #52505f}
.panel-item {display:flex;align-items:center;gap:14px;padding:17px 2px;border-bottom:1px solid #484654;font-weight:680}
.panel-item:last-child {border-bottom:0;padding-bottom:0}
.panel-count {background:#474658;color:var(--accent);height:30px;width:30px;border-radius:8px;display:grid;place-items:center;font-size:.85rem;font-weight:780;flex-shrink:0}
.panel-note {margin-top:20px;color:#b8b6c1;font-size:.8rem}
.cards {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.cards.three {grid-template-columns:repeat(3,minmax(0,1fr))}
.cards.two {grid-template-columns:repeat(2,minmax(0,1fr))}
.card {background:white;border:1px solid var(--line);border-radius:var(--radius);padding:28px;display:flex;flex-direction:column;min-height:234px;transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease}
.card:hover {box-shadow:0 18px 35px #2a29361a;border-color:#d3c58f;transform:translateY(-2px)}
.card-index {color:var(--teal);font-weight:850;font-size:.85rem;letter-spacing:.13em}
.card h3 {margin:21px 0 10px}
.card p {font-size:.91rem;line-height:1.6;margin-bottom:24px}
.card .card-link {font-size:.87rem;font-weight:800;color:var(--teal);margin-top:auto}
.card .card-link:after {content:none}
.split {display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:75px}
.split-text {max-width:620px}
.feature-list {display:grid;gap:14px;margin:24px 0 0;padding:0;list-style:none}
.feature-list li {display:flex;align-items:flex-start;gap:12px}
.feature-list li:before {content:"✓";display:grid;place-items:center;background:#f0ead4;color:#65551c;border-radius:6px;width:25px;height:25px;flex-shrink:0;font-weight:900}
.feature-box {background:#f3f2f0;border-radius:18px;padding:35px;border:1px solid #e6e5e3}
.feature-box .big-number {font-weight:850;font-size:3.7rem;color:var(--teal);line-height:1;margin-bottom:15px}
.feature-box p {margin-bottom:0}
.band {background:var(--ink);color:white;border-radius:18px;padding:44px;display:flex;align-items:center;justify-content:space-between;gap:36px}
.band p {color:#d5d5db;max-width:660px;margin-bottom:0}
.band h2 {color:white;margin:10px 0 12px}
.stats {display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.stat {border-left:3px solid var(--accent);padding:5px 0 5px 22px}
.stat strong {display:block;color:var(--ink);font-size:1.7rem;letter-spacing:-.025em}
.stat span {font-size:.9rem;color:var(--muted)}
/* inner pages */
.page-hero {background:var(--ink);color:white;padding:78px 0 76px}
.page-hero h1 {color:white;max-width:850px;margin:16px 0 17px;font-size:clamp(2.35rem,4.1vw,3.9rem)}
.page-hero p {color:#d6d5df;max-width:770px;margin-bottom:0}
.breadcrumb {font-size:.82rem;color:#c5c2ce;margin-bottom:18px}
.breadcrumb a {color:#c5c2ce}.breadcrumb a:hover {color:var(--accent)}
.content-grid {display:grid;grid-template-columns:1.5fr .7fr;gap:60px;align-items:start}
.content h2 {font-size:1.75rem;margin:30px 0 18px}
.content h2:first-child {margin-top:0}
.content p {line-height:1.8}
.content ul {padding-left:21px;color:var(--muted);line-height:1.85}
.sidebox {border:1px solid var(--line);border-radius:14px;padding:27px;background:var(--paper)}
.sidebox h3 {margin-bottom:10px}
.sidebox .btn {margin-top:12px}
.callout {padding:25px 27px;background:#f8f4e8;border-left:4px solid var(--accent);margin:30px 0;border-radius:0 10px 10px 0}
.callout p {margin:0}
.tiles {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.tile {border:1px solid var(--line);border-radius:12px;padding:25px;background:white}
.tile h3 {margin-bottom:10px}
.tile p {margin-bottom:0;font-size:.94rem}
/* contact */
.contact-grid {display:grid;grid-template-columns:1fr 1fr;gap:36px}
.contact-box {background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:32px}
.contact-box h3 {margin-bottom:17px}
.contact-box a {color:var(--teal);font-weight:750;overflow-wrap:anywhere}
.contact-box a:hover {text-decoration:underline}
.contact-line {margin:0 0 16px}
.notice {background:#fff4d8;border:1px solid #eacb83;border-radius:10px;padding:18px 22px;color:#5c4715}
.notice strong {color:#5c4715}
/* footer */
.prefooter {background:var(--accent);padding:43px 0;color:var(--ink)}
.prefooter .container {display:flex;justify-content:space-between;align-items:center;gap:25px}
.prefooter h2 {font-size:1.65rem;margin:0 0 7px}
.prefooter p {color:#4b463c;margin:0}
.footer {background:#242331;color:white;padding:52px 0 28px}
.footer-grid {display:grid;grid-template-columns:1.25fr .7fr .85fr 1fr;gap:35px}
.footer h4 {font-size:.89rem;letter-spacing:.02em;margin:0 0 17px;color:white}
.footer p,.footer a {font-size:.86rem;color:#cbc9d5}
.footer a:hover {color:var(--accent)}
.footer-list {list-style:none;padding:0;margin:0;display:grid;gap:10px}
.footer-bottom {margin-top:45px;padding-top:19px;border-top:1px solid #52505e;display:flex;justify-content:space-between;gap:12px;color:#aaa8b6;font-size:.78rem}
.footer-bottom a {font-size:.78rem}
/* breakpoints */
@media (max-width:1080px) {
  .main-nav {gap:15px}.nav-link{font-size:.86rem}.header-inner{gap:15px}
  .hero-grid{gap:26px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:850px) {
  .utility-links span:nth-child(2){display:none}
  .menu-button {display:inline-flex;align-items:center;gap:8px}
  .main-nav {display:none;position:absolute;top:76px;left:0;right:0;background:var(--ink);padding:15px 22px 25px;box-shadow:0 15px 20px #13131a30;max-height:calc(100vh - 76px);overflow-y:auto;flex-direction:column;align-items:stretch;gap:0;margin:0;border-top:1px solid #484653}
  .main-nav.mobile-open {display:flex}
  .nav-entry {display:block;border-bottom:1px solid #494858;padding:8px 0;position:relative}
  .main-nav > .nav-link {border-bottom:1px solid #494858;padding:15px 0}
  .nav-entry>.nav-link {display:inline-block;padding:8px 0}
  .nav-toggle {position:absolute;right:2px;top:8px;border:1px solid #656374;min-height:33px;min-width:36px}
  .drop {display:none!important;position:static;box-shadow:none;background:#333241;border:none;border-radius:8px;margin-top:7px;padding:6px 12px}
  .nav-entry.open>.drop {display:block!important}
  .drop a {color:#eeeef3}.drop a:hover,.drop a.is-active{background:#4a4651;color:var(--accent)}.drop .subline{color:#d2cfd7}
  .hero-grid{grid-template-columns:1fr;gap:30px;padding:70px 0}.hero-panel{max-width:660px}
  .split,.content-grid {grid-template-columns:1fr;gap:30px}
  .contact-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:600px) {
  .container{width:min(calc(100% - 32px),var(--container))}
  .header-inner{height:68px}.main-nav{top:68px;max-height:calc(100vh - 68px)}
  .brand{font-size:1.07rem}.header-actions{gap:9px}
  .utility {font-size:.73rem}.utility-links span:nth-child(1){display:none}
  .utility .container{justify-content:center}
  .utility-links span:nth-child(3){border-left:none;padding-left:0}
  .section {padding:63px 0}.section-tight{padding:45px 0}
  .hero-grid{padding:62px 0 70px}.hero h1{font-size:2.45rem}
  .cards,.cards.three,.cards.two,.tiles,.stats{grid-template-columns:1fr}
  .card{min-height:190px;padding:24px}
  .page-hero{padding:58px 0}
  .band{display:block;padding:28px}.band .btn{margin-top:22px}
  .prefooter .container{display:block}.prefooter .btn{margin-top:18px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:26px 16px}
  .footer-bottom{display:block}
  .btn-row .btn{width:100%}
}
@media (prefers-reduced-motion:reduce) {html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}


/* v1.2: official brand artwork on the dark header and footer */
.brand-logo {display:block;width:188px;height:auto;max-height:58px;object-fit:contain;filter:brightness(0) invert(1);transition:opacity .16s ease}
.brand:hover .brand-logo {opacity:.84}
/* v1.2: original illustrations kept subtle and decorative */
.hero-art {position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}
.hero-art img {position:absolute;width:150px;height:auto;filter:brightness(0) invert(1);opacity:.055}
.hero-art img:first-child {right:19%;top:8%;transform:rotate(-12deg)}
.hero-art img:last-child {right:3%;bottom:7%;width:115px;transform:rotate(24deg)}
.hero-grid {z-index:1}
.card {position:relative}
.card-illustration {position:absolute;right:22px;top:21px;width:44px;height:44px;object-fit:contain;opacity:.82;pointer-events:none}
.stat {position:relative;min-height:77px;padding-right:53px}
.stat-illustration {position:absolute;right:4px;top:2px;width:43px;height:43px;object-fit:contain;opacity:.77;pointer-events:none}
/* v1.2: genuinely clickable expertise items, not a decorative list */
.panel-link {color:#fff;transition:background .16s ease,padding .16s ease,color .16s ease;border-radius:7px}
.panel-link:hover,.panel-link:focus-visible {background:#414052;color:#fff;padding-left:9px;padding-right:9px}
.panel-link:hover .panel-count,.panel-link:focus-visible .panel-count {background:#585464}
.panel-label {flex:1}
.panel-arrow {margin-left:auto;color:var(--accent);font-size:1.1rem;opacity:.7;transition:transform .16s ease,opacity .16s ease}
.panel-link:hover .panel-arrow,.panel-link:focus-visible .panel-arrow {opacity:1;transform:translate(2px,-2px)}
@media (max-width:600px) {
 .brand-logo {width:150px;max-height:49px}
 .hero-art img {opacity:.035}
 .card-illustration {width:39px;height:39px;right:17px;top:17px}
}


/* v1.3 — single-column, compact home hero (PL and EN) */
.hero-grid {
  display:block;
  min-height:0;
  padding:76px 0 84px;
}
.hero h1 {
  max-width:1120px;
  font-size:clamp(2.45rem, 3.8vw, 3.65rem);
  line-height:1.13;
  text-wrap:balance;
  margin:18px 0 22px;
}
.hero p {max-width:795px}
.hero .btn-row {margin-top:25px}

/* v1.3 — uniform, smaller top headings on ALL subpages */
.page-hero {padding:64px 0 65px}
.page-hero h1 {
  font-size:clamp(2.05rem, 3vw, 3rem);
  line-height:1.15;
  max-width:1120px;
  text-wrap:balance;
  margin:14px 0 18px;
}

/* v1.3 — contrasting left contact card; right company card stays as before */
.contact-box--primary {
  background:var(--ink);
  border-color:#454353;
  color:#fff;
}
.contact-box--primary h2,
.contact-box--primary h3,
.contact-box--primary strong {color:#fff}
.contact-box--primary p {color:#f0eef5}
.contact-box--primary .eyebrow {color:var(--accent)}
.contact-box--primary a {color:var(--accent)}
.contact-box--primary a:hover {color:#f6d66d}
.contact-box--primary a.btn-primary {color:var(--ink)}
.contact-box--primary a.btn-primary:hover {color:var(--ink);background:#f0cc5c;text-decoration:none}

@media (max-width:850px) {
  .hero-grid {padding:66px 0 72px}
  .hero h1 {font-size:clamp(2.3rem,6vw,3.1rem)}
}
@media (max-width:600px) {
  .hero-grid {padding:55px 0 62px}
  .hero h1 {font-size:clamp(2.15rem,8.3vw,2.65rem);text-wrap:pretty}
  .page-hero {padding:52px 0 55px}
  .page-hero h1 {font-size:clamp(2rem,7.5vw,2.45rem)}
}


/* =============================
   TESTCASE v1.4 — approved fixes
   ============================= */
/* DEF-001: with no duplicate CTAs, keep first screen compact. */
body[data-page="index"] .hero-grid {padding-bottom:64px}

/* DEF-002: exactly the firm yellow used by the bottom prefooter strip. */
.section.yt-highlight {background:var(--accent)}
.section.yt-highlight .feature-box {background:#fffdf7;border-color:#d7b84e}
.section.yt-highlight .eyebrow {color:#004e52}
.section.yt-highlight p {color:#3f3b43}
.section.yt-highlight .feature-list li:before {background:#fffdf7}

/* DEF-003: 5 services on a single row when screen width permits. */
.cards.home-services {grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}
.home-services .card {padding:23px 21px;min-width:0}
.home-services .card h3 {font-size:1.1rem}
.home-services .card-illustration {width:40px;height:40px;right:16px;top:16px}
.home-services .card p {font-size:.9rem}

/* DEF-004 + DEF-005: visibly yellow, readable cards on white sections. */
body[data-page="uslugi"] .cards .card,
body[data-page="youtrack"] .cards .card {
  background:#efd47c;
  border-color:#dbb955;
}
body[data-page="uslugi"] .cards .card:hover,
body[data-page="youtrack"] .cards .card:hover {
  background:#f4de99;
  border-color:#bb922e;
}
body[data-page="uslugi"] .cards .card h3,
body[data-page="youtrack"] .cards .card h3 {
  font-size:1.32rem;
  line-height:1.28;
}
body[data-page="uslugi"] .cards .card p,
body[data-page="youtrack"] .cards .card p {
  font-size:1.03rem;
  line-height:1.65;
  color:#393743;
}
body[data-page="uslugi"] .cards .card .card-link,
body[data-page="youtrack"] .cards .card .card-link {
  font-size:.97rem;
  color:#00545a;
}
body[data-page="uslugi"] .cards .card .card-index,
body[data-page="youtrack"] .cards .card .card-index {
  color:#00545a;
}

/* five cards can breathe at laptop/tablet widths without squeezing text. */
@media (max-width:1120px) {
  .cards.home-services {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:850px) {
  .cards.home-services {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:600px) {
  .cards.home-services {grid-template-columns:1fr}
  .home-services .card {padding:24px}
  body[data-page="index"] .hero-grid {padding-bottom:54px}
}


/* =============================
   TESTCASE v1.5 — approved fixes
   ============================= */
/* DEF-007: three clearly separated contact cards. */
body[data-page="kontakt"] .contact-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  align-items:stretch;
}
body[data-page="kontakt"] .contact-box {
  min-width:0;
  padding:27px;
}
body[data-page="kontakt"] .contact-box h2 {
  font-size:clamp(1.35rem,1.8vw,1.65rem);
  line-height:1.24;
  margin:12px 0 24px;
}
body[data-page="kontakt"] .contact-box--location {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  background:#dfd8c8;
  border-color:#cbc1ac;
}
body[data-page="kontakt"] .contact-box--location .eyebrow {color:#00585d}
body[data-page="kontakt"] .contact-box--location h2 {margin-bottom:10px}
.location-visual {
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  margin:2px 0 12px;
  color:#4c4b57;
}
.location-visual svg {width:88px;height:88px;flex-shrink:0}
.location-visual strong {font-size:1.45rem;color:var(--ink);letter-spacing:-.02em}
body[data-page="kontakt"] .location-address {
  color:#34333e;
  line-height:1.6;
  margin:0 0 22px;
}
body[data-page="kontakt"] .contact-box--location a.location-map-link {
  margin-top:auto;
  background:var(--ink);
  color:#fff;
  font-size:.89rem;
  text-decoration:none;
  max-width:100%;
}
body[data-page="kontakt"] .contact-box--location a.location-map-link:hover {
  background:#414050;
  color:#fff;
  text-decoration:none;
}
/* DEF-008: recruitment CTA composes an email rather than linking to general Contact. */
body[data-page="kariera"] .career-email {
  font-weight:700;
  font-size:.95rem;
  color:#005d64;
  overflow-wrap:anywhere;
  margin:0;
}
/* DEF-009: visually separate the closing paragraph from the last expertise list item. */
body[data-page="kariera"] .career-followup {margin-top:32px}
/* DEF-010: discreet, still readable privacy notice (the legal copy is a placeholder). */
body[data-page="kariera"] .career-privacy-notice p {
  font-size:.88rem;
  line-height:1.65;
}
@media (max-width:1000px) {
  body[data-page="kontakt"] .contact-grid {grid-template-columns:1fr;gap:18px}
  body[data-page="kontakt"] .contact-box {padding:30px}
  body[data-page="kontakt"] .contact-box h2 {font-size:1.75rem}
}
@media (max-width:600px) {
  body[data-page="kontakt"] .contact-box {padding:25px}
  body[data-page="kontakt"] .contact-box h2 {font-size:1.5rem}
  body[data-page="kariera"] .career-followup {margin-top:26px}
}


/* =============================
   TESTCASE v1.6 — approved fixes DEF-011–DEF-015
   ============================= */
/* DEF-011: the brand name above each inner-page heading was redundant. */
.page-hero h1 {margin-top:9px}

/* DEF-012: quieter contact labels and values only in the primary contact tile. */
body[data-page="kontakt"] .contact-box--primary .contact-field-label,
body[data-page="kontakt"] .contact-box--primary .contact-line a {
  font-weight:400;
}

/* DEF-014: one exact firm yellow for all already-gold service/YouTrack cards,
   with a restrained shadow. Matches --accent used for buttons and prefooter. */
body[data-page="uslugi"] .cards .card,
body[data-page="youtrack"] .cards .card {
  background:var(--accent);
  border-color:#d1a935;
  box-shadow:0 7px 18px rgba(30,29,43,.12), 0 1px 2px rgba(30,29,43,.07);
}
body[data-page="uslugi"] .cards .card:hover,
body[data-page="uslugi"] .cards .card:focus-visible,
body[data-page="youtrack"] .cards .card:hover,
body[data-page="youtrack"] .cards .card:focus-visible {
  background:var(--accent);
  border-color:#b98f1f;
  box-shadow:0 13px 25px rgba(30,29,43,.19), 0 2px 5px rgba(30,29,43,.1);
  transform:translateY(-3px);
}

/* DEF-015: fifth YouTrack card has exactly the width of a single card
   in the two-column grid, centered on the final row. */
body[data-page="uslugi"] .cards.two {grid-auto-rows:1fr}
body[data-page="uslugi"] .cards.two > .card--centered {
  grid-column:1 / -1;
  width:calc((100% - 18px) / 2);
  justify-self:center;
}
@media (max-width:600px) {
  body[data-page="uslugi"] .cards.two > .card--centered {
    grid-column:auto;
    width:100%;
  }
}


/* TESTCASE – YouTrack area, dark editorial layout / draft 1.7. */
.yt-main {background:#272635;color:#f9f8fb;overflow:hidden}
.yt-main p,.yt-main .lead {color:#d8d6e1}
.yt-main h1,.yt-main h2,.yt-main h3,.yt-main strong {color:#fff}
.yt-main a:not(.btn) {color:inherit}
.yt-main .yt-gold {color:var(--accent)}
.yt-main .yt-kicker {display:block;text-transform:uppercase;letter-spacing:.2em;color:var(--accent);font-size:.74rem;font-weight:850;margin-bottom:17px}
.yt-main .yt-breadcrumb {font-size:.82rem;color:#bcb9cb;margin-bottom:31px}
.yt-main .yt-breadcrumb a:hover {color:var(--accent)}
.yt-main .yt-top {padding:68px 0 60px;position:relative;background:#272635}
.yt-main .yt-top:before {content:"";position:absolute;width:520px;height:520px;border:1px solid rgba(226,187,67,.09);border-radius:50%;right:-270px;top:-300px;pointer-events:none}
.yt-main .yt-top h1 {font-size:clamp(2.3rem,4vw,3.7rem);line-height:1.13;margin:0 0 20px;letter-spacing:-.035em}
.yt-main .yt-top .lead {max-width:850px;font-size:clamp(1.06rem,1.65vw,1.23rem);line-height:1.7}
.yt-main .yt-top--landing {padding-bottom:46px}
.yt-main .yt-container-narrow {max-width:840px}
.yt-main .yt-split {display:grid;grid-template-columns:1fr 1fr;gap:20px}
.yt-main .yt-entry-card {background:#343342;border:1px solid #5f5861;border-radius:15px;padding:32px;display:flex;flex-direction:column;gap:9px;min-height:245px;transition:transform .18s,border-color .18s,box-shadow .18s;color:#fff}
.yt-main .yt-entry-card:hover,.yt-main .yt-entry-card:focus-visible {color:#fff;transform:translateY(-3px);border-color:var(--accent);box-shadow:0 20px 36px rgba(0,0,0,.19)}
.yt-main .yt-entry-card h2 {font-size:clamp(1.5rem,2.2vw,1.9rem);color:var(--accent);margin:0 0 7px}
.yt-main .yt-entry-card p {font-size:.98rem;line-height:1.68;margin:0}
.yt-main .yt-card-action {display:inline-block;margin-top:auto;padding-top:20px;color:var(--accent);font-weight:750;font-size:.95rem}
.yt-main .yt-body-section {padding:78px 0;border-top:1px solid rgba(255,255,255,.07)}
.yt-main .yt-body-section:nth-child(even) {background:#302f40}
.yt-main .yt-body-section:nth-child(odd) {background:#272635}
.yt-main .yt-body-section h2 {font-size:clamp(1.65rem,2.45vw,2.15rem);line-height:1.2;margin:0 0 18px}
.yt-main .yt-body-section p {max-width:910px;line-height:1.8;margin-bottom:26px}
.yt-main .yt-section-number {display:inline-flex;align-items:center;gap:12px;color:var(--accent);font-size:.78rem;font-weight:850;letter-spacing:.17em;margin-bottom:15px}
.yt-main .yt-section-number:before {content:"";width:26px;height:2px;background:var(--accent)}
.yt-main .yt-overview-figure {margin:26px 0 0;max-width:920px}
.yt-main .yt-overview-figure img {display:block;width:100%;border-radius:14px;border:1px solid #565469;box-shadow:0 18px 40px rgba(0,0,0,.16)}
.yt-main .yt-gallery {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:25px}
.yt-main .yt-gallery .yt-shot {display:block;background:#1f1e2b;overflow:hidden;border:1px solid #555263;border-radius:10px;padding:0;transition:border-color .16s,transform .16s;min-width:0}
.yt-main .yt-gallery .yt-shot:hover,.yt-main .yt-gallery .yt-shot:focus-visible {border-color:var(--accent);transform:translateY(-2px)}
.yt-main .yt-gallery .yt-shot img {display:block;width:100%;height:190px;object-fit:cover;object-position:center}
.yt-main .yt-gallery .yt-shot span {display:block;padding:10px 12px;color:#f4f1f8;font-size:.84rem;font-weight:670;line-height:1.25}
.yt-main .yt-inset {padding:28px 32px;background:#353443;border:1px solid #585366;border-radius:13px}
.yt-main .yt-inset h3 {color:var(--accent);font-size:1.23rem;margin:0 0 8px}
.yt-main .yt-inset p {margin:0;font-size:.97rem}
.yt-main .yt-benefits {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:28px}
.yt-main .yt-benefit {border:1px solid #585466;border-radius:12px;background:#343342;padding:22px}
.yt-main .yt-benefit b {display:block;color:var(--accent);margin-bottom:8px}
.yt-main .yt-benefit span {color:#dfdce6;line-height:1.5;font-size:.94rem}
.yt-main .yt-cta {padding:65px 0 75px;border-top:1px solid #504b5e;background:#272635}
.yt-main .yt-cta-inner {display:flex;justify-content:space-between;align-items:center;gap:25px}
.yt-main .yt-cta h2 {font-size:clamp(1.6rem,2.5vw,2.2rem);margin:0 0 9px}
.yt-main .yt-cta p {margin:0;max-width:680px}
.yt-main .yt-app-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:30px}
.yt-main .yt-product {background:#343342;border:1px solid #62565c;border-radius:16px;padding:31px;display:flex;flex-direction:column;min-height:350px}
.yt-main .yt-product-brand {display:flex;align-items:center;gap:14px;margin-bottom:22px}
.yt-main .yt-product-mark {background:#fcfbf8;border-radius:11px;padding:10px;width:75px;height:75px;display:grid;place-items:center;flex-shrink:0}
.yt-main .yt-product-mark img {width:55px;height:55px;object-fit:contain}
.yt-main .yt-product h2 {font-size:1.72rem;margin:0 0 6px}
.yt-main .yt-product .yt-pill {color:var(--accent);font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;font-weight:750}
.yt-main .yt-product p {font-size:1rem;line-height:1.7;max-width:none;margin-bottom:24px}
.yt-main .yt-product .yt-card-action {margin-top:auto;padding-top:0;color:var(--accent)}
.yt-main .yt-product .yt-card-action:hover {text-decoration:underline}
.yt-main .yt-reading {max-width:920px}
.yt-main .yt-reading p {max-width:840px}
@media(max-width:900px) {
 .yt-main .yt-gallery .yt-shot img {height:145px}
 .yt-main .yt-benefits {grid-template-columns:1fr 1fr}
}
@media(max-width:660px) {
 .yt-main .yt-top {padding:45px 0 42px}
 .yt-main .yt-breadcrumb {margin-bottom:23px}
 .yt-main .yt-split,.yt-main .yt-app-list,.yt-main .yt-benefits {grid-template-columns:1fr}
 .yt-main .yt-entry-card {min-height:215px;padding:25px}
 .yt-main .yt-body-section {padding:57px 0}
 .yt-main .yt-gallery {grid-template-columns:1fr;gap:12px}
 .yt-main .yt-gallery .yt-shot img {height:auto;max-height:290px;object-fit:contain;background:#f8f8f8}
 .yt-main .yt-cta-inner {display:block}
 .yt-main .yt-cta .btn {margin-top:24px}
 .yt-main .yt-product {min-height:0;padding:25px}
 .yt-main .yt-top h1 {font-size:2.25rem}
}


/* TestCase / YouTrack release 1.8 – approved layout, original galleries */
/* Landing hero is quiet and compact; prompt comes after existing introduction. */
body[data-page="youtrack"] .yt-top {padding-top:66px;padding-bottom:48px}
.yt-main .yt-landing-prompt {font-size:clamp(1.25rem,2.15vw,1.85rem);line-height:1.4;font-weight:700;max-width:970px;color:#e5c158;margin:27px 0 0;letter-spacing:-.013em}
/* A white surface separates navy cards from the background. */
.yt-main .yt-body-section.yt-landing-cards {background:#fff!important;border-top:0;padding:48px 0 74px}
.yt-main .yt-landing-cards .yt-entry-card {background:#302f40;border-color:#504b5c;min-height:232px}
.yt-main .yt-landing-cards .yt-entry-card h2 {color:var(--accent)}
.yt-main .yt-landing-cards .yt-entry-card p {color:#f1edf5}
.yt-main .yt-landing-cards .yt-card-action {color:var(--accent)}
/* 21 original YouTrack screenshots, full resolution, no crop, individually enlargeable. */
.yt-main .yt-original-overview {max-width:980px;margin:30px auto 0}
.yt-main .yt-original-overview img {height:auto;object-fit:contain}
.yt-main .yt-original-gallery {grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:32px}
.yt-main .yt-original-gallery .yt-shot {background:#282738}
.yt-main .yt-original-gallery .yt-shot img {height:190px;object-fit:contain;object-position:center;background:#f5f5f6}
.yt-main .yt-original-gallery .yt-shot span {line-height:1.35}
/* Apps: intro remains dark; cards stand on a white surface. */
.yt-main .yt-body-section.yt-apps-intro {background:#302f40!important;border-top:0;padding:56px 0 25px}
.yt-main .yt-apps-intro h2 {color:#fff}
.yt-main .yt-apps-intro p {color:#e0deeb;margin-bottom:0}
.yt-main .yt-apps-cards {background:#fff;color:#272635;padding:26px 0 76px}
.yt-main .yt-apps-cards .yt-app-list {margin-top:0;align-items:stretch}
.yt-main .yt-apps-cards .yt-product {background:#302f40;border-color:#514e62;min-height:0;padding:30px}
.yt-main .yt-apps-cards .yt-product h2 {color:#fff}
.yt-main .yt-apps-cards .yt-product p {color:#f1eff8;line-height:1.65;margin-bottom:8px}
.yt-main .yt-apps-cards .yt-product .yt-card-action {margin-top:10px;padding:0;color:var(--accent)}
.yt-main .yt-apps-cards .yt-product-brand {margin-bottom:19px}
@media (max-width:900px){.yt-main .yt-original-gallery {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:660px){
  .yt-main .yt-landing-prompt {font-size:1.25rem}
  .yt-main .yt-original-gallery {grid-template-columns:1fr}
  .yt-main .yt-original-gallery .yt-shot img {height:auto;max-height:310px;object-fit:contain}
  .yt-main .yt-body-section.yt-landing-cards {padding:35px 0 55px}
  .yt-main .yt-body-section.yt-apps-intro {padding:48px 0 30px}
  .yt-main .yt-apps-cards {padding:24px 0 56px}
  .yt-main .yt-apps-cards .yt-product {padding:25px}
}

/* ======================================================
   TESTCASE v1.9 – accepted changes DEF-016–DEF-025
   ====================================================== */
/* DEF-022: reduce empty air around the home hero, preserve copy and type size. */
body[data-page="index"] .hero-grid {
  padding-top:35px;
  padding-bottom:40px;
}
body[data-page="index"] .hero h1 {margin-top:12px;margin-bottom:18px}
body[data-page="index"] .hero p {margin-bottom:0}
/* DEF-016: existing contact block moved immediately under the five services. */
.home-band-wrap {margin-top:46px}
.home-band-wrap .band {padding:34px 40px}
.home-band-wrap .band h2 {font-size:clamp(1.7rem,2.65vw,2.5rem)}
/* DEF-017 and DEF-019: real product brand marks, one quiet JetBrains attribution. */
.yt-brandrow {display:flex;gap:16px;align-items:center;margin-bottom:16px}
.yt-brandrow .eyebrow {margin:0}
.yt-brandmark {display:block;width:76px;height:76px;object-fit:contain;border-radius:10px;flex:none}
.yt-product-column {min-width:0}
.yt-product-column .feature-box {height:auto}
.tctrack-brand {display:block;width:118px;height:auto;max-height:109px;object-fit:contain;object-position:left center;margin:13px 0 4px}
.yt-jetbrains-brand {display:flex;justify-content:flex-end;align-items:center;margin-top:15px;min-height:40px}
.yt-jetbrains-brand img {display:block;width:181px;max-width:52%;height:auto;object-fit:contain}
/* DEF-017: names and checkboxes must be visibly stronger. */
body[data-page="index"] .yt-highlight .feature-list li strong {font-weight:800;color:var(--ink)}
body[data-page="index"] .yt-highlight .feature-list li:before {
  font-size:1.11rem;font-weight:950;
  border:1.5px solid #b18e2e;
  box-shadow:0 2px 4px rgba(48,39,24,.12);
  background:#fffdf7;
}
/* DEF-020: longer sector-specific description without modifying its type styling. */
body[data-page="index"] .stats {margin-top:25px}
body[data-page="index"] .section-title:has(+ .stats) {max-width:960px}
/* DEF-024: compact, readable About story. */
.about-intro {background:#fff}
.about-reading {max-width:990px}
.about-reading h2 {margin:14px 0 30px;font-size:clamp(2rem,3vw,2.75rem)}
.about-reading p {font-size:1.075rem;line-height:1.82;color:#494b5a;margin-bottom:17px}
.about-reading .about-conclusion {margin:29px 0 0;padding:17px 22px;border-left:4px solid var(--accent);background:#faf7ed;border-radius:0 8px 8px 0}
.about-reading .about-conclusion strong {color:var(--ink);font-weight:750}
/* Small practical supporting section instead of long redundant text. */
.about-approach {background:var(--paper);padding-top:70px;padding-bottom:76px}
.about-approach h2 {font-size:clamp(1.85rem,2.75vw,2.45rem);margin:12px 0 29px}
.about-approach-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.about-approach-grid>div {background:#fff;border:1px solid #e1e1e4;border-radius:14px;padding:26px 28px;box-shadow:0 5px 18px rgba(25,25,40,.035)}
.about-approach-grid b {font-size:.82rem;color:var(--teal);letter-spacing:.14em}
.about-approach-grid h3 {margin:13px 0 10px;font-size:1.2rem}
.about-approach-grid p {margin:0;font-size:.96rem;line-height:1.65}
/* DEF-023: 3 x 3 of TestCase's ORIGINAL competence drawings, bigger readable typography. */
.about-competences {background:var(--ink);color:#fff;padding-top:78px;padding-bottom:78px}
.about-competences-heading {text-align:center;max-width:860px;margin:0 auto 36px}
.about-competences h2 {color:#fff;margin:11px 0 12px;font-size:clamp(2rem,3vw,2.8rem)}
.about-competences-heading p {color:#d9d8e1;font-size:1.05rem;margin:0}
.about-competences-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.about-competence-card {min-width:0;background:#343342;border:1px solid #545263;border-radius:15px;padding:28px 25px 26px;min-height:207px;display:flex;flex-direction:column;align-items:center;text-align:center}
.about-competence-card img {width:54px;height:54px;object-fit:contain;margin-bottom:15px;filter:brightness(0) saturate(100%) invert(78%) sepia(54%) saturate(502%) hue-rotate(350deg) brightness(100%) contrast(87%)}
.about-competence-card h3 {color:#fff;font-size:1.26rem;line-height:1.25;letter-spacing:-.01em;margin:0 0 11px}
.about-competence-card p {color:#dfdee7;line-height:1.55;font-size:.965rem;margin:0}
/* DEF-025: compact distinct certification & methodology strip on the way to CTA. */
.about-certificates {background:#353442;color:#fff;padding:43px 0 56px;border-top:1px solid rgba(255,255,255,.09)}
.cert-heading {text-align:center;margin:0 auto 27px}
.cert-heading h2 {color:#fff;font-size:clamp(1.5rem,2.2vw,2rem);margin-bottom:7px}
.cert-heading p {color:#c7c5d2;margin:0;font-size:.91rem}
.cert-grid {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
.cert-item {background:#353442;border:1px solid #565468;border-radius:10px;min-height:102px;padding:12px 8px;display:flex;align-items:center;justify-content:center}
.cert-item img {display:block;width:100%;max-height:78px;object-fit:contain}
.agile-cert {flex-direction:column;color:#fff;gap:4px;font-weight:760;font-size:1rem}
.agile-cert svg {width:36px;height:36px;color:var(--accent)}
@media (max-width:1000px) {
 .cert-grid {grid-template-columns:repeat(4,minmax(0,1fr))}
 .about-competences-grid {gap:13px}
 .about-competence-card {padding:25px 18px}
}
@media (max-width:700px) {
 body[data-page="index"] .hero-grid {padding-top:34px;padding-bottom:43px}
 .home-band-wrap {margin-top:30px}
 .home-band-wrap .band {padding:28px}
 .yt-brandmark {width:63px;height:63px}
 .yt-brandrow {gap:12px}
 .tctrack-brand {width:110px}
 .about-approach-grid {grid-template-columns:1fr}
 .about-competences-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .about-competence-card {padding:23px 15px;min-height:210px}
 .about-competence-card h3 {font-size:1.12rem}
 .about-competence-card p {font-size:.91rem}
 .cert-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
 .cert-item {min-height:90px}
}
@media (max-width:460px) {
 .about-competences-grid {grid-template-columns:1fr}
 .about-competence-card {min-height:0;padding:25px}
 .about-competence-card img {width:58px;height:58px}
 .about-competence-card h3 {font-size:1.28rem}
 .about-competence-card p {font-size:.98rem}
 .cert-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .cert-item {min-height:96px}
 .yt-jetbrains-brand img {max-width:65%}
}

/* ==============================================================
   TESTCASE v2.0 – DEF-026, DEF-027 and navigation simplification
   ============================================================== */
/* Compact YouTrack panel with identity marks alongside headings. */
body[data-page="index"] .section.yt-highlight {padding-top:60px;padding-bottom:56px}
body[data-page="index"] .yt-highlight .split {gap:52px;align-items:center}
body[data-page="index"] .yt-brandrow {margin:0 0 9px}
body[data-page="index"] .yt-title-row {display:flex;align-items:center;gap:20px;margin-bottom:19px}
body[data-page="index"] .yt-title-row h2 {flex:1;min-width:0;margin:0;line-height:1.16}
body[data-page="index"] .yt-title-row .yt-brandmark {flex:none;width:69px;height:69px;object-fit:contain;border-radius:9px}
body[data-page="index"] .yt-highlight .split-text .lead {line-height:1.58;margin-bottom:12px}
body[data-page="index"] .yt-highlight .feature-list {gap:10px;margin-top:15px}
body[data-page="index"] .yt-highlight .btn-row {margin-top:18px}
body[data-page="index"] .yt-highlight .feature-box {padding:28px 30px}
body[data-page="index"] .yt-highlight .yt-product-heading {display:flex;align-items:center;gap:17px;margin:12px 0 16px}
body[data-page="index"] .yt-highlight .yt-product-heading h3 {font-size:clamp(1.5rem,2.2vw,1.9rem);line-height:1.18;margin:0;flex:1;min-width:0}
body[data-page="index"] .yt-highlight .yt-product-heading .tctrack-brand {flex:none;width:82px;height:82px;max-height:none;object-fit:contain;margin:0}
body[data-page="index"] .yt-highlight .feature-box p {line-height:1.6}
body[data-page="index"] .yt-highlight .feature-box .btn-row {margin-top:20px}
body[data-page="index"] .yt-jetbrains-brand {margin-top:7px;min-height:35px}
body[data-page="index"] .yt-jetbrains-brand img {width:162px;max-width:48%}
/* Light cards on navy; nine navy competence tiles on light gray. */
.about-approach {background:var(--ink);color:#fff}
.about-approach h2 {color:#fff}
.about-approach .eyebrow {color:var(--accent)}
.about-approach-grid > div {background:#fff;border-color:#dcdce2}
.about-competences {background:var(--paper);color:var(--ink)}
.about-competences h2 {color:var(--ink)}
.about-competences .eyebrow.gold {color:#806118}
.about-competences-heading p {color:#555667}
/* The certification bar deliberately keeps its original colors. */
/* Accessible dropdown toggles: no intermediate landing pages. */
.nav-trigger {border:0;background:transparent;font:inherit;font-size:.92rem;font-weight:690;color:#f0eff4;cursor:pointer;display:inline-flex;align-items:center;gap:9px;padding:7px 1px;line-height:1.4;white-space:nowrap;border-radius:3px}
.nav-trigger:hover,.nav-trigger.is-active,.nav-trigger[aria-expanded="true"] {color:var(--accent)}
.nav-trigger .chev {width:8px;height:8px;transition:transform .15s ease;margin:-3px 2px 0 0;pointer-events:none}
.nav-trigger[aria-expanded="true"] .chev {transform:rotate(225deg);margin-top:4px}
@media (max-width:1080px){.nav-trigger {font-size:.86rem}}
@media (max-width:850px){
 .nav-entry>.nav-trigger {padding:14px 4px;width:100%;justify-content:space-between;text-align:left;min-height:48px;font-size:1rem}
 .nav-trigger .chev {margin-right:10px}
 .nav-entry.open .drop {margin:2px 0 10px}
 .nav-entry .drop a {padding:13px 14px;min-height:44px;display:flex;align-items:center}
}
@media (max-width:700px){
 body[data-page="index"] .section.yt-highlight {padding-top:46px;padding-bottom:44px}
 body[data-page="index"] .yt-highlight .split {gap:26px}
 body[data-page="index"] .yt-title-row {gap:10px}
 body[data-page="index"] .yt-title-row .yt-brandmark {width:52px;height:52px}
 body[data-page="index"] .yt-highlight .yt-product-heading .tctrack-brand {width:67px;height:70px}
 body[data-page="index"] .yt-highlight .yt-product-heading h3 {font-size:1.55rem}
 body[data-page="index"] .yt-highlight .feature-box {padding:25px}
}
@media (max-width:390px){
 body[data-page="index"] .yt-highlight .yt-product-heading {gap:10px}
 body[data-page="index"] .yt-highlight .yt-product-heading .tctrack-brand {width:57px;height:63px}
 body[data-page="index"] .yt-highlight .yt-product-heading h3 {font-size:1.35rem}
}


/* ============================================================
   TESTCASE v2.1 – DEF-029–036, PL and EN
   ============================================================ */

/* DEF-029 – balanced yellow home YouTrack section, fixed title lines. */
body[data-page="index"] .yt-highlight .split {
  grid-template-columns:minmax(0,1.21fr) minmax(0,.93fr);
  gap:34px;
  align-items:center;
}
body[data-page="index"] .yt-highlight .split-text {max-width:none;min-width:0}
body[data-page="index"] .yt-title-row {gap:13px;align-items:center;margin-bottom:15px}
body[data-page="index"] .yt-title-row h2 {
  font-size:clamp(1.88rem,2.55vw,2.38rem);
  line-height:1.22;
  letter-spacing:-.035em;
  min-width:0;
  flex:1;
}
body[data-page="index"] .yt-title-line {display:block;white-space:nowrap}
body[data-page="index"] .yt-title-row .yt-brandmark {
  width:66px;height:66px;flex:0 0 66px;
}
body[data-page="index"] .yt-highlight .feature-box {padding:25px 27px}
body[data-page="index"] .yt-highlight .yt-product-heading {gap:12px;margin:11px 0 12px}
body[data-page="index"] .yt-highlight .yt-product-heading .tctrack-brand {width:75px;height:78px}
body[data-page="index"] .yt-jetbrains-brand {
  margin-top:21px;min-height:0;justify-content:flex-end;
}
body[data-page="index"] .yt-jetbrains-brand img {width:215px;max-width:58%}
@media (max-width:1100px) {
  body[data-page="index"] .yt-highlight .split {grid-template-columns:minmax(0,1.12fr) minmax(0,.96fr);gap:27px}
  body[data-page="index"] .yt-title-row h2 {font-size:clamp(1.7rem,2.8vw,2.05rem)}
  body[data-page="index"] .yt-title-row .yt-brandmark {width:56px;height:56px;flex-basis:56px}
  body[data-page="index"] .yt-title-row {gap:9px}
}
@media (max-width:850px) {
  body[data-page="index"] .yt-highlight .split {grid-template-columns:1fr;gap:28px}
  body[data-page="index"] .yt-title-row h2 {font-size:clamp(1.9rem,5vw,2.4rem)}
  body[data-page="index"] .yt-highlight .yt-product-column {max-width:620px;width:100%}
}
@media (max-width:500px) {
  body[data-page="index"] .yt-title-row h2 {font-size:clamp(1.5rem,6vw,1.85rem)}
  body[data-page="index"] .yt-title-line {white-space:normal}
  body[data-page="index"] .yt-title-row .yt-brandmark {width:49px;height:49px;flex-basis:49px}
  body[data-page="index"] .yt-jetbrains-brand img {width:180px;max-width:62%}
}

/* DEF-030 – three distinct teal symbols on firm yellow approach tiles. */
.about-approach-grid > div {
  background:var(--accent);
  border-color:#c5a133;
  box-shadow:0 13px 24px rgba(6,5,18,.18);
  color:var(--ink);
  padding:25px 28px;
}
.about-approach-grid h3 {margin:13px 0 9px;color:var(--ink)}
.about-approach-grid p {color:#35333c}
.about-approach-icon {
  width:42px;height:42px;display:flex;align-items:center;justify-content:center;
  color:var(--teal);
}
.about-approach-icon svg {display:block;width:40px;height:40px}

/* DEF-031 and DEF-033–036 – editorial grid: sidebar begins at the second heading. */
.content-grid.editorial-grid {
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(255px,.7fr);
  grid-template-areas:'intro .' 'details sidebar';
  column-gap:60px;
  row-gap:16px;
  align-items:start;
}
.editorial-grid .editorial-intro {grid-area:intro;min-width:0}
.editorial-grid .editorial-details {grid-area:details;min-width:0}
.editorial-grid > .sidebox {grid-area:sidebar;align-self:start;min-width:0;margin:0}
.editorial-intro h2:first-child,.editorial-details h2:first-child {margin-top:0}
.editorial-intro p {margin-bottom:15px}
.editorial-intro p:last-child {margin-bottom:0}
.editorial-intro p strong {font-weight:710}
.editorial-grid .editorial-details .feature-list {
  padding-left:0;
  margin:22px 0 0;
  gap:13px;
}
.editorial-grid .editorial-details .feature-list li {line-height:1.63}
.editorial-grid .editorial-details .feature-list li::before {margin-top:1px}
.editorial-grid .editorial-details h2:not(:first-child) {margin-top:40px}
.editorial-grid .service-followup {margin-top:28px}
/* DEF-031 – discreet but vivid green recruitment CTA. */
.btn-emerald {background:var(--teal);color:#fff;border-color:var(--teal)}
.btn-emerald:hover,.btn-emerald:focus-visible {background:#00575d;color:#fff;border-color:#00575d}
@media (max-width:850px) {
  .content-grid.editorial-grid {
    grid-template-columns:1fr;
    grid-template-areas:'intro' 'details' 'sidebar';
    gap:27px;
  }
  .editorial-grid > .sidebox {width:100%;max-width:550px}
}
@media (max-width:600px) {
  .about-approach-grid > div {padding:24px}
  .content-grid.editorial-grid {gap:23px}
}


/* ============================================================
   TESTCASE v2.2 — DEF-037–042 (PL/EN)
   Scoped enhancements; YouTrack Platform and TC Track content remains intact.
   ============================================================ */

/* DEF-037: YouTrack mark = 150% of the previous 66px desktop dimension.
   Keep it anchored to the right edge of the left text column and don't let
   it extend beyond the intro text edge. */
body[data-page="index"] .yt-title-row .yt-brandmark {
  width:99px;
  height:99px;
  flex:0 0 99px;
  object-fit:contain;
  align-self:center;
}
body[data-page="index"] .yt-title-row {justify-content:space-between}
@media(max-width:1100px) and (min-width:851px) {
  body[data-page="index"] .yt-title-row .yt-brandmark {width:78px;height:78px;flex-basis:78px}
}
@media(max-width:600px) {
  body[data-page="index"] .yt-title-row .yt-brandmark {width:66px;height:66px;flex-basis:66px}
}
@media(max-width:370px) {
  body[data-page="index"] .yt-title-row .yt-brandmark {width:53px;height:53px;flex-basis:53px}
}

/* DEF-038 / 039 / 040: shared editorial structure.
   Top introductory text spans both columns; detail list and contact card
   start together after a deliberate, consistent gap. */
.content-grid.editorial-grid {
  grid-template-areas:"intro intro" "details sidebar";
  row-gap:39px;
}
.editorial-grid .editorial-intro {grid-column:1 / -1;max-width:none}
.editorial-grid .editorial-intro p {max-width:none}
.editorial-grid .editorial-intro h2 {margin-bottom:20px}
.editorial-grid .editorial-details {align-self:start}
.editorial-grid > .sidebox {align-self:start}
@media(max-width:850px) {
  .content-grid.editorial-grid {
    grid-template-areas:"intro" "details" "sidebar";
    row-gap:26px;
  }
  .editorial-grid .editorial-intro {grid-column:auto}
}

/* DEF-041: cards against a white field; entire card is one real link. */
.yt-main .yt-apps-cards {padding-top:42px;background:#fff;color:var(--ink)}
.yt-main .yt-apps-cards .yt-product {
  display:flex;
  flex-direction:column;
  background:#f8f4e8;
  border:1px solid #e7d9b7;
  color:var(--ink);
  text-decoration:none;
  border-radius:16px;
  box-shadow:0 9px 25px rgba(39,38,53,.09);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
  cursor:pointer;
}
.yt-main .yt-apps-cards a.yt-product:hover {
  transform:translateY(-3px);
  box-shadow:0 18px 32px rgba(39,38,53,.15);
  border-color:#c9ad5b;
  color:var(--ink);
}
.yt-main .yt-apps-cards a.yt-product:focus-visible {
  outline:3px solid var(--teal);
  outline-offset:4px;
}
.yt-main .yt-apps-cards .yt-product h2,
.yt-main .yt-apps-cards .yt-product strong {color:var(--ink)}
.yt-main .yt-apps-cards .yt-product p {color:#464656}
.yt-main .yt-apps-cards .yt-product .yt-pill {color:var(--teal)}
.yt-main .yt-apps-cards .yt-product .yt-card-action {color:var(--teal);font-weight:800}
.yt-main .yt-apps-cards .yt-product-mark {background:#fff}
.yt-main .yt-apps-cards .yt-product .yt-card-action {margin-top:auto;padding-top:16px}
.yt-main .yt-top .lead {max-width:1040px}

/* DEF-042: no empty space where breadcrumbs used to be. */
.page-hero h1 {margin-top:0}
.yt-main .yt-top h1 {margin-top:0}
@media(prefers-reduced-motion:reduce) {
  .yt-main .yt-apps-cards .yt-product {transition:none}
}


/* ============================================================
   TESTCASE v2.3 — DEF-043 / DEF-044 / DEF-045
   Small homepage refinements and original product branding in Apps.
   ============================================================ */
/* DEF-043 – line up YouTrack's right edge with the text below;
   preserve the existing logo dimensions. */
@media (min-width:851px) {
  body[data-page="index"] .yt-title-row .yt-brandmark {transform:translateX(-29px)}
}
/* DEF-043 – add breathing space before the main YouTrack button. */
body[data-page="index"] .yt-highlight .split-text > .btn-row {margin-top:29px}
/* DEF-043 – a slightly smaller TC Track card heading. */
body[data-page="index"] .yt-highlight .yt-product-heading h3 {
  font-size:clamp(1.38rem,1.85vw,1.68rem);
  line-height:1.24;
}
@media (max-width:700px) {
  body[data-page="index"] .yt-highlight .yt-product-heading h3 {font-size:1.35rem}
}
@media (max-width:390px) {
  body[data-page="index"] .yt-highlight .yt-product-heading h3 {font-size:1.24rem}
}
/* DEF-044 – home hero should feel more generous than interior hero banners. */
body[data-page="index"] .hero-grid {padding-top:56px;padding-bottom:63px}
@media (max-width:700px) {
  body[data-page="index"] .hero-grid {padding-top:47px;padding-bottom:54px}
}
/* DEF-045 – matching logo containers, un-stretched official product marks. */
body[data-page="youtrack-apps"] .yt-apps-cards .yt-product-brand {
  display:flex;
  gap:17px;
  align-items:center;
  margin-bottom:18px;
}
body[data-page="youtrack-apps"] .yt-apps-cards .yt-product-mark {
  width:112px;
  height:112px;
  flex:0 0 112px;
  padding:10px;
  background:#fff;
  border:1px solid #e7e4dd;
  border-radius:13px;
  display:grid;
  place-items:center;
}
body[data-page="youtrack-apps"] .yt-apps-cards .yt-product-mark img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
body[data-page="youtrack-apps"] .yt-apps-cards .yt-product h2 {
  font-size:clamp(1.28rem,1.85vw,1.65rem);
  line-height:1.18;
  margin:0;
}
@media (max-width:600px) {
  body[data-page="youtrack-apps"] .yt-apps-cards .yt-product-brand {gap:14px}
  body[data-page="youtrack-apps"] .yt-apps-cards .yt-product-mark {
    width:98px;
    height:98px;
    flex-basis:98px;
    padding:8px;
  }
}

/* TESTCASE v2.4 | YouTrack Platform: concise overview, accessible 11-image slider, Helpdesk */
body[data-page="youtrack-platform"] .yt-v24-page {background:#272635}
body[data-page="youtrack-platform"] .yt-v24-top {padding:64px 0 59px;background:#272635}
body[data-page="youtrack-platform"] .yt-v24-top .yt-platform-lead {max-width:1010px;margin:0}
body[data-page="youtrack-platform"] .yt-v24-overview {
  padding:74px 0 84px;
  color:var(--ink);
  background:#f7f7f5;
}
body[data-page="youtrack-platform"] .yt-v24-intro {max-width:920px;margin:0 auto 35px;text-align:center}
body[data-page="youtrack-platform"] .yt-v24-intro h2 {color:var(--ink);font-size:clamp(1.8rem,3vw,2.5rem);margin:12px 0 16px;line-height:1.18}
body[data-page="youtrack-platform"] .yt-v24-intro p {color:#515261;font-size:1.06rem;line-height:1.75;margin:0 auto;max-width:860px}
body[data-page="youtrack-platform"] .yt-v24-eyebrow {display:block;color:var(--teal);text-transform:uppercase;letter-spacing:.16em;font-weight:850;font-size:.78rem}
body[data-page="youtrack-platform"] .yt-v24-illustration {position:relative;margin:32px auto 0;max-width:1100px;border-radius:24px;overflow:hidden;background:#f7f7f5;filter:drop-shadow(0 23px 29px rgba(15,78,105,.1))}
body[data-page="youtrack-platform"] .yt-v24-illustration img {
  display:block;width:100%;height:auto;
  -webkit-mask-image:radial-gradient(ellipse 98% 93% at 50% 51%,#000 72%,transparent 100%);
  mask-image:radial-gradient(ellipse 98% 93% at 50% 51%,#000 72%,transparent 100%);
}
body[data-page="youtrack-platform"] .yt-v24-carousel-section {background:#272635;color:#fff;padding:83px 0 94px}
body[data-page="youtrack-platform"] .yt-v24-carousel-heading {display:flex;align-items:end;justify-content:space-between;gap:36px;max-width:1070px;margin:0 auto 30px}
body[data-page="youtrack-platform"] .yt-v24-carousel-heading h2 {font-size:clamp(1.9rem,3vw,2.55rem);color:#fff;margin:13px 0 13px}
body[data-page="youtrack-platform"] .yt-v24-carousel-heading p {color:#dcd9e6;line-height:1.7;max-width:810px;margin:0}
body[data-page="youtrack-platform"] .yt-v24-carousel-heading .yt-v24-eyebrow {color:var(--accent)}
body[data-page="youtrack-platform"] .yt-v24-slide-total {flex:none;font-weight:800;letter-spacing:.03em;color:var(--accent);font-size:1.65rem;white-space:nowrap}
body[data-page="youtrack-platform"] .yt-v24-slide-total .yt-v24-outof {color:#bbb7c4;font-weight:500;font-size:.94rem}
body[data-page="youtrack-platform"] .yt-v24-slider {max-width:1070px;margin:0 auto}
body[data-page="youtrack-platform"] .yt-v24-slider .yt-v24-slide[hidden] {display:none!important}
body[data-page="youtrack-platform"] .yt-v24-slide {overflow:hidden;background:#343343;border-radius:18px;border:1px solid #4e4c61;box-shadow:0 24px 48px rgba(8,8,17,.12)}
body[data-page="youtrack-platform"] .yt-v24-image-button {display:block;border:0;padding:16px;width:100%;height:auto;background:#f8f9fb;color:#272635;position:relative;cursor:zoom-in}
body[data-page="youtrack-platform"] .yt-v24-image-button img {display:block;width:100%;height:clamp(260px,40vw,560px);object-fit:contain;object-position:center}
body[data-page="youtrack-platform"] .yt-v24-zoom-hint {position:absolute;bottom:27px;right:27px;background:#272635e3;color:white;padding:7px 12px;border-radius:9px;font-size:.85rem;font-weight:700;opacity:0;transition:opacity .2s}
body[data-page="youtrack-platform"] .yt-v24-image-button:hover .yt-v24-zoom-hint,
body[data-page="youtrack-platform"] .yt-v24-image-button:focus-visible .yt-v24-zoom-hint {opacity:1}
body[data-page="youtrack-platform"] .yt-v24-slide-caption {display:flex;align-items:center;justify-content:space-between;gap:22px;padding:27px 33px 31px;min-height:133px}
body[data-page="youtrack-platform"] .yt-v24-slide-caption h3 {font-size:1.36rem;color:white;margin:0 0 5px}
body[data-page="youtrack-platform"] .yt-v24-slide-caption p {font-size:.97rem;color:#dedbe6;margin:0;line-height:1.65;max-width:790px}
body[data-page="youtrack-platform"] .yt-v24-caption-counter {font-size:.85rem;color:var(--accent);font-weight:700;white-space:nowrap}
body[data-page="youtrack-platform"] .yt-v24-controls {display:none;align-items:center;justify-content:space-between;gap:15px;margin-top:23px}
body[data-page="youtrack-platform"] .yt-v24-slider.is-ready .yt-v24-controls {display:flex}
body[data-page="youtrack-platform"] .yt-v24-prev,body[data-page="youtrack-platform"] .yt-v24-next {min-width:134px;display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:11px 18px;border-radius:9px;border:1px solid #77727f;background:#343343;color:white;font-weight:720;transition:background .18s,border-color .18s}
body[data-page="youtrack-platform"] .yt-v24-prev:hover,body[data-page="youtrack-platform"] .yt-v24-next:hover {background:#474456;border-color:var(--accent)}
body[data-page="youtrack-platform"] .yt-v24-dots {display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap;flex:1}
body[data-page="youtrack-platform"] .yt-v24-dot {width:11px;height:11px;min-width:11px;min-height:11px;border:0;border-radius:50%;padding:0;background:#938fa0;transition:width .17s,background .17s}
body[data-page="youtrack-platform"] .yt-v24-dot:hover {background:#e2d49f}
body[data-page="youtrack-platform"] .yt-v24-dot[aria-current="true"] {width:25px;border-radius:12px;background:var(--accent)}
body[data-page="youtrack-platform"] .yt-v24-helpdesk {padding:78px 0 90px;background:#f5f5f3;color:var(--ink)}
body[data-page="youtrack-platform"] .yt-v24-helpdesk-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body[data-page="youtrack-platform"] .yt-v24-helpdesk-card {background:#fff;border:1px solid #dadddf;border-radius:16px;padding:30px 27px 31px;box-shadow:0 10px 20px rgba(22,25,35,.055)}
body[data-page="youtrack-platform"] .yt-v24-helpdesk-icon {color:var(--teal);width:56px;height:56px;border-radius:12px;background:#ecf4f2;display:grid;place-items:center;margin-bottom:21px}
body[data-page="youtrack-platform"] .yt-v24-helpdesk-icon svg {width:34px;height:34px}
body[data-page="youtrack-platform"] .yt-v24-helpdesk-card h3 {color:var(--ink);font-size:1.2rem;line-height:1.3;margin:0 0 11px}
body[data-page="youtrack-platform"] .yt-v24-helpdesk-card p {font-size:.96rem;color:#4d4e5b;line-height:1.7;margin:0}
body[data-page="youtrack-platform"] .yt-v24-lightbox {position:fixed;inset:0;margin:auto;max-width:96vw;max-height:95vh;padding:0;background:#272635;border:1px solid #77727f;border-radius:13px;color:white;box-shadow:0 30px 85px #0008}
body[data-page="youtrack-platform"] .yt-v24-lightbox::backdrop {background:rgba(8,8,18,.88)}
body[data-page="youtrack-platform"] .yt-v24-lightbox-inner {padding:20px;position:relative;min-width:min(90vw,900px)}
body[data-page="youtrack-platform"] .yt-v24-lightbox-inner img {display:block;width:auto;height:auto;max-width:calc(94vw - 40px);max-height:calc(90vh - 100px);margin:0 auto;object-fit:contain;border-radius:5px}
body[data-page="youtrack-platform"] .yt-v24-lightbox-inner p {color:#f3f1f8;margin:10px 40px 0 0;font-weight:650}
body[data-page="youtrack-platform"] .yt-v24-lightbox-close {position:absolute;right:20px;top:20px;background:#272635e6;color:#fff;border:1px solid #ffffff94;width:42px;height:42px;border-radius:8px;font-size:1.6rem;line-height:1;z-index:1}
@media (max-width:820px) {
 body[data-page="youtrack-platform"] .yt-v24-overview {padding:60px 0 66px}
 body[data-page="youtrack-platform"] .yt-v24-carousel-section {padding:68px 0 76px}
 body[data-page="youtrack-platform"] .yt-v24-helpdesk-grid {gap:12px}
 body[data-page="youtrack-platform"] .yt-v24-helpdesk-card {padding:22px}
 body[data-page="youtrack-platform"] .yt-v24-helpdesk-card h3 {font-size:1.1rem}
}
@media (max-width:660px) {
 body[data-page="youtrack-platform"] .yt-v24-top {padding:50px 0 48px}
 body[data-page="youtrack-platform"] .yt-v24-overview {padding:52px 0 55px}
 body[data-page="youtrack-platform"] .yt-v24-intro {text-align:left;margin-bottom:22px}
 body[data-page="youtrack-platform"] .yt-v24-intro h2 {font-size:1.75rem}
 body[data-page="youtrack-platform"] .yt-v24-intro p {font-size:.98rem}
 body[data-page="youtrack-platform"] .yt-v24-illustration {margin:22px auto 0;border-radius:10px}
 body[data-page="youtrack-platform"] .yt-v24-illustration img {-webkit-mask-image:none;mask-image:none;border-radius:10px}
 body[data-page="youtrack-platform"] .yt-v24-carousel-section {padding:57px 0 62px}
 body[data-page="youtrack-platform"] .yt-v24-carousel-heading {align-items:end;gap:8px;margin-bottom:19px}
 body[data-page="youtrack-platform"] .yt-v24-carousel-heading h2 {font-size:1.75rem}
 body[data-page="youtrack-platform"] .yt-v24-carousel-heading p {font-size:.93rem}
 body[data-page="youtrack-platform"] .yt-v24-slide-total {font-size:1.05rem}
 body[data-page="youtrack-platform"] .yt-v24-slide-total .yt-v24-outof {font-size:.75rem}
 body[data-page="youtrack-platform"] .yt-v24-slide {border-radius:12px}
 body[data-page="youtrack-platform"] .yt-v24-image-button {padding:5px}
 body[data-page="youtrack-platform"] .yt-v24-image-button img {height:230px}
 body[data-page="youtrack-platform"] .yt-v24-slide-caption {min-height:152px;display:block;padding:19px 19px 21px}
 body[data-page="youtrack-platform"] .yt-v24-slide-caption h3 {font-size:1.13rem}
 body[data-page="youtrack-platform"] .yt-v24-slide-caption p {font-size:.92rem}
 body[data-page="youtrack-platform"] .yt-v24-caption-counter {display:block;margin-top:9px}
 body[data-page="youtrack-platform"] .yt-v24-controls {gap:9px;flex-wrap:wrap}
 body[data-page="youtrack-platform"] .yt-v24-prev,body[data-page="youtrack-platform"] .yt-v24-next {min-width:0;padding:10px 13px;flex:1}
 body[data-page="youtrack-platform"] .yt-v24-dots {flex-basis:100%;order:3;margin-top:6px;gap:8px}
 body[data-page="youtrack-platform"] .yt-v24-helpdesk {padding:54px 0 63px}
 body[data-page="youtrack-platform"] .yt-v24-helpdesk-grid {grid-template-columns:1fr;gap:14px}
 body[data-page="youtrack-platform"] .yt-v24-helpdesk-card {padding:25px}
 body[data-page="youtrack-platform"] .yt-v24-lightbox-inner {min-width:0;padding:12px}
}
@media (prefers-reduced-motion:reduce) {
 body[data-page="youtrack-platform"] .yt-v24-zoom-hint,
 body[data-page="youtrack-platform"] .yt-v24-dot {transition:none}
}
/* DEF-046 — CTA captions remain teal text; click target is only the enclosing full card. */
body[data-page="youtrack-apps"] .yt-apps-cards .yt-card-action {text-decoration:none;pointer-events:none}


/* TESTCASE v2.5 | YouTrack Platform: DEF-047 through DEF-054 */
body[data-page="youtrack-platform"] .yt-v25-overview-head {
  display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:center;
  gap:clamp(26px,4.8vw,72px);max-width:1100px;margin:0 auto 38px;
}
body[data-page="youtrack-platform"] .yt-v25-intro {text-align:left;max-width:none;margin:0}
body[data-page="youtrack-platform"] .yt-v25-intro h2 {font-size:clamp(1.7rem,2.8vw,2.45rem);margin:13px 0 23px;max-width:750px}
body[data-page="youtrack-platform"] .yt-v25-intro p {font-size:1.005rem;line-height:1.75;max-width:750px;margin:0 0 16px}
body[data-page="youtrack-platform"] .yt-v25-intro p:last-child {margin-bottom:0}
body[data-page="youtrack-platform"] .yt-v25-product-logo {
  display:flex;align-items:center;gap:14px;justify-content:center;
  text-decoration:none;color:#272635;min-width:0;
}
body[data-page="youtrack-platform"] .yt-v25-product-logo img {
  display:block;width:93px;height:93px;object-fit:contain;flex:none;
}
body[data-page="youtrack-platform"] .yt-v25-logo-words {display:flex;flex-direction:column;align-items:flex-start;white-space:nowrap;line-height:1.2}
body[data-page="youtrack-platform"] .yt-v25-logo-words strong {font-size:clamp(1.6rem,2.25vw,2rem);letter-spacing:-.045em;color:#242636}
body[data-page="youtrack-platform"] .yt-v25-logo-words small {font-size:.89rem;color:#5c5c65;margin-top:6px}
body[data-page="youtrack-platform"] .yt-v25-product-logo:hover .yt-v25-logo-words strong {color:#00747a}
body[data-page="youtrack-platform"] .yt-v25-product-logo:focus-visible {outline:3px solid #e5c158;outline-offset:8px;border-radius:8px}
body[data-page="youtrack-platform"] .yt-v24-illustration {
  margin:0 auto;max-width:1100px;border-radius:22px;background:transparent;
  box-shadow:0 16px 37px rgba(18,34,48,.12);filter:none;
}
body[data-page="youtrack-platform"] .yt-v24-illustration img {
  width:100%;height:auto;border-radius:22px;display:block;
  -webkit-mask-image:none;mask-image:none;
}
/* DEF-049: screenshots sit directly against the graphite layout, not inside a white matte. */
body[data-page="youtrack-platform"] .yt-v24-slide {
  overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;
}
body[data-page="youtrack-platform"] .yt-v24-image-button {
  border:0;padding:0;background:transparent;overflow:hidden;
  border-radius:15px;box-shadow:0 16px 42px rgba(5,8,20,.32);
}
body[data-page="youtrack-platform"] .yt-v24-image-button img {
  width:100%;height:clamp(260px,42vw,620px);max-width:100%;object-fit:contain;object-position:center;
  background:transparent;display:block;
}
body[data-page="youtrack-platform"] .yt-v24-zoom-hint {bottom:14px;right:14px}
body[data-page="youtrack-platform"] .yt-v24-slide-caption {
  margin-top:12px;background:#343343;border:1px solid #4e4c61;border-radius:13px;
  padding:25px 30px;min-height:116px;
}
body[data-page="youtrack-platform"] .yt-v24-carousel-heading {display:block}
body[data-page="youtrack-platform"] .yt-v24-carousel-heading h2 {margin-top:0}
body[data-page="youtrack-platform"] .yt-v24-helpdesk .yt-v24-intro {
  text-align:center;max-width:960px;margin:0 auto 35px;
}
body[data-page="youtrack-platform"] .yt-v24-helpdesk .yt-v24-intro p {max-width:770px;margin-left:auto;margin-right:auto}
body[data-page="youtrack-platform"] .yt-v24-helpdesk-card {text-align:center}
body[data-page="youtrack-platform"] .yt-v24-helpdesk-icon {margin:0 auto 21px}
body[data-page="youtrack-platform"] .yt-v25-jetbrains-credit {
  display:flex;justify-content:center;align-items:center;gap:12px;margin:38px auto 0;
  font-weight:650;font-size:.95rem;color:#626473;
}
body[data-page="youtrack-platform"] .yt-v25-jetbrains-credit a {display:inline-flex;align-items:center;border-radius:5px}
body[data-page="youtrack-platform"] .yt-v25-jetbrains-credit a:focus-visible {outline:3px solid #00747a;outline-offset:5px}
body[data-page="youtrack-platform"] .yt-v25-jetbrains-credit img {display:block;width:141px;height:auto;max-height:47px;object-fit:contain}
@media (max-width:900px) {
 body[data-page="youtrack-platform"] .yt-v25-overview-head {grid-template-columns:minmax(0,1fr) 225px;gap:25px}
 body[data-page="youtrack-platform"] .yt-v25-product-logo {gap:7px}
 body[data-page="youtrack-platform"] .yt-v25-product-logo img {width:70px;height:70px}
 body[data-page="youtrack-platform"] .yt-v25-logo-words strong {font-size:1.68rem}
 body[data-page="youtrack-platform"] .yt-v25-logo-words small {font-size:.78rem}
}
@media (max-width:660px) {
 body[data-page="youtrack-platform"] .yt-v25-overview-head {grid-template-columns:1fr;gap:25px;margin-bottom:25px}
 body[data-page="youtrack-platform"] .yt-v25-intro {text-align:left;margin:0}
 body[data-page="youtrack-platform"] .yt-v25-intro h2 {font-size:1.75rem;margin:12px 0 19px}
 body[data-page="youtrack-platform"] .yt-v25-intro p {font-size:.97rem;line-height:1.72;margin-bottom:12px}
 body[data-page="youtrack-platform"] .yt-v25-product-logo {justify-content:flex-start;gap:13px}
 body[data-page="youtrack-platform"] .yt-v25-product-logo img {width:68px;height:68px}
 body[data-page="youtrack-platform"] .yt-v24-illustration {border-radius:11px}
 body[data-page="youtrack-platform"] .yt-v24-illustration img {border-radius:11px}
 body[data-page="youtrack-platform"] .yt-v24-image-button {border-radius:10px}
 body[data-page="youtrack-platform"] .yt-v24-image-button img {height:clamp(205px,63vw,380px)}
 body[data-page="youtrack-platform"] .yt-v24-slide-caption {padding:20px 19px;min-height:132px;margin-top:9px}
 body[data-page="youtrack-platform"] .yt-v24-helpdesk .yt-v24-intro {text-align:center;margin:0 auto 25px}
 body[data-page="youtrack-platform"] .yt-v25-jetbrains-credit {gap:10px;margin-top:30px}
 body[data-page="youtrack-platform"] .yt-v25-jetbrains-credit img {width:121px}
}
@media (prefers-reduced-motion: reduce) {
 body[data-page="youtrack-platform"] .yt-v25-product-logo:hover .yt-v25-logo-words strong {transition:none}
}


/* TESTCASE v2.6 — TC Track shares the approved YouTrack Platform visual system. */
/* TESTCASE v2.4 | YouTrack Platform: concise overview, accessible 11-image slider, Helpdesk */
body[data-page="tc-track"] .yt-v24-page {background:#272635}
body[data-page="tc-track"] .yt-v24-top {padding:64px 0 59px;background:#272635}
body[data-page="tc-track"] .yt-v24-top .yt-platform-lead {max-width:1010px;margin:0}
body[data-page="tc-track"] .yt-v24-overview {
  padding:74px 0 84px;
  color:var(--ink);
  background:#f7f7f5;
}
body[data-page="tc-track"] .yt-v24-intro {max-width:920px;margin:0 auto 35px;text-align:center}
body[data-page="tc-track"] .yt-v24-intro h2 {color:var(--ink);font-size:clamp(1.8rem,3vw,2.5rem);margin:12px 0 16px;line-height:1.18}
body[data-page="tc-track"] .yt-v24-intro p {color:#515261;font-size:1.06rem;line-height:1.75;margin:0 auto;max-width:860px}
body[data-page="tc-track"] .yt-v24-eyebrow {display:block;color:var(--teal);text-transform:uppercase;letter-spacing:.16em;font-weight:850;font-size:.78rem}
body[data-page="tc-track"] .yt-v24-illustration {position:relative;margin:32px auto 0;max-width:1100px;border-radius:24px;overflow:hidden;background:#f7f7f5;filter:drop-shadow(0 23px 29px rgba(15,78,105,.1))}
body[data-page="tc-track"] .yt-v24-illustration img {
  display:block;width:100%;height:auto;
  -webkit-mask-image:radial-gradient(ellipse 98% 93% at 50% 51%,#000 72%,transparent 100%);
  mask-image:radial-gradient(ellipse 98% 93% at 50% 51%,#000 72%,transparent 100%);
}
body[data-page="tc-track"] .yt-v24-carousel-section {background:#272635;color:#fff;padding:83px 0 94px}
body[data-page="tc-track"] .yt-v24-carousel-heading {display:flex;align-items:end;justify-content:space-between;gap:36px;max-width:1070px;margin:0 auto 30px}
body[data-page="tc-track"] .yt-v24-carousel-heading h2 {font-size:clamp(1.9rem,3vw,2.55rem);color:#fff;margin:13px 0 13px}
body[data-page="tc-track"] .yt-v24-carousel-heading p {color:#dcd9e6;line-height:1.7;max-width:810px;margin:0}
body[data-page="tc-track"] .yt-v24-carousel-heading .yt-v24-eyebrow {color:var(--accent)}
body[data-page="tc-track"] .yt-v24-slide-total {flex:none;font-weight:800;letter-spacing:.03em;color:var(--accent);font-size:1.65rem;white-space:nowrap}
body[data-page="tc-track"] .yt-v24-slide-total .yt-v24-outof {color:#bbb7c4;font-weight:500;font-size:.94rem}
body[data-page="tc-track"] .yt-v24-slider {max-width:1070px;margin:0 auto}
body[data-page="tc-track"] .yt-v24-slider .yt-v24-slide[hidden] {display:none!important}
body[data-page="tc-track"] .yt-v24-slide {overflow:hidden;background:#343343;border-radius:18px;border:1px solid #4e4c61;box-shadow:0 24px 48px rgba(8,8,17,.12)}
body[data-page="tc-track"] .yt-v24-image-button {display:block;border:0;padding:16px;width:100%;height:auto;background:#f8f9fb;color:#272635;position:relative;cursor:zoom-in}
body[data-page="tc-track"] .yt-v24-image-button img {display:block;width:100%;height:clamp(260px,40vw,560px);object-fit:contain;object-position:center}
body[data-page="tc-track"] .yt-v24-zoom-hint {position:absolute;bottom:27px;right:27px;background:#272635e3;color:white;padding:7px 12px;border-radius:9px;font-size:.85rem;font-weight:700;opacity:0;transition:opacity .2s}
body[data-page="tc-track"] .yt-v24-image-button:hover .yt-v24-zoom-hint,
body[data-page="tc-track"] .yt-v24-image-button:focus-visible .yt-v24-zoom-hint {opacity:1}
body[data-page="tc-track"] .yt-v24-slide-caption {display:flex;align-items:center;justify-content:space-between;gap:22px;padding:27px 33px 31px;min-height:133px}
body[data-page="tc-track"] .yt-v24-slide-caption h3 {font-size:1.36rem;color:white;margin:0 0 5px}
body[data-page="tc-track"] .yt-v24-slide-caption p {font-size:.97rem;color:#dedbe6;margin:0;line-height:1.65;max-width:790px}
body[data-page="tc-track"] .yt-v24-caption-counter {font-size:.85rem;color:var(--accent);font-weight:700;white-space:nowrap}
body[data-page="tc-track"] .yt-v24-controls {display:none;align-items:center;justify-content:space-between;gap:15px;margin-top:23px}
body[data-page="tc-track"] .yt-v24-slider.is-ready .yt-v24-controls {display:flex}
body[data-page="tc-track"] .yt-v24-prev,body[data-page="tc-track"] .yt-v24-next {min-width:134px;display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:11px 18px;border-radius:9px;border:1px solid #77727f;background:#343343;color:white;font-weight:720;transition:background .18s,border-color .18s}
body[data-page="tc-track"] .yt-v24-prev:hover,body[data-page="tc-track"] .yt-v24-next:hover {background:#474456;border-color:var(--accent)}
body[data-page="tc-track"] .yt-v24-dots {display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap;flex:1}
body[data-page="tc-track"] .yt-v24-dot {width:11px;height:11px;min-width:11px;min-height:11px;border:0;border-radius:50%;padding:0;background:#938fa0;transition:width .17s,background .17s}
body[data-page="tc-track"] .yt-v24-dot:hover {background:#e2d49f}
body[data-page="tc-track"] .yt-v24-dot[aria-current="true"] {width:25px;border-radius:12px;background:var(--accent)}
body[data-page="tc-track"] .yt-v24-helpdesk {padding:78px 0 90px;background:#f5f5f3;color:var(--ink)}
body[data-page="tc-track"] .yt-v24-helpdesk-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body[data-page="tc-track"] .yt-v24-helpdesk-card {background:#fff;border:1px solid #dadddf;border-radius:16px;padding:30px 27px 31px;box-shadow:0 10px 20px rgba(22,25,35,.055)}
body[data-page="tc-track"] .yt-v24-helpdesk-icon {color:var(--teal);width:56px;height:56px;border-radius:12px;background:#ecf4f2;display:grid;place-items:center;margin-bottom:21px}
body[data-page="tc-track"] .yt-v24-helpdesk-icon svg {width:34px;height:34px}
body[data-page="tc-track"] .yt-v24-helpdesk-card h3 {color:var(--ink);font-size:1.2rem;line-height:1.3;margin:0 0 11px}
body[data-page="tc-track"] .yt-v24-helpdesk-card p {font-size:.96rem;color:#4d4e5b;line-height:1.7;margin:0}
body[data-page="tc-track"] .yt-v24-lightbox {position:fixed;inset:0;margin:auto;max-width:96vw;max-height:95vh;padding:0;background:#272635;border:1px solid #77727f;border-radius:13px;color:white;box-shadow:0 30px 85px #0008}
body[data-page="tc-track"] .yt-v24-lightbox::backdrop {background:rgba(8,8,18,.88)}
body[data-page="tc-track"] .yt-v24-lightbox-inner {padding:20px;position:relative;min-width:min(90vw,900px)}
body[data-page="tc-track"] .yt-v24-lightbox-inner img {display:block;width:auto;height:auto;max-width:calc(94vw - 40px);max-height:calc(90vh - 100px);margin:0 auto;object-fit:contain;border-radius:5px}
body[data-page="tc-track"] .yt-v24-lightbox-inner p {color:#f3f1f8;margin:10px 40px 0 0;font-weight:650}
body[data-page="tc-track"] .yt-v24-lightbox-close {position:absolute;right:20px;top:20px;background:#272635e6;color:#fff;border:1px solid #ffffff94;width:42px;height:42px;border-radius:8px;font-size:1.6rem;line-height:1;z-index:1}
@media (max-width:820px) {
 body[data-page="tc-track"] .yt-v24-overview {padding:60px 0 66px}
 body[data-page="tc-track"] .yt-v24-carousel-section {padding:68px 0 76px}
 body[data-page="tc-track"] .yt-v24-helpdesk-grid {gap:12px}
 body[data-page="tc-track"] .yt-v24-helpdesk-card {padding:22px}
 body[data-page="tc-track"] .yt-v24-helpdesk-card h3 {font-size:1.1rem}
}
@media (max-width:660px) {
 body[data-page="tc-track"] .yt-v24-top {padding:50px 0 48px}
 body[data-page="tc-track"] .yt-v24-overview {padding:52px 0 55px}
 body[data-page="tc-track"] .yt-v24-intro {text-align:left;margin-bottom:22px}
 body[data-page="tc-track"] .yt-v24-intro h2 {font-size:1.75rem}
 body[data-page="tc-track"] .yt-v24-intro p {font-size:.98rem}
 body[data-page="tc-track"] .yt-v24-illustration {margin:22px auto 0;border-radius:10px}
 body[data-page="tc-track"] .yt-v24-illustration img {-webkit-mask-image:none;mask-image:none;border-radius:10px}
 body[data-page="tc-track"] .yt-v24-carousel-section {padding:57px 0 62px}
 body[data-page="tc-track"] .yt-v24-carousel-heading {align-items:end;gap:8px;margin-bottom:19px}
 body[data-page="tc-track"] .yt-v24-carousel-heading h2 {font-size:1.75rem}
 body[data-page="tc-track"] .yt-v24-carousel-heading p {font-size:.93rem}
 body[data-page="tc-track"] .yt-v24-slide-total {font-size:1.05rem}
 body[data-page="tc-track"] .yt-v24-slide-total .yt-v24-outof {font-size:.75rem}
 body[data-page="tc-track"] .yt-v24-slide {border-radius:12px}
 body[data-page="tc-track"] .yt-v24-image-button {padding:5px}
 body[data-page="tc-track"] .yt-v24-image-button img {height:230px}
 body[data-page="tc-track"] .yt-v24-slide-caption {min-height:152px;display:block;padding:19px 19px 21px}
 body[data-page="tc-track"] .yt-v24-slide-caption h3 {font-size:1.13rem}
 body[data-page="tc-track"] .yt-v24-slide-caption p {font-size:.92rem}
 body[data-page="tc-track"] .yt-v24-caption-counter {display:block;margin-top:9px}
 body[data-page="tc-track"] .yt-v24-controls {gap:9px;flex-wrap:wrap}
 body[data-page="tc-track"] .yt-v24-prev,body[data-page="tc-track"] .yt-v24-next {min-width:0;padding:10px 13px;flex:1}
 body[data-page="tc-track"] .yt-v24-dots {flex-basis:100%;order:3;margin-top:6px;gap:8px}
 body[data-page="tc-track"] .yt-v24-helpdesk {padding:54px 0 63px}
 body[data-page="tc-track"] .yt-v24-helpdesk-grid {grid-template-columns:1fr;gap:14px}
 body[data-page="tc-track"] .yt-v24-helpdesk-card {padding:25px}
 body[data-page="tc-track"] .yt-v24-lightbox-inner {min-width:0;padding:12px}
}
@media (prefers-reduced-motion:reduce) {
 body[data-page="tc-track"] .yt-v24-zoom-hint,
 body[data-page="tc-track"] .yt-v24-dot {transition:none}
}
/* DEF-046 — CTA captions remain teal text; click target is only the enclosing full card. */
body[data-page="youtrack-apps"] .yt-apps-cards .yt-card-action {text-decoration:none;pointer-events:none}


/* TESTCASE v2.5 | YouTrack Platform: DEF-047 through DEF-054 */
body[data-page="tc-track"] .yt-v25-overview-head {
  display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:center;
  gap:clamp(26px,4.8vw,72px);max-width:1100px;margin:0 auto 38px;
}
body[data-page="tc-track"] .yt-v25-intro {text-align:left;max-width:none;margin:0}
body[data-page="tc-track"] .yt-v25-intro h2 {font-size:clamp(1.7rem,2.8vw,2.45rem);margin:13px 0 23px;max-width:750px}
body[data-page="tc-track"] .yt-v25-intro p {font-size:1.005rem;line-height:1.75;max-width:750px;margin:0 0 16px}
body[data-page="tc-track"] .yt-v25-intro p:last-child {margin-bottom:0}
body[data-page="tc-track"] .yt-v25-product-logo {
  display:flex;align-items:center;gap:14px;justify-content:center;
  text-decoration:none;color:#272635;min-width:0;
}
body[data-page="tc-track"] .yt-v25-product-logo img {
  display:block;width:93px;height:93px;object-fit:contain;flex:none;
}
body[data-page="tc-track"] .yt-v25-logo-words {display:flex;flex-direction:column;align-items:flex-start;white-space:nowrap;line-height:1.2}
body[data-page="tc-track"] .yt-v25-logo-words strong {font-size:clamp(1.6rem,2.25vw,2rem);letter-spacing:-.045em;color:#242636}
body[data-page="tc-track"] .yt-v25-logo-words small {font-size:.89rem;color:#5c5c65;margin-top:6px}
body[data-page="tc-track"] .yt-v25-product-logo:hover .yt-v25-logo-words strong {color:#00747a}
body[data-page="tc-track"] .yt-v25-product-logo:focus-visible {outline:3px solid #e5c158;outline-offset:8px;border-radius:8px}
body[data-page="tc-track"] .yt-v24-illustration {
  margin:0 auto;max-width:1100px;border-radius:22px;background:transparent;
  box-shadow:0 16px 37px rgba(18,34,48,.12);filter:none;
}
body[data-page="tc-track"] .yt-v24-illustration img {
  width:100%;height:auto;border-radius:22px;display:block;
  -webkit-mask-image:none;mask-image:none;
}
/* DEF-049: screenshots sit directly against the graphite layout, not inside a white matte. */
body[data-page="tc-track"] .yt-v24-slide {
  overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;
}
body[data-page="tc-track"] .yt-v24-image-button {
  border:0;padding:0;background:transparent;overflow:hidden;
  border-radius:15px;box-shadow:0 16px 42px rgba(5,8,20,.32);
}
body[data-page="tc-track"] .yt-v24-image-button img {
  width:100%;height:clamp(260px,42vw,620px);max-width:100%;object-fit:contain;object-position:center;
  background:transparent;display:block;
}
body[data-page="tc-track"] .yt-v24-zoom-hint {bottom:14px;right:14px}
body[data-page="tc-track"] .yt-v24-slide-caption {
  margin-top:12px;background:#343343;border:1px solid #4e4c61;border-radius:13px;
  padding:25px 30px;min-height:116px;
}
body[data-page="tc-track"] .yt-v24-carousel-heading {display:block}
body[data-page="tc-track"] .yt-v24-carousel-heading h2 {margin-top:0}
body[data-page="tc-track"] .yt-v24-helpdesk .yt-v24-intro {
  text-align:center;max-width:960px;margin:0 auto 35px;
}
body[data-page="tc-track"] .yt-v24-helpdesk .yt-v24-intro p {max-width:770px;margin-left:auto;margin-right:auto}
body[data-page="tc-track"] .yt-v24-helpdesk-card {text-align:center}
body[data-page="tc-track"] .yt-v24-helpdesk-icon {margin:0 auto 21px}
body[data-page="tc-track"] .yt-v25-jetbrains-credit {
  display:flex;justify-content:center;align-items:center;gap:12px;margin:38px auto 0;
  font-weight:650;font-size:.95rem;color:#626473;
}
body[data-page="tc-track"] .yt-v25-jetbrains-credit a {display:inline-flex;align-items:center;border-radius:5px}
body[data-page="tc-track"] .yt-v25-jetbrains-credit a:focus-visible {outline:3px solid #00747a;outline-offset:5px}
body[data-page="tc-track"] .yt-v25-jetbrains-credit img {display:block;width:141px;height:auto;max-height:47px;object-fit:contain}
@media (max-width:900px) {
 body[data-page="tc-track"] .yt-v25-overview-head {grid-template-columns:minmax(0,1fr) 225px;gap:25px}
 body[data-page="tc-track"] .yt-v25-product-logo {gap:7px}
 body[data-page="tc-track"] .yt-v25-product-logo img {width:70px;height:70px}
 body[data-page="tc-track"] .yt-v25-logo-words strong {font-size:1.68rem}
 body[data-page="tc-track"] .yt-v25-logo-words small {font-size:.78rem}
}
@media (max-width:660px) {
 body[data-page="tc-track"] .yt-v25-overview-head {grid-template-columns:1fr;gap:25px;margin-bottom:25px}
 body[data-page="tc-track"] .yt-v25-intro {text-align:left;margin:0}
 body[data-page="tc-track"] .yt-v25-intro h2 {font-size:1.75rem;margin:12px 0 19px}
 body[data-page="tc-track"] .yt-v25-intro p {font-size:.97rem;line-height:1.72;margin-bottom:12px}
 body[data-page="tc-track"] .yt-v25-product-logo {justify-content:flex-start;gap:13px}
 body[data-page="tc-track"] .yt-v25-product-logo img {width:68px;height:68px}
 body[data-page="tc-track"] .yt-v24-illustration {border-radius:11px}
 body[data-page="tc-track"] .yt-v24-illustration img {border-radius:11px}
 body[data-page="tc-track"] .yt-v24-image-button {border-radius:10px}
 body[data-page="tc-track"] .yt-v24-image-button img {height:clamp(205px,63vw,380px)}
 body[data-page="tc-track"] .yt-v24-slide-caption {padding:20px 19px;min-height:132px;margin-top:9px}
 body[data-page="tc-track"] .yt-v24-helpdesk .yt-v24-intro {text-align:center;margin:0 auto 25px}
 body[data-page="tc-track"] .yt-v25-jetbrains-credit {gap:10px;margin-top:30px}
 body[data-page="tc-track"] .yt-v25-jetbrains-credit img {width:121px}
}
@media (prefers-reduced-motion: reduce) {
 body[data-page="tc-track"] .yt-v25-product-logo:hover .yt-v25-logo-words strong {transition:none}
}

/* TC Track logo + product pricing; only on TC Track pages */
body[data-page="tc-track"] .tc-v26-product-mark {display:flex;align-items:center;justify-content:center;min-width:0}
body[data-page="tc-track"] .tc-v26-product-mark img {width:100%;max-width:285px;max-height:255px;object-fit:contain;height:auto}
body[data-page="tc-track"] .tc-v26-pricing {background:#f7f7f5;color:#272635;padding:76px 0 90px}
body[data-page="tc-track"] .tc-v26-pricing-heading {max-width:900px;text-align:center;margin:0 auto 39px}
body[data-page="tc-track"] .tc-v26-pricing-heading h2 {font-size:clamp(2rem,3.1vw,2.75rem);color:#272635;letter-spacing:-.035em;line-height:1.17;margin:14px 0 15px}
body[data-page="tc-track"] .tc-v26-pricing-heading p {font-size:1.06rem;line-height:1.76;color:#555666;margin:0}
body[data-page="tc-track"] .tc-v26-pricing-layout {display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:center;max-width:1090px;gap:clamp(28px,5vw,75px);margin:auto}
body[data-page="tc-track"] .tc-v26-pricing-copy {max-width:510px}
body[data-page="tc-track"] .tc-v26-pricing-copy h3 {font-size:clamp(1.55rem,2.4vw,2.1rem);margin:0 0 15px;line-height:1.21}
body[data-page="tc-track"] .tc-v26-pricing-copy > p {color:#555666;font-size:1.03rem;line-height:1.8;margin:0 0 24px}
body[data-page="tc-track"] .tc-v26-pricing-highlight {display:flex;align-items:flex-start;gap:14px;border:1px solid #e7dfc8;background:#fffbee;border-radius:13px;padding:17px 19px;margin:24px 0 30px}
body[data-page="tc-track"] .tc-v26-pricing-highlight svg {width:26px;height:26px;flex:none;color:#00737b}
body[data-page="tc-track"] .tc-v26-pricing-highlight p {color:#45444f;margin:0;line-height:1.65;font-size:.95rem}
body[data-page="tc-track"] .tc-v26-pricing-contact {font-size:.98rem!important}
body[data-page="tc-track"] .tc-v26-pricing-contact a {color:#00666d;font-weight:720;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
body[data-page="tc-track"] .tc-v26-license-card {width:100%;max-width:495px;margin:0 auto;background:#272635;color:#fff;border:1px solid #e5c158;border-radius:19px;padding:30px;box-shadow:0 25px 52px rgba(18,19,32,.18)}
body[data-page="tc-track"] .tc-v26-license-card header h3 {color:#e5c158;font-size:1.65rem;line-height:1.15;margin:0 0 7px}
body[data-page="tc-track"] .tc-v26-license-card header p {color:#cdcbd5;font-size:.9rem;margin:0 0 24px;line-height:1.55}
body[data-page="tc-track"] .tc-v26-license-card label {display:block;font-size:.89rem;color:#fff;font-weight:700;margin:0 0 9px}
body[data-page="tc-track"] .tc-v26-license-card select,body[data-page="tc-track"] .tc-v26-license-card input {display:block;width:100%;height:46px;color:#fff;background:#1e1d28;border:1px solid #c9a64b;border-radius:9px;padding:9px 12px;font:inherit;font-size:1rem;box-sizing:border-box}
body[data-page="tc-track"] .tc-v26-license-card select:focus-visible,body[data-page="tc-track"] .tc-v26-license-card input:focus-visible {outline:3px solid #e5c158;outline-offset:2px}
body[data-page="tc-track"] .tc-v26-license-card option {color:#fff;background:#1e1d28}
body[data-page="tc-track"] .tc-v26-license-or {text-align:center;color:#a4a3b7;font-size:.78rem;margin:11px 0 10px}
body[data-page="tc-track"] .tc-v26-license-error {font-size:.82rem;color:#ffd1d5;background:#4a2533;border-radius:6px;padding:9px;margin:8px 0 0}
body[data-page="tc-track"] .tc-v26-license-error[hidden] {display:none}
body[data-page="tc-track"] .tc-v26-license-results {background:#343340;border:1px solid #484553;border-radius:11px;padding:19px 20px;margin:22px 0 17px}
body[data-page="tc-track"] .tc-v26-price-label {color:#bbb9c7;font-size:.79rem;margin:0 0 5px}
body[data-page="tc-track"] .tc-v26-unit {font-size:.94rem;color:#fff;margin:0}
body[data-page="tc-track"] .tc-v26-price-row {border-top:1px solid #5a5360;margin-top:15px;padding-top:14px}
body[data-page="tc-track"] .tc-v26-price-row > span {display:block;color:#e5c158;font-size:.82rem;font-weight:710;margin-bottom:4px}
body[data-page="tc-track"] .tc-v26-price-row div {display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
body[data-page="tc-track"] .tc-v26-price-row strong {color:white;font-size:2.06rem;line-height:1.22;white-space:nowrap}
body[data-page="tc-track"] .tc-v26-price-row small {color:#aaa8ba;font-size:.81rem}
body[data-page="tc-track"] .tc-v26-year > span {color:#b8b6c8}
body[data-page="tc-track"] .tc-v26-year strong {font-size:1.38rem}
body[data-page="tc-track"] .tc-v26-year em {display:block;font-style:normal;color:#e5c158;font-size:.81rem;font-weight:700;margin-top:8px}
body[data-page="tc-track"] .tc-v26-license-net {color:#b3afc1;font-size:.75rem;margin:13px 0 0}
body[data-page="tc-track"] .tc-v26-order,body[data-page="tc-track"] .tc-v26-billing {display:flex;justify-content:center;align-items:center;text-align:center;min-height:47px;padding:12px 15px;text-decoration:none;border-radius:99px;font-size:.97rem;font-weight:770;line-height:1.25;transition:filter .2s,transform .2s}
body[data-page="tc-track"] .tc-v26-order {background:#e5c158;color:#272635}
body[data-page="tc-track"] .tc-v26-billing {background:#00666d;color:#fff;margin-top:12px;border:1px solid #23838a}
body[data-page="tc-track"] .tc-v26-order:hover,body[data-page="tc-track"] .tc-v26-billing:hover {filter:brightness(1.08);transform:translateY(-1px)}
body[data-page="tc-track"] .tc-v26-order[aria-disabled="true"] {opacity:.55;pointer-events:none}
body[data-page="tc-track"] .tc-v26-checkout-note {color:#c2bfd0;text-align:center;font-size:.75rem;margin:14px 0 0;line-height:1.5}
body[data-page="tc-track"] .tc-v26-secure {color:#9290a7;text-align:center;font-size:.7rem;margin:8px 0 0}
@media (max-width:900px) {body[data-page="tc-track"] .tc-v26-pricing-layout {grid-template-columns:1fr;gap:32px}body[data-page="tc-track"] .tc-v26-pricing-copy {max-width:680px;margin:0 auto}body[data-page="tc-track"] .tc-v26-license-card {max-width:570px}}
@media (max-width:660px) {body[data-page="tc-track"] .tc-v26-product-mark {justify-content:flex-start}body[data-page="tc-track"] .tc-v26-product-mark img {width:245px;max-width:100%;max-height:210px}body[data-page="tc-track"] .tc-v26-pricing {padding:56px 0 65px}body[data-page="tc-track"] .tc-v26-pricing-heading {text-align:left;margin-bottom:25px}body[data-page="tc-track"] .tc-v26-license-card {padding:24px 19px}body[data-page="tc-track"] .tc-v26-pricing-copy h3 {font-size:1.5rem}body[data-page="tc-track"] .tc-v26-pricing-heading h2 {font-size:1.8rem}}
/* v2.6 QA: explicit dark heading on the light pricing panel. */
body[data-page="tc-track"] .tc-v26-pricing-copy h3 {color:#272635}

/* TESTCASE v2.7 – tightly scoped post-launch fixes (DEF-055..057). */
/* DEF-055: desktop homepage HERO only; all other vertical rhythm preserved. */
@media (min-width:701px) {
  body[data-page="index"] .hero-grid {padding-top:41px;padding-bottom:48px}
}
/* DEF-056: bring YT icon a little closer to the title; soften TC Track heading. */
@media (min-width:851px) {
  body[data-page="index"] .yt-title-row .yt-brandmark {transform:translateX(-44px)}
}
body[data-page="index"] .yt-highlight .yt-product-heading {gap:20px}
body[data-page="index"] .yt-highlight .yt-product-heading h3 {font-size:clamp(1.25rem,1.7vw,1.56rem)}
@media (max-width:700px) {
  body[data-page="index"] .yt-highlight .yt-product-heading {gap:13px}
  body[data-page="index"] .yt-highlight .yt-product-heading h3 {font-size:1.25rem}
}
/* DEF-057: license calculator is more compact, without touching its functionality. */
body[data-page="tc-track"] .tc-v26-license-card {padding:23px 27px}
body[data-page="tc-track"] .tc-v26-license-card header p {margin-bottom:15px}
body[data-page="tc-track"] .tc-v26-license-results {padding:14px 18px;margin:14px 0 12px}
body[data-page="tc-track"] .tc-v26-price-row {margin-top:11px;padding-top:10px}
body[data-page="tc-track"] .tc-v26-license-net {margin-top:9px}
body[data-page="tc-track"] .tc-v26-checkout-note {margin-top:10px}
@media (max-width:660px) {
  body[data-page="tc-track"] .tc-v26-license-card {padding:21px 18px}
}
/* Main menu includes news in v2.7. */
@media (min-width:851px) and (max-width:1190px) {
  .main-nav {gap:clamp(10px,1.6vw,18px)}
  .header-inner {gap:14px}
}

/* TC UI Hotfix: remove arrow glyph only from clickable expertise panel links. */
.panel-link .panel-arrow {display:none!important}


/* TC Forms - poprawka koloru tekstu w komunikacie zakupowym */
body[data-page="tc-forms"] .tc-v26-pricing-highlight strong {
    color: #272635;
    font-weight: 750;
}