/* Straipsniai: the article list and every article share this sheet.
   Same tokens, Archivo voice and cobalt head slab as index.html and skaiciuokle.html.
   Light theme only. No script: the pages are complete as plain HTML. */
:root{
  --ground:#F4F5F8;
  --paper:#FCFCFD;
  --mist:#E8EAF0;
  --line:#D8DBE4;
  --steel:#B9BECB;
  --ink:#121419;
  --ink-lift:#1C1F27;
  --ink-2:#454A56;
  --ink-3:#5F6574;
  --on-ink:#F4F5F8;
  --on-ink-2:#B5BAC8;
  --cobalt:#3B6ACF;
  --cobalt-ink:#1D449B;
  --lime:#B5EF5E;
  --lime-deep:#A2E145;
  --on-cobalt-2:#D3DDF6;
  --r-panel:28px;
  --r-card:22px;
  --ease-out:cubic-bezier(.16,1,.3,1);
  --wrap:1280px;
  --gutter:clamp(16px,4vw,40px);
  --g:clamp(20px,2.4vw,32px);
  --focus:var(--cobalt-ink);
  --font:"Archivo",ui-sans-serif,system-ui,sans-serif;
  color-scheme:light;
  accent-color:var(--cobalt);
  scrollbar-color:var(--steel) var(--ground);
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{
  margin:0;
  background:var(--ground);
  color:var(--ink);
  font-family:var(--font);
  font-stretch:100%;
  font-size:clamp(1rem,.96rem + .18vw,1.0625rem);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
::selection{background:var(--lime);color:var(--ink)}
img{display:block;max-width:100%}
a{color:inherit;text-underline-offset:.22em;text-decoration-thickness:1px}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:6px}
h1,h2,h3,p,ul,ol{margin:0}
ul,ol{padding:0;list-style:none}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:1.25em;height:1.25em;flex:none;fill:currentColor}
.wrap{width:min(100% - 2*var(--gutter),var(--wrap));margin-inline:auto}
.skip{
  position:absolute;z-index:60;top:-80px;left:16px;
  padding:10px 16px;border-radius:999px;
  background:var(--ink);color:var(--on-ink);font-weight:620;text-decoration:none;
}
.skip:focus{top:16px}

/* Buttons: the landing page's lime pill with an ink disc */
.btn{
  display:inline-flex;align-items:center;justify-content:space-between;gap:14px;
  padding:7px 7px 7px 22px;
  border-radius:999px;border:0;
  background:var(--lime);color:var(--ink);
  font:inherit;font-weight:620;font-stretch:104%;font-size:1rem;line-height:1.2;
  text-decoration:none;white-space:nowrap;cursor:pointer;
  transition:background-color .25s var(--ease-out);
}
.btn:hover{background:var(--lime-deep)}
.btn .disc{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;flex:none;background:var(--ink);color:var(--lime)}
.btn .disc .icon{width:18px;height:18px;transition:transform .45s var(--ease-out)}
.btn:hover .disc .icon{transform:rotate(45deg)}
.btn--sm{padding:5px 5px 5px 16px;gap:10px;font-size:.92rem}
.btn--sm .disc{width:30px;height:30px}
.btn--sm .disc .icon{width:15px;height:15px}
.btn-line{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:52px;padding:10px 24px;border-radius:999px;
  color:var(--on-ink);box-shadow:inset 0 0 0 1px rgb(255 255 255 / .45);
  font-weight:620;font-stretch:104%;line-height:1.2;text-decoration:none;white-space:nowrap;
  transition:background-color .25s var(--ease-out),box-shadow .25s var(--ease-out);
}
.btn-line:hover{background:rgb(255 255 255 / .12);box-shadow:inset 0 0 0 1px rgb(255 255 255 / .7)}

/* Head: the cobalt slab of the other two pages */
.top{
  --focus:var(--lime);
  margin:12px;
  border-radius:var(--r-panel);
  background:linear-gradient(100deg,#3B6ACF 0%,#2E5CC1 100%);
  color:var(--on-ink);
  padding-bottom:clamp(30px,4.4vw,64px);
}
.bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px clamp(18px,2.6vw,32px)}
.brand{
  font-stretch:125%;font-weight:760;letter-spacing:.09em;text-transform:uppercase;
  font-size:.86rem;line-height:1.2;text-decoration:none;white-space:nowrap;
}
.bar-end{display:flex;align-items:center;gap:12px}
.links{
  display:flex;gap:2px;padding:4px;border-radius:999px;
  background:rgb(255 255 255 / .13);
  box-shadow:inset 0 0 0 1px rgb(255 255 255 / .2);
}
.links a{
  padding:8px 16px;border-radius:999px;
  font-size:.92rem;line-height:1.2;text-decoration:none;white-space:nowrap;
  transition:background-color .25s var(--ease-out);
}
.links a:hover{background:rgb(255 255 255 / .16)}
.links a[aria-current="page"]{background:var(--paper);color:var(--ink)}
.top-in{padding:clamp(26px,4.4vw,72px) clamp(22px,4.2vw,64px) 0}
.top h1{
  font-stretch:118%;font-weight:340;letter-spacing:-.035em;line-height:1.04;
  text-wrap:balance;
}
.top h1 em{font-style:italic;font-weight:700;letter-spacing:-.03em}
.lede{
  margin-top:clamp(18px,1.8vw,26px);
  font-size:clamp(1.05rem,.94rem + .32vw,1.25rem);
  line-height:1.5;
  text-wrap:pretty;
}

/* List page */
.list-top h1{max-width:15ch;font-size:clamp(2.1rem,1.1rem + 2.7vw,3.75rem)}
.list-top .lede{max-width:46ch}
.posts{margin-top:clamp(28px,4vw,56px);display:grid;gap:var(--g)}
/* Featured card: the text on the left, the e-mail robot's still on its dark tile on the right */
.post{
  position:relative;
  display:grid;grid-template-columns:minmax(0,1fr);gap:12px;
  padding:clamp(24px,3vw,40px);
  border-radius:var(--r-card);
  background:var(--paper);box-shadow:inset 0 0 0 1px var(--line);
  transition:box-shadow .3s var(--ease-out);
}
.post:hover{box-shadow:inset 0 0 0 1px var(--steel),0 24px 48px -32px rgb(18 20 25 / .35)}
.post-pic{order:-1;width:100%;height:auto;aspect-ratio:4 / 3;object-fit:contain;border-radius:16px;background:#1C2028;margin-bottom:8px}
.post-meta{display:flex;flex-wrap:wrap;gap:4px 14px;color:var(--ink-3);font-size:.92rem;font-variant-numeric:tabular-nums;line-height:1.35}
.post h2{
  font-size:clamp(1.8rem,1.2rem + 1.6vw,2.6rem);
  font-stretch:110%;font-weight:440;letter-spacing:-.02em;line-height:1.14;
  text-wrap:balance;max-width:28ch;
}
.post h2 a{text-decoration:none}
/* the whole row opens the article, the title stays the only link */
.post h2 a::after{content:"";position:absolute;inset:0}
.post h2 a:focus-visible{outline:none}
.post:has(a:focus-visible){outline:3px solid var(--focus);outline-offset:-3px;border-radius:var(--r-card)}
.post:hover h2 a{text-decoration:underline;text-decoration-thickness:1px}
.post-body{display:grid;gap:12px;justify-items:start}
.post p{color:var(--ink-2);max-width:54ch;text-wrap:pretty}
.post-go{
  display:inline-flex;align-items:center;gap:10px;margin-top:6px;
  font-weight:620;font-stretch:104%;
}
.post-go .disc{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:var(--lime)}
.post-go .icon{width:16px;height:16px;transition:transform .45s var(--ease-out)}
.post:hover .post-go .icon{transform:translateX(3px)}
@media (min-width:860px){
  .post{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:1fr auto auto 1fr;column-gap:clamp(32px,4vw,64px)}
  .post-meta{grid-column:1;grid-row:2}
  .post-body{grid-column:1;grid-row:3}
  .post-pic{order:0;grid-column:2;grid-row:1 / -1;align-self:center;margin:0}
}
.list-main{padding-bottom:clamp(40px,6vw,88px)}

/* Article head */
.art-top h1{max-width:21ch;font-size:clamp(2rem,1.2rem + 2.5vw,3.5rem)}
.art-top .lede{max-width:48ch}
.byline{
  display:flex;align-items:center;gap:14px;
  margin-top:clamp(26px,3vw,40px);padding-top:clamp(20px,2.4vw,28px);
  border-top:1px solid rgb(255 255 255 / .22);
}
.face{width:52px;height:52px;border-radius:50%;overflow:hidden;flex:none;background:#366ADB;box-shadow:0 0 0 2px rgb(255 255 255 / .4)}
.face img{width:100%;height:100%;object-fit:cover;object-position:50% 0;transform:scale(1.9);transform-origin:50% 14%}
.byline b{display:block;font-weight:620;font-stretch:104%;line-height:1.25}
.byline span{display:block;color:var(--on-ink);font-size:.92rem;line-height:1.4;font-variant-numeric:tabular-nums}
@media (min-width:1024px){
  .art-top .top-in{display:grid;grid-template-columns:minmax(0,8fr) minmax(0,4fr);column-gap:clamp(40px,5vw,96px);align-items:end}
  .byline{margin-top:0;padding:4px 0 6px clamp(24px,3vw,40px);border-top:0;border-left:1px solid rgb(255 255 255 / .22)}
}

/* Article body: one reading column, the contents beside it on a wide screen */
.art{
  display:grid;grid-template-columns:minmax(0,1fr);
  padding-top:clamp(36px,5vw,72px);
}
.prose{
  max-width:60ch;
  font-size:clamp(1.0625rem,1rem + .28vw,1.1875rem);
  line-height:1.65;
}
.prose > * + *{margin-top:1.05em}
.prose p{text-wrap:pretty}
.prose h2{
  margin-top:2.3em;
  font-size:clamp(1.55rem,1.2rem + 1.1vw,2.1rem);
  font-stretch:110%;font-weight:440;letter-spacing:-.02em;line-height:1.15;
  text-wrap:balance;scroll-margin-top:28px;
}
.prose h3{
  margin-top:1.9em;
  font-size:clamp(1.15rem,1.08rem + .3vw,1.3rem);
  font-stretch:106%;font-weight:640;line-height:1.25;
}
.prose h2 + *,.prose h3 + *{margin-top:.6em}
.prose strong{font-weight:650}
.prose a{color:var(--cobalt-ink);text-decoration-color:rgb(29 68 155 / .45)}
.prose a:hover{text-decoration-color:currentColor;text-decoration-thickness:2px}
.prose .steps{counter-reset:st;display:grid;gap:1.1em}
.prose .steps li{counter-increment:st;display:grid;grid-template-columns:2.25rem minmax(0,1fr);column-gap:16px}
.prose .steps li::before{
  content:counter(st);
  width:2.25rem;height:2.25rem;border-radius:50%;
  display:grid;place-items:center;margin-top:-.05em;
  background:var(--mist);color:var(--ink);
  font-size:1rem;font-stretch:118%;font-weight:560;font-variant-numeric:tabular-nums;line-height:1;
}
.prose .keep{display:grid;gap:1em}
.prose .keep li{position:relative;padding-left:1.6rem}
.prose .keep li::before{
  content:"";position:absolute;left:.15rem;top:.62em;
  width:.5rem;height:.5rem;border-radius:50%;background:var(--ink-3);
}
.toc{display:none}
@media (min-width:1100px){
  .art{grid-template-columns:minmax(0,68ch) 220px;justify-content:center;column-gap:clamp(48px,6vw,96px);align-items:start}
  .toc{
    display:block;grid-column:2;grid-row:1;
    position:sticky;top:28px;justify-self:end;
    width:min(100%,17rem);margin-top:6px;padding-left:22px;
    border-left:1px solid var(--line);
  }
  .toc p{color:var(--ink-3);font-size:.88rem;font-weight:620;font-stretch:104%}
  .toc ol{display:grid;gap:2px;margin-top:10px}
  .toc a{
    display:block;padding:6px 0;
    color:var(--ink-2);font-size:.95rem;line-height:1.35;text-decoration:none;
    transition:color .2s var(--ease-out);
  }
  .toc a:hover{color:var(--ink);text-decoration:underline}
  .prose{grid-column:1;grid-row:1}
}

/* The one call to action, at the end */
.cta{
  --focus:var(--lime);
  margin:clamp(56px,7vw,104px) 12px 0;
  border-radius:var(--r-panel);
  background:radial-gradient(120% 95% at 0% 0%,#3D6BD0 0%,#3361C6 46%,#2652B5 100%);
  color:var(--on-ink);
  padding:clamp(40px,6vw,96px) 0;
}
.cta h2{
  max-width:17ch;
  font-size:clamp(2rem,1.1rem + 2.6vw,3.5rem);
  font-stretch:118%;font-weight:340;letter-spacing:-.035em;line-height:1.04;
  text-wrap:balance;
}
.cta h2 em{font-style:italic;font-weight:700;letter-spacing:-.03em}
.cta p{margin-top:clamp(18px,2vw,26px);max-width:52ch;font-size:clamp(1.05rem,.98rem + .25vw,1.2rem);line-height:1.55;text-wrap:pretty}
.cta-acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:clamp(26px,3vw,40px)}
@media (min-width:1024px){
  .cta .wrap{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:clamp(40px,5vw,96px);align-items:end}
  .cta-acts{flex-direction:column;align-items:stretch;margin-top:0;justify-self:end;width:min(100%,22rem)}
}
.back{
  display:inline-flex;align-items:center;gap:10px;
  margin-top:clamp(32px,4vw,48px);
  font-weight:620;font-stretch:104%;text-decoration:none;
}
.back .icon{width:18px;height:18px;transform:scaleX(-1);transition:transform .35s var(--ease-out)}
.back:hover{text-decoration:underline}
.back:hover .icon{transform:scaleX(-1) translateX(3px)}

/* Footer: the same legal line as the landing page */
.foot{padding:clamp(48px,6vw,88px) 0 40px}
.foot p{padding-top:20px;border-top:1px solid var(--line);font-size:.92rem;color:var(--ink-3)}
.foot p a{color:var(--ink-2)}

/* Phone and tablet: links drop to a full row under the brand and the button */
@media (max-width:760px){
  .bar{flex-wrap:wrap;row-gap:14px}
  .bar-end{display:contents}
  .links{order:3;flex-basis:100%}
  .links a{flex:1;text-align:center;padding:8px 12px;font-size:.9rem}
}
@media (max-width:480px){
  .bar{padding:14px 16px}
  .brand{font-size:.78rem;letter-spacing:.07em}
  .bar .btn--sm{padding:8px 16px;min-height:44px}
  .bar .btn--sm .disc{display:none}
  .cta-acts{flex-direction:column;align-items:stretch}
  .post{padding:18px}
}
@media (max-width:380px){
  .bar{column-gap:12px}
}
@media (max-width:359px){
  .bar{column-gap:8px}
  .brand{font-size:.72rem;letter-spacing:.05em}
  .bar .btn--sm{padding:8px 12px;font-size:.84rem}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:0s!important}
}
@media print{
  .top,.cta{background:none;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
  .byline span{color:var(--ink-2)}
  .bar-end,.links,.cta-acts,.toc,.skip,.back{display:none}
}
