/* AI Mindly svetainė, 2 versija. Visos spalvos keičiamos čia, viršuje. */
@font-face { font-family: Montserrat; src: url("fonts/Montserrat-variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #0C1545;
  --ink: #18233F;
  --blue: #2B5BE6;
  --cream: #F5F1EB;
  --peach: #F6D8C6;
  --lavender: #DCD3F7;
  --lavender-soft: #E9E4FA;
  --sage: #D3E3D2;
  --sky: #CFE0F5;
  --grad: linear-gradient(95deg, #0784B8, #2B5BE6 50%, #8136CF);
  --grad-dark: linear-gradient(95deg, #35E0F5, #58A0FF 50%, #C57BFF);
  --nav: 88px;
  --pad: 112px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font: 450 18px/1.6 Montserrat, sans-serif; color: var(--ink); background: var(--cream); overflow-x: clip; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
h1 { font-size: 64px; font-weight: 750; line-height: 1.08; letter-spacing: -.025em; }
h2 { font-size: 52px; font-weight: 750; line-height: 1.1; letter-spacing: -.022em; }
h3 { font-size: 24px; font-weight: 700; line-height: 1.2; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #58A0FF; outline-offset: 3px; }

.wrap { width: min(1240px, 100% - 64px); margin-inline: auto; position: relative; }
.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .05em; }
.sec { padding-block: var(--pad); scroll-margin-top: 62px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split > * { min-width: 0; }
.intro { font-size: 21px; margin-top: 24px; max-width: 540px; }
.over { font-size: 16px; font-weight: 650; margin-bottom: 18px; }
.name { font-size: 25px; font-weight: 700; line-height: 1.3; margin-top: 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px;
  border: 0; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 650; white-space: nowrap;
  transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); background: #2049C4; }
.btn:active { transform: none; }
.more { display: inline-block; padding-block: 10px 3px; font-weight: 650; border-bottom: 2px solid currentColor; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 34px; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 30; padding: 12px 18px; border-radius: 10px; background: #fff; color: var(--ink); }
.skip:focus { top: 14px; }

/* meniu */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; color: #fff; transition: background .25s; }
.nav.solid { background: var(--navy); }
.nav-in { height: var(--nav); display: flex; align-items: center; gap: 30px; transition: height .25s; }
.nav.solid .nav-in { height: 70px; }
.logo { margin-right: auto; padding-block: 8px; }
.logo img { height: 34px; width: auto; }
.links { display: flex; gap: 8px; font-size: 16px; font-weight: 550; }
.links a:not(.btn) { padding: 8px 16px; border-radius: 99px; }
.links a:not(.btn):hover { background: #ffffff1c; }
.links a[aria-current] { background: #fff; color: var(--navy); }
.links a.links-btn { display: none; }
.nav-btn { min-height: 46px; font-size: 15px; padding: 0 20px; }
.burger { display: none; width: 46px; height: 46px; padding: 12px; border: 0; background: none; color: #fff; }
.burger i { display: block; height: 2px; margin-block: 5px; background: currentColor; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 1. pirmas ekranas */
.hero { --h: clamp(660px, 100svh, 840px); position: relative; height: var(--h); overflow: hidden; background: var(--navy); color: #fff; }
.hero .g, .gidas .g { background-image: var(--grad-dark); }
.hero-photo {
  position: absolute; inset-block: 0; right: max(0px, (100% - 1440px) / 2); width: calc(var(--h) * 1122 / 1402);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%);
}
/* labai plačiame ekrane suliejame ir dešinį kraštą */
@media (min-width: 1500px) {
  .hero-photo {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 86%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 22%, #000 86%, transparent);
  }
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-in { height: 100%; display: flex; align-items: center; padding-top: 36px; }
.hero-copy { max-width: 590px; }
.hero .over { color: #9FDFFF; margin-bottom: 22px; }
.lead { font-size: 21px; margin-top: 26px; max-width: 500px; color: #DCE5FF; }
.trio { position: absolute; z-index: 1; top: calc(var(--h) * .145); right: calc(max(0px, (100% - 1440px) / 2) + var(--h) * .41); display: flex; gap: 14px; }
.trio img { width: calc(var(--h) * .081); align-self: flex-start; animation: float 6s ease-in-out infinite; }
.trio img:nth-child(2) { margin-top: -10px; animation-delay: -2s; }
.trio img:nth-child(3) { animation-delay: -4s; }
.still .trio img { animation-play-state: paused; }
@keyframes float { 50% { transform: translateY(-14px) rotate(3deg); } }
.pause { position: absolute; z-index: 2; left: 18px; bottom: 16px; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #ffffff99; }
.pause span { display: block; width: 10px; height: 13px; margin: auto; border-inline: 3px solid currentColor; }
.still .pause span { border-inline: 0; border-left: 11px solid currentColor; border-block: 7px solid transparent; height: 0; width: 0; }

/* 2. pažįstama situacija */
.situacija { background: #fff; }
.situacija .split { grid-template-columns: 5fr 6fr; }
.chat { background: var(--lavender-soft); border-radius: 34px; padding: 38px; }
.chat ul { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.chat li, .reply p { max-width: 88%; padding: 16px 22px; border-radius: 24px; font-size: 20px; line-height: 1.35; }
.chat li { background: #fff; font-weight: 600; border-bottom-right-radius: 6px; }
.reply { display: flex; align-items: flex-end; gap: 12px; margin-top: 28px; }
.reply img { width: 50px; }
.reply p { background: var(--navy); color: #fff; border-bottom-left-radius: 6px; }

/* 3. temos */
.temos { background: var(--cream); }
.temos h2 { max-width: 720px; margin-bottom: 46px; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 270px; gap: 18px; }
.tile { position: relative; display: flex; align-items: flex-end; overflow: hidden; padding: 30px; border-radius: 30px; }
.tx { position: relative; z-index: 1; max-width: 300px; }
.tx p { font-size: 16px; line-height: 1.45; margin-top: 8px; }
.tile .ic { position: absolute; top: 24px; right: 26px; width: 120px; }
.t1 { grid-column: span 4; grid-row: span 2; align-items: flex-start; background: var(--navy); color: #fff; }
.t1 .doc { position: absolute; left: 50%; top: 178px; width: 78%; transform: translateX(-50%) rotate(3deg); border-radius: 12px; }
.t2 { grid-column: span 8; background: var(--lavender); }
.t2 .ic { width: 168px; top: 48px; right: 56px; }
.t3 { grid-column: span 4; background: var(--sage); }
.t4 { grid-column: span 4; background: var(--sky); }
.t5 { grid-column: span 7; background: #F3E5DB; }
.t5 .tx { max-width: 270px; }
.t5 .bg {
  position: absolute; right: 0; top: 0; width: 50%; height: 100%; object-fit: cover; object-position: 72% 45%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%);
}
.t6 { grid-column: span 5; background: var(--blue); color: #fff; }
.t6 .ic { width: 146px; }

/* 4. Soleja */
.soleja { background: var(--peach); }
.soleja h2 { font-size: 72px; }
.role { margin-top: 14px; font-size: 25px; font-weight: 700; line-height: 1.3; }
.honest { max-width: 440px; margin-top: 24px; font-size: 21px; font-weight: 700; line-height: 1.4; }
.player { position: relative; justify-self: center; width: min(100%, 490px); aspect-ratio: 4 / 5; border-radius: 110px 0 110px 0; overflow: hidden; }
.player img, .player video { width: 100%; height: 100%; object-fit: cover; }
.player.on { width: min(100%, 360px); aspect-ratio: 9 / 16; border-radius: 30px; background: var(--navy); }
.play {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border: 0; border-radius: 99px; background: #fff; font-weight: 650; white-space: nowrap;
}
.play svg { width: 22px; height: 22px; fill: var(--blue); }

/* 5. žmogus + AI */
.zmogus { background: #fff; }
.values { margin-top: 30px; }
.values div { display: grid; grid-template-columns: 190px 1fr; gap: 4px 20px; align-items: baseline; padding-block: 17px; border-bottom: 1.5px solid #18233F22; }
.values dt { font-size: 21px; font-weight: 700; }
.values dd { line-height: 1.4; }
.zmogus .art { border-radius: 0 110px 0 110px; }

/* 6. nemokamas gidas: tamsus blokas */
.gidas { background: var(--navy); color: #fff; }
.gidas .over { color: #9FDFFF; }
.book { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; }
.book .p { position: absolute; border-radius: 10px; }
.book .cover { width: 62%; left: 0; top: 6%; outline: 1px solid #ffffff38; }
.book .p1 { width: 52%; left: 38%; top: 0; transform: rotate(5deg); }
.book .p2 { width: 48%; left: 49%; top: 24%; transform: rotate(10deg); }
.counts { margin-top: 18px; }
.counts li { display: flex; align-items: center; gap: 16px; padding-block: 3px; line-height: 1.3; }
.counts b { flex: none; width: 30px; font-size: 32px; font-weight: 750; color: #58A0FF; }
.works { margin-top: 12px; font-size: 16px; color: #C9D6F5; }
.form { max-width: 520px; margin-top: 26px; }
.label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 650; }
.input { width: 100%; height: 56px; padding: 0 16px; border: 2px solid transparent; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; }
.input[aria-invalid="true"] { border-color: #FF8A8A; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin-block: 16px; }
.consent input { width: 24px; height: 24px; margin: 0; accent-color: #58A0FF; }
.consent label { font-size: 15px; line-height: 1.5; }
.form .btn { width: 100%; }
.err { margin-top: 6px; font-size: 14px; font-weight: 600; color: #FFB4B4; }
.consent + .err { margin: -8px 0 14px; }
.spastai { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button:disabled { opacity: .6; cursor: default; }
.status:not(:empty) { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: #ffffff1a; font-size: 15px; }
.fine { margin-top: 12px; font-size: 14px; line-height: 1.5; color: #C9D6F5; }
.fine a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* 7. kursas */
.kursas { background: var(--sky); }
.kursas .intro { margin-top: 12px; }
.wait { max-width: 540px; margin-block: 20px 14px; }
.lessons { padding: 30px 34px; border-radius: 34px; background: #fff; }
.lessons-h { padding-bottom: 12px; font-size: 21px; font-weight: 700; }
.lessons li { display: flex; align-items: center; gap: 18px; padding-block: 11px; border-top: 1.5px solid #18233F18; font-weight: 600; }
.lessons li img { width: 52px; }

/* 8. socialiniai tinklai */
.socialiniai { background: var(--lavender-soft); }
.soc-head { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 80px; align-items: end; }
.soc-head .intro { margin: 0; }
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-block: 46px 24px; }
.posts img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.posts img:nth-child(even) { transform: translateY(22px); }
.follow { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 30px; }
.follow a { display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 99px; background: #fff; font-size: 16px; transition: transform .2s; }
.follow a:hover { transform: translateY(-2px); }

/* 9. pabaiga */
.pabaiga { background: var(--cream); padding-block: 96px; }
.pabaiga .art { border-radius: 110px 0 110px 0; }

/* poraštė */
.foot { padding-block: 48px 32px; background: var(--navy); color: #DCE5FF; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 26px; }
.foot-logo { width: auto; height: 32px; margin-bottom: 14px; }
.foot li a { display: inline-block; padding-block: 5px; }
.foot a:hover { text-decoration: underline; }
.disclose { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid #ffffff22; font-size: 14px; }

/* vidutinis ekranas */
@media (max-width: 1240px) {
  :root { --pad: 88px; }
  h1 { font-size: 46px; }
  h2 { font-size: 40px; }
  .soleja h2 { font-size: 58px; }
  .intro, .honest, .lead { font-size: 19px; }
  .split { gap: 48px; }
  .hero { --h: clamp(640px, 100svh, 760px); }
  .hero-copy { max-width: 430px; }
  .hero .cta { flex-direction: column; align-items: flex-start; }
  .hero-photo { left: 470px; right: 0; width: auto; }
  .hero-photo img { object-position: 78% 30%; }
  .trio { top: 108px; right: auto; left: 530px; gap: 10px; }
  .trio img { width: 50px; }
  .links a:not(.btn) { padding-inline: 10px; }
  .nav-in { gap: 18px; }
  .tile { padding: 24px; }
  .tile h3 { font-size: 21px; }
  .t3 .ic, .t4 .ic { width: 96px; }
  .t1 .doc { top: 190px; width: 86%; }
  .values div { grid-template-columns: 170px 1fr; }
  .values dt { font-size: 19px; }
}

/* telefonas ir siaura planšetė */
@media (max-width: 900px) {
  :root { --nav: 70px; --pad: 60px; }
  body { font-size: 17px; }
  h1 { font-size: clamp(33px, 10vw, 46px); }
  h2 { font-size: clamp(28px, 8.4vw, 40px); }
  .soleja h2 { font-size: clamp(38px, 12vw, 56px); }
  .wrap { width: calc(100% - 40px); }
  .split, .situacija .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .intro, .honest, .lead { font-size: 18px; }
  .name, .role { font-size: 21px; }

  .logo img { height: 26px; }
  .nav-btn { display: none; }
  .burger { display: block; }
  .links {
    position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; gap: 4px;
    padding: 12px 20px 22px; background: var(--navy);
  }
  .links { position: fixed; top: var(--nav); height: calc(100dvh - var(--nav)); overflow-y: auto; overscroll-behavior: contain; font-size: 19px; }
  .js-open .links { display: flex; }
  .js-open.nav { background: var(--navy); }
  .links a:not(.btn) { padding: 12px 14px; }
  .links a.links-btn { display: flex; margin-top: 8px; }

  .hero { height: auto; display: flex; flex-direction: column; }
  .hero-in { order: 1; height: auto; padding-top: 100px; }
  .hero-copy { max-width: 560px; }
  .hero .over { font-size: 15px; margin-bottom: 14px; }
  .lead { margin-top: 16px; }
  .hero .cta { margin-top: 24px; gap: 12px; align-items: stretch; width: 100%; }
  .hero .cta .more { align-self: flex-start; }
  .hero-photo {
    order: 2; position: relative; left: auto; right: auto; width: min(100%, 520px); aspect-ratio: 1122 / 1402;
    align-self: center; -webkit-mask-image: linear-gradient(transparent, #000 20%); mask-image: linear-gradient(transparent, #000 20%);
  }
  .trio { display: flex; top: auto; right: auto; left: max(18px, (100% - 520px) / 2 + 22px); bottom: min(64vw, 330px); gap: 8px; }
  .trio img { width: 40px; }
  .pause { display: block; left: auto; right: 4px; bottom: 4px; }

  .chat { padding: 18px; border-radius: 26px; }
  .chat li, .reply p { font-size: 17px; }
  .reply img { width: 40px; }

  .temos h2 { margin-bottom: 28px; }
  .bento { display: flex; flex-direction: column; gap: 14px; }
  .tile { flex: none; height: 184px; padding: 22px; border-radius: 26px; }
  .tile .tx { max-width: 62%; }
  .tile .ic { width: 86px; top: 18px; right: 16px; }
  .t1 { height: 310px; }
  .t1 .tx { max-width: 100%; }
  .t1 .doc { left: auto; right: 22px; top: 126px; width: min(58%, 270px); transform: rotate(3deg); }
  .t5 .bg { width: 42%; }

  .player { width: min(100%, 420px); border-radius: 64px 0 64px 0; }
  .zmogus .art, .pabaiga .art { border-radius: 60px 0 60px 0; }
  .book { max-width: 360px; margin-inline: auto; }
  .lessons { padding: 22px; border-radius: 26px; }
  .lessons li img { width: 44px; }
  .soc-head { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .posts { grid-template-columns: 1fr 1fr; gap: 12px; margin-block: 28px 4px; }
  .posts img:nth-child(even) { transform: translateY(14px); }
  .pabaiga { padding-block: 56px; }
  .pabaiga .btn { width: 100%; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > div { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .values div { grid-template-columns: minmax(0, 1fr); }
  .follow a { width: 100%; }
  .follow li { width: 100%; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
}

/* gido blokas: paspaudus mygtuką visa forma matosi iškart.
   Kuo žemesnis ekranas, tuo mažesni tarpai. Smulkinama tik tiek, kiek reikia. */
.gidas { scroll-margin-top: 70px; }
@media (min-width: 901px) {
  .gidas { display: flex; align-items: center; min-height: calc(100svh - 70px); padding-block: 28px; }
  .gidas > .wrap { flex-shrink: 0; }
  .gidas .book { max-width: min(540px, 70svh); }
}
@media (min-width: 901px) and (max-height: 900px) {
  .gidas { padding-block: 16px; }
  .gidas .over { margin-bottom: 8px; }
  .gidas h2 { font-size: min(46px, 4.2vw); }
  .gidas .name { font-size: 22px; margin-top: 10px; }
  .gidas .counts { margin-top: 10px; }
  .gidas .counts li { padding-block: 0; }
  .gidas .counts b { font-size: 28px; }
  .gidas .works { margin-top: 8px; }
  .gidas .form { margin-top: 16px; }
  .gidas .input { height: 50px; }
  .gidas .consent { margin-block: 12px; }
  .gidas .fine { margin-top: 8px; }
}
@media (min-width: 901px) and (max-height: 740px) {
  .gidas { padding-block: 12px; }
  .gidas h2 { font-size: min(38px, 3.7vw); }
  .gidas .name { font-size: 21px; margin-top: 6px; }
  .gidas .counts { margin-top: 6px; }
  .gidas .counts b { font-size: 24px; }
  .gidas .works { margin-top: 6px; }
  .gidas .form { margin-top: 12px; }
  .gidas .input { height: 48px; }
  .gidas .consent { margin-block: 10px; }
  .gidas .form .btn { min-height: 50px; }
}
@media (min-width: 901px) and (max-height: 680px) {
  .gidas { padding-block: 6px; }
  .gidas .over { margin-bottom: 2px; }
  .gidas h2 { font-size: min(34px, 3.3vw); }
  .gidas .name { font-size: 20px; margin-top: 2px; }
  .gidas .counts { margin-top: 4px; }
  .gidas .counts li { font-size: 16px; }
  .gidas .counts b { font-size: 21px; }
  .gidas .works { margin-top: 2px; }
  .gidas .form { margin-top: 6px; }
  .gidas .label { margin-bottom: 2px; }
  .gidas .input { height: 44px; }
  .gidas .consent { margin-block: 8px; }
  .gidas .form .btn { min-height: 46px; }
  .gidas .fine { margin-top: 4px; }
}
/* telefone: antraštė, forma ir mygtukas pirma, viršelis ir sąrašas po jų */
@media (max-width: 900px) {
  .gidas { padding-top: 20px; }
  .gidas .split { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .gidas .split > div:last-child { display: contents; }
  .gidas .over { margin-bottom: 6px; }
  .gidas h2 { font-size: clamp(27px, 7.4vw, 40px); }
  .gidas .name { margin-top: 8px; }
  .gidas .form { width: 100%; margin-top: 14px; }
  .gidas .consent { margin-block: 12px; }
  .gidas .book, .gidas .counts, .gidas .works { order: 1; }
  .gidas .book { margin-top: 34px; }
}

@media (max-width: 900px) and (max-height: 600px) {
  .gidas { padding-top: 10px; }
  .gidas .form { margin-top: 8px; }
  .gidas .consent { margin-block: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .trio img { animation: none; }
  .pause { display: none; }
  * { transition: none !important; }
}
