/* Shared look for the inner pages (how.html, features.html). Same tokens as the landing. */
:root {
  --bg: #E8DFF3; --ink: #22103F; --ink-soft: #5A4A7C; --violet: #6F2CE0; --violet-deep: #431E9F;
  --lilac: #EDE4FB; --star: #FCD441; --card: #FFFFFF;
  --clay: 0 22px 44px -22px rgba(67,30,159,.45), 0 4px 10px -4px rgba(67,30,159,.18), inset 0 1px 0 rgba(255,255,255,.9);
  --night: radial-gradient(120% 140% at 0% 0%, #4C24AE 0%, #2B1468 52%, #1D0C47 100%);
  --f-display: "Nunito", "Golos Text", system-ui, sans-serif;
  --f-body: "Golos Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-hand: "Caveat", "Segoe Print", cursive;
  color-scheme: light;
}
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
* { box-sizing: border-box; }
::selection { background: var(--violet); color: #fff; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--f-body); }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 18px 56px; display: flex; flex-direction: column; gap: 32px; }

.nav { display: flex; align-items: center; gap: 16px; }
.logo { font-family: var(--f-display); font-weight: 900; font-size: 26px; color: var(--violet-deep); text-decoration: none; display: flex; align-items: center; gap: 8px; letter-spacing: -.01em; }
.logo i { width: 10px; height: 10px; background: var(--star); border-radius: 2px; rotate: 45deg; display: inline-block; box-shadow: 0 0 12px 2px rgba(252,212,65,.7); }
.tagline { margin: 0; padding-left: 16px; border-left: 1px solid rgba(67,30,159,.22); font-size: 13px; line-height: 1.35; color: var(--ink-soft); max-width: 60ch; }

.btn { font: 600 14px/1 var(--f-body); border-radius: 999px; padding: 14px 22px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; transition: transform .2s cubic-bezier(.2,.8,.2,1), background .2s; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 14px 28px -12px rgba(111,44,224,.75), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { background: var(--violet-deep); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: 0 10px 22px -14px rgba(67,30,159,.4); }
.btn-ghost:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--violet-deep); }
.btn-light:hover { transform: translateY(-2px); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

.back { font-size: 14px; color: var(--violet-deep); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; }
.back svg { width: 16px; height: 16px; }
.back:hover { text-decoration: underline; text-underline-offset: 3px; }
h1 { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.intro { display: flex; flex-direction: column; gap: 12px; max-width: 62ch; }
.intro p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.note { background: var(--card); border-radius: 22px; padding: 24px; color: var(--ink-soft); box-shadow: var(--clay); }

@media (max-width: 760px) {
  .nav { align-items: flex-start; }
  .tagline { font-size: 12px; padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
