
:root { --bg: #f4faff; --surface: #ffffff; --ink: #0b2a5b; --ink2: #4a6b9a; --line: rgba(11,79,168,.14); --accent: #2f9bf0; --deep: #0b4fa8; --sun: #ffc933; --moon: #d6ecff; --orange: #2f9bf0; --navy: #0b4fa8; --shadow: 0 8px 24px rgba(23,96,170,.12); color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, h3, .hand, .brand span { font-family: "Fredoka", "Nunito", system-ui, sans-serif; font-weight: 600; letter-spacing: -.01em; }
a { color: var(--deep); }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(244,250,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand span { font-size: 25px; }
nav.main { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a { text-decoration: none; color: var(--ink2); font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
nav.main a:hover, nav.main a.on { background: var(--moon); color: var(--ink); }
nav.main a.gold { background: var(--sun); color: #3a2a00; }
.btn { display: inline-block; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; padding: 13px 24px; border-radius: 99px; border: 1.5px solid rgba(11,79,168,.25); background: #fff; color: var(--ink); margin: 4px 6px 4px 0; }
.btn.primary { background: var(--accent); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(47,155,240,.35); }
.btn:hover { filter: brightness(1.04); transform: translateY(-1px); }
.hero { background: linear-gradient(180deg, #d9efff 0%, #f4faff 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 58px); line-height: 1.06; margin: 14px 0 14px; }
.hero p { font-size: 19px; color: var(--ink2); max-width: 520px; margin: 0 0 22px; }
.hero .art img { width: 100%; max-width: 430px; display: block; margin: 0 auto; border-radius: 12%; box-shadow: 0 20px 50px rgba(23,96,170,.28); }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--deep); background: #fff; border: 1px solid var(--line); padding: 5px 12px; border-radius: 99px; }
.eyebrow.dk { background: none; border: 0; padding: 0; color: var(--accent); }
.block { padding: 56px 0 8px; }
.block h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; margin: 0 0 10px; }
.lead { color: var(--ink2); font-size: 18px; margin: 0 0 24px; max-width: 640px; }
.site-foot { margin-top: 70px; border-top: 1px solid var(--line); padding: 30px 0 50px; color: var(--ink2); font-size: 14.5px; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.site-foot a { color: var(--ink2); }
.app-title { padding: 30px 0 14px; } .app-title h1 { margin: 0; font-size: clamp(30px, 5vw, 44px); } .app-title p { margin: 4px 0 0; color: var(--ink2); }
#app .box { border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; background: var(--surface); }
.lingosu-frame { display: block; width: 100%; height: calc(100vh - 200px); min-height: 640px; border: 0; background: var(--surface); }
.install-note { padding: 44px 24px; text-align: center; } .install-note h2 { margin: 0 0 8px; font-size: 30px; } .install-note p { color: var(--ink2); margin: 0 auto 20px; max-width: 460px; }
html[data-lingosu-installed] .install-note { display: none; }
.doc { max-width: 720px; margin: 0 auto; padding: 40px 22px 10px; } .doc h2 { font-size: 36px; } .doc h3 { margin-top: 26px; }
.acct { max-width: 520px; margin: 40px auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 28px; }
.acct h1 { margin: 0 0 6px; font-size: 32px; } .acct p { color: var(--ink2); }
.acct input { width: 100%; font: inherit; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); margin: 6px 0 10px; background: #f8fcff; color: var(--ink); }
.acct .msg { min-height: 24px; font-weight: 700; } .acct .msg.bad { color: #c0262d; } .acct .msg.good { color: #1a8a4a; }
.acct .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.acct .row .btn { margin: 0; }
.pill { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--moon); color: var(--deep); }
.pill.pro { background: var(--sun); color: #3a2a00; }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; } .hero .art { order: -1; } .hero .art img { max-width: 220px; } nav.main a { padding: 7px 9px; font-size: 14px; } .site-head .wrap { height: auto; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; } nav.main { margin-left: 0; } }
.fine { font-size: 13.5px !important; margin: 14px 0 0 !important; opacity: .8; }
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; gap: 10px 34px; flex-wrap: wrap; justify-content: center; padding-top: 16px; padding-bottom: 16px; color: var(--ink2); font-size: 14.5px; }
.trust b { color: var(--ink); }
.picker { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.picker button { font: inherit; font-weight: 650; font-size: 14.5px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.picker button.on { background: var(--moon); color: #0b2a5b; box-shadow: 2px 2px 0 var(--ink); }
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 28px; }
.demo p#demoText { margin: 0; font-size: clamp(19px, 2.6vw, 25px); line-height: 1.6; }
.demo .sw { font: inherit; border: 0; border-bottom: 2.5px solid var(--orange); background: color-mix(in srgb, var(--moon) 45%, transparent); color: var(--ink); padding: 0 4px; border-radius: 4px 4px 0 0; cursor: pointer; font-weight: 700; }
.demo .sw:hover { background: var(--moon); color: #0b2a5b; }
.demo .hint { margin: 16px 0 0; color: var(--ink2); font-size: 14px; min-height: 22px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; }
.step .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #ffffff; font-size: 24px; border: 1px solid rgba(11,79,168,.22); box-shadow: 0 4px 10px rgba(11,79,168,.16); margin-bottom: 12px; }
.step h3 { margin: 0 0 4px; font-size: 24px; }
.step p { margin: 0; color: var(--ink2); }
.feat.alt { background: color-mix(in srgb, var(--ink) 5%, transparent); padding-bottom: 56px; margin-top: 56px; }
.feat { padding-top: 56px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.feat.alt .split .copy { order: 2; }
.eyebrow.dk { color: var(--orange); }
.copy h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.12; margin: 0 0 12px; }
.copy p { color: var(--ink2); font-size: 17px; margin: 0; }
.mock { display: grid; place-items: center; min-height: 230px; padding: 24px; background: var(--moon); border: 1px solid rgba(11,79,168,.22); border-radius: 22px 26px 20px 28px / 26px 20px 28px 22px; box-shadow: var(--shadow); color: #0b2a5b; }
.mk-card { background: #ffffff; border: 1px solid rgba(11,79,168,.22); border-radius: 16px; padding: 18px 20px; width: min(320px, 100%); box-shadow: 0 6px 16px rgba(11,79,168,.16); }
.mk-top { display: flex; align-items: center; justify-content: space-between; }
.mk-word { font-size: 28px; letter-spacing: -.02em; }
.mk-pill { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 99px; background: #e3f1ff; }
.mk-mean { margin: 4px 0 14px; color: #4a6b9a; }
.mk-row { display: flex; gap: 8px; flex-wrap: wrap; }
.mk-btn { font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 10px; border: 1px solid rgba(11,79,168,.22); background: #fff; }
.mk-btn.on { background: #2f9bf0; color: #ffffff; } .mk-btn.save { background: #0b2a5b; color: #fff; }
.mk-voices { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px; }
.mk-voice { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; padding: 8px 14px 8px 10px; border-radius: 99px; border: 1px solid rgba(11,79,168,.22); background: #ffffff; }
.mk-voice i { width: 20px; height: 20px; border-radius: 50%; background: #0b2a5b; display: block; position: relative; }
.mk-voice i::after { content: ""; position: absolute; left: 7px; top: 5px; border-left: 7px solid #ffc933; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.mk-voice.on { background: #2f9bf0; color: #ffffff; }
.mk-wave { display: flex; align-items: center; gap: 5px; height: 60px; }
.mk-wave i { width: 6px; border-radius: 4px; background: #0b2a5b; display: block; animation: wv 1.2s ease-in-out infinite; }
.mk-wave i:nth-child(odd) { animation-delay: .15s; }
.mk-wave i:nth-child(3n) { animation-delay: .4s; }
@keyframes wv { 0%, 100% { height: 12px; } 50% { height: 54px; } }
.mk-path { display: flex; align-items: center; gap: 0; flex-wrap: wrap; justify-content: center; row-gap: 14px; }
.mk-path u { width: 22px; height: 3px; background: #0b2a5b; display: block; }
.nd { display: grid; place-items: center; min-width: 54px; height: 54px; padding: 0 6px; border-radius: 50%; border: 1px solid rgba(11,79,168,.22); background: #ffffff; font-weight: 800; font-size: 15px; }
.nd.done { background: #2f9bf0; color: #ffffff; } .nd.cur { background: #0b2a5b; color: #ffc933; box-shadow: 0 0 0 5px rgba(31,35,71,.18); } .nd.lock { opacity: .55; border-style: dashed; }
.mk-stats { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.mk-stats div { background: #ffffff; border: 1px solid rgba(11,79,168,.22); border-radius: 14px; padding: 14px 18px; text-align: center; min-width: 96px; box-shadow: 0 4px 10px rgba(11,79,168,.16); }
.mk-stats b { display: block; font-size: 30px; letter-spacing: -.03em; }
.mk-stats small { color: #4a6b9a; font-size: 12px; }
.gcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.gcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px 19px 15px 20px / 19px 15px 20px 16px; box-shadow: var(--shadow); padding: 20px 18px 44px; }
.gcard b { font-size: 24px; display: block; margin-bottom: 4px; }
.gcard p { margin: 0; color: var(--ink2); font-size: 14.5px; }
.tg { position: absolute; left: 18px; bottom: 16px; font-size: 11px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; background: var(--moon); color: #0b2a5b; }
.tg.pro { background: var(--ink); color: var(--bg); }
.langs { display: flex; flex-wrap: wrap; gap: 9px; }
.langs span { padding: 8px 15px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: 15px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 760px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 26px; }
.plan.best { background: var(--moon); color: #0b2a5b; }
.plan h3 { margin: 0; font-size: 28px; }
.plan .pr { font-size: 44px; font-weight: 800; letter-spacing: -.04em; margin: 4px 0; }
.plan .pr small { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.plan .bill { margin: 0 0 12px; font-size: 14px; opacity: .8; }
.plan ul { margin: 12px 0 20px; padding-left: 18px; }
.plan li { margin: 5px 0; }
.ribbon { position: absolute; top: -13px; right: 20px; background: #2f9bf0; color: #ffffff; font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 99px; border: 1px solid rgba(11,79,168,.22); }
.narrow { max-width: 720px; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 17px; }
details p { margin: 10px 0 0; color: var(--ink2); }
.closing { margin-top: 70px; background: var(--navy); color: #ffffff; text-align: center; padding: 64px 0; border-top: 1px solid rgba(11,79,168,.22); }
.closing h2 { font-size: clamp(30px, 5vw, 46px); margin: 0 0 22px; }
.closing .btn { margin: 4px 6px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 24px; } .feat.alt .split .copy { order: 0; } }
@media (prefers-reduced-motion: reduce) { .mk-wave i { animation: none; height: 28px; } }
