/* Skontaj public pages: warm paper palette, typewriter accents, modern UI. Tokens: docs/brand.md */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-var.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("fonts/inter-sr-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+010C-010D, U+0106-0107, U+0110-0111, U+0160-0161, U+017D-017E;
}
@font-face {
  font-family: "Courier Prime";
  src: url("fonts/courier-prime-latin-700.woff2") format("woff2");
  font-weight: 700;
  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: "Courier Prime";
  src: url("fonts/courier-prime-sr-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+010C-010D, U+0106-0107, U+0110-0111, U+0160-0161, U+017D-017E;
}
@font-face {
  font-family: "Caveat";
  src: url("fonts/caveat-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2212;
}
@font-face {
  font-family: "Caveat";
  src: url("fonts/caveat-sr-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+010C-010D, U+0106-0107, U+0110-0111, U+0160-0161, U+017D-017E;
}

:root {
  color-scheme: light dark;
  --paper: #ffffff;
  --cream: #f1f5fc;
  --ink: #0f1b33;
  --ink-soft: #465066;
  --cover: #1b2f73;
  --leather: #1e3a8f;
  --accent: #d9532b;
  --accent-text: #1e3a8f;
  --accent-hover: #162d70;
  --on-accent: #ffffff;
  --line: rgba(15, 27, 51, 0.13);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --font-type: "Courier Prime", "Courier New", ui-monospace, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1526;
    --cream: #15213a;
    --ink: #eef2fb;
    --ink-soft: #b9c4da;
    --leather: #9fbaff;
    --accent-text: #8fb0ff;
    --accent-hover: #b4c9ff;
    --on-accent: #0d1526;
    --line: rgba(238, 242, 251, 0.16);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--leather); text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 42rem; margin: 0 auto; padding: 0 20px; }
.site-header { padding: 20px 0 4px; }
.site-header img { display: block; height: 52px; width: auto; }
.site-header .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; }
.navs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 12px; }
.logo { display: inline-block; }
.navlink { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 600; color: var(--leather); }

section { padding: 36px 0; }
.hero { padding-top: 28px; }
.eyebrow {
  margin: 0 0 14px;
  font: 700 0.8125rem/1.3 var(--font-type);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
h1, h2, h3 { margin: 0; font-family: var(--font-body); letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 8.6vw, 3.5rem); font-weight: 780; line-height: 1.06; }
h2 { font-size: clamp(1.5rem, 5.4vw, 2.0625rem); font-weight: 720; line-height: 1.15; margin-bottom: 18px; }
h3 { font-size: 1.125rem; font-weight: 680; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 14px; }
.lead { font-size: 1.1875rem; color: var(--ink-soft); margin: 22px 0 26px; max-width: 34rem; }
.note { font-size: 0.9375rem; color: var(--ink-soft); margin: 14px 0 0; }
.cta-card .note { color: #dbe4f7; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  background: var(--accent-text);
  color: var(--on-accent);
  font: 650 1.0625rem/1 var(--font-body);
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn:active { transform: translateY(1px); }

.pains { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.pains li { padding: 4px 0 4px 18px; border-left: 3px solid var(--accent-text); }
.closing { font-weight: 600; margin: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li {
  position: relative;
  padding: 20px 20px 20px 72px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--cover);
  color: #ffffff;
  font: 700 1.25rem/1 var(--font-type);
}
.steps p { margin: 6px 0 0; color: var(--ink-soft); }

.quote {
  display: grid;
  gap: 8px;
  padding: 26px 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.name-story { margin-top: 36px; }
.quote .bulb { width: 52px; height: auto; }
.bulb .glass { fill: var(--accent); }
.bulb .base { fill: var(--ink); }
.bulb .ray { stroke: var(--accent); stroke-width: 5.2; stroke-linecap: round; fill: none; }
.quote q { quotes: none; font: 700 clamp(2rem, 9vw, 2.75rem)/1.05 var(--font-type); letter-spacing: -0.01em; }
.quote p { color: var(--ink-soft); margin: 0; }

.trust { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; }
.trust li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; }
.trust p { margin: 4px 0 0; color: var(--ink-soft); }
.addr { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.footnote { font-size: 0.9375rem; color: var(--ink-soft); }

.cta-card { padding: 30px 22px; border-radius: 16px; background: var(--cover); color: #ffffff; }
.cta-card h2 { margin-bottom: 12px; }
.cta-card p { color: #dbe4f7; }
.cta-card .btn { background: #ffffff; color: #0f1b33; }
.cta-card .btn:hover { background: #e6edfb; color: #0f1b33; }
.cta-card a:not(.btn) { color: #bcd0ff; }
.cta-card :focus-visible { outline-color: #ffffff; }

.site-footer { padding: 16px 0 36px; border-top: 1px solid var(--line); margin-top: 20px; font-size: 0.9375rem; color: var(--ink-soft); }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; justify-content: space-between; }

@media (min-width: 640px) {
  body { font-size: 1.125rem; }
  section { padding: 52px 0; }
  .hero { padding-top: 56px; }
  .steps li { padding: 24px 24px 24px 84px; }
  .steps li::before { left: 22px; top: 22px; }
  .cta-card { padding: 44px 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}


/* Animated notebook: a worked example that is written step by step, then checked. Plays once; no JavaScript. */
.notebook { margin: 44px auto 8px; max-width: 28rem; }
.nb-paper {
  position: relative;
  padding: 22px 20px 20px 66px;
  background-color: #ffffff;
  background-image:
    linear-gradient(to right, rgba(120, 156, 214, 0.28) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120, 156, 214, 0.28) 1px, transparent 1px);
  background-size: 22px 22px;
  border: 1px solid #d3deef;
  border-radius: 14px;
  box-shadow: 10px 10px 0 #dbe5f6;
  color: #1f3a93;
  font-family: var(--font-hand);
  font-weight: 500;
  overflow: hidden;
}
.nb-paper::before { content: ""; position: absolute; top: 0; bottom: 0; left: 46px; width: 2px; background: #e58b96; }
.nb-paper p { margin: 0; }
.nb-title { font-size: 1.2rem; line-height: 22px; margin-bottom: 22px !important; color: #3d5599; }
.nb-line { font-size: 1.65rem; line-height: 44px; }
.nb-hl { padding: 0 6px; border-radius: 3px; background: linear-gradient(#ffe27a, #ffe27a) no-repeat left center / 100% 100%; }
.nb-ok { margin-top: 18px !important; font-size: 1.55rem; line-height: 26px; color: #14276b; }
.nb-check { margin-top: 8px !important; font-size: 1.15rem; line-height: 22px; color: #3d5599; }

@keyframes nb-write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes nb-mark { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes nb-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.nb-title { animation: nb-write 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both; }
.nb-line { animation: nb-write 1s cubic-bezier(0.4, 0, 0.2, 1) both; }
.nb-l1 { animation-delay: 1.3s; }
.nb-l2 { animation-delay: 2.4s; }
.nb-l3 { animation-delay: 3.5s; }
.nb-l4 { animation-delay: 4.6s; }
.nb-l5 { animation-delay: 5.7s; }
.nb-hl { animation: nb-mark 0.7s ease-out 6.7s both; }
.nb-ok { animation: nb-pop 0.6s ease-out 7.5s both; }
.nb-check { animation: nb-pop 0.6s ease-out 8.2s both; }
@media (prefers-reduced-motion: reduce) {
  .nb-title, .nb-line, .nb-hl, .nb-ok, .nb-check { animation: none; }
}
@media (min-width: 640px) {
  .nb-paper { padding: 26px 26px 24px 74px; }
  .nb-paper::before { left: 54px; }
}
