:root {
  color-scheme: dark;
  --paper: #201b27;
  --ink: #f4eff7;
  --muted: #c4bbc9;
  --accent: #cdb4e8;
  --line: #514357;
  --panel: #2b2533;
  --page-width: 880px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font: 16px/1.65 var(--font);
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: var(--page-width); padding: 64px 40px 40px; margin: 0 auto; }
a { color: var(--accent); text-underline-offset: 4px; transition: text-decoration-color 160ms; }
a:hover { text-decoration-color: transparent; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
p { margin: 0 0 16px; }
h1, h2, h3, strong { font-weight: 700; }
h1 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 24px; max-width: 630px; text-wrap: balance; }
h2 { font-size: 1.25rem; line-height: 1.4; margin: 0 0 18px; }
h3 { font-size: 1rem; line-height: 1.5; margin: 0 0 10px; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 144px; gap: 48px; align-items: start; margin-bottom: 40px; }
.identity { grid-column: 2; grid-row: 1; }
.introduction { grid-column: 1; grid-row: 1; }
.introduction p:last-child { margin-bottom: 0; }
.portrait { display: block; width: 112px; height: 112px; overflow: hidden; border-radius: 50%; margin-bottom: 16px; filter: grayscale(.3); transition: filter 180ms; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); transform-origin: 50% 12%; }
.portrait:hover { filter: grayscale(0); }
.name { margin: 0; }
.socials { display: flex; gap: 8px; margin: 6px 0; }
.socials a { width: 36px; height: 44px; display: inline-flex; align-items: center; color: var(--muted); }
.socials a:hover { color: var(--accent); }
.socials svg { width: 22px; height: 22px; }
.location { color: var(--muted); margin: 0 0 20px; }
.languages { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.languages a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; }
.languages a[aria-current="page"] { color: var(--ink); font-weight: 700; text-decoration: none; }
section { margin-bottom: 36px; scroll-margin-top: 24px; }
.offer-container { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 0 24px 22px; }
.offer-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border-bottom: 1px solid var(--line); }
.offer-tabs button { cursor: pointer; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font: inherit; text-align: left; padding: 18px 0 14px; margin-bottom: -1px; transition: color 160ms, border-color 160ms; }
.offer-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--accent); font-weight: 700; }
.offer-tabs button:hover { color: var(--ink); }
.offer-tabs button > span { display: block; white-space: nowrap; }
:lang(lt) .offer-tabs .team-unit { display: block; }
.offer-panel { padding: 22px 0 16px; }
.offer-panel p { margin-bottom: 12px; }
[hidden] { display: none !important; }
.contact-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; font-weight: 700; }
.plan-note { color: var(--muted); margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.process { margin: 0; padding-left: 23px; }
.process li { padding-left: 7px; margin-bottom: 10px; }
.process li::marker { color: var(--muted); }
#background p:last-child { margin-bottom: 0; }
.testimonials-note { color: var(--muted); }
.testimonials { display: grid; gap: 18px; }
.testimonial { margin: 0; }
.testimonial + .testimonial { border-top: 1px solid var(--line); padding-top: 18px; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { margin-bottom: 4px; }
.testimonial figcaption { color: var(--muted); }
.testimonial figcaption a { display: inline-flex; align-items: center; min-height: 44px; }
footer { border-top: 1px solid var(--line); padding-top: 24px; }
footer p { margin-bottom: 6px; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 10px; background: var(--paper); }
.skip-link:focus { top: 10px; z-index: 2; }
@media (max-width: 900px) {
  .offer-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; row-gap: 0; }
}
@media (max-width: 700px) {
  main { padding: 32px 24px; }
  .intro { display: flex; flex-direction: column; gap: 28px; }
  .identity { display: flex; align-items: center; gap: 18px; }
  .portrait { width: 76px; height: 76px; margin: 0; flex-shrink: 0; }
  .socials { margin: 0; }
  h1 { font-size: 2rem; }
  .offer-container { padding: 0 18px 18px; }
  .offer-tabs { gap: 10px; }
  .offer-tabs button { font-size: .875rem; }
  .offer-tabs .period { display: block; }
}
@media (max-width: 380px) {
  main { padding: 26px 16px; }
  .offer-container { padding-left: 12px; padding-right: 12px; }
  .offer-tabs { gap: 6px; }
  .offer-tabs button { font-size: .8125rem; }
  .offer-tabs .team-unit { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
