/* Weektick landing — this document only. Not loaded by the dashboard. */
:root {
  --paper: #F5F5F2;
  --surface: #FFFFFF;
  --ink: #15171C;
  --ink-2: #2A2D35;
  --muted: #5E636E;
  --faint: #8B909A;
  --line: #E6E6E1;
  --chip: #F1F1EC;
  --blue: #2E46D1;
  --blue-soft: #E9ECFB;
  --orange: #E08A1E;
  --green: #0F7A5F;
  --green-soft: #E3F2EC;
  --purple: #8A3FB8;
  --tg-wall: #B9CDB0;
  --tg-btn: rgba(46, 70, 50, .42);
  --font: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 68px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); line-height: 1.45; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
svg { display: block; flex: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
#how, #pilot, #faq { scroll-margin-top: 20px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 16px; font-size: 16px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: scale(.98); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.is-unavailable { opacity: .45; pointer-events: none; cursor: default; }

.nav { position: sticky; top: 0; z-index: 20; background: rgba(245, 245, 242, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; min-width: 0; }
.brand__logo { height: 32px; width: auto; display: block; }
.brand__mark { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.brand__mark img { width: 58%; height: auto; }
.nav__links { display: flex; gap: 24px; }
.nav__links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav__links a:hover { color: var(--ink); }
.nav .btn { height: 42px; padding: 0 18px; border-radius: 12px; font-size: 15px; white-space: nowrap; flex: none; }
.nav__login { font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; flex: none; }

.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero__grid { display: grid; gap: 56px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
.hero__visual { min-width: 0; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(44px, 7.4vw, 84px); font-weight: 800; line-height: .98; letter-spacing: -.045em; }
.hero__lead { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.5; color: var(--muted); max-width: 30em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { font-size: 14px; color: var(--muted); }

.stage { position: relative; width: min(100%, 420px); padding: 72px 0 24px; }
.phone { position: relative; margin-left: auto; width: 330px; max-width: 86%; border-radius: 46px; background: var(--ink); padding: 11px; box-shadow: 0 40px 80px -30px rgba(21, 23, 28, .45), 0 0 0 1px rgba(21, 23, 28, .9); }
.phone__screen { border-radius: 36px; overflow: hidden; background: var(--tg-wall); background-image: radial-gradient(rgba(255,255,255,.18) 1.5px, transparent 1.6px); background-size: 18px 18px; }
.tg-head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; background: rgba(255, 255, 255, .92); }
.tg-head .brand__mark { width: 36px; height: 36px; border-radius: 50%; }
.tg-head b { display: block; font-size: 15px; }
.tg-head span { font-size: 12.5px; color: var(--faint); }
.tg-body { padding: 14px 10px 16px; display: flex; flex-direction: column; gap: 4px; min-height: 420px; justify-content: flex-end; }
.bubble { background: #fff; border-radius: 16px 16px 16px 6px; padding: 9px 12px 6px; font-size: 13.4px; line-height: 1.38; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bubble p + p { margin-top: 8px; }
.bubble em { color: var(--muted); font-style: italic; }
.bubble .q { margin-top: 8px; padding: 4px 9px; border-left: 3px solid #2A7AB8; background: #EEF5FB; border-radius: 4px; }
.bubble time { display: block; text-align: right; font-size: 11px; color: var(--faint); margin-top: 2px; }
.kb { display: grid; gap: 4px; }
.kb a, .kb span { display: block; text-align: center; padding: 8px 6px; border: 0; border-radius: 9px; background: var(--tg-btn); color: #fff; font-size: 13px; font-weight: 500; text-decoration: none; }

.notif { position: absolute; left: 0; top: 0; width: 290px; max-width: 92%; display: flex; gap: 11px; align-items: flex-start; padding: 12px 14px; border-radius: 20px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); box-shadow: 0 18px 40px -16px rgba(21,23,28,.35), 0 0 0 1px rgba(21,23,28,.06); z-index: 2; }
.notif .brand__mark { width: 34px; height: 34px; border-radius: 9px; }
.notif b { font-size: 14px; display: block; }
.notif p { font-size: 13.5px; color: var(--ink-2); }
.notif small { position: absolute; right: 14px; top: 12px; font-size: 12px; color: var(--faint); }

.demo__note { margin: 14px 0 0; text-align: center; font-size: 12.5px; font-weight: 500; color: var(--faint); }

@media (prefers-reduced-motion: no-preference) {
  .anim .bubble, .anim .kb { animation: rise .5s cubic-bezier(.2,.8,.2,1) both .25s; }
  .anim .notif { animation: drop .55s cubic-bezier(.2,.8,.2,1) both 1.15s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-18px) scale(.96); } }

.band { padding: clamp(64px, 9vw, 112px) 0; }
.band--white { background: var(--surface); border-block: 1px solid var(--line); }
.h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; max-width: 15em; }
.sub { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 34em; line-height: 1.55; }

.mess { margin-top: 48px; display: grid; gap: 28px; align-items: center; }
.pile { position: relative; height: 300px; }
.scrap { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 8px 18px -12px rgba(21,23,28,.25); font-size: 14.5px; font-weight: 500; white-space: nowrap; max-width: 100%; }
.scrap small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.scrap .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.ic--pdf { background: #C2410C; }
.ic--eclass { background: #2E46D1; }
.ic--viber { background: #7B3FB8; }
.ic--img { background: #0F7A5F; }
.ic--note { background: #8B909A; }
.s1 { left: 0; top: 6px; transform: rotate(-4deg); }
.s2 { left: 34%; top: 58px; transform: rotate(3deg); }
.s3 { left: 6%; top: 128px; transform: rotate(2deg); }
.s4 { left: 40%; top: 176px; transform: rotate(-3deg); }
.s5 { left: 2%; top: 232px; transform: rotate(-1deg); }
.arrow { justify-self: center; color: var(--faint); }
.clean { background: var(--paper); border-radius: 22px; padding: 22px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.clean h3 { font-size: 18px; letter-spacing: -.01em; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 15px; min-width: 0; }
.row b { font-weight: 600; }
.row .when { margin-left: auto; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot--blue { background: var(--blue); }
.dot--green { background: var(--green); }
.dot--purple { background: var(--purple); }

.feature { display: grid; gap: 40px; align-items: center; padding-block: clamp(40px, 6vw, 72px); }
.feature + .feature { border-top: 1px solid var(--line); }
.feature__copy { display: flex; flex-direction: column; gap: 14px; max-width: 470px; }
.feature__copy h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.feature__copy p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.feature__copy .tag { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 5px 10px; border-radius: 8px; }
.demo { background: var(--surface); border-radius: 26px; padding: clamp(18px, 3vw, 28px); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(21,23,28,.35); min-width: 0; }

.extract { display: grid; gap: 14px; }
.slide { border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); padding: 14px; font-size: 12px; color: var(--ink-2); overflow-x: auto; }
.slide b { display: block; color: #3A3FA8; font-size: 13px; margin-bottom: 8px; }
.slide table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.slide td { border: 1px solid #C9CBD3; padding: 3px 6px; }
.scan { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--blue); }
.scan span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--blue-soft); border-top-color: var(--blue); }
@media (prefers-reduced-motion: no-preference) { .scan span { animation: spin 1s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }
.ask { padding: 12px 14px; border-radius: 14px; background: #FDF3E3; font-size: 14px; color: #3D2A10; }
.ask b { display: block; margin-bottom: 8px; }
.ask .opts { display: flex; gap: 8px; }
.ask button { flex: 1; height: 38px; border: 1px solid #E8D3B0; background: #fff; border-radius: 10px; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.ask button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.course { border-radius: 18px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.course__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.course__head b { font-size: 16px; }
.course__head span { font-size: 14px; color: var(--muted); }
.course__head em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--muted); }
.item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid #EFEFEA; cursor: pointer; }
.item input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 50%; border: 1.5px solid #9A9EA8; display: grid; place-items: center; cursor: pointer; flex: none; }
.item input::after { content: ""; width: 10px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); opacity: 0; }
.item input:checked { background: var(--ink); border-color: var(--ink); }
.item input:checked::after { opacity: 1; }
.item .t { flex: 1; font-size: 15px; min-width: 0; }
.item:has(input:checked) .t { color: var(--faint); text-decoration: line-through; }
.next { display: none; font-size: 12px; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 4px 8px; border-radius: 8px; white-space: nowrap; }
.item.is-next .next { display: inline-block; }

.tg-mini { border-radius: 20px; padding: 18px 14px; background: var(--tg-wall); background-image: radial-gradient(rgba(255,255,255,.2) 1.5px, transparent 1.6px); background-size: 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.tg-mini .bubble { font-size: 14.5px; }
.tg-mini .kb--one { grid-template-columns: 1fr; }
.tg-mini .kb a, .tg-mini .kb span { font-size: 14px; padding: 10px 6px; }

.steps {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 28px;
  counter-reset: s;
}
.step {
  position: relative;
  padding-top: 58px;
  counter-increment: s;
}
.step::before {
  content: counter(s);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 32px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.step h3 {
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.step p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.pilot__cta { margin-top: 28px; }

.faq { margin-top: 36px; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; font-size: 18px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { min-width: 0; }
.faq summary svg { transition: transform .2s ease; color: var(--muted); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 4px 22px; color: var(--muted); font-size: 16.5px; line-height: 1.6; max-width: 40em; }

.final { position: relative; overflow: hidden; margin: clamp(56px, 8vw, 96px) 0 0; padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 64px); border-radius: 32px; background: var(--ink); color: #fff; }
.final h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; max-width: 12em; }
.final p { margin: 18px 0 30px; color: #B9BDC7; font-size: 18px; max-width: 30em; }
.final__mark { position: absolute; right: -40px; bottom: -60px; width: 340px; height: 340px; opacity: .06; pointer-events: none; }

.site-foot.foot { padding: 36px 0 48px; }

@media (min-width: 920px) {
  .hero__grid { grid-template-columns: 1.08fr 1fr; }
  .mess { grid-template-columns: 1.1fr auto 1fr; }
  .feature { grid-template-columns: 1fr 1.05fr; gap: 72px; }
  .feature--flip .feature__copy { order: 2; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 19px;
    left: 52px;
    width: calc(100% - 52px + 40px);
    border-top: 2px dashed #C8CBCF;
    pointer-events: none;
  }
}
@media (max-width: 919px) {
  .arrow { transform: rotate(90deg); }
  .nav__links { display: none; }
}
@media (max-width: 520px) {
  .nav__in { gap: 12px; }
  .brand__logo { height: 26px; }
  .nav__login { display: none; }
  .nav .btn { padding: 0 12px; }
  .pile { height: 380px; }
  .scrap { white-space: normal; }
  .s2, .s4 { left: 8%; }
  .s2 { top: 72px; } .s3 { top: 148px; } .s4 { top: 222px; } .s5 { top: 300px; }
  .phone { margin: 0 auto; }
  .row .when { white-space: normal; text-align: right; }
  .course__head { flex-wrap: wrap; }
  .course__head em { margin-left: 0; }
  .item { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary svg { transition: none; }
}
