:root {
      --bg: #f4f8fb;
      --bg-soft: #e8f3f1;
      --paper: #ffffff;
      --ink: #0f2430;
      --muted: #4a6270;
      --line: #d5e3ea;
      --blue: #1f6feb;
      --blue-deep: #0b4db8;
      --teal: #1aa6a0;
      --green: #3d9a6a;
      --shadow: 0 18px 50px rgba(15, 36, 48, 0.08);
      --max: 1160px;
      --nav-h: 72px;
      --ease: cubic-bezier(.22, 1, .36, 1);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: "Sora", sans-serif;
      color: var(--ink);
      background:
        radial-gradient(1200px 600px at 90% -10%, rgba(31, 111, 235, 0.10), transparent 60%),
        radial-gradient(900px 500px at -10% 20%, rgba(26, 166, 160, 0.10), transparent 55%),
        var(--bg);
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
    }
    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button, .btn { font: inherit; cursor: pointer; border: 0; }

    .wrap {
      width: min(var(--max), calc(100% - 2.5rem));
      margin-inline: auto;
    }

    /* NAV */
    .nav {
      position: sticky;
      top: 0;
      z-index: 40;
      height: var(--nav-h);
      backdrop-filter: blur(14px);
      background: rgba(244, 248, 251, 0.82);
      border-bottom: 1px solid rgba(213, 227, 234, 0.7);
    }
    .nav-in {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
    }
    .brand {
      display: inline-flex;
      align-items: baseline;
      flex-wrap: wrap;
      gap: 0.35rem 0.45rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      color: var(--ink);
      line-height: 1.1;
      max-width: min(420px, 58vw);
    }
    .brand em {
      font-style: normal;
      color: var(--blue);
      font-weight: 700;
    }
    .brand .brand-edu {
      font-size: 0.78rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--teal);
      font-weight: 650;
      margin-left: 0.1rem;
    }
    .brand .brand-lab {
      flex-basis: 100%;
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #7a93a3;
      margin: 0.05rem 0 0;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.35rem;
      font-size: 0.92rem;
      color: var(--muted);
    }
    .nav-links a:hover { color: var(--ink); }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      min-height: 48px;
      padding: 0.85rem 1.35rem;
      border-radius: 12px;
      font-weight: 600;
      transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
    }
    .btn:hover { transform: translateY(-1px); }
    .btn-primary {
      background: linear-gradient(135deg, var(--blue), var(--blue-deep));
      color: #fff;
    }
    .btn-ghost {
      background: transparent;
      color: var(--ink);
      border: 1px solid rgba(15, 36, 48, 0.18);
    }
    .btn-ghost:hover { border-color: var(--blue); color: var(--blue-deep); }
    .btn-nav { min-height: 42px; padding: 0.65rem 1.1rem; font-size: 0.9rem; }

    /* HERO — one composition, full-bleed visual */
    .hero {
      position: relative;
      min-height: calc(100svh - var(--nav-h));
      display: grid;
      align-items: end;
      overflow: hidden;
      isolation: isolate;
    }
    .hero-media {
      position: absolute;
      inset: 0;
      z-index: -2;
    }
    .hero-media img {
      border-radius: 0;

      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: 62% center;
      transform: scale(1.04);
      animation: heroDrift 18s var(--ease) infinite alternate;
    }
    .hero-veil {
      position: absolute;
      inset: 0;
      z-index: -1;
      background:
        linear-gradient(90deg, rgba(3,12,28,0.18) 0%, rgba(3,12,28,0.08) 48%, rgba(3,12,28,0.32) 100%),
        linear-gradient(180deg, rgba(3,12,28,0.05) 0%, rgba(3,12,28,0.30) 100%);
    }
    .hero-copy {
      width: min(620px, 100%);
      padding: clamp(3rem, 8vh, 5.5rem) 0 clamp(3.5rem, 9vh, 6rem);
    }
    .eyebrow {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--teal);
      margin-bottom: 1rem;
    }
    h1, h2, h3 {
      font-family: "Fraunces", serif;
      font-weight: 600;
      letter-spacing: -0.03em;
      line-height: 1.08;
    }
    h1 {
      font-size: clamp(2.4rem, 5.4vw, 4.1rem);
      margin-bottom: 1.1rem;
      max-width: 14ch;
    }
    .hero-lead {
      font-size: clamp(1.15rem, 2vw, 1.4rem);
      font-weight: 500;
      line-height: 1.35;
      max-width: 28ch;
      margin-bottom: 1.15rem;
      color: var(--ink);
    }
    .hero-lead strong { font-weight: 700; }
    .hero-text {
      color: var(--muted);
      max-width: 42ch;
      margin-bottom: 1.75rem;
      font-size: 1.02rem;
    }
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    /* SECTIONS */
    section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
    .section-head {
      max-width: 720px;
      margin-bottom: clamp(2rem, 4vw, 3rem);
    }
    .section-head h2 {
      font-size: clamp(2rem, 4vw, 3.1rem);
      margin-bottom: 0.85rem;
    }
    .section-head p {
      color: var(--muted);
      font-size: 1.05rem;
      max-width: 52ch;
    }
    .kicker {
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 0.7rem;
    }

    .band-soft {
      background:
        linear-gradient(180deg, rgba(232, 243, 241, 0.75), rgba(244, 248, 251, 0.2));
      border-block: 1px solid rgba(213, 227, 234, 0.7);
    }

    /* Teacher gains — compact strip, not card wall */
    .gain-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
      margin-top: 0.5rem;
    }
    .gain {
      padding: 1.25rem 1.1rem 1.35rem;
      border-top: 2px solid var(--teal);
      background: transparent;
    }
    .gain strong {
      display: block;
      font-family: "Fraunces", serif;
      font-size: 1.2rem;
      margin-bottom: 0.45rem;
      letter-spacing: -0.02em;
    }
    .gain p { color: var(--muted); font-size: 0.95rem; }

    /* Feature columns */
    .split {
      display: grid;
      grid-template-columns: 0.95fr 1.05fr;
      gap: clamp(2rem, 5vw, 4rem);
      align-items: start;
    }
    .feature-list {
      display: grid;
      gap: 1.5rem;
    }
    .feature-list article h3 {
      font-size: 1.35rem;
      margin-bottom: 0.45rem;
    }
    .feature-list ul {
      list-style: none;
      color: var(--muted);
      display: grid;
      gap: 0.35rem;
    }
    .feature-list li::before {
      content: "";
      display: inline-block;
      width: 0.45rem;
      height: 0.45rem;
      border-radius: 50%;
      background: var(--blue);
      margin-right: 0.55rem;
      vertical-align: middle;
    }
    .callout {
      margin-top: 1.25rem;
      padding: 1.1rem 1.2rem;
      border-left: 3px solid var(--green);
      background: rgba(61, 154, 106, 0.08);
      font-weight: 600;
    }

    /* Class context */
    .context-panel {
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 20px;
      padding: clamp(1.5rem, 3vw, 2.25rem);
      box-shadow: var(--shadow);
    }
    .context-panel h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-bottom: 0.75rem; }
    .context-panel .lead {
      color: var(--muted);
      margin-bottom: 1.5rem;
      max-width: 48ch;
    }
    .checks {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.85rem 1.25rem;
    }
    .checks li {
      list-style: none;
      display: flex;
      gap: 0.65rem;
      align-items: flex-start;
      color: var(--ink);
      font-weight: 500;
    }
    .checks li::before {
      content: "";
      flex: 0 0 1.05rem;
      height: 1.05rem;
      margin-top: 0.15rem;
      border-radius: 50%;
      background:
        radial-gradient(circle at 50% 50%, #fff 0 28%, transparent 29%),
        linear-gradient(135deg, var(--teal), var(--blue));
    }

    /* System flow */
    .flow {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 0.65rem;
      counter-reset: step;
    }
    .flow-step {
      position: relative;
      padding: 1.2rem 1rem 1.3rem;
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 16px;
      min-height: 150px;
      opacity: 0;
      transform: translateY(16px);
      animation: rise .7s var(--ease) forwards;
    }
    .flow-step:nth-child(1) { animation-delay: .05s; }
    .flow-step:nth-child(2) { animation-delay: .12s; }
    .flow-step:nth-child(3) { animation-delay: .19s; }
    .flow-step:nth-child(4) { animation-delay: .26s; }
    .flow-step:nth-child(5) { animation-delay: .33s; }
    .flow-step:nth-child(6) { animation-delay: .40s; }
    .flow-step::before {
      counter-increment: step;
      content: counter(step, decimal-leading-zero);
      display: block;
      font-size: 0.75rem;
      letter-spacing: 0.12em;
      color: var(--teal);
      font-weight: 700;
      margin-bottom: 0.7rem;
    }
    .flow-step strong {
      display: block;
      font-family: "Fraunces", serif;
      font-size: 1.05rem;
      line-height: 1.25;
      letter-spacing: -0.02em;
      margin-bottom: 0.45rem;
    }
    .flow-step p { color: var(--muted); font-size: 0.88rem; }
    .flow-note {
      margin-top: 1.5rem;
      color: var(--muted);
      font-size: 0.98rem;
      max-width: 62ch;
    }
    .flow-note em {
      font-style: normal;
      color: var(--ink);
      font-weight: 600;
    }

    /* School + workshop */
    .tri {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.1rem;
    }
    .tri article {
      padding: 1.5rem 1.35rem;
      border-radius: 18px;
      background: var(--paper);
      border: 1px solid var(--line);
    }
    .tri h3 {
      font-size: 1.25rem;
      margin-bottom: 0.55rem;
    }
    .tri p, .tri ul { color: var(--muted); font-size: 0.95rem; }
    .tri ul { list-style: none; display: grid; gap: 0.35rem; margin-top: 0.7rem; }
    .tri li::before {
      content: "– ";
      color: var(--blue);
    }

    .workshop {
      margin-top: 2rem;
      display: grid;
      grid-template-columns: 1.1fr 1fr 1fr;
      gap: 1rem;
      padding: 1.5rem;
      border-radius: 22px;
      background:
        linear-gradient(135deg, rgba(31, 111, 235, 0.08), rgba(26, 166, 160, 0.12));
      border: 1px solid rgba(31, 111, 235, 0.15);
    }
    .workshop > div:first-child h3 {
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      margin: 0.4rem 0 0.7rem;
    }
    .workshop p { color: var(--muted); }
    .week {
      background: rgba(255, 255, 255, 0.72);
      border-radius: 16px;
      padding: 1.2rem 1.15rem;
    }
    .week strong {
      display: block;
      font-size: 0.78rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 0.55rem;
    }
    .week h4 {
      font-family: "Fraunces", serif;
      font-size: 1.2rem;
      margin-bottom: 0.55rem;
    }
    .week ul { list-style: none; color: var(--muted); display: grid; gap: 0.3rem; font-size: 0.92rem; }

    .after-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }
    .after-grid article {
      padding-top: 1rem;
      border-top: 2px solid var(--blue);
    }
    .after-grid h3 { font-size: 1.3rem; margin-bottom: 0.45rem; }
    .after-grid p { color: var(--muted); }

    /* Packages */
    .packages {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
    }
    .pkg {
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 1.4rem 1.25rem 1.5rem;
      display: flex;
      flex-direction: column;
      min-height: 100%;
      transition: border-color .25s var(--ease), transform .25s var(--ease);
    }
    .pkg:hover {
      border-color: rgba(31, 111, 235, 0.45);
      transform: translateY(-3px);
    }
    .pkg.featured {
      border-color: rgba(31, 111, 235, 0.55);
      background: linear-gradient(180deg, #fff, #f3f8ff);
    }
    .pkg .for {
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--teal);
      margin-bottom: 0.45rem;
    }
    .pkg h3 {
      font-size: 1.35rem;
      margin-bottom: 0.85rem;
    }
    .pkg ul {
      list-style: none;
      display: grid;
      gap: 0.45rem;
      color: var(--muted);
      font-size: 0.92rem;
      flex: 1;
    }
    .pkg li::before {
      content: "";
      display: inline-block;
      width: 0.55rem;
      height: 0.55rem;
      margin-right: 0.5rem;
      border-radius: 2px;
      background: var(--green);
      vertical-align: middle;
    }
    .pkg .price {
      margin-top: 1.1rem;
      padding-top: 0.9rem;
      border-top: 1px solid var(--line);
      font-weight: 600;
      font-size: 0.95rem;
    }

    /* Trust */
    .trust {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 2rem;
      align-items: center;
    }
    .trust-main h2 {
      font-size: clamp(2rem, 4vw, 3rem);
      margin-bottom: 1rem;
    }
    .trust-main .big {
      font-family: "Fraunces", serif;
      font-size: clamp(1.35rem, 2.4vw, 1.85rem);
      line-height: 1.3;
      margin: 1.25rem 0;
      max-width: 28ch;
    }
    .trust-main p { color: var(--muted); max-width: 48ch; }
    .trust-aside {
      padding: 1.6rem 1.4rem;
      border-radius: 20px;
      background: var(--ink);
      color: #e8f0f4;
    }
    .trust-aside h3 {
      color: #fff;
      font-size: 1.2rem;
      margin-bottom: 0.9rem;
    }
    .trust-aside ul {
      list-style: none;
      display: grid;
      gap: 0.55rem;
      font-size: 0.95rem;
      color: rgba(232, 240, 244, 0.86);
    }
    .trust-aside li::before {
      content: "";
      display: inline-block;
      width: 0.45rem;
      height: 0.45rem;
      border-radius: 50%;
      background: var(--teal);
      margin-right: 0.55rem;
      vertical-align: middle;
    }

    /* Closing */
    .close {
      text-align: center;
      padding-bottom: clamp(4.5rem, 10vw, 7rem);
    }
    .close h2 {
      font-size: clamp(2.2rem, 4.5vw, 3.4rem);
      margin: 0.6rem auto 1.5rem;
      max-width: 16ch;
    }
    .close .actions {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    footer {
      border-top: 1px solid var(--line);
      padding: 1.6rem 0 2rem;
      color: var(--muted);
      font-size: 0.88rem;
    }
    .foot-in {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
      align-items: center;
    }
    .foot-in a:hover { color: var(--blue); }

    /* Reveal on scroll */
    .reveal {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity .8s var(--ease), transform .8s var(--ease);
    }
    .reveal.in {
      opacity: 1;
      transform: none;
    }

    @keyframes heroDrift {
      from { transform: scale(1.04) translate3d(0, 0, 0); }
      to { transform: scale(1.08) translate3d(-1.2%, 0.6%, 0); }
    }
    @keyframes rise {
      to { opacity: 1; transform: none; }
    }

    @media (max-width: 980px) {
      .nav-links { display: none; }
      .gain-row, .flow, .tri, .packages, .after-grid { grid-template-columns: 1fr 1fr; }
      .split, .trust, .workshop { grid-template-columns: 1fr; }
      .checks { grid-template-columns: 1fr; }
      .hero-veil {
        background:
          linear-gradient(180deg, rgba(244, 248, 251, 0.55) 0%, rgba(244, 248, 251, 0.92) 48%, rgba(244, 248, 251, 0.98) 100%),
          linear-gradient(90deg, rgba(244, 248, 251, 0.4), transparent 60%);
      }
      .hero-copy { width: min(100%, 640px); }
      h1 { max-width: none; }
    }
    @media (max-width: 640px) {
      .gain-row, .flow, .tri, .packages, .after-grid { grid-template-columns: 1fr; }
      .wrap { width: calc(100% - 1.5rem); }
      .hero { min-height: auto; }
      .hero-media { position: relative; height: 48svh; }
      .hero-media img {
      border-radius: 0;
 animation: none; transform: none; object-position: 70% center; }
      .hero-veil { background: linear-gradient(180deg, transparent 20%, var(--bg) 88%); }
      .hero-copy { padding-top: 1.5rem; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation: none !important;
        transition: none !important;
      }
      .reveal { opacity: 1; transform: none; }
    }

.hero-media img{object-fit:cover;object-position:center;}
.hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,12,28,.04),rgba(3,12,28,.01) 55%,rgba(3,12,28,.08)),linear-gradient(180deg,rgba(3,12,28,0),rgba(3,12,28,.10));pointer-events:none;}
.hero-media{overflow:hidden;}
.hero-copy{z-index:2;}

.hero-copy{max-width:650px;}
  .hero-copy h1{font-weight:650;}
  .hero-lead{font-size:clamp(1.2rem,2.1vw,1.5rem);}
  .hero-text{max-width:46ch;}
  section .section-head h2{font-weight:650;}
  .card,.system-step,.package-card{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;}
  @media(hover:hover){.card:hover,.system-step:hover,.package-card:hover{transform:translateY(-4px);box-shadow:0 24px 60px rgba(15,36,48,.12);border-color:rgba(31,111,235,.28);}}
  .kicker{letter-spacing:.14em;font-weight:700;}
  .callout{border-left:4px solid #1aa6a0!important;background:rgba(26,166,160,.06)!important;padding:18px 22px!important;border-radius:14px;}
  .close{background:linear-gradient(135deg,#0f2430,#0b4db8);color:white;}
  .close h2,.close p{color:white;}
  @media(max-width:760px){.hero-copy h1{font-size:2.5rem;}.nav-links{display:none;}}

.edu-hero-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:rgba(26,166,160,.08);border:1px solid rgba(26,166,160,.2);color:#0f766e;font-weight:700;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;}
.hero .hero-points{gap:22px;}
.section-head .kicker{color:#0f766e;}
.context-panel{border:1px solid rgba(31,111,235,.12);background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(239,248,255,.85));}
.system-flow{filter:drop-shadow(0 12px 30px rgba(20,60,100,.08));}
.package-grid .pkg:first-child{border-color:rgba(26,166,160,.25);}
.package-grid .pkg:nth-child(2){box-shadow:0 20px 55px rgba(31,111,235,.10);}
.edu-final-line{font-size:clamp(1.4rem,3vw,2.2rem);font-weight:600;letter-spacing:-.03em;}

.director-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:42px auto;max-width:1180px;}
  .director-trust article{padding:26px;border-radius:24px;background:#fff;border:1px solid rgba(20,60,100,.10);box-shadow:0 12px 35px rgba(20,60,100,.06);}
  .director-trust h3{font-size:1.1rem;margin:0 0 10px;}
  .director-trust p{color:#52657a;line-height:1.6;font-size:.95rem;}
  .transformation-note{max-width:900px;margin:30px auto;padding:28px 34px;border-radius:28px;background:linear-gradient(135deg,rgba(31,111,235,.06),rgba(26,166,160,.08));border:1px solid rgba(31,111,235,.14);}
  .transformation-note strong{display:block;font-size:1.35rem;margin-bottom:10px;}
  @media(max-width:900px){.director-trust{grid-template-columns:repeat(2,1fr);}}
  @media(max-width:600px){.director-trust{grid-template-columns:1fr;}}

/* OS3 image already contains the hero typography. Prevent duplicate HTML overlay. */
.hero-copy .eyebrow,
.hero-copy .edu-hero-badge,
.hero-copy h1,
.hero-copy .hero-lead,
.hero-copy .hero-text { display:block; }
.hero-copy { width:min(100%,760px); padding-top:0; padding-bottom:2rem; }
.hero-copy .hero-actions { position:relative; left:auto; bottom:auto; transform:none; z-index:5; margin-top:1.5rem; }
.hero-media:after { background:linear-gradient(180deg,rgba(3,12,28,0.04),rgba(3,12,28,0.18)); }
@media(max-width:760px){.hero-copy .hero-actions{position:relative;left:auto;bottom:auto;transform:none;margin-top:1rem;}}

.hero-media img{object-fit:cover;object-position:center center;transform:none!important;animation:none!important;}
.hero-media:after{opacity:.35;}
.hero-copy .hero-actions{z-index:10;}

/* Full poster hero fit: keep image readable without pushing next sections away */
.hero {
  min-height: min(820px, calc(100vh - 110px));
}
.hero-media img {
  object-fit: cover;
  object-position: center center;
  transform: scale(.96) !important;
  animation: none !important;
}
.hero-copy {
  display:block;
}
.hero-media:after {
  background: linear-gradient(180deg,rgba(3,12,28,.02),rgba(3,12,28,.18));
}
.hero-actions {
  bottom: 24px !important;
}
@media(max-width:760px){
 .hero{min-height:auto;}
 .hero-media{height:auto;aspect-ratio:16/10;position:relative;}
 .hero-copy{display:block;}
}

/* EDU poster hero: balanced height + dark side transitions */
.hero {
  min-height: calc(100vh - 74px);
  max-height: 900px;
}
.hero-media img {
  object-fit: cover;
  object-position: center center;
  transform: none !important;
  animation: none !important;
}
.hero-media:after {
  background:
    linear-gradient(90deg,
      rgba(3,12,28,.70) 0%,
      rgba(3,12,28,.18) 32%,
      rgba(3,12,28,.05) 60%,
      rgba(3,12,28,.55) 100%),
    linear-gradient(180deg,
      rgba(3,12,28,.08) 0%,
      rgba(3,12,28,.25) 100%);
}
@media(max-width:760px){
 .hero{min-height:auto;max-height:none;}
}

/* Final EDU hero composition: poster + clean transition into system section */
.hero {
  min-height: min(760px, calc(100vh - 74px));
  overflow:hidden;
}
.hero-media img {
  object-fit:cover;
  object-position:center center;
}
.hero-media:after {
  background:
    linear-gradient(90deg,rgba(3,12,28,.35) 0%,rgba(3,12,28,.08) 48%,rgba(3,12,28,.32) 100%),
    linear-gradient(180deg,rgba(3,12,28,0) 60%,rgba(3,12,28,.72) 100%);
}
.hero-actions {
  bottom:22px !important;
}
#sistema {
  margin-top:0;
  padding-top:3.5rem;
}
@media(max-width:760px){
 .hero {min-height:auto;}
 #sistema {padding-top:2rem;}
}

/* Hero = image height only; side letterbox → black */
.hero {
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  display: block !important;
  align-items: stretch !important;
  background: #000 !important;
  overflow: hidden;
  line-height: 0;
  padding: 0 !important;
  margin: 0 !important;
}
.hero-veil,
.hero-media:after {
  display: none !important;
  content: none !important;
  background: none !important;
  opacity: 0 !important;
}
.hero-media {
  position: relative !important;
  inset: auto !important;
  z-index: 0 !important;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  background: #000 !important;
  line-height: 0;
}
.hero-media img {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  animation: none !important;
  border-radius: 0;
  margin: 0 auto;
  background: #000;
}
.hero-copy {
  display: none !important;
}
@media (max-width: 760px) {
  .hero,
  .hero-media {
    min-height: 0 !important;
    height: auto !important;
  }
}

#sistema .section-head{text-align:center;}
#sistema .section-head h2{font-size:clamp(2rem,3.5vw,3.2rem);letter-spacing:-.03em;}
#sistema .flow{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;position:relative;margin-top:42px;}
#sistema .flow:before{content:"";position:absolute;top:42px;left:8%;right:8%;height:2px;background:linear-gradient(90deg,#22d3ee,#8b5cf6,#22d3ee);opacity:.35;}
#sistema .flow-step{position:relative;z-index:1;padding:24px 18px;border-radius:22px;border:1px solid rgba(34,211,238,.18);background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(241,248,255,.9));box-shadow:0 16px 35px rgba(20,60,100,.08);}
#sistema .flow-step strong{display:block;color:#102a43;font-size:1rem;margin-bottom:10px;}
#sistema .flow-step p{color:#52657a;line-height:1.45;}
#sistema .flow-step:nth-child(3),#sistema .flow-step:nth-child(4){border-color:rgba(34,211,238,.35);box-shadow:0 0 35px rgba(34,211,238,.12);}
#sistema .flow-note{max-width:900px;margin:36px auto 0;padding:22px 28px;border-radius:24px;background:linear-gradient(135deg,rgba(31,111,235,.08),rgba(26,166,160,.08));border:1px solid rgba(31,111,235,.16);text-align:center;}
@media(max-width:900px){#sistema .flow{grid-template-columns:repeat(2,1fr)}#sistema .flow:before{display:none;}}
@media(max-width:560px){#sistema .flow{grid-template-columns:1fr;}}

#organizacijai .tri article{
 border:1px solid rgba(31,111,235,.14);
 background:linear-gradient(145deg,#fff,rgba(240,248,255,.92));
 box-shadow:0 18px 45px rgba(20,60,100,.08);
}
#organizacijai .tri article h3{color:#102a43;}
#organizacijai .tri article p,#organizacijai .tri article li{color:#52657a;line-height:1.6;}
.edu-director-path{margin:38px auto 0;max-width:1100px;padding:28px;border-radius:28px;background:linear-gradient(135deg,rgba(31,111,235,.07),rgba(26,166,160,.08));border:1px solid rgba(31,111,235,.15);}
.edu-director-path h3{text-align:center;margin-bottom:20px;}
.edu-director-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
.edu-director-flow article{padding:18px;border-radius:18px;background:#fff;border:1px solid rgba(31,111,235,.1);}
.edu-director-flow strong{display:block;color:#0f766e;margin-bottom:8px;}
.edu-director-flow p{margin:0;color:#52657a;font-size:.9rem;line-height:1.5;}
@media(max-width:800px){.edu-director-flow{grid-template-columns:1fr 1fr;}}
@media(max-width:520px){.edu-director-flow{grid-template-columns:1fr;}}

#paketai .packages{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:34px;}
#paketai .pkg{position:relative;padding:28px;border-radius:28px;background:linear-gradient(145deg,#fff,rgba(240,248,255,.96));border:1px solid rgba(31,111,235,.12);box-shadow:0 18px 50px rgba(20,60,100,.08);}
#paketai .pkg.featured{transform:translateY(-8px);border-color:rgba(26,166,160,.35);box-shadow:0 25px 70px rgba(26,166,160,.15);}
#paketai .pkg .for{color:#0f766e;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;}
#paketai .pkg h3{font-size:1.5rem;color:#102a43;margin:12px 0 18px;}
#paketai .pkg li{color:#52657a;margin:9px 0;line-height:1.45;}
#paketai .price{margin-top:22px;font-weight:800;color:#0b4db8;font-size:1.1rem;}
.edu-package-note{margin:34px auto 0;max-width:950px;padding:24px 30px;border-radius:26px;background:linear-gradient(135deg,rgba(31,111,235,.06),rgba(26,166,160,.08));border:1px solid rgba(31,111,235,.14);text-align:center;}
@media(max-width:1000px){#paketai .packages{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){#paketai .packages{grid-template-columns:1fr}#paketai .pkg.featured{transform:none}}

/* Modern top-right: flags · wallet · WA · bell · profile */
.home-nav-tools.nav-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: none;
  margin-left: auto;
}
#userChip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  position: relative;
}
.home-nav-tools .wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #fff;
  border: 1px solid #d5e3ea;
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  font-weight: 700;
  color: #0f2430;
  font-size: 0.82rem;
  box-shadow: 0 6px 16px rgba(15, 36, 48, 0.05);
}
.home-nav-tools .wallet-pill i {
  width: 7px; height: 7px; border-radius: 50%; background: #1aa6a0; display: inline-block;
}
.home-nav-tools .edu-icon-soft {
  width: 38px; height: 38px; border: 0; border-radius: 12px;
  background: transparent; color: #6b728a;
  display: grid; place-items: center; cursor: pointer; text-decoration: none;
  position: relative; flex: none; transition: background .15s ease, color .15s ease;
}
.home-nav-tools .edu-icon-soft:hover { background: rgba(15, 36, 48, 0.06); color: #0f2430; }
.home-nav-tools .edu-wa:hover { background: #ecfdf5; }
.home-nav-tools .edu-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: #1f6feb; color: #fff; display: grid; place-items: center;
  text-decoration: none; box-shadow: 0 6px 14px rgba(31, 111, 235, 0.28);
}
.home-nav-tools .edu-avatar:hover { background: #0b4db8; }
.home-nav-tools .edu-bell-pop {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 50;
  width: min(260px, 78vw); padding: 0.85rem 1rem;
  background: #fff; border: 1px solid #d5e3ea; border-radius: 14px;
  box-shadow: 0 16px 36px rgba(15, 36, 48, 0.12);
  line-height: 1.4;
}
.home-nav-tools .edu-bell-pop strong { display: block; font-size: 0.88rem; color: #0f2430; }
.home-nav-tools .edu-bell-pop p { margin: 0.35rem 0 0; font-size: 0.8rem; color: #5a7382; }
.edu-lang-switch {
  display: inline-flex; align-items: center; gap: 4px; flex: none;
}
.edu-lang-switch .flag-circle {
  width: 24px; height: 24px; min-width: 24px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(15, 36, 48, 0.14); background: #fff;
  display: inline-grid; place-items: center; overflow: hidden; cursor: pointer;
  opacity: 0.8; transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
}
.edu-lang-switch .flag-circle:hover { opacity: 1; transform: scale(1.08); }
.edu-lang-switch .flag-circle.is-on {
  opacity: 1; border-color: rgba(31, 111, 235, 0.75);
  box-shadow: 0 0 0 2px rgba(31, 111, 235, 0.18);
}
.edu-lang-switch .flag { width: 100%; height: 100%; display: block; border-radius: 50%; position: relative; }
.flag-lt { background: linear-gradient(180deg, #fdb913 0 33%, #006a44 33% 66%, #c1272d 66% 100%); }
.flag-en { background: #012169; }
.flag-en::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom right, transparent 44%, #fff 44% 56%, transparent 56%),
    linear-gradient(to top right, transparent 44%, #fff 44% 56%, transparent 56%),
    linear-gradient(#fff, #fff) center/100% 18% no-repeat,
    linear-gradient(#fff, #fff) center/18% 100% no-repeat;
}
.flag-en::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom right, transparent 46.5%, #c8102e 46.5% 53.5%, transparent 53.5%),
    linear-gradient(to top right, transparent 46.5%, #c8102e 46.5% 53.5%, transparent 53.5%),
    linear-gradient(#c8102e, #c8102e) center/100% 10% no-repeat,
    linear-gradient(#c8102e, #c8102e) center/10% 100% no-repeat;
}
.flag-ru { background: linear-gradient(180deg, #fff 0 33%, #0039a6 33% 66%, #d52b1e 66% 100%); }
.flag-pl { background: linear-gradient(180deg, #fff 0 50%, #dc143c 50% 100%); }
.flag-ua { background: linear-gradient(180deg, #0057b7 0 50%, #ffd700 50% 100%); }
@media (max-width: 980px) {
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .home-nav-tools .wallet-pill { padding: 0.28rem 0.55rem; font-size: 0.75rem; }
  .home-nav-tools .edu-icon-soft { width: 34px; height: 34px; }
  .edu-lang-switch .flag-circle { width: 20px; height: 20px; min-width: 20px; }
}

.lab-gateway{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:40px auto;max-width:1180px;}
.lab-gateway article{padding:28px;border-radius:26px;background:linear-gradient(145deg,#fff,rgba(240,248,255,.95));border:1px solid rgba(31,111,235,.14);box-shadow:0 18px 45px rgba(20,60,100,.08);}
.lab-gateway span{color:#0f766e;font-size:.75rem;font-weight:800;letter-spacing:.1em;}
.lab-gateway h3{margin:12px 0;color:#102a43;}
.lab-gateway p{color:#52657a;line-height:1.55;}
.lab-gateway .main{border-color:rgba(26,166,160,.4);box-shadow:0 20px 60px rgba(26,166,160,.15);}
@media(max-width:800px){.lab-gateway{grid-template-columns:1fr;}}

#privatumas .trust-aside{background:linear-gradient(145deg,#071b2a,#102f42);border-radius:28px;padding:30px;color:#fff;}
#privatumas .trust-aside h3{color:#5eead4;}
#privatumas .trust-aside li{margin:12px 0;color:#d5e7f2;}
#privatumas .big{max-width:700px;}

.hero{
  position:relative!important;
  min-height:min(820px,calc(100vh - 74px))!important;
  height:auto!important;
  display:grid!important;
  align-items:center!important;
  background:#020815!important;
  overflow:hidden!important;
  line-height:normal!important;
}
.hero-media{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  z-index:0!important;
}
.hero-media img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}
.hero-media:after{
  display:block!important;
  content:""!important;
  position:absolute!important;
  inset:0!important;
  opacity:1!important;
  background:linear-gradient(90deg,rgba(2,8,21,.94) 0%,rgba(2,8,21,.76) 28%,rgba(2,8,21,.30) 48%,rgba(2,8,21,.08) 68%,rgba(2,8,21,.18) 100%),linear-gradient(180deg,rgba(2,8,21,.08) 0%,rgba(2,8,21,.18) 76%,rgba(2,8,21,.58) 100%)!important;
  z-index:1!important;
}
.hero-copy{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  z-index:3!important;
  width:min(620px,100%)!important;
  padding:clamp(3rem,7vh,5rem) 0!important;
  color:#fff!important;
  line-height:1.35!important;
}
.hero-copy .eyebrow,.hero-copy .edu-hero-badge,.hero-copy h1,.hero-copy .hero-lead,.hero-copy .hero-text,.hero-copy .hero-actions{display:block!important;visibility:visible!important;opacity:1!important;}
.hero-copy .eyebrow{color:#55d8ff!important;}
.hero-copy .edu-hero-badge{display:inline-flex!important;color:#6fe8ff!important;border:1px solid rgba(85,216,255,.35)!important;background:rgba(3,19,39,.65)!important;padding:.55rem .85rem!important;border-radius:999px!important;margin-bottom:1rem!important;font-size:.75rem!important;letter-spacing:.08em!important;text-transform:uppercase!important;}
.hero-copy h1{color:#fff!important;font-family:inherit!important;font-size:clamp(2.7rem,5.2vw,5rem)!important;line-height:.98!important;max-width:11ch!important;margin:0 0 1.25rem!important;letter-spacing:-.045em!important;}
.hero-copy .hero-lead{color:#f5f7fb!important;font-size:clamp(1.15rem,1.8vw,1.45rem)!important;margin-bottom:1rem!important;max-width:30ch!important;}
.hero-copy .hero-text{color:#c6d2df!important;font-size:1.03rem!important;line-height:1.65!important;max-width:48ch!important;margin-bottom:1.5rem!important;}
.hero-copy .hero-actions{position:relative!important;left:auto!important;bottom:auto!important;transform:none!important;margin-top:1.25rem!important;}
.hero-copy .hero-actions .btn{display:inline-flex!important;}
@media(max-width:900px){
 .hero{min-height:720px!important;}
 .hero-copy{width:min(560px,88vw)!important;margin-left:5vw!important;}
 .hero-media img{object-position:68% center!important;}
}
@media(max-width:700px){
 .hero{min-height:760px!important;}
 .hero-media img{object-position:62% center!important;}
 .hero-media:after{background:linear-gradient(180deg,rgba(2,8,21,.84) 0%,rgba(2,8,21,.58) 48%,rgba(2,8,21,.78) 100%)!important;}
 .hero-copy{margin:0 auto!important;width:min(90vw,560px)!important;padding:2.25rem 0!important;}
 .hero-copy h1{font-size:clamp(2.25rem,11vw,3.5rem)!important;max-width:12ch!important;}
}

.hero{
  position:relative!important;
  min-height:min(820px,calc(100vh - 74px))!important;
  display:flex!important;
  align-items:center!important;
  background:#020815!important;
  overflow:hidden!important;
}
.hero-media{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  width:100%!important;
  height:100%!important;
}
.hero-media img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:66% center!important;
}
.hero-media:after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:
    linear-gradient(90deg,rgba(2,8,21,.97) 0%,rgba(2,8,21,.90) 24%,rgba(2,8,21,.68) 39%,rgba(2,8,21,.18) 58%,rgba(2,8,21,.04) 74%,rgba(2,8,21,.12) 100%),
    linear-gradient(180deg,rgba(2,8,21,.04),rgba(2,8,21,.20) 78%,rgba(2,8,21,.42));
}
.hero-copy{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  z-index:3!important;
  width:min(1180px,calc(100% - 64px))!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:clamp(3rem,7vh,5rem) 0!important;
  color:#fff!important;
}
.hero-copy>*{max-width:560px;}
.hero-copy .eyebrow{color:#62ddff!important;margin-bottom:.75rem!important;}
.hero-copy .edu-hero-badge{
  display:inline-flex!important;
  width:auto!important;
  max-width:540px!important;
  color:#6fe8ff!important;
  border:1px solid rgba(85,216,255,.32)!important;
  background:rgba(3,19,39,.58)!important;
  padding:.5rem .8rem!important;
  border-radius:999px!important;
  margin-bottom:1.1rem!important;
  font-size:.72rem!important;
  letter-spacing:.07em!important;
  line-height:1.2!important;
  text-transform:uppercase!important;
}
.hero-copy h1{
  color:#fff!important;
  font-family:inherit!important;
  font-size:clamp(3rem,4.9vw,5.1rem)!important;
  line-height:.96!important;
  letter-spacing:-.045em!important;
  max-width:8.9ch!important;
  margin:0 0 1.2rem!important;
  text-wrap:balance;
}
.hero-copy .hero-lead{
  color:#f5f7fb!important;
  font-size:clamp(1.15rem,1.5vw,1.38rem)!important;
  line-height:1.35!important;
  max-width:32ch!important;
  margin-bottom:1rem!important;
}
.hero-copy .hero-text{
  color:#c8d4e0!important;
  font-size:1.02rem!important;
  line-height:1.6!important;
  max-width:47ch!important;
  margin-bottom:1.35rem!important;
}
.hero-copy .hero-actions{
  display:flex!important;
  gap:.8rem!important;
  flex-wrap:wrap!important;
  position:relative!important;
  left:auto!important;
  bottom:auto!important;
  transform:none!important;
  margin-top:1rem!important;
  max-width:560px!important;
}
.hero-copy .hero-actions .btn{display:inline-flex!important;}
@media(max-width:1100px){
  .hero-media img{object-position:72% center!important;}
  .hero-copy{width:min(100% - 44px,1100px)!important;}
  .hero-copy>*{max-width:500px;}
  .hero-copy h1{font-size:clamp(2.7rem,5.8vw,4.2rem)!important;}
}
@media(max-width:820px){
  .hero{min-height:720px!important;align-items:flex-end!important;}
  .hero-media img{object-position:64% center!important;}
  .hero-media:after{background:linear-gradient(180deg,rgba(2,8,21,.18) 0%,rgba(2,8,21,.62) 48%,rgba(2,8,21,.94) 100%)!important;}
  .hero-copy{width:min(92vw,680px)!important;padding:15rem 0 2.5rem!important;}
  .hero-copy>*{max-width:100%;}
  .hero-copy h1{max-width:12ch!important;font-size:clamp(2.35rem,9vw,3.7rem)!important;}
}

/* Desktop premium hero: more vertical breathing room and a wider copy column. */
@media (min-width: 821px) {
  .hero {
    min-height: clamp(880px, 94vh, 980px) !important;
    max-height: none !important;
    align-items: center !important;
  }
  .hero-copy {
    width: min(1320px, calc(100% - 72px)) !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 5.25rem 0 5.75rem !important;
  }
  .hero-copy > * {
    max-width: 620px !important;
  }
  .hero-copy h1 {
    max-width: 12.4ch !important;
    font-size: clamp(3.2rem, 4.25vw, 4.75rem) !important;
    line-height: .98 !important;
    margin-bottom: 1.45rem !important;
  }
  .hero-copy .hero-lead {
    max-width: 38ch !important;
    margin-bottom: 1.15rem !important;
  }
  .hero-copy .hero-text {
    max-width: 54ch !important;
  }
  .hero-media img {
    object-position: 70% center !important;
  }
  .hero-media:after {
    background:
      linear-gradient(90deg, rgba(2,8,21,.98) 0%, rgba(2,8,21,.90) 25%, rgba(2,8,21,.60) 41%, rgba(2,8,21,.16) 59%, rgba(2,8,21,.04) 78%, rgba(2,8,21,.12) 100%),
      linear-gradient(180deg, rgba(2,8,21,.03), rgba(2,8,21,.13) 72%, rgba(2,8,21,.42)) !important;
  }
}
@media (min-width: 821px) and (max-width: 1200px) {
  .hero-copy {
    width: min(1120px, calc(100% - 48px)) !important;
  }
  .hero-copy > * { max-width: 540px !important; }
  .hero-copy h1 { font-size: clamp(3rem, 5.2vw, 4.2rem) !important; }
  .hero-media img { object-position: 74% center !important; }
}

/* Hero polish v5 — left copy · center visual · right gains · bottom trust */
.hero {
  position: relative !important;
  display: block !important;
  min-height: min(900px, calc(100vh - var(--nav-h))) !important;
  background: #020815 !important;
  overflow: hidden !important;
  line-height: normal !important;
}
.hero-media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
}
.hero-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 48% center !important;
  transform: none !important;
  animation: none !important;
}
.hero-media:after {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(90deg, rgba(2,8,21,.97) 0%, rgba(2,8,21,.82) 22%, rgba(2,8,21,.35) 42%, rgba(2,8,21,.12) 58%, rgba(2,8,21,.55) 78%, rgba(2,8,21,.88) 100%),
    linear-gradient(180deg, rgba(2,8,21,.04) 0%, rgba(2,8,21,.18) 70%, rgba(2,8,21,.62) 100%) !important;
}
.hero-veil { display: none !important; }
.hero-shell {
  position: relative !important;
  z-index: 3 !important;
  width: min(1280px, calc(100% - 2.5rem)) !important;
  margin-inline: auto !important;
  min-height: min(900px, calc(100vh - var(--nav-h))) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: clamp(2rem, 5vh, 3.5rem) 0 clamp(1.25rem, 3vh, 1.75rem) !important;
}
.hero-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 380px) !important;
  gap: clamp(1.5rem, 3vw, 2.5rem) !important;
  align-items: center !important;
  flex: 1 !important;
  padding-top: clamp(0.5rem, 2vh, 1.5rem) !important;
}
.hero-copy {
  display: block !important;
  max-width: 560px !important;
  padding: 0 !important;
  color: #fff !important;
}
.hero-copy .hero-eyebrow {
  display: block !important;
  margin: 0 0 0.55rem !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #55d8ff !important;
}
.hero-copy .edu-hero-badge {
  display: inline-flex !important;
  margin: 0 0 1rem !important;
  padding: 0.42rem 0.8rem !important;
  border-radius: 10px !important;
  border: 1px solid rgba(85,216,255,.28) !important;
  background: rgba(3,19,39,.52) !important;
  color: #8ae8ff !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  line-height: 1.3 !important;
  max-width: 28rem;
}
.hero-copy h1 {
  color: #fff !important;
  font-family: "Fraunces", serif !important;
  font-size: clamp(2.35rem, 3.8vw, 4rem) !important;
  line-height: 1.03 !important;
  letter-spacing: -0.038em !important;
  max-width: 12ch !important;
  margin: 0 0 1rem !important;
  text-wrap: balance;
}
.hero-copy .hero-lead {
  color: #eef2f7 !important;
  font-size: clamp(1.02rem, 1.45vw, 1.28rem) !important;
  line-height: 1.42 !important;
  max-width: 36ch !important;
  margin-bottom: 0.75rem !important;
}
.hero-copy .hero-text {
  color: #aebdd0 !important;
  font-size: 0.98rem !important;
  line-height: 1.62 !important;
  max-width: 46ch !important;
  margin-bottom: 1.25rem !important;
}
.hero-copy .hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.7rem !important;
}
.hero-copy .btn {
  min-height: 46px !important;
  padding: 0.75rem 1.25rem !important;
  font-size: 0.92rem !important;
}
.hero-copy .btn span { opacity: 0.85; margin-left: 0.15rem; }
.hero-copy .btn-primary {
  box-shadow: 0 10px 28px rgba(31,111,235,.38);
}
.hero-copy .hero-ghost {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.45) !important;
  background: rgba(255,255,255,.07) !important;
  backdrop-filter: blur(8px);
}
.hero-copy .hero-ghost:hover {
  border-color: rgba(255,255,255,.75) !important;
  background: rgba(255,255,255,.14) !important;
}
.hero-gains {
  padding: 1.15rem 1rem 1rem;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(8,18,36,.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}
.hero-gains h2 {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}
.hero-gain-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}
.hero-gain-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: start;
  padding: 0.72rem 0.65rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  transition: background .2s ease, border-color .2s ease;
}
.hero-gain-list li:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
}
.hero-gain-ic {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  flex: none;
}
.hero-gain-ic.tone-blue { background: rgba(59,130,246,.22); color: #93c5fd; }
.hero-gain-ic.tone-violet { background: rgba(139,92,246,.22); color: #c4b5fd; }
.hero-gain-ic.tone-gold { background: rgba(245,158,11,.2); color: #fcd34d; }
.hero-gain-ic.tone-green { background: rgba(16,185,129,.2); color: #6ee7b7; }
.hero-gain-list strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: #f3f6fa;
  line-height: 1.25;
  margin-bottom: 0.15rem;
}
.hero-gain-list p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.4;
  color: #9fb0c3;
}
.hero-gain-arr {
  color: #6b849c;
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 0.15rem;
}
.hero-trust {
  list-style: none;
  display: flex !important;
  flex-wrap: wrap;
  margin: 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(255,255,255,.12);
  gap: 0;
}
.hero-trust li {
  flex: 1 1 0;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  color: #c8d6e3;
  font-size: 0.8rem;
  font-weight: 600;
  border-right: 1px solid rgba(255,255,255,.1);
  background: transparent;
  border-radius: 0;
}
.hero-trust li:last-child { border-right: 0; }
.hero-trust-ic {
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(85,216,255,.12);
  color: #6fe8ff;
  font-size: 0.72rem;
  flex: none;
}
@media (max-width: 1040px) {
  .hero-main {
    grid-template-columns: 1fr !important;
    align-items: end !important;
  }
  .hero-gains { max-width: 520px; }
  .hero-media img { object-position: 52% center !important; }
  .hero-media:after {
    background:
      linear-gradient(180deg, rgba(2,8,21,.15) 0%, rgba(2,8,21,.55) 45%, rgba(2,8,21,.92) 100%) !important;
  }
}
@media (max-width: 700px) {
  .hero { min-height: auto !important; }
  .hero-shell { min-height: 780px !important; padding-bottom: 1rem !important; }
  .hero-main { padding-top: 10rem !important; }
  .hero-copy h1 { font-size: clamp(2rem, 9vw, 2.85rem) !important; max-width: 13ch !important; }
  .hero-gains { padding: 0.95rem 0.85rem; }
  .hero-gain-list li { padding: 0.6rem 0.55rem; }
  .hero-trust { flex-direction: column; border-top: 0; padding-top: 0.5rem; gap: 0.35rem; }
  .hero-trust li {
    border-right: 0 !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 12px !important;
    justify-content: flex-start !important;
    padding: 0.6rem 0.75rem !important;
  }
}

/* v6 — subalansuotas aukštis, kairė arčiau krašto, telpa su dock */
.hero {
  min-height: min(830px, calc(100svh - var(--nav-h) - 68px)) !important;
  max-height: calc(100svh - var(--nav-h) - 68px) !important;
}
.hero-media {
  inset: 0 0 -1.75rem 0 !important;
  overflow: visible !important;
}
.hero-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: 50% 0% !important;
  transform: none !important;
  animation: none !important;
}
.hero-shell {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  min-height: min(830px, calc(100svh - var(--nav-h) - 68px)) !important;
  padding: clamp(1.6rem, 3.8vh, 2.5rem) clamp(1.25rem, 2.5vw, 2rem) clamp(1.05rem, 2.6vh, 1.45rem) clamp(1.25rem, 2.5vw, 2rem) !important;
}
.hero-main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 460px) minmax(100px, 1fr) minmax(250px, 315px) !important;
  gap: clamp(0.75rem, 1.5vw, 1.25rem) !important;
  padding-top: clamp(0.35rem, 1.5vh, 0.85rem) !important;
  align-items: center !important;
  flex: 1 !important;
}
.hero-copy {
  grid-column: 1 !important;
  justify-self: start !important;
  align-self: center !important;
  max-width: 460px !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 3.4vw, 3.55rem) !important;
  margin-bottom: 0.75rem !important;
}
.hero-copy .hero-lead { margin-bottom: 0.55rem !important; }
.hero-copy .hero-text { margin-bottom: 1rem !important; font-size: 0.94rem !important; }
.hero-gains {
  grid-column: 3 !important;
  justify-self: end !important;
  align-self: end !important;
  width: min(100%, 315px) !important;
  max-width: 315px !important;
  margin: 0 0 clamp(1.75rem, 5vh, 3.25rem) 0 !important;
  padding: 0.95rem 0.85rem 0.85rem !important;
}
.hero-gain-list { gap: 0.42rem !important; }
.hero-gain-list li { padding: 0.58rem 0.55rem !important; }
.hero-trust {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-top: 0.85rem !important;
}
.hero-trust li {
  padding: 0.5rem 0.65rem !important;
  font-size: 0.76rem !important;
}
.hero-media:after {
  background:
    linear-gradient(90deg, rgba(2,8,21,.94) 0%, rgba(2,8,21,.78) 18%, rgba(2,8,21,.22) 38%, rgba(2,8,21,.08) 52%, rgba(2,8,21,.18) 68%, rgba(2,8,21,.72) 84%, rgba(2,8,21,.92) 100%),
    linear-gradient(180deg, rgba(2,8,21,.02) 0%, rgba(2,8,21,.06) 82%, rgba(2,8,21,.18) 100%) !important;
}
@media (min-width: 1280px) {
  .hero-main {
    grid-template-columns: minmax(0, 480px) minmax(140px, 1.2fr) minmax(260px, 330px) !important;
  }
  .hero-copy { max-width: 480px !important; }
  .hero-gains { max-width: 330px !important; width: min(100%, 330px) !important; }
}
@media (max-width: 1040px) {
  .hero-main {
    grid-template-columns: 1fr !important;
    align-items: end !important;
    padding-top: 0 !important;
  }
  .hero-copy {
    grid-column: 1 !important;
    align-self: auto !important;
    max-width: 520px !important;
  }
  .hero-gains {
    grid-column: 1 !important;
    justify-self: start !important;
    align-self: auto !important;
    margin: 0 !important;
    max-width: 480px !important;
    width: 100% !important;
  }
}
@media (max-width: 700px) {
  .hero { min-height: auto !important; max-height: none !important; }
  .hero-shell { min-height: 740px !important; padding-left: 0.65rem !important; }
  .hero-main { padding-top: 8.5rem !important; }
}

.ai-entry-gate{padding:clamp(4rem,8vw,7rem) 0!important;}
.ai-entry-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(2rem,5vw,5rem);align-items:start;}
.ai-entry-copy h2{font-size:clamp(2.2rem,4.2vw,3.7rem);max-width:13ch;margin-bottom:1rem;}
.ai-entry-copy>p{color:var(--muted);font-size:1.04rem;line-height:1.7;max-width:58ch;}
.ai-user-paths{display:grid;gap:1rem;margin-top:2rem;}
.ai-path-card{display:block;padding:1.25rem 1.35rem;border-radius:20px;background:#fff;border:1px solid rgba(31,111,235,.14);box-shadow:0 14px 38px rgba(20,60,100,.07);}
.ai-path-card strong{display:block;color:#102a43;font-family:"Fraunces",serif;font-size:1.2rem;margin-bottom:.3rem;}
.ai-path-card span{color:#52657a;line-height:1.5;}
.ai-presentation-card{padding:clamp(1.5rem,3vw,2.25rem);border-radius:28px;background:#071426;color:#fff;box-shadow:0 24px 70px rgba(0,0,0,.16);}
.ai-presentation-card .kicker{color:#5eead4;}
.ai-presentation-card h3{font-size:clamp(1.7rem,3vw,2.35rem);margin-bottom:.6rem;}
.ai-presentation-card>p{color:#c5d5e6;line-height:1.55;margin-bottom:1.4rem;}
.ai-presentation-form{display:grid;gap:1rem;}
.ai-presentation-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
.ai-presentation-form label{display:grid;gap:.42rem;color:#dbe8f2;font-size:.88rem;font-weight:650;}
.ai-presentation-form input,.ai-presentation-form select,.ai-presentation-form textarea{width:100%;border:1px solid rgba(148,197,228,.22);background:rgba(255,255,255,.07);color:#fff;border-radius:12px;padding:.8rem .9rem;font:inherit;outline:none;}
.ai-presentation-form select option{color:#102a43;background:#fff;}
.ai-presentation-form input:focus,.ai-presentation-form select:focus,.ai-presentation-form textarea:focus{border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.12);}
.ai-presentation-form textarea{resize:vertical;min-height:110px;}
.ai-presentation-form .consent{display:flex;grid-template-columns:auto 1fr;align-items:flex-start;gap:.6rem;font-weight:500;color:#b9cad8;}
.ai-presentation-form .consent input{width:auto;margin-top:.2rem;}
.ai-presentation-form .btn{justify-self:start;border:0;cursor:pointer;}
.hp-field{position:absolute!important;left:-9999px!important;opacity:0!important;}
.form-status{min-height:1.4em;margin:0;color:#5eead4;font-weight:650;}
@media(max-width:900px){.ai-entry-grid{grid-template-columns:1fr}.ai-entry-copy h2{max-width:18ch}}
@media(max-width:620px){.ai-presentation-form .form-row{grid-template-columns:1fr}.ai-presentation-card{border-radius:22px}}

.ai-lab-footer-hero{
  position:relative;
  min-height:clamp(560px,64vw,760px);
  display:flex;
  align-items:center;
  overflow:hidden;
  isolation:isolate;
  background:#041225!important;
  color:#fff;
}
.ai-lab-footer-media{position:absolute;inset:0;z-index:-2;}
.ai-lab-footer-media img{width:100%;height:100%;object-fit:cover;object-position:70% center;display:block;}
.ai-lab-footer-hero:after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(90deg,rgba(2,11,25,.95) 0%,rgba(2,11,25,.84) 34%,rgba(2,11,25,.38) 60%,rgba(2,11,25,.18) 100%),linear-gradient(180deg,rgba(2,11,25,.08),rgba(2,11,25,.58));
}
.ai-lab-footer-inner{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.72fr);gap:clamp(2rem,6vw,6rem);align-items:end;padding-block:clamp(4rem,9vw,7rem);}
.ai-lab-footer-copy{max-width:650px;}
.ai-lab-footer-copy .kicker{color:#64e5ff!important;}
.ai-lab-footer-copy h2{color:#fff!important;font-size:clamp(2.8rem,5vw,5rem);line-height:.98;max-width:11ch;margin-bottom:1.25rem;}
.ai-lab-footer-copy>p{color:#c7d8e8!important;font-size:1.05rem;line-height:1.7;max-width:54ch;}
.ai-lab-footer-copy .actions{display:flex;gap:.9rem;flex-wrap:wrap;margin-top:1.6rem;}
.ai-lab-footer-copy .btn-ghost{color:#fff;border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.04);}
.ai-lab-footer-copy .btn-ghost:hover{color:#fff;border-color:#5eead4;background:rgba(94,234,212,.08);}
.ai-lab-footer-aside{padding:1.5rem 1.6rem;border-radius:24px;border:1px solid rgba(111,232,255,.24);background:rgba(3,18,39,.68);backdrop-filter:blur(14px);box-shadow:0 22px 70px rgba(0,0,0,.28);}
.ai-lab-footer-label{display:block;color:#5eead4;font-size:.72rem;font-weight:800;letter-spacing:.12em;margin-bottom:.7rem;}
.ai-lab-footer-aside strong{display:block;color:#fff;font-size:1.28rem;line-height:1.35;margin-bottom:.65rem;}
.ai-lab-footer-aside p{color:#b8cada!important;line-height:1.6;margin:0;}
.site-footer-premium{background:#020914!important;color:#d8e6f0!important;border-top:1px solid rgba(111,232,255,.12)!important;padding:0!important;}
.site-footer-grid{display:grid;grid-template-columns:1.25fr 1fr .7fr;gap:2rem;padding:2.3rem 0 1.8rem;align-items:start;}
.site-footer-brand strong{display:block;color:#fff;font-size:1rem;letter-spacing:.08em;}
.site-footer-brand em{font-style:normal;color:#3b82f6;}
.site-footer-brand span{color:#2dd4bf;font-size:.78rem;}
.site-footer-brand p{color:#7890a4;margin-top:.55rem;max-width:38ch;line-height:1.5;font-size:.9rem;}
.site-footer-links,.site-footer-actions{display:grid;gap:.55rem;}
.site-footer-links a,.site-footer-actions a{color:#a9bdcc;font-size:.9rem;}
.site-footer-links a:hover,.site-footer-actions a:hover{color:#5eead4;}
.site-footer-actions .footer-link-button{appearance:none;border:0;padding:0;background:none;color:#a9bdcc;font:inherit;font-size:.9rem;text-align:left;cursor:pointer;}
.site-footer-actions .footer-link-button:hover{color:#5eead4;}
.site-footer-actions .footer-link-button:focus-visible{outline:2px solid #5eead4;outline-offset:4px;border-radius:2px;}
.site-footer-bottom{display:flex;justify-content:space-between;gap:1rem;padding:1rem 0 1.25rem;border-top:1px solid rgba(255,255,255,.08);color:#6f8598;font-size:.82rem;}
@media(max-width:900px){
  .ai-lab-footer-inner{grid-template-columns:1fr;align-items:start;}
  .ai-lab-footer-media img{object-position:72% center;}
  .ai-lab-footer-hero:after{background:linear-gradient(180deg,rgba(2,11,25,.55),rgba(2,11,25,.92) 72%);}
  .site-footer-grid{grid-template-columns:1fr 1fr;}
  .site-footer-brand{grid-column:1/-1;}
}
@media(max-width:600px){
  .ai-lab-footer-hero{min-height:auto;}
  .ai-lab-footer-inner{padding-block:4rem;}
  .ai-lab-footer-copy h2{font-size:clamp(2.4rem,12vw,3.4rem);}
  .site-footer-grid{grid-template-columns:1fr;}
  .site-footer-brand{grid-column:auto;}
  .site-footer-bottom{flex-direction:column;}
}

.national-evidence{background:#071426;color:#fff;padding:clamp(4.5rem,8vw,7rem) 0;}
.national-evidence .section-head h2{color:#fff;max-width:18ch;}
.national-evidence .section-head p{color:#b9cad8;max-width:66ch;line-height:1.65;}
.national-evidence .kicker{color:#5eead4;}
.evidence-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:2.3rem;}
.evidence-stat-grid article{min-height:290px;padding:1.5rem;border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.035));border:1px solid rgba(111,232,255,.16);box-shadow:0 20px 60px rgba(0,0,0,.15);}
.evidence-year{display:block;color:#67e8f9;font-size:.73rem;font-weight:800;letter-spacing:.1em;margin-bottom:1.3rem;text-transform:uppercase;}
.evidence-stat-grid strong{display:block;color:#fff;font-size:clamp(2.5rem,4.5vw,4.2rem);line-height:.9;letter-spacing:-.05em;margin-bottom:.8rem;}
.evidence-stat-grid h3{font-family:inherit;color:#eaf6ff;font-size:1.1rem;line-height:1.3;margin-bottom:.7rem;}
.evidence-stat-grid p{color:#9fb5c8;line-height:1.55;font-size:.92rem;}
.evidence-source-row{display:flex;justify-content:space-between;gap:2rem;margin-top:1.5rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.1);color:#7790a5;font-size:.78rem;line-height:1.45;}
.evidence-boundary{color:#93c5fd;text-align:right;max-width:45ch;}
.national-direction{padding:clamp(4.5rem,8vw,7rem) 0!important;}
.national-direction .section-head{max-width:860px;}
.direction-grid{display:grid;grid-template-columns:1.2fr repeat(3,1fr);gap:1rem;margin-top:2rem;}
.direction-grid article{padding:1.45rem;border-radius:24px;background:#fff;border:1px solid rgba(31,111,235,.13);box-shadow:0 18px 45px rgba(20,60,100,.07);}
.direction-grid article span{display:block;color:#0f766e;font-size:.72rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;margin-bottom:1rem;}
.direction-grid article strong{display:block;color:#0f2430;font-size:clamp(2.3rem,4vw,3.7rem);line-height:.95;letter-spacing:-.05em;margin-bottom:.75rem;}
.direction-grid article h3{font-family:inherit;font-size:1.05rem;color:#17324a;margin-bottom:.55rem;}
.direction-grid article p{font-size:.9rem;color:#617589;line-height:1.55;}
.direction-grid .direction-primary{background:linear-gradient(145deg,#eaf8fb,#fff);border-color:rgba(13,148,136,.25);}
.direction-policy{display:grid;grid-template-columns:.9fr 1.1fr;gap:2rem;margin-top:1.4rem;padding:1.5rem 1.7rem;border-radius:24px;background:linear-gradient(135deg,#071426,#113252);color:#fff;align-items:center;}
.direction-label{display:block;color:#5eead4;font-size:.7rem;font-weight:800;letter-spacing:.1em;margin-bottom:.55rem;}
.direction-policy h3{font-family:inherit;color:#fff;font-size:1.25rem;line-height:1.35;}
.direction-policy p{color:#bfd0de;line-height:1.6;margin:0;}
.national-direction .evidence-source-row{color:#71869a;border-color:rgba(15,36,48,.1);}
.national-direction .evidence-boundary{color:#0b65c2;}
@media(max-width:1050px){.evidence-stat-grid,.direction-grid{grid-template-columns:repeat(2,1fr)}.direction-policy{grid-template-columns:1fr}}
@media(max-width:620px){.evidence-stat-grid,.direction-grid{grid-template-columns:1fr}.evidence-stat-grid article{min-height:auto}.evidence-source-row{flex-direction:column}.evidence-boundary{text-align:left}.direction-policy{padding:1.3rem}}

.modernization-chain{padding:clamp(4.5rem,8vw,7rem) 0;background:linear-gradient(180deg,#f7fbfd 0%,#eef7f7 100%);border-block:1px solid rgba(15,118,110,.1);}
.modernization-head{max-width:900px;}
.modernization-head h2{max-width:19ch;}
.modernization-head p{max-width:72ch;line-height:1.68;}
.modernization-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:2.1rem;}
.modernization-grid article{min-height:250px;padding:1.45rem;border-radius:24px;background:#fff;border:1px solid rgba(15,118,110,.12);box-shadow:0 18px 45px rgba(20,60,100,.06);}
.modernization-grid article span{display:block;color:#0f766e;font-size:.73rem;font-weight:800;letter-spacing:.1em;margin-bottom:1.2rem;}
.modernization-grid h3{font-family:inherit;font-size:1.15rem;color:#102a43;margin-bottom:.65rem;}
.modernization-grid p{color:#60758a;line-height:1.58;font-size:.93rem;}
.modernization-grid .modernization-core{background:linear-gradient(145deg,#071426,#123456);border-color:rgba(94,234,212,.25);}
.modernization-grid .modernization-core span{color:#5eead4;}
.modernization-grid .modernization-core h3{color:#fff;}
.modernization-grid .modernization-core p{color:#bdd0df;}
.modernization-formula{margin-top:1.2rem;padding:1.45rem 1.6rem;border-radius:24px;background:linear-gradient(135deg,#e8f6ff,#edfdf8);border:1px solid rgba(31,111,235,.14);}
.modernization-formula strong{display:block;font-size:1.1rem;color:#0f2430;margin-bottom:.4rem;}
.modernization-formula p{margin:0;color:#526b80;line-height:1.6;}
.modernization-sources{color:#70879b!important;border-color:rgba(15,36,48,.1)!important;}
@media(max-width:960px){.modernization-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.modernization-grid{grid-template-columns:1fr}.modernization-grid article{min-height:auto}}

.thematic-labs{padding:clamp(4.5rem,8vw,7rem) 0!important;background:linear-gradient(180deg,#f7fbff 0%,#eef7fb 100%);}
.thematic-labs-head{max-width:900px;}
.thematic-labs-head h2{max-width:18ch;}
.thematic-labs-head p{max-width:72ch;line-height:1.68;}
.thematic-labs-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem;margin-top:2rem;}
.thematic-labs-grid article{position:relative;min-height:300px;padding:1.3rem;border-radius:24px;background:#fff;border:1px solid rgba(31,111,235,.13);box-shadow:0 18px 46px rgba(20,60,100,.07);overflow:hidden;}
.thematic-labs-grid article:after{content:"";position:absolute;left:1.3rem;right:1.3rem;bottom:0;height:3px;border-radius:3px;background:linear-gradient(90deg,#14b8a6,#3b82f6,#8b5cf6);}
.lab-no{display:block;color:#0ea5e9;font-size:.72rem;font-weight:800;letter-spacing:.1em;margin-bottom:1rem;}
.lab-icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;margin-bottom:1rem;background:linear-gradient(145deg,#e8f7ff,#f4ecff);border:1px solid rgba(59,130,246,.15);color:#2563eb;font-size:1.55rem;font-weight:800;}
.thematic-labs-grid h3{font-family:"Fraunces",serif;font-size:1.35rem;color:#102a43;margin-bottom:.7rem;line-height:1.15;}
.thematic-labs-grid p{color:#60758a;font-size:.92rem;line-height:1.58;}
.thematic-labs-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:1rem;align-items:center;margin-top:1.25rem;padding:1.45rem;border-radius:26px;background:linear-gradient(135deg,#071426,#0c2c4a);color:#fff;}
.thematic-labs-flow>div:not(.thematic-arrow){padding:1rem;}
.thematic-labs-flow span{display:block;color:#5eead4;font-size:.7rem;font-weight:800;letter-spacing:.1em;margin-bottom:.45rem;}
.thematic-labs-flow strong{display:block;font-size:1.05rem;margin-bottom:.4rem;}
.thematic-labs-flow p{color:#b9cad8;font-size:.88rem;line-height:1.5;margin:0;}
.thematic-arrow{color:#67e8f9;font-size:1.6rem;font-weight:800;}
.thematic-labs-note{margin-top:1rem;padding:1.35rem 1.5rem;border-radius:22px;background:linear-gradient(135deg,#e8f6ff,#edfdf8);border:1px solid rgba(31,111,235,.14);}
.thematic-labs-note strong{display:block;color:#102a43;font-size:1.1rem;margin-bottom:.35rem;}
.thematic-labs-note p{margin:0;color:#536b7f;line-height:1.6;}
@media(max-width:1100px){.thematic-labs-grid{grid-template-columns:repeat(3,1fr)}.thematic-labs-flow{grid-template-columns:1fr}.thematic-arrow{transform:rotate(90deg);text-align:center}}
@media(max-width:760px){.thematic-labs-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.thematic-labs-grid{grid-template-columns:1fr}.thematic-labs-grid article{min-height:auto}}

.science-packages{padding:clamp(4.8rem,8vw,7rem) 0;background:#fff;}
.science-packages-head{max-width:880px;}
.science-packages-head h2{max-width:20ch;}
.science-packages-head p{max-width:68ch;line-height:1.65;}
#paketai .packages{align-items:stretch;}
#paketai .pkg{display:flex;flex-direction:column;min-height:390px;overflow:hidden;}
#paketai .pkg:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#14b8a6,#3b82f6,#8b5cf6);opacity:.72;}
#paketai .pkg.featured{background:linear-gradient(160deg,#f7ffff,#f3f7ff);}
#paketai .pkg .for{min-height:2.2em;line-height:1.35;}
#paketai .pkg h3{min-height:2.5em;}
#paketai .pkg ul{flex:1;}
#paketai .pkg .price{margin-top:auto;padding-top:1rem;border-top:1px solid rgba(15,36,48,.09);color:#0b65c2;font-weight:800;}
.science-packages-note{margin-top:1.4rem;padding:1.6rem 1.7rem;border-radius:26px;background:linear-gradient(135deg,#071426,#113252);color:#fff;display:grid;grid-template-columns:1fr auto;gap:1.2rem 2rem;align-items:center;}
.science-packages-note strong{font-size:1.12rem;}
.science-packages-note p{margin:.35rem 0 0;color:#bfd0de;line-height:1.55;max-width:65ch;}
.science-packages-actions{grid-column:2;grid-row:1/3;display:flex;gap:.7rem;flex-wrap:wrap;justify-content:flex-end;}
.science-packages-actions .btn-ghost{color:#fff;border-color:rgba(255,255,255,.28);}
@media(max-width:900px){.science-packages-note{grid-template-columns:1fr}.science-packages-actions{grid-column:auto;grid-row:auto;justify-content:flex-start}}

.human-authority{padding:clamp(4.8rem,8vw,7rem) 0!important;background:linear-gradient(180deg,#f7fbfd,#eef7f8)!important;border-block:1px solid rgba(15,118,110,.1);}
.human-authority-head{max-width:900px;}
.human-authority-head h2{max-width:18ch;}
.human-authority-head p{max-width:74ch;line-height:1.68;}
.human-authority-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:2rem;}
.human-authority-grid article{padding:1.4rem;border-radius:24px;background:#fff;border:1px solid rgba(31,111,235,.12);box-shadow:0 18px 45px rgba(20,60,100,.06);}
.human-authority-grid article span{display:block;color:#0f766e;font-size:.72rem;font-weight:800;letter-spacing:.1em;margin-bottom:1rem;}
.human-authority-grid h3{font-family:inherit;font-size:1.08rem;color:#102a43;margin-bottom:.6rem;}
.human-authority-grid p{color:#60758a;font-size:.91rem;line-height:1.58;}
.human-authority-core{display:grid;grid-template-columns:1.05fr .95fr;gap:2rem;align-items:center;margin-top:1.3rem;padding:1.55rem 1.7rem;border-radius:26px;background:linear-gradient(135deg,#071426,#103151);color:#fff;}
.human-authority-label{display:block;color:#5eead4;font-size:.7rem;font-weight:800;letter-spacing:.1em;margin-bottom:.55rem;}
.human-authority-core strong{display:block;font-size:1.18rem;line-height:1.45;}
.human-authority-core p{margin:0;color:#bfd0de;line-height:1.6;}
.human-authority-boundary{margin-top:1rem;padding:1.35rem 1.5rem;border-radius:22px;background:linear-gradient(135deg,#fff4ec,#fff);border:1px solid rgba(234,88,12,.16);}
.human-authority-boundary strong{display:block;color:#7c2d12;font-size:1.02rem;margin-bottom:.35rem;}
.human-authority-boundary p{margin:0;color:#7a5b4a;line-height:1.55;}
@media(max-width:1000px){.human-authority-grid{grid-template-columns:repeat(2,1fr)}.human-authority-core{grid-template-columns:1fr}}
@media(max-width:600px){.human-authority-grid{grid-template-columns:1fr}}

.evidence-source-row a{color:inherit;text-decoration:underline;text-decoration-color:rgba(59,130,246,.35);text-underline-offset:3px}.evidence-source-row a:hover{color:#38bdf8}.national-direction .evidence-source-row a:hover{color:#0b65c2}
.consent a{color:#67e8f9;text-decoration:underline;text-underline-offset:2px}
.analytics-consent{position:fixed;left:18px;right:18px;bottom:18px;z-index:9999;max-width:760px;margin:auto;padding:1rem 1.1rem;border-radius:18px;background:rgba(2,9,20,.97);color:#dbe8f2;border:1px solid rgba(94,234,212,.22);box-shadow:0 24px 80px rgba(0,0,0,.35);display:none;grid-template-columns:1fr auto;gap:1rem;align-items:center}.analytics-consent.is-open{display:grid}.analytics-consent p{margin:0;font-size:.86rem;line-height:1.5;color:#b9cad8}.analytics-consent a{color:#67e8f9;text-decoration:underline}.analytics-consent-actions{display:flex;gap:.55rem;flex-wrap:wrap}.analytics-consent button{border:1px solid rgba(255,255,255,.22);border-radius:10px;padding:.62rem .82rem;font:inherit;font-weight:700;cursor:pointer;background:transparent;color:#fff}.analytics-consent .allow{background:#1f6feb;border-color:#1f6feb}@media(max-width:700px){.analytics-consent{grid-template-columns:1fr}.analytics-consent-actions{justify-content:flex-start}}

/* CSP-safe landing modifiers — extracted from former inline style attributes. */
.callout-spaced{margin-top:1.5rem;}
.section-head-compact{margin-bottom:0;}
html[data-edu-pending="1"] body{visibility:hidden;}
