/* ket1.lt: colours and type follow the app (KET/Theme/Theme.swift). Light only, like the Paper design. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ground: #E9EEE9; --surface: #FFFFFF; --ink: #17201C; --ink2: #4C5A53; --hair: #D3DCD5; --hair-soft: #E3E9E4;
  --signal: #FFC31F; --signal-deep: #F39A00; --signal-ink: #261A00; --good: #137A47; --hero-ink: #13202B;
  --display: "Bricolage Grotesque", system-ui, sans-serif; --text: "Inter", system-ui, -apple-system, sans-serif;
  --gutter: 72px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--good); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 11px; padding: 15px 20px; border-radius: 14px; font: 750 16px/22px var(--text); text-decoration: none; white-space: nowrap; }
.btn--yellow { background: var(--signal); color: var(--signal-ink); box-shadow: 0 3px 0 var(--signal-deep); }
.btn--yellow:hover { background: #ffcd45; }
.btn--dark { background: var(--hero-ink); color: #fff; }
.btn--small { padding: 10px 14px; font-size: 14px; line-height: 20px; }
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--hair); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.wordmark { font: 800 28px/32px var(--display); color: var(--hero-ink); }
.wordmark .k { letter-spacing: -0.005em; } .wordmark .e { letter-spacing: 0.005em; } .wordmark .t { letter-spacing: 0.035em; }
.wordmark .one { color: var(--signal); -webkit-text-stroke: 1.5px var(--hero-ink); paint-order: stroke fill; }
.nav { display: flex; gap: 32px; }
.nav a { font: 650 15px/21px var(--text); text-decoration: none; }
.nav a:hover { text-decoration: underline; }

/* Hero */
.hero { padding-block: 48px 58px; }
.hero .wrap { display: flex; align-items: center; gap: 42px; justify-content: space-between; }
.hero-copy { width: 570px; flex-shrink: 0; display: flex; flex-direction: column; gap: 21px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--good); font: 750 13px/18px var(--text); letter-spacing: 0.095em; text-transform: uppercase; }
.eyebrow .cat { width: 35px; height: 33px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 6px; background: var(--signal); color: var(--ink); font: 800 20px/25px var(--display); letter-spacing: 0; }
.hero h1 { font: 800 100px/99px var(--display); letter-spacing: -0.045em; }
.lead { color: var(--ink2); font-size: 19px; line-height: 29px; max-width: 430px; }
.route { width: 684px; flex-shrink: 1; background: var(--surface); border: 1px solid var(--hair); border-radius: 24px; box-shadow: 0 12px 32px rgba(23,32,28,.08); padding: 24px 30px 44px; position: relative; }
.route-head { display: flex; justify-content: space-between; font: 750 13px/18px var(--text); letter-spacing: 0.095em; padding-bottom: 24px; }
.route-head span + span { color: var(--ink2); }
.route ol { list-style: none; margin: 0; padding: 0; position: relative; }
.route ol::before { content: ""; position: absolute; left: 20px; top: 26px; bottom: 16px; border-left: 2px dashed var(--signal-deep); }
.step { display: flex; align-items: center; gap: 15px; padding-block: 7px; border-top: 1px solid var(--hair-soft); min-height: 134px; }
.step-num { position: relative; width: 41px; height: 41px; flex-shrink: 0; border-radius: 50%; background: var(--signal); display: grid; place-items: center; color: var(--signal-ink); font: 800 15px/18px var(--text); }
.step-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.step h3 { font: 800 29px/32px var(--display); letter-spacing: -0.045em; }
.step p { color: var(--ink2); font-size: 15px; line-height: 22px; }
.step video { width: 160px; height: 120px; flex-shrink: 0; border-radius: 10px; object-fit: cover; background: #9EBA8B; }

/* Lesson demo (Paper variant A) */
.demo { background: var(--surface); border-block: 1px solid var(--hair); overflow: hidden; }
.demo .wrap { position: relative; min-height: 760px; display: flex; align-items: center; padding-inline: 120px; }
.demo-copy { width: 560px; display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 1; }
.demo-copy .eyebrow { color: var(--good); }
.demo h2 { font: 800 58px/57px var(--display); letter-spacing: -0.045em; }
.demo .lead { max-width: 470px; font-size: 19px; line-height: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 8px 0 0; margin: 0; list-style: none; }
.chips li { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.chips b { width: 28px; height: 28px; border-radius: 50%; background: var(--signal); display: grid; place-items: center; color: var(--signal-ink); font-size: 13px; font-weight: 800; }
.demo-stage { margin: 0; position: absolute; left: 708px; top: 0; width: 560px; height: 100%; }
.demo-stage::before { content: ""; position: absolute; left: 0; top: 150px; width: 560px; height: 560px; border-radius: 50%; background: var(--signal); }
.phone { position: absolute; left: 92px; top: 56px; width: 376px; height: 814px; border: 10px solid var(--ink); border-radius: 52px; overflow: hidden; background: var(--ground); box-shadow: 0 30px 80px rgba(23,32,28,.22); }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.demo figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* FAQ */
.faq { padding-block: 54px 57px; }
.faq .wrap { display: flex; gap: 38px; }
.faq h2 { width: 386px; flex-shrink: 0; font: 800 45px/49px var(--display); letter-spacing: -0.045em; }
.faq dl { margin: 0; flex: 1; max-width: 824px; }
.faq dt { border-top: 1px solid var(--hair); padding-top: 15px; }
.faq dt h3 { font: 700 21px/27px var(--display); }
.faq dd { margin: 7px 0 0; padding-bottom: 18px; color: var(--ink2); max-width: 670px; line-height: 25px; }

/* CTA band */
.cta { background: var(--signal); }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 31px 35px; }
.cta h2 { font: 800 43px/48px var(--display); letter-spacing: -0.045em; color: var(--signal-ink); }
.cta p { color: var(--signal-ink); font-size: 15px; margin-top: 5px; }

/* Footer (all pages) */
.site-footer { background: var(--hero-ink); color: #C9D3DA; font-size: 14px; line-height: 22px; }
.site-footer .wrap { padding-block: 48px 40px; display: flex; flex-direction: column; gap: 28px; }
.foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer .wordmark { color: #fff; } .site-footer .wordmark .one { -webkit-text-stroke-color: #fff; }
.foot-links { display: flex; gap: 12px 28px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.foot-links a { color: #fff; font-weight: 600; text-decoration: none; } .foot-links a:hover { text-decoration: underline; }
.company { font-style: normal; }
.company a { color: #fff; }
.fineprint { border-top: 1px solid #2A3A47; padding-top: 20px; display: flex; flex-direction: column; gap: 6px; color: #9DAAB3; font-size: 13px; line-height: 20px; }
.todo { background: #FFE58A; color: #261A00; padding: 0 4px; border-radius: 4px; }

/* Legal / support pages */
.doc { padding-block: 56px 72px; }
.doc .wrap { max-width: 860px; }
.doc article { background: var(--surface); border: 1px solid var(--hair); border-radius: 24px; padding: 48px 56px; }
.doc h1 { font: 800 52px/54px var(--display); letter-spacing: -0.04em; margin-bottom: 8px; }
.doc .updated { color: var(--ink2); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font: 800 26px/32px var(--display); letter-spacing: -0.02em; margin: 36px 0 10px; }
.doc h3 { font: 700 19px/26px var(--display); margin: 22px 0 6px; }
.doc p, .doc li { color: #2E3A34; line-height: 26px; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 10px 0; }
.doc li + li { margin-top: 6px; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; border-top: 1px solid var(--hair); padding: 10px 12px 10px 0; }
.doc th { font-weight: 700; }
.doc .note { background: var(--ground); border-radius: 14px; padding: 14px 18px; margin: 16px 0; }

/* Tablet */
@media (max-width: 1240px) {
  :root { --gutter: 40px; }
  .hero h1 { font-size: 80px; line-height: 80px; }
  .hero-copy { width: 46%; flex-shrink: 1; }
  .route { width: 54%; padding-inline: 22px; }
  .step h3 { font-size: 24px; line-height: 28px; }
  .step video { width: 128px; height: 96px; }
  .demo .wrap { padding-inline: var(--gutter); }
  .demo-copy { width: 48%; }
  .demo-stage { left: auto; right: -40px; }
}
/* Phone */
@media (max-width: 860px) {
  :root { --gutter: 16px; }
  .nav { display: none; }
  .site-header .wrap { height: 64px; }
  .hero { padding-block: 28px 40px; }
  .hero .wrap { flex-direction: column; align-items: stretch; gap: 32px; }
  .hero-copy, .route { width: 100%; }
  .hero h1 { font-size: 58px; line-height: 58px; }
  .lead { font-size: 17px; line-height: 26px; }
  .route { padding: 18px 16px 24px; border-radius: 20px; }
  .route-head span + span { display: none; }
  .route ol::before { left: 15px; }
  .step { gap: 12px; min-height: 0; padding-block: 14px; flex-wrap: wrap; }
  .step-num { width: 32px; height: 32px; font-size: 13px; }
  .step-text { flex-basis: calc(100% - 44px); }
  .step h3 { font-size: 22px; line-height: 26px; }
  .step video { width: calc(100% - 44px); height: auto; aspect-ratio: 4 / 3; margin-left: 44px; }
  .demo .wrap { flex-direction: column; align-items: stretch; min-height: 0; padding-top: 48px; }
  .demo-copy { width: 100%; }
  .demo h2 { font-size: 40px; line-height: 42px; }
  .chips { gap: 12px 18px; }
  .demo-stage { position: relative; left: auto; right: auto; width: 100%; height: 520px; margin-top: 36px; }
  .demo-stage::before { left: 50%; transform: translateX(-50%); top: 80px; width: 340px; height: 340px; }
  .phone { left: 50%; transform: translateX(-50%); top: 0; width: 300px; height: 650px; border-width: 8px; border-radius: 44px; }
  .faq .wrap { flex-direction: column; gap: 16px; }
  .faq h2 { width: auto; font-size: 36px; line-height: 40px; }
  .cta .wrap { flex-direction: column; align-items: flex-start; }
  .cta h2 { font-size: 32px; line-height: 36px; }
  .doc { padding-block: 24px 48px; }
  .doc article { padding: 28px 20px; border-radius: 20px; }
  .doc h1 { font-size: 38px; line-height: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
