/* ============================================================
   Evermine — landing page
   Breakpoints:  mobile < 640px | tablet 640–1080px | desktop > 1080px
   ============================================================ */

:root{
  --bg-light:#fbf2f8;
  --bg-dark:#2a1436;
  --bg-darker:#170b1e;
  --ink:#2a1533;
  --ink-soft:#5c4468;
  --purple:#7b2fbf;
  --purple-lt:#b25ce8;
  --pink:#e9a0d8;
  --cream:#f7ecda;
  --lilac-card:#efdcf7;
  --shell:1180px;
  --radius:22px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden;overflow-x:clip;background:var(--bg-darker)}
body{
  margin:0;
  background:var(--bg-darker);
  color:var(--ink);
  font-family:Inter,system-ui,Arial,sans-serif;
  font-size:16px;
  line-height:1.6;
  overflow-x:hidden;
  overflow-x:clip;
}
main{background:var(--bg-light)}
img{max-width:100%;height:auto;display:block}
h1,h2,h3{margin:0}
p{margin:0}
a{color:inherit}
.svg-defs{position:absolute;width:0;height:0;overflow:hidden}
.shell{width:min(var(--shell),100% - 40px);margin-inline:auto}
.ico{width:1em;height:1em;fill:currentColor;flex:none}

:focus-visible{outline:2px solid var(--purple-lt);outline-offset:3px;border-radius:6px}

h1,h2{font-family:"Playfair Display",Georgia,serif;font-weight:600;line-height:1.04}
h2{font-size:clamp(34px,4.4vw,58px)}
.script,.note,.script-title em,.footer-base .script,figcaption{
  font-family:Caveat,"Segoe Print",cursive;
}
.kicker{
  font-size:12px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--purple);margin-bottom:14px;
}
.lead{font-size:17px;color:var(--ink-soft);max-width:46ch}
.hs{color:#d67ac0}

.btn{
  display:inline-flex;align-items:center;gap:10px;
  background:linear-gradient(135deg,var(--purple),var(--purple-lt));
  color:#fff;text-decoration:none;font-weight:600;font-size:15px;
  padding:14px 26px;border-radius:999px;
  box-shadow:0 12px 26px rgba(123,47,184,.28);
}
.btn:hover{filter:brightness(1.06)}
.btn-sm{padding:10px 20px;font-size:14px;box-shadow:0 8px 18px rgba(123,47,184,.24)}

.site-header{position:sticky;top:0;z-index:50;background:rgba(251,242,248,.86);backdrop-filter:blur(10px)}
.header-inner{height:76px;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;gap:9px;text-decoration:none;font-weight:700;font-size:18px}
.brand-mark{width:28px;height:28px;border-radius:8px;flex:none}
.nav{display:flex;gap:30px;margin-inline:auto;font-size:15px}
.nav a{text-decoration:none;color:var(--ink-soft)}
.nav a:hover{color:var(--purple)}

.lang{
  display:flex;align-items:center;gap:2px;flex:none;
  background:rgba(123,47,184,.08);border-radius:999px;padding:3px;
  font-size:13px;font-weight:600;
}
.lang a{
  text-decoration:none;color:var(--ink-soft);
  padding:5px 10px;border-radius:999px;line-height:1;
}
.lang a:hover{color:var(--purple)}
.lang a.is-active{
  background:#fff;color:var(--purple);
  box-shadow:0 2px 6px rgba(90,40,120,.14);
}
.btn-sm{white-space:nowrap}

.hero{padding:30px 0 90px;position:relative}
.hero-inner{display:grid;grid-template-columns:1fr 1.05fr;gap:40px;align-items:center}
.script-title{font-family:Caveat,cursive;font-weight:600;font-size:clamp(52px,6.4vw,88px);line-height:.98}
.script-title em{color:#9a43db;font-style:normal;display:inline-block}
.hero .lead{margin-top:22px}

.hero-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin:30px 0 34px}
.watch{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-size:15px;font-weight:500}
.watch-dot{
  width:30px;height:30px;border-radius:50%;background:#fff;
  display:grid;place-items:center;font-size:11px;color:var(--purple);
  box-shadow:0 4px 12px rgba(90,40,120,.18);
}

.proof{display:flex;align-items:center;gap:14px}
.faces{display:flex}
.faces img{width:34px;height:34px;border-radius:50%;border:2px solid #fff;margin-left:-9px;object-fit:cover}
.faces img:first-child{margin-left:0}
.proof-text{font-size:13px;color:var(--ink-soft);line-height:1.5}
.proof-text strong{color:var(--ink)}
.stars{display:flex;align-items:center;gap:3px;color:#f2b134;font-size:13px;margin-top:2px}
.stars b{color:var(--ink-soft);font-weight:500;margin-left:6px}

.hero-art{position:relative;min-height:660px}
.phone{
  background:#120e19;border:8px solid #17111f;border-radius:38px;
  overflow:hidden;box-shadow:0 30px 60px rgba(52,20,72,.34);
}
.phone-hero{
  position:absolute;width:290px;left:50%;top:0;
  transform:translateX(-46%) rotate(2deg);z-index:3;
}
.phone-duo{
  position:absolute;left:50%;top:0;
  transform:translateX(-46%);
  display:flex;align-items:flex-end;gap:18px;z-index:3;
}
.phone-duo .phone{width:190px;border-width:4px;border-radius:34px}
.phone-duo-a{transform:rotate(-4deg)}
.phone-duo-b{transform:rotate(-4deg);margin-bottom:-192px}
.sprig{position:absolute;width:150px;opacity:.92;z-index:1;pointer-events:none}
.sprig-left{left:-20px;top:20px;transform:rotate(-12deg)}
.sprig-right{right:0;top:60px;transform:rotate(10deg)}

.doodle{position:absolute;fill:none;stroke:#d885c8;stroke-width:1.6;z-index:4}
.d1{width:34px;height:34px;left:6%;top:6%;stroke:#b96fd8}
.d2{width:22px;height:22px;right:16%;top:2%}
.d4{width:26px;height:26px;left:22%;bottom:24%}

.note{
  background:var(--cream);padding:16px 20px;font-size:19px;line-height:1.35;
  box-shadow:0 12px 26px rgba(80,30,80,.16);
}
.note-hero{position:absolute;right:0;top:454px;bottom:auto;transform:rotate(4deg);z-index:4}

.polaroid{
  margin:0;background:#fff;padding:9px 9px 8px;
  box-shadow:0 16px 34px rgba(70,30,70,.2);
}
.polaroid img{aspect-ratio:4/3;object-fit:cover;width:100%}
.polaroid figcaption{
  text-align:center;font-size:17px;padding:8px 4px 6px;color:#4a3355;line-height:1.2;
}
.polaroid-hero{position:absolute;width:190px;left:-100px;top:454px;bottom:auto;transform:rotate(-6deg);z-index:4}

.script{font-size:23px;line-height:1.25;color:#3e234b}
.script-hero{position:absolute;left:60%;bottom:75%;transform:rotate(-20deg);z-index:5}

.band{
  position:relative;color:#fff;
  background:radial-gradient(120% 90% at 60% 0,#3a2150 0,#241338 48%,var(--bg-darker) 100%);
  padding:100px 0 140px;margin-top:-1px;
}
.band h2{color:#fff}
.band-copy p:not(.kicker){color:rgba(255,255,255,.74);max-width:48ch;margin-top:20px}
.band .kicker{color:#e39ef0}

.wave{position:absolute;left:0;width:100%;height:70px;fill:var(--bg-light);pointer-events:none}
.wave-top{top:-1px}
.wave-bottom{bottom:-1px}

.band-inner{display:grid;grid-template-columns:1.15fr .85fr;gap:60px;align-items:center}

.band-art{position:relative;min-height:320px}
.polaroid-back{width:230px;transform:rotate(7deg);margin-left:auto;margin-right:40px}
.polaroid-front{position:absolute;width:250px;left:6%;top:14px;transform:rotate(-4deg)}
.note-band{position:absolute;right:-4%;bottom:-8%;transform:rotate(-4deg);color:var(--ink);font-size:18px}
.d5{width:40px;height:40px;right:8%;top:-12%;fill:#f0b7e2;stroke:none}
.d6{width:24px;height:24px;left:-4%;bottom:6%;stroke:#f0a3d6}

.pillars{
  list-style:none;margin:80px auto 0;padding:0;
  display:grid;grid-template-columns:repeat(4,1fr);gap:26px;
}
.pillars .badge{
  width:38px;height:38px;border-radius:50%;display:grid;place-items:center;
  background:rgba(233,160,216,.16);color:#f0a3d6;font-size:19px;margin-bottom:14px;
}
.pillars h3{font-size:16px;font-weight:600;margin-bottom:4px}
.pillars p{font-size:13.5px;color:rgba(255,255,255,.6)}

.script-band{
  position:absolute;right:30%;bottom:104px;color:#f4a3da;transform:rotate(-5deg);
}

.impact{padding:100px 0;position:relative}
.heading{text-align:center;max-width:640px;margin-inline:auto}
.heading p:not(.kicker){color:var(--ink-soft);margin-top:14px}
.screens{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:56px;text-align:center}
.screens .phone{width:min(230px,100%);margin-inline:auto}
.screens h3{font-size:17px;font-weight:600;margin:22px 0 6px}
.screens article > p{font-size:14px;color:var(--ink-soft);max-width:30ch;margin-inline:auto}
.screen-mid{position:relative}
.script-screens{margin-top:14px;color:#8a5bb0}
.d7{width:36px;height:36px;right:12%;top:16%;stroke:#c47fdb}

.distance-inner{display:grid;grid-template-columns:.9fr 1.1fr;gap:40px;align-items:center}
.distance .btn{margin-top:28px}
.world{position:relative;width:100%;aspect-ratio:1000/700}
.globe{position:absolute;inset:0;width:100%;height:100%}
.world-a,.world-b{position:absolute;width:23%;z-index:3}
.world-a{left:70%;top:0;transform:rotate(6deg)}
.world-b{left:20%;top:44%;transform:rotate(-7deg)}
.script-world{position:absolute;right:1%;bottom:4%;color:#f5c1e5;transform:rotate(-4deg);z-index:3}

.stories{padding:96px 0;position:relative}
.stories .shell{position:relative}
.story-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:48px}
.story{
  margin:0;background:#fff;border:1px solid #f0dcf0;border-radius:18px;padding:24px;
  display:flex;flex-direction:column;justify-content:space-between;gap:20px;
  box-shadow:0 10px 24px rgba(103,58,116,.06);
}
.story blockquote{margin:0;font-size:14.5px;color:var(--ink-soft);line-height:1.65}
.story figcaption{display:flex;align-items:center;gap:10px;font-size:16px;color:var(--ink)}
.story figcaption img{width:38px;height:38px;border-radius:50%;object-fit:cover}
.d8{width:38px;height:38px;right:6%;top:8%;stroke:#c47fdb}

.tomorrow{padding:20px 0 90px}
.tomorrow-card{
  display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center;
  background:linear-gradient(120deg,#f3e4fb,var(--lilac-card));
  border-radius:28px;padding:52px;position:relative;overflow:hidden;
}
.tomorrow-card p:not(.script){color:var(--ink-soft);margin:18px 0 28px;max-width:38ch}
.tomorrow-art{position:relative;min-height:230px}
.paper{position:absolute;left:6%;top:-14%;width:300px;transform:rotate(-3deg);filter:drop-shadow(0 16px 30px rgba(70,30,90,.22))}
.script-paper{position:absolute;left:15%;top:10%;font-size:27px;transform:rotate(-4deg);color:#3f2450}
.script-tomorrow{position:absolute;right:0;top:14%;color:#a05bd0;font-size:21px;transform:rotate(3deg)}

.history-teaser .tomorrow-card{
  align-items:center;
}

.history-teaser-copy{
  max-width:520px;
}

.history-teaser-copy .kicker{
  margin-bottom:10px;
}

.history-teaser-copy h2{
  margin-bottom:16px;
}

.history-teaser .history-teaser-copy p{
  margin:0 0 12px;
  max-width:none;
  color:var(--ink-soft);
  font-size:14px;
  line-height:1.6;
}

.history-teaser .origin-link{
  display:inline-flex;
  margin-top:8px;
  padding:0;
  background:none;
  box-shadow:none;
  color:var(--purple);
  font-weight:600;
  text-decoration:none;
}

.history-teaser .origin-link:hover{
  color:var(--purple-lt);
}

.faq{padding:20px 0 110px}
.faq-inner{display:grid;grid-template-columns:.6fr 1.4fr;gap:70px;align-items:start}
.accordion details{border-bottom:1px solid #e8d7e8}
.accordion summary{
  list-style:none;cursor:pointer;padding:18px 4px;font-size:15px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
}
.accordion summary::-webkit-details-marker{display:none}
.accordion summary i{position:relative;width:14px;height:14px;flex:none}
.accordion summary i::before,
.accordion summary i::after{
  content:"";position:absolute;background:#a05bd0;border-radius:2px;
  transition:transform .2s ease,opacity .2s ease;
}
.accordion summary i::before{left:0;top:6px;width:14px;height:2px}
.accordion summary i::after{left:6px;top:0;width:2px;height:14px}
.accordion details[open] summary i::after{transform:rotate(90deg);opacity:0}
.accordion details p{padding:0 4px 20px;font-size:14.5px;color:var(--ink-soft);max-width:60ch}

.final .wave{z-index:3}
.final{position:relative;color:#fff;padding:110px 0 90px;overflow:hidden;background:var(--bg-darker)}
.final-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.9}
.final::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(100deg,rgba(23,11,30,.9) 0%,rgba(23,11,30,.5) 55%,rgba(23,11,30,.62) 100%);
}
.final-inner{position:relative;z-index:2;display:grid;grid-template-columns:1.1fr .9fr;gap:30px;align-items:center}
.final h2{color:#fff}
.final p:not(.script){color:rgba(255,255,255,.72);margin:16px 0 28px}
.script-final{justify-self:end;text-align:left;color:#f0c3e8;transform:rotate(-3deg)}

.footer{background:var(--bg-darker);color:rgba(255,255,255,.72);padding:44px 0 30px}
.footer .brand{color:#fff}
.footer-inner{display:grid;grid-template-columns:minmax(230px,1.3fr) repeat(3,minmax(0,1fr));gap:34px;align-items:start}
.footer-brand{min-width:0}
.footer-brand .brand span{white-space:nowrap}
.footer-brand p{font-size:13px;margin-top:8px;max-width:30ch;text-wrap:pretty}

.footer-col h4{
  font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:#fff;margin:0 0 12px
}
.footer-col ul{list-style:none;margin:0;padding:0;display:grid;gap:9px;font-size:14px}
.footer-col a{text-decoration:none;color:rgba(255,255,255,.72)}
.footer-col a:hover{color:#fff}

.social{list-style:none;display:flex;gap:12px;margin:14px 0 0;padding:0}
.social a{
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  background:rgba(255,255,255,.08);color:#fff;
}
.social svg{width:18px;height:18px;fill:currentColor}
.social a:hover{background:rgba(255,255,255,.18)}
.footer-base{
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  margin-top:34px;padding-top:20px;border-top:1px solid rgba(255,255,255,.09);
  font-size:13px;
}
.footer-base .script{font-size:19px;color:#eeb7e2}

.legal{padding:48px 0 96px}
.legal-inner{max-width:760px}
.legal-back{
  display:inline-flex;align-items:center;gap:8px;
  font-size:14px;color:var(--ink-soft);text-decoration:none;margin-bottom:26px;
}
.legal-back:hover{color:var(--purple)}
.legal h1{font-size:clamp(32px,4.2vw,46px);line-height:1.06;margin-bottom:12px}
.legal h1 + p,
.legal h1 + p + p{font-size:13.5px;color:var(--ink-soft);margin:0}
.legal h1 + p + p{margin-bottom:26px}
.legal h2{
  font-size:clamp(21px,2.4vw,26px);line-height:1.2;
  margin:40px 0 14px;padding-top:26px;border-top:1px solid #ecdcef;
}
.legal h3{font-family:Inter,system-ui,Arial,sans-serif;font-size:16.5px;font-weight:600;margin:26px 0 8px}
.legal p{margin:0 0 14px;color:var(--ink-soft);font-size:15px}
.legal strong{color:var(--ink);font-weight:600}
.legal ul,.legal ol{margin:0 0 18px;padding-left:22px;color:var(--ink-soft);font-size:15px}
.legal li{margin-bottom:8px}
.legal a{color:var(--purple)}
.legal a:hover{color:var(--purple-lt)}
.legal code{
  background:#f1e2f6;color:#5f2a8a;padding:2px 7px;border-radius:6px;
  font-size:13.5px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
}
.legal .important,.legal .info{
  margin:22px 0;padding:18px 22px;border-radius:16px;
  font-size:14.5px;color:var(--ink);border:1px solid;
}
.legal .important{background:var(--cream);border-color:#ecd9bd}
.legal .info{background:var(--lilac-card);border-color:#e0c3f0}
.legal .important p,.legal .info p,
.legal .important li,.legal .info li{color:var(--ink)}
.legal .important > :last-child,.legal .info > :last-child{margin-bottom:0}
.legal .important ol,.legal .info ol{margin:10px 0 0}
.legal-links{
  display:flex;flex-wrap:wrap;gap:10px 26px;font-size:14px;
  margin-top:48px;padding-top:24px;border-top:1px solid #ecdcef;
}
.legal-links a{color:var(--purple);text-decoration:none}
.legal-links a:hover{text-decoration:underline}

@media (max-width:1080px){
  .shell{width:min(var(--shell),100% - 32px)}
  .nav{gap:22px;font-size:14px}
  .lang{margin-left:4px}

  .hero{padding-bottom:60px}
  .hero-inner{grid-template-columns:1fr;gap:20px;text-align:center}
  .hero .lead{margin-inline:auto}
  .hero-actions,.proof{justify-content:center}
  .hero-art{width:100%;min-height:610px;max-width:600px;margin-inline:auto;text-align:left;
            overflow-x:clip;overflow-y:visible}
  .phone-hero{width:230px;top:0}
  .phone-duo{width:100%;justify-content:center;gap:14px}
  .phone-duo .phone{width:150px}
  .sprig{width:96px}
  .sprig-left{left:0;top:60px}
  .sprig-right{right:0;top:96px}
  .polaroid-hero{width:150px;left:0;top:367px;bottom:auto}
  .note-hero{right:0;top:367px;bottom:auto;font-size:17px}
  .script-hero{display:none}
  .d1{left:2%;top:2%}
  .d2{right:6%;top:0}
  .d4{display:none}

  .band{padding:80px 0 70px}
  .band-inner{grid-template-columns:1fr;gap:70px}

  .band-art{width:100%;max-width:460px;margin-inline:auto;overflow-x:clip;overflow-y:visible}
  .polaroid-back{margin-right:0}
  .pillars{grid-template-columns:repeat(2,1fr);gap:30px;margin-top:60px}
  .script-band{position:static;margin:46px auto 0;padding-inline:16px;width:min(1180px,100% - 32px);text-align:right}

  .screens{grid-template-columns:repeat(3,1fr);gap:22px}
  .screens .phone{width:min(190px,100%)}
  .script-screens{font-size:20px}

  .distance-inner{grid-template-columns:1fr;gap:50px}
  .world{width:100%;max-width:620px;margin-inline:auto}
  .script-world{font-size:21px}

  .story-grid{grid-template-columns:repeat(2,1fr)}

  .tomorrow-card{grid-template-columns:1fr;padding:40px}
  .tomorrow-art{width:100%;min-height:280px}
  .paper{left:0;top:0;width:250px}
  .script-paper{left:14%;top:16%}
  .script-tomorrow{right:4%;top:30%}

  .faq-inner{grid-template-columns:1fr;gap:24px}

  .final-inner{grid-template-columns:1fr;gap:34px}
  .script-final{justify-self:start}

.footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));justify-items:start;text-align:left;gap:26px}
.footer-brand{grid-column:1 / -1}
.social{justify-self:start}
}

@media (max-width:640px){
  body{font-size:15px}
  .shell{width:min(var(--shell),100% - 26px)}
  .header-inner{height:64px;gap:8px}
  .nav{display:none}
  .lang{margin-left:auto;font-size:13px}
  .lang a{padding:6px 9px}
  .btn{padding:13px 20px;font-size:14px}
  .btn-sm{padding:9px 14px;font-size:13px}
  .script-title{font-size:46px}
  .hero .lead{font-size:15.5px}
  .hero-actions{gap:14px;margin:24px 0 26px}

  .hero-art{min-height:420px}
  .phone-duo-a{display:none}
  .phone-duo{justify-content:center;width:100%;gap:0}
  .phone-duo-b{margin-bottom:0;transform:rotate(-3deg)}
  .phone-duo .phone{width:196px;border-width:3px;border-radius:26px}
.sprig-left{width:62px;left:-10px;top:30px}
.sprig-right{width:62px;right:-4px;top:60px}
.polaroid-hero{width:118px;top:250px;left:0;bottom:auto}
  .note-hero{font-size:15px;padding:12px 14px;top:286px;bottom:auto;right:0}
  .script-hero,.d2,.d4,.d6{display:none}
  .d1{width:24px;height:24px}

  .band{padding:70px 0 60px}
  .band-art{min-height:190px}
  .polaroid-back{width:170px}
    .phone{border-width:5px;border-radius:26px}
  .polaroid-front{width:180px;left:2%}
  .note-band{right:0;bottom:-10%;font-size:16px;padding:12px 14px}
  .pillars{grid-template-columns:1fr;gap:22px;margin-top:48px}
  .script-band{font-size:20px;margin-top:22px;width:min(1180px,100% - 26px);padding-inline:0;text-align:left}

  .impact{padding:70px 0}
  .screens{grid-template-columns:1fr;gap:52px;margin-top:40px}
  .screens .phone{width:min(220px,72%)}

  .world-a,.world-b{width:27%}
  .script-world{font-size:17px;bottom:-2%;right:0}
  .route-heart{width:26px;height:26px}

  .stories{padding:70px 0}
  .story-grid{grid-template-columns:1fr;gap:14px}
  .d8{display:none}

  .tomorrow-card{padding:28px;border-radius:22px}
  .tomorrow-art{min-height:250px}
  .paper{width:200px;left:-4%}
  .script-paper{font-size:22px;left:8%;top:14%}
  .script-tomorrow{display:none}

  .legal{padding:34px 0 70px}
  .legal h2{margin:32px 0 12px;padding-top:22px}
  .legal .important,.legal .info{padding:16px 18px}

  .faq{padding-bottom:80px}
  .accordion summary{font-size:14.5px;padding:16px 2px}

  .final{padding:80px 0 70px}
  .script-final{font-size:20px}
  .footer-base{flex-direction:column;text-align:center;gap:10px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none !important}
}
@media (max-width:640px){
  .history-teaser .script-tomorrow{
    display:block;
    right:0;
    top:28%;
    font-size:18px;
  }
}

.platform-note{font-size:13px;color:var(--ink-soft);margin:-18px 0 28px}

.how{padding:66px 0 54px;background:linear-gradient(180deg,var(--bg-light) 0%,#fdf4fb 100%)}
.how .shell{width:min(var(--shell),100% - 40px)}
.how .heading{max-width:700px;margin-inline:auto;text-align:center}
.how .heading h2{font-size:clamp(38px,4vw,54px)}
.how .heading>p:not(.kicker){margin-top:10px;color:#85798b;font-size:15px}

.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:stretch;margin:40px 0 0;padding:0;list-style:none}
.step-row{position:relative;display:flex;min-width:0;flex-direction:column;padding:26px 22px;overflow:hidden;border:1px solid rgba(126,73,150,.08);border-radius:16px;background:rgba(255,255,255,.86);box-shadow:0 8px 22px rgba(60,29,72,.06)}
.step-row:last-child{grid-column:2}
.step-text{display:contents}
.step-no{order:0;margin-bottom:8px;padding:0;background:none;color:#a43df0;font-family:var(--hand);font-size:38px;font-weight:600;line-height:1}
.step-row h3{order:2;margin:0 0 8px;color:#372540;font-size:18px;font-weight:800;line-height:1.25}
.step-row p{order:3;margin:0;max-width:none;color:#7c7082;font-size:14.5px;line-height:1.55}
.step-media{order:1;display:flex;width:100%;height:210px;min-height:0;align-items:flex-end;justify-content:center;gap:0;margin:0 0 18px}
.step-media .phone{width:115px;max-width:none;height:auto;border:2px solid #17121d;border-radius:9px;overflow:hidden;background:#120e19;box-shadow:0 9px 16px rgba(45,20,57,.18)}
.step-media .phone:nth-child(2){margin-left:-14px;transform:translateY(10px)}
.step-media .phone img{width:100%;height:auto;object-fit:cover;border-radius:0}
.code{
  white-space:nowrap;font-weight:600;color:var(--purple);
  background:#f1e2f6;padding:1px 7px;border-radius:6px;
}
.accordion details p a{color:var(--purple)}

.notfound{padding:70px 0 120px;text-align:center}
.notfound .notfound-no{margin:0 auto;font-family:Caveat,cursive;font-weight:600;font-size:clamp(96px,16vw,160px);line-height:.9;color:#9a43db}
.notfound h1{font-size:clamp(32px,4.4vw,48px);margin-top:10px}
.notfound p{color:var(--ink-soft);max-width:44ch;margin:14px auto 28px}
.notfound-alt{margin-top:56px;padding-top:30px;border-top:1px solid #ecdcef}
.notfound-alt h2{font-size:clamp(22px,2.6vw,28px)}
.notfound-alt p{margin:10px auto 18px;font-size:15px}
.notfound-alt a{color:var(--purple);font-weight:600}

@media (max-width:1020px){
  .how .shell{width:min(calc(100% - 34px),930px)}
  .steps{grid-template-columns:repeat(2,1fr);gap:18px}
  .step-row:last-child{grid-column:1/-1;width:60%;justify-self:center}
  .step-row{padding:22px 18px}
  .step-media{height:190px}
  .step-media .phone{width:100px}
  .step-row h3{font-size:17px}
  .step-row p{font-size:14px}
}

@media (max-width:800px){
  .steps{grid-template-columns:repeat(2,1fr)}
  .step-row:last-child{grid-column:1/-1;width:60%;justify-self:center}
}

@media (max-width:560px){
  .how{padding:56px 0 44px}
  .how .shell{width:min(calc(100% - 26px),500px)}
  .steps{grid-template-columns:1fr}
  .step-row,.step-row:last-child{width:100%;max-width:430px;grid-column:auto;justify-self:center;display:grid;grid-template-columns:90px 1fr;column-gap:16px;align-items:center}
  .step-no{grid-column:1;align-self:start;font-size:36px}
  .step-media{grid-column:1;grid-row:2/5;height:130px;margin:0}
  .step-row h3,.step-row p{grid-column:2}
  .step-media .phone{width:65px}
  .step-row h3{font-size:15px}
  .step-row p{font-size:13px}
  .notfound{padding:50px 0 90px}
}

.why-grid{
  list-style:none;margin:48px 0 0;padding:0;
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
}
.why{
  background:#fff;border:1px solid #f0dcf0;border-radius:18px;padding:26px 24px;
  box-shadow:0 10px 24px rgba(103,58,116,.06);
}
.why-ico{
  width:42px;height:42px;border-radius:50%;display:grid;place-items:center;
  background:#f1e2f6;color:var(--purple);font-size:21px;margin-bottom:16px;
}
.why-ico .ico{fill:none;stroke:currentColor;stroke-width:1.7}
.why h3{font-size:16.5px;font-weight:600;margin-bottom:6px}
.why p{font-size:14.5px;color:var(--ink-soft);line-height:1.6}

@media (max-width:1080px){
  .why-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .why-grid{grid-template-columns:1fr;gap:14px;margin-top:36px}
  .why{padding:22px 20px}
}

@media (max-width:640px){
  .pillars{gap:20px;margin-top:40px}
  .pillars li{display:grid;grid-template-columns:38px 1fr;column-gap:14px;align-items:start}
  .pillars .badge{grid-row:span 2;margin:0}
  .pillars h3{margin:2px 0 2px}

  .tomorrow-card{gap:6px}
  .tomorrow-art{min-height:170px}
  .paper{width:150px;left:0;top:0}
  .script-paper{font-size:18px;left:9%;top:14%}
}
.pcar{position:relative;max-width:720px;margin:0 auto;padding:0 60px}
.pcar-track{display:flex;align-items:center;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:30px 0;scrollbar-width:none}
.pcar-track::-webkit-scrollbar{display:none}
.pcar-card{flex:none;width:150px;scroll-snap-align:center;transform:scale(.9);opacity:1;transition:transform .35s ease}
.pcar-card.is-active{width:210px;transform:scale(1);opacity:1}
.pcar-card img{display:block;width:100%;border-radius:18px;box-shadow:0 16px 30px rgba(0,0,0,.35)}
.pcar-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:none;background:#2a1938;color:#e9c9f2;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 8px 18px rgba(0,0,0,.3)}
.pcar-arrow:hover{background:#3a2150}
.pcar-prev{left:0}
.pcar-next{right:0}
.pcar-arrow svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.pcar-dots{display:flex;justify-content:center;gap:6px;margin-top:18px}
.pcar-dot{width:6px;height:6px;border-radius:50%;background:#5c4468;transition:width .25s ease,background .25s ease}
.pcar-dot.is-active{width:18px;border-radius:3px;background:#b25ce8}
@media (max-width:640px){
  .pcar{padding:0 44px}
  .pcar-card{width:120px}
  .pcar-card.is-active{width:170px}
  .pcar-arrow{width:36px;height:36px}
}
.origin{padding:80px 0}
.origin-inner{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px;align-items:center}
.origin-photo{width:min(300px,100%);margin-inline:auto;transform:rotate(-3deg)}
.origin-copy p:not(:last-child){color:var(--ink-soft);margin-bottom:14px;max-width:56ch}
.origin-link{display:inline-flex;margin-top:8px;background:transparent;color:var(--purple);box-shadow:none;padding:0;font-weight:600}
.origin-link:hover{color:var(--purple-lt)}
@media (max-width:1080px){
  .origin-inner{grid-template-columns:1fr;gap:30px;text-align:center}
  .origin-copy p{margin-inline:auto}
}
.final-shell{
  position:relative;
  z-index:2;
}

.final-testimonials{
  position:relative;
  padding:40px 0 56px;
  color:#fff;
}

.final-testimonials-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:32px;
  margin-bottom:28px;
}

.kicker-light{
  color:#d7b7ff;
}

.final-testimonials h2{
  color:#fff;
  margin-bottom:10px;
}

.final-testimonials-head > div:first-child p:last-child{
  max-width:560px;
  color:rgba(255,255,255,.82);
}

.final-stacked-photos{
  position:relative;
  min-width:220px;
  height:110px;
}

.final-stacked-photos img{
  position:absolute;
  width:120px;
  border:5px solid #fff;
  border-radius:8px;
  box-shadow:0 10px 24px rgba(0,0,0,.2);
  background:#fff;
}

.final-stacked-photos img:first-child{
  top:0;
  left:0;
  transform:rotate(-6deg);
}

.final-stacked-photos img:last-child{
  top:6px;
  left:92px;
  transform:rotate(7deg);
}

.final-testimonials-row{
  display:grid;
  grid-template-columns:54px 1fr 54px;
  align-items:center;
  gap:18px;
}

.final-arrow{
  width:46px;
  height:46px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}

.final-testimonial-cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}

.final-testimonial-card{
  padding:22px 22px 18px;
  border-radius:18px;
  background:rgba(63,30,94,.55);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 14px 35px rgba(16,8,28,.18);
  backdrop-filter:blur(6px);
}

.final-testimonial-card .quote{
  margin:0 0 18px;
  color:#fff;
  font-size:14px;
  line-height:1.6;
}

.final-testimonial-card .author{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
  font-size:14px;
  font-weight:600;
}

.final-testimonial-card .author img{
  width:34px;
  height:34px;
  border-radius:50%;
}

.final-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:18px;
}

.final-dots span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:rgba(255,255,255,.35);
}

.final-dots .is-active{
  background:#b86cff;
}

.final-inner{
  margin-top:24px;
}

.final-testimonials{
  padding:28px 0 42px;
}

.final-testimonials-head{
  align-items:center;
  margin-bottom:22px;
}

.final-testimonials-head > div:first-child{
  max-width:640px;
}

.final-testimonials-head h2{
  margin-bottom:8px;
}

.final-testimonial-card{
  min-height:145px;
  padding:20px 20px 16px;
}

.final-testimonial-card .quote{
  margin-bottom:14px;
  font-size:13px;
  line-height:1.55;
}

.final-testimonial-card .author{
  font-size:13px;
}

.final-stacked-photos{
  min-width:250px;
  height:120px;
}

.final-stacked-photos img{
  width:132px;
}

.final-stacked-photos img:last-child{
  left:100px;
}

.final-dots{
  margin-top:14px;
}

.final-inner{
  margin-top:8px;
  padding-top:34px;
}
@media (max-width:800px){

  .final-testimonials-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .final-stacked-photos{
    align-self:center;
  }

  .final-testimonials-row{
    grid-template-columns:42px 1fr 42px;
    gap:10px;
  }

  .final-testimonial-cards{
    grid-template-columns:1fr;
  }

  .final-testimonial-card{
    min-height:auto;
  }

  .final-arrow{
    width:38px;
    height:38px;
    font-size:23px;
  }

}

@media (max-width:560px){

  .final-testimonials{
    padding:20px 0 32px;
  }

  .final-testimonials-head{
    margin-bottom:20px;
  }

  .final-testimonials h2{
    font-size:38px;
  }

  .final-testimonials-head > div:first-child p:last-child{
    font-size:13px;
  }

  .final-stacked-photos{
    min-width:210px;
    height:105px;
  }

  .final-stacked-photos img{
    width:110px;
  }

  .final-stacked-photos img:last-child{
    left:84px;
  }

  .final-testimonials-row{
    grid-template-columns:34px 1fr 34px;
    gap:7px;
  }

  .final-arrow{
    width:32px;
    height:32px;
    font-size:20px;
  }

  .final-testimonial-card{
    padding:18px;
  }

  .final-testimonial-card .quote{
    font-size:13.5px;
  }

  .final-inner{
    padding-top:20px;
  }

}

.final-testimonial-card{
  display:none;
}

.final-testimonial-card.is-visible{
  display:block;
  animation:testimonialFade .3s ease;
}

.final-dots button{
  width:8px;
  height:8px;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.35);
  cursor:pointer;
  transition:width .25s ease, background .25s ease;
}

.final-dots button.is-active{
  width:24px;
  background:#b86cff;
}

.final-arrow{
  transition:transform .18s ease, background .18s ease;
}

.final-arrow:hover{
  background:rgba(255,255,255,.16);
}

.final-arrow:active{
  transform:scale(.94);
}

@keyframes testimonialFade{
  from{opacity:0;transform:translateY(6px)}
  to{opacity:1;transform:translateY(0)}
}

@media (max-width:800px){
  .final-testimonial-cards{
    grid-template-columns:1fr;
  }
}
/* ===== SLAPUKŲ SUTIKIMO JUOSTA ===== */
.cookie-banner{
  position:fixed;left:0;right:0;bottom:0;z-index:120;
  background:#fff;border-top:1px solid #f0dcf0;
  box-shadow:0 -10px 34px rgba(70,30,90,.14);
  transform:translateY(105%);transition:transform .26s ease;
}
.cookie-banner.is-open{transform:translateY(0)}
.cookie-inner{
  max-width:1180px;margin-inline:auto;padding:18px 20px;
  display:flex;align-items:center;gap:20px;flex-wrap:wrap;
}
.cookie-copy{flex:1 1 380px}
.cookie-title{margin:0 0 4px;font-weight:700;font-size:15px;color:#2b1838}
.cookie-text{margin:0;font-size:14px;line-height:1.6;color:#5a4566}
.cookie-text a{color:var(--purple);text-decoration:underline}
.cookie-actions{display:flex;gap:10px;flex:0 0 auto}
/* abu mygtukai vienodo svorio — atsisakyti taip pat lengva kaip sutikti */
.cookie-actions .btn{font-size:14px;padding:11px 24px;min-width:120px;justify-content:center;border:0;cursor:pointer;font-family:inherit}
.btn-ghost{
  background:#fff;color:var(--purple);border:1.5px solid rgba(123,47,191,.35);
  border-radius:999px;font-weight:600;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  font-family:inherit;font-size:14px;padding:11px 20px;
}
.btn-ghost:hover{background:#faf3fd}
@media (max-width:640px){
  .cookie-inner{padding:16px;gap:14px}
  .cookie-text{font-size:13.5px}
  .cookie-copy{flex:1 1 100%}
  .cookie-actions{width:100%}
  .cookie-actions .btn,.cookie-actions .btn-ghost{flex:1 1 0;justify-content:center}
}
/* =========================================================
   MOBILE / TABLET MENU (hamburger)
========================================================= */
.nav-toggle{
  display:none;flex:none;
  width:40px;height:40px;padding:0;border:0;border-radius:12px;
  background:rgba(123,47,184,.08);cursor:pointer;
  flex-direction:column;align-items:center;justify-content:center;gap:5px;
}
.nav-toggle span{display:block;width:18px;height:2px;border-radius:2px;background:var(--purple);transition:transform .25s ease,opacity .2s ease}
.site-header.is-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.site-header.is-open .nav-toggle span:nth-child(2){opacity:0}
.site-header.is-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media (max-width:1000px){
  .header-inner{gap:12px}
  .nav-toggle{display:inline-flex}
  .lang{margin-left:auto}
  .nav{
    display:none;
    position:absolute;top:100%;left:0;right:0;
    flex-direction:column;gap:0;margin:0;
    padding:6px 20px 14px;
    background:#fbf2f8;
    box-shadow:0 14px 24px rgba(70,30,90,.12);
    font-size:16px;
  }
  .site-header.is-open .nav{display:flex}
  .nav a{padding:14px 2px;border-bottom:1px solid rgba(123,47,184,.10)}
  .nav a:last-child{border-bottom:0}
}

@media (max-width:640px){
  .header-inner{gap:8px}
  .nav-toggle{width:38px;height:38px}
  .brand span{white-space:nowrap}
}
@media (max-width:430px){
  .brand span{display:none}
}
/* Siauri ekranai: „Kadaise… / Dabar…“ užrašas po lapeliu, kad neužliptų ant jo */
@media (max-width:520px){
  .history-teaser .tomorrow-art{min-height:0;padding-top:178px}
  .history-teaser .script-tomorrow{
    position:static;display:block;
    margin:6px 0 0;text-align:right;
    font-size:18px;transform:rotate(-2deg);
  }
}

/* Oficialus „Get it on Google Play“ ženkliukas (Google gairės: min. 28 px aukščio,
   aplink laisva erdvė = ¼ aukščio, ženkliuko nekeisti) */
.play-badge{display:inline-block;line-height:0;margin:14px 0;border-radius:10px;transition:transform .2s ease,box-shadow .2s ease}
.play-badge img{display:block;height:56px;width:auto}
.play-badge:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(36,18,56,.22)}
@media (max-width:640px){.play-badge img{height:52px}}
