/* Think to Unlock website. One stylesheet: no web fonts, no images from other sites.
   Colours come from the app logo: deep blue and mint. The phone mock stays light in dark mode,
   because it shows the app's own screen. No inline styles anywhere (the CSP forbids them). */

:root{
  --ink:#0b1b3a;--muted:#4a5a7b;--bg:#f5f7fc;--surface:#fff;--line:#e2e8f3;
  --brand:#0b57d0;--brand-ink:#0a3a99;--mint:#4fdc9b;--mint-ink:#0b7a4b;
  --hero-a:#0b57d0;--hero-b:#0a3a99;--hero-c:#071d55;
  --radius:22px;
  --shadow:0 1px 2px rgb(11 27 58/.06),0 10px 30px rgb(11 27 58/.08);
  --font:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans","Noto Sans Georgian","Helvetica Neue",Arial,sans-serif;
  color-scheme:light dark;
}
@media (prefers-color-scheme:dark){
  :root{--ink:#e9efff;--muted:#a8b5d4;--bg:#060f26;--surface:#0c1937;--line:#1c2b52;--brand:#6aa4ff;--brand-ink:#a7c8ff;--mint-ink:#5fe3a5;
    --shadow:0 1px 2px rgb(0 0 0/.3),0 12px 32px rgb(0 0 0/.35)}
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:84px}
body{margin:0;font:400 1.0625rem/1.6 var(--font);color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;overflow-wrap:break-word}
:lang(de) :is(p,dd){hyphens:auto}
img,svg{display:block;max-width:100%}
a{color:var(--brand-ink);text-underline-offset:.18em}
h1,h2,h3{line-height:1.15;margin:0 0 .5em;letter-spacing:-.02em;text-wrap:balance}
:lang(ka) :is(h1,h2,h3){letter-spacing:0;line-height:1.25}
p{text-wrap:pretty}
.wrap{width:min(100% - 32px,1120px);margin-inline:auto}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.skip{position:absolute;left:16px;top:-80px;z-index:100;padding:10px 16px;border-radius:12px;background:var(--surface);color:var(--ink);font-weight:700}
.skip:focus{top:12px}
:focus-visible{outline:3px solid var(--mint);outline-offset:3px;border-radius:6px}

/* Language hint: shown by site.js on English pages when the browser prefers one of the other languages. */
.langhint{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 14px;padding:10px 48px 10px 16px;position:relative;background:var(--mint);color:#062a1b;font-weight:600;text-align:center}
.langhint a{color:#062a1b;font-weight:800}
.langhint button{position:absolute;right:8px;top:50%;translate:0 -50%;width:36px;height:36px;border:0;border-radius:10px;background:transparent;color:#062a1b;font:inherit;font-size:1.4rem;line-height:1;cursor:pointer}
.langhint button:hover{background:rgb(0 0 0/.08)}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgb(245 247 252/.85);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--line)}
@media (prefers-color-scheme:dark){.site-header{background:rgb(6 15 38/.82)}}
.header-in{display:flex;align-items:center;gap:16px;min-height:64px}
.brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:1.06rem;color:var(--ink);text-decoration:none;letter-spacing:-.01em;white-space:nowrap}
.brand img{width:36px;height:36px;border-radius:10px}
.nav{display:none;margin-left:auto;gap:2px}
.nav a{padding:8px 12px;border-radius:10px;color:var(--muted);font-weight:600;font-size:.95rem;text-decoration:none}
.nav a:hover{color:var(--ink);background:rgb(11 87 208/.08)}
@media (min-width:960px){.nav{display:flex}}
.lang{position:relative;margin-left:auto}
@media (min-width:960px){.lang{margin-left:6px}}
.lang summary{display:flex;align-items:center;gap:6px;min-height:40px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font-weight:700;font-size:.9rem;cursor:pointer;list-style:none;user-select:none}
.lang summary::-webkit-details-marker{display:none}
.lang summary svg{width:18px;height:18px;color:var(--muted)}
.lang summary::after{content:"";width:7px;height:7px;margin-left:2px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;rotate:45deg;translate:0 -2px;opacity:.6}
.lang[open] summary::after{rotate:225deg;translate:0 2px}
.lang ul{position:absolute;right:0;top:calc(100% + 8px);min-width:180px;margin:0;padding:6px;list-style:none;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
.lang a{display:block;padding:9px 12px;border-radius:9px;color:var(--ink);text-decoration:none}
.lang a:hover{background:rgb(11 87 208/.08)}
.lang a[aria-current]{font-weight:800;color:var(--brand-ink)}

/* Hero */
.hero{position:relative;overflow:hidden;color:#fff;
  background:radial-gradient(1100px 560px at 88% -8%,rgb(79 220 155/.26),transparent 60%),
             radial-gradient(900px 520px at -12% 112%,rgb(106 164 255/.34),transparent 60%),
             linear-gradient(160deg,var(--hero-a) 0%,var(--hero-b) 45%,var(--hero-c) 100%)}
.hero-in{display:grid;gap:44px;align-items:center;padding:52px 0 64px}
@media (min-width:960px){.hero-in{grid-template-columns:1.12fr .88fr;gap:56px;padding:84px 0 96px}}
.badge{display:inline-flex;align-items:center;gap:9px;margin:0 0 22px;padding:6px 14px;border:1px solid rgb(255 255 255/.24);border-radius:999px;background:rgb(255 255 255/.12);font-weight:600;font-size:.9rem}
.dot{width:8px;height:8px;border-radius:50%;background:var(--mint);box-shadow:0 0 0 4px rgb(79 220 155/.28)}
.hero h1{margin-bottom:.42em;font-size:clamp(2.3rem,1.15rem + 4.6vw,4.15rem);font-weight:850}
:lang(ka) .hero h1{font-size:clamp(1.85rem,1rem + 3.4vw,3.2rem)}
.lead{max-width:36em;margin:0 0 30px;color:rgb(255 255 255/.87);font-size:clamp(1.05rem,1rem + .3vw,1.22rem)}
.cta{display:flex;flex-wrap:wrap;gap:12px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:12px 22px;border:0;border-radius:14px;font:inherit;font-weight:750;text-decoration:none;cursor:pointer;transition:background-color .15s,transform .15s}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--mint);color:#062a1b}
.btn-primary:hover{background:#71e8b3}
.btn-ghost{border:1px solid rgb(255 255 255/.32);background:rgb(255 255 255/.1);color:#fff}
.btn-ghost:hover{background:rgb(255 255 255/.18)}

/* The phone with the demo task */
.hero-demo{display:grid;justify-items:center;gap:16px;margin:0}
.phone{width:min(100%,344px);padding:11px;border-radius:46px;background:linear-gradient(145deg,#24345c,#0b1430);box-shadow:0 34px 70px rgb(2 8 28/.5),inset 0 0 0 1px rgb(255 255 255/.09)}
.screen{position:relative;display:flex;flex-direction:column;min-height:548px;padding:16px 16px 18px;overflow:hidden;border-radius:36px;background:#f7f9fd;color:#0b1b3a;font-size:.97rem;color-scheme:light}
.screen::before{content:"";align-self:center;width:84px;height:22px;margin:-4px 0 10px;border-radius:999px;background:#0b1430}
.app-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.app-bar img{width:30px;height:30px;border-radius:9px}
.coins{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;background:#e8f0ff;color:#0a3a99;font-weight:800;font-variant-numeric:tabular-nums}
.coins svg{width:16px;height:16px}
.coins.pop{animation:pop .5s ease}
@keyframes pop{40%{transform:scale(1.2)}}
.task-meta{margin:0;color:#5b6b8c;font-size:.78rem;font-weight:650}
.task-title{margin:2px 0 6px;font-size:1.16rem;font-weight:850;line-height:1.25}
.task-q{margin:0;line-height:1.45}
.scene{flex:1;display:flex;align-items:flex-end;justify-content:center;gap:18px;min-height:178px;padding:8px 0 2px}
.bear-col{width:80px}
.answers{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}
.bl-opt{display:block;width:100%;padding:6px 6px 2px;border:2px solid #dfe6f3;border-radius:16px;background:#fff;cursor:pointer;transition:transform .12s,border-color .12s,box-shadow .12s}
.bl-opt:hover{border-color:#9db9f0;transform:translateY(-2px)}
.bl-opt:disabled{cursor:default;transform:none}
.bl-opt.is-right{border-color:#2fbf7a;box-shadow:0 0 0 4px rgb(47 191 122/.22)}
.bl-opt.is-wrong{border-color:#f0a19a;animation:shake .36s}
@keyframes shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.feedback{min-height:3em;margin:12px 0 0;font-weight:750;line-height:1.4;text-align:center}
.feedback.ok{color:#11804f}
.feedback.no{color:#b4473d}
.again{display:none;align-self:center;margin-top:4px;padding:8px 16px;border:0;border-radius:12px;background:#e8f0ff;color:#0a3a99;font:inherit;font-weight:750;cursor:pointer}
.again.show{display:block}
.plus{position:absolute;right:22px;top:96px;color:#11804f;font-weight:900;pointer-events:none;animation:rise 1.3s ease forwards}
@keyframes rise{0%{opacity:0;transform:translateY(10px)}20%{opacity:1}100%{opacity:0;transform:translateY(-26px)}}
.hero-demo figcaption{max-width:340px;color:rgb(255 255 255/.82);font-size:.92rem;text-align:center}

/* Bears and balloons: the same drawings as the game, coloured by class instead of inline style. */
.bear{width:100%;height:auto;overflow:visible}
.bear .fur{fill:#dcab74;stroke:#93653a;stroke-width:1.7;stroke-linejoin:round}
.bear .cream{fill:#f9e8d2}
.bear .ink{fill:#463022}
.bear .cheek{fill:#f3a79f;opacity:.55}
.bear .line{fill:none;stroke:#463022;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.bear .m-glad{fill:#c9655f}
.bear .m-glad,.bear .m-sad,.bear .eyes-glad,.bear .brow{display:none}
.b-glad .m-wait,.b-glad .eyes,.b-sad .m-wait{display:none}
.b-glad .m-glad,.b-glad .eyes-glad,.b-sad .m-sad,.b-sad .brow{display:inline}
.b-str{fill:none;stroke:#9aa8a1;stroke-width:1.3;stroke-linecap:round}
.b-tie{fill:#9aa8a1}
.b-body,.b-knot{fill:#fff;stroke:#a9b6af;stroke-width:2;stroke-linejoin:round;transition:fill .2s,stroke .2s}
.b-body{stroke-dasharray:4 4.4}
.b-hi{fill:#fff;opacity:0;transition:opacity .2s}
.c0{--bf:#f48f85;--bs:#c5584d}.c1{--bf:#f8d56b;--bs:#c39a2c}.c2{--bf:#8fc6f2;--bs:#4788bd}
.b-full .b-body,.b-full .b-knot{fill:var(--bf);stroke:var(--bs);stroke-dasharray:none}
.b-full .b-hi{opacity:.55}
.b-place:not(.b-full) .b-body{animation:ask 1.8s ease-in-out infinite}
@keyframes ask{50%{stroke:#7f8f88}}
.bunch{width:100%;height:auto}

/* Sections */
.section{padding:72px 0}
@media (min-width:960px){.section{padding:100px 0}}
.section-alt{background:var(--surface);border-block:1px solid var(--line)}
.section h2{font-size:clamp(1.8rem,1.2rem + 2vw,2.7rem);font-weight:850}
.section-lead{max-width:40em;margin:0 0 36px;color:var(--muted);font-size:1.12rem}

.steps{display:grid;gap:18px;margin:0;padding:0;list-style:none}
@media (min-width:760px){.steps{grid-template-columns:repeat(3,1fr)}}
.step{position:relative;padding:26px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}
.step-icon{display:grid;place-items:center;width:54px;height:54px;margin-bottom:18px;border-radius:17px;background:linear-gradient(145deg,#0b57d0,#0a3a99);color:#fff}
.step-icon svg{width:28px;height:28px}
.step-num{position:absolute;right:22px;top:16px;color:var(--line);font-size:2.8rem;font-weight:900;line-height:1}
.step h3{font-size:1.32rem}
.step p{margin:0;color:var(--muted)}

.cards{display:grid;gap:16px;margin:0;padding:0;list-style:none}
@media (min-width:640px){.cards{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1000px){.cards{grid-template-columns:repeat(3,1fr)}}
.card{padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg)}
.card-icon{display:grid;place-items:center;width:46px;height:46px;margin-bottom:14px;border-radius:14px;background:rgb(79 220 155/.18);color:var(--mint-ink)}
.card-icon svg{width:24px;height:24px}
.card h3{font-size:1.13rem}
.card p{margin:0;color:var(--muted)}

.rules-panel{position:relative;overflow:hidden;padding:clamp(26px,5vw,56px);border-radius:30px;color:#fff;background:radial-gradient(700px 380px at 100% 0%,rgb(79 220 155/.22),transparent 60%),linear-gradient(160deg,#0b57d0,#071d55)}
.rules-panel h2{margin-bottom:.2em}
.rules{display:grid;gap:24px;margin:28px 0 0;padding:0;list-style:none}
@media (min-width:760px){.rules{grid-template-columns:repeat(2,1fr);gap:30px 44px}}
.rules li{display:flex;gap:14px}
.rules svg{flex:none;width:28px;height:28px;color:var(--mint)}
.rules h3{margin-bottom:.25em;font-size:1.16rem}
.rules p{margin:0;color:rgb(255 255 255/.84)}

.timeline{display:grid;gap:12px;max-width:760px;margin:0;padding:0;list-style:none}
.tl{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:var(--bg)}
.tl-dot{flex:none;width:12px;height:12px;border-radius:50%;background:var(--line)}
.tl-now .tl-dot{background:var(--mint);box-shadow:0 0 0 5px rgb(79 220 155/.24)}
.tl-name{flex:1;font-weight:650}
.pill{flex:none;padding:5px 11px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--muted);font-size:.82rem;font-weight:800;white-space:nowrap}
.tl-now .pill{border-color:transparent;background:rgb(79 220 155/.2);color:var(--mint-ink)}

.contact-card{padding:clamp(26px,5vw,56px);border:1px solid var(--line);border-radius:30px;background:var(--surface);box-shadow:var(--shadow)}
.contact-card p{max-width:40em;margin:0;color:var(--muted);font-size:1.12rem}
.mails{display:grid;margin:22px 0 28px}
.mails div{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px;padding:15px 0;border-bottom:1px solid var(--line)}
.mails dt{color:var(--muted);font-weight:600}
.mails dd{margin:0;font-weight:750}
.mails a{text-decoration:none;word-break:break-all}
.mails a:hover{text-decoration:underline}

/* Footer */
.site-footer{padding:40px 0 56px;color:var(--muted);font-size:.95rem}
.footer-in{display:grid;gap:14px}
.site-footer .brand{font-size:1rem}
.site-footer .brand img{width:28px;height:28px;border-radius:8px}
.site-footer p{margin:0}
.foot-links{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0;padding:0;list-style:none}
.foot-links a{color:var(--muted)}
.foot-links a:hover{color:var(--ink)}

/* Text pages: privacy notice and 404 */
.doc{padding:52px 0 80px}
.doc .wrap{max-width:760px}
.doc h1{font-size:clamp(2rem,1.4rem + 2.4vw,3rem);font-weight:850}
.doc h2{margin-top:2em;font-size:1.32rem}
.doc p{margin:0 0 1em}
.updated{margin:0 0 32px;color:var(--muted)}
.back{display:inline-block;margin-bottom:28px;font-weight:700;text-decoration:none}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
@media print{.site-header,.langhint,.hero-demo{display:none}.hero{color:#000;background:none}}
