@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600;14..32,700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ════ STEPWISE INSIGHTS — "The Worked Example" · Chalk & Ink ════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink:#101728; --ink-2:#2b3346; --ink-3:#5b6478; --ink-4:#8b93a7;
  --paper:#fbfcfe; --paper-2:#f2f5fa; --paper-3:#e7ecf4; --line:#dde3ee; --line-2:#cbd3e2;
  --indigo:#4f46e5; --indigo-d:#4338ca; --indigo-l:#eef2ff;
  --mint:#10b981; --mint-l:#ecfdf5; --amber:#f59e0b; --amber-l:#fffbeb;
  --rose:#e11d48; --rose-l:#fff1f3; --white:#fff;
  --df:'Space Grotesk',system-ui,sans-serif; --ds:'Inter',system-ui,sans-serif; --dm:'JetBrains Mono',ui-monospace,monospace;
  --r-sm:8px; --r:12px; --r-lg:18px; --r-xl:26px;
  --sh-sm:0 1px 2px rgba(16,23,40,.06),0 1px 3px rgba(16,23,40,.04);
  --sh:0 4px 16px rgba(16,23,40,.07),0 2px 6px rgba(16,23,40,.04);
  --sh-lg:0 18px 48px rgba(16,23,40,.16); --sh-indigo:0 8px 24px rgba(79,70,229,.28);
  --ring:0 0 0 3px rgba(79,70,229,.32);
}
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body { font-family:var(--ds); background:var(--paper); color:var(--ink); font-size:15px; line-height:1.6; -webkit-font-smoothing:antialiased; min-height:100vh; }
a { color:var(--indigo); text-decoration:none; transition:color .15s; } a:hover { color:var(--indigo-d); }
img { max-width:100%; display:block; } ::selection { background:var(--indigo); color:#fff; }
h1,h2,h3,h4 { font-family:var(--df); font-weight:600; line-height:1.08; letter-spacing:-.02em; color:var(--ink); }
h1 { font-size:clamp(38px,5.6vw,66px); font-weight:700; } h2 { font-size:clamp(26px,3.4vw,40px); } h3 { font-size:20px; }
.mono { font-family:var(--dm); }
.hidden { display:none !important; }
.container { max-width:1160px; margin:0 auto; padding:0 24px; }
.text-muted { color:var(--ink-3); }
.badge { display:inline-flex; align-items:center; gap:5px; padding:4px 11px; border-radius:30px; font-size:11px; font-weight:600; }
.badge-data { background:var(--indigo-l); color:var(--indigo-d); } .badge-math { background:#fdf2f8; color:#9d174d; } .badge-bundle { background:var(--amber-l); color:#92620a; }
.badge::before { content:''; width:5px; height:5px; border-radius:50%; background:currentColor; }
.eyebrow { font-family:var(--dm); font-size:12px; font-weight:500; letter-spacing:.04em; color:var(--indigo); }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 20px; border-radius:var(--r); font-size:14px; font-weight:600; font-family:var(--ds); cursor:pointer; border:1px solid transparent; transition:transform .15s cubic-bezier(.2,.8,.3,1),box-shadow .15s,background .15s,color .15s,border-color .15s; white-space:nowrap; }
.btn:hover { transform:translateY(-1px); } .btn:active { transform:translateY(0); } .btn:focus-visible { outline:none; box-shadow:var(--ring); }
.btn-primary { background:var(--indigo); color:#fff; box-shadow:var(--sh-indigo); } .btn-primary:hover { background:var(--indigo-d); color:#fff; }
.btn-ink { background:var(--ink); color:#fff; } .btn-ink:hover { background:var(--ink-2); color:#fff; }
.btn-outline { background:var(--white); border-color:var(--line-2); color:var(--ink); } .btn-outline:hover { border-color:var(--ink); }
.btn-ghost { background:transparent; color:var(--ink-2); } .btn-ghost:hover { background:var(--paper-2); }
.btn-sm { padding:8px 14px; font-size:13px; border-radius:var(--r-sm); } .btn-lg { padding:15px 28px; font-size:15px; }
.btn-block { width:100%; } .btn:disabled { opacity:.55; cursor:not-allowed; transform:none; }
.field { display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
.field label { font-size:13px; font-weight:600; color:var(--ink-2); }
.input { padding:12px 14px; border-radius:var(--r-sm); border:1px solid var(--line-2); font-size:14px; font-family:var(--ds); background:var(--white); color:var(--ink); transition:border-color .15s,box-shadow .15s; width:100%; }
.input:focus { outline:none; border-color:var(--indigo); box-shadow:var(--ring); }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; } .field-error { font-size:12px; color:var(--rose); margin-top:4px; }
.alert { padding:12px 15px; border-radius:var(--r-sm); font-size:13px; margin-bottom:16px; border:1px solid transparent; }
.alert-error { background:var(--rose-l); color:#9f1239; border-color:#fecdd3; } .alert-ok { background:var(--mint-l); color:#065f46; border-color:#a7f3d0; }
.nav { position:sticky; top:0; z-index:100; background:rgba(251,252,254,.8); backdrop-filter:saturate(1.5) blur(16px); -webkit-backdrop-filter:saturate(1.5) blur(16px); border-bottom:1px solid var(--line); }
.nav-inner { max-width:1160px; margin:0 auto; padding:0 24px; height:68px; display:flex; align-items:center; justify-content:space-between; }
.brand { display:flex; align-items:center; gap:11px; cursor:pointer; }
.brand-glyph { width:34px; height:34px; flex-shrink:0; }
.brand-text { display:flex; flex-direction:column; line-height:1; }
.brand-name { font-family:var(--df); font-size:19px; font-weight:700; color:var(--ink); letter-spacing:-.02em; }
.brand-tag { font-family:var(--dm); font-size:9.5px; letter-spacing:.08em; color:var(--ink-4); margin-top:3px; }
.nav-links { display:flex; align-items:center; gap:4px; }
.nav-link { font-size:14px; font-weight:500; color:var(--ink-2); padding:8px 14px; border-radius:var(--r-sm); background:none; border:none; cursor:pointer; font-family:var(--ds); transition:background .15s,color .15s; }
.nav-link:hover { background:var(--paper-2); color:var(--ink); } .nav-link.active { color:var(--indigo); }
.nav-cart { position:relative; }
.cart-count { position:absolute; top:-4px; right:-4px; background:var(--indigo); color:#fff; border-radius:30px; min-width:18px; height:18px; padding:0 5px; font-size:10px; font-weight:700; display:flex; align-items:center; justify-content:center; font-family:var(--dm); box-shadow:0 0 0 2px var(--paper); }
.cart-count.empty { display:none; }
.hamburger { display:none; flex-direction:column; gap:5px; width:42px; height:42px; padding:10px; background:none; border:none; cursor:pointer; border-radius:var(--r-sm); }
.hamburger:hover { background:var(--paper-2); } .hamburger span { height:2px; background:var(--ink); border-radius:2px; transition:.25s; transform-origin:center; }
.hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); } .hamburger.open span:nth-child(2) { opacity:0; } .hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
.nav-mobile-right { display:none; align-items:center; gap:8px; }
.mobile-menu { display:none; flex-direction:column; gap:2px; padding:12px 24px 20px; background:var(--paper); border-bottom:1px solid var(--line); }
.mobile-menu.open { display:flex; } .mobile-menu .nav-link { text-align:left; width:100%; padding:13px 14px; font-size:15px; border-radius:var(--r-sm); }
.hero { position:relative; overflow:hidden; background:var(--ink); color:#fff; padding:88px 24px 96px; isolation:isolate; }
.hero-inner { max-width:1160px; margin:0 auto; position:relative; z-index:2; display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center; }
.hero-copy { max-width:560px; }
.hero .eyebrow { color:#a5b4fc; display:inline-flex; align-items:center; gap:8px; margin-bottom:20px; padding:6px 14px; border:1px solid rgba(165,180,252,.25); border-radius:30px; background:rgba(79,70,229,.12); }
.hero .eyebrow b { color:var(--mint); font-weight:500; }
.hero h1 { color:#fff; margin-bottom:20px; }
.hero h1 .refine { position:relative; color:#fff; white-space:nowrap; }
.hero h1 .refine::after { content:''; position:absolute; left:0; right:0; bottom:4px; height:10px; background:linear-gradient(90deg,var(--indigo),var(--mint)); opacity:.9; z-index:-1; border-radius:3px; animation:underline 1.1s .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes underline { from { transform:scaleX(0); transform-origin:left; } to { transform:scaleX(1); } }
.hero p.lead { font-size:17px; line-height:1.65; color:rgba(255,255,255,.72); margin-bottom:30px; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:30px; }
.hero-proof { display:flex; gap:26px; flex-wrap:wrap; }
.hero-proof .p-num { font-family:var(--df); font-size:24px; font-weight:700; color:#fff; } .hero-proof .p-num span { color:var(--mint); }
.hero-proof .p-lbl { font-size:12px; color:rgba(255,255,255,.5); }
.hero-viz { position:relative; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.09); border-radius:var(--r-xl); padding:22px; box-shadow:var(--sh-lg); }
.hero-viz-head { display:flex; align-items:center; gap:7px; margin-bottom:14px; }
.hero-viz-dot { width:10px; height:10px; border-radius:50%; }
.hero-viz-file { margin-left:auto; font-family:var(--dm); font-size:11px; color:rgba(255,255,255,.4); }
.hero-viz svg { width:100%; height:auto; display:block; }
.hero-viz-caption { display:flex; justify-content:space-between; margin-top:12px; font-family:var(--dm); font-size:11px; color:rgba(255,255,255,.45); }
.hero-viz-caption .raw { color:var(--amber); } .hero-viz-caption .refined { color:var(--mint); }
.hero::before { content:''; position:absolute; inset:0; z-index:-1; background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size:40px 40px; -webkit-mask-image:radial-gradient(ellipse 90% 80% at 70% 30%,#000 20%,transparent 75%); mask-image:radial-gradient(ellipse 90% 80% at 70% 30%,#000 20%,transparent 75%); }
.hero::after { content:''; position:absolute; z-index:-1; width:620px; height:420px; top:-100px; left:-120px; background:radial-gradient(circle,rgba(79,70,229,.35),transparent 66%); filter:blur(30px); animation:drift 16s ease-in-out infinite alternate; }
@keyframes drift { from { transform:translate(0,0); } to { transform:translate(60px,40px); } }
.animate-dot { animation:dotIn .5s cubic-bezier(.2,.8,.3,1) both; } @keyframes dotIn { from { opacity:0; transform:scale(0); } to { opacity:1; transform:scale(1); } }
.animate-line { stroke-dasharray:600; stroke-dashoffset:600; animation:draw 1.6s .6s cubic-bezier(.4,0,.2,1) forwards; } @keyframes draw { to { stroke-dashoffset:0; } }
.section { padding:68px 0; }
.section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:32px; }
.section-head .eyebrow { display:block; margin-bottom:8px; } .section-head h2 { margin:0; }
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.step { background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); padding:26px 24px; transition:transform .2s,box-shadow .2s; }
.step:hover { transform:translateY(-3px); box-shadow:var(--sh); }
.step-n { font-family:var(--dm); font-size:13px; font-weight:500; color:var(--indigo); background:var(--indigo-l); width:34px; height:34px; border-radius:var(--r-sm); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.step h3 { font-size:18px; margin-bottom:7px; } .step p { font-size:14px; color:var(--ink-3); line-height:1.6; }
.filters { display:flex; gap:8px; flex-wrap:wrap; }
.pill { font-size:13px; font-weight:500; padding:8px 16px; border-radius:30px; border:1px solid var(--line-2); background:var(--white); color:var(--ink-2); cursor:pointer; font-family:var(--ds); transition:all .15s; }
.pill:hover { border-color:var(--ink); } .pill.active { background:var(--ink); color:#fff; border-color:var(--ink); }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(290px,1fr)); gap:22px; }
.card { position:relative; background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; cursor:pointer; display:flex; flex-direction:column; transition:transform .22s cubic-bezier(.2,.8,.3,1),box-shadow .22s,border-color .22s; box-shadow:var(--sh-sm); }
.card:hover { transform:translateY(-5px); box-shadow:var(--sh-lg); border-color:var(--line-2); }
.card-top { height:150px; position:relative; display:flex; align-items:center; justify-content:center; font-size:46px; overflow:hidden; }
.card-top::after { content:''; position:absolute; right:-30px; bottom:-30px; width:110px; height:110px; background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.5),transparent 60%); }
.card-body { padding:18px 20px 20px; flex:1; display:flex; flex-direction:column; }
.card-title { font-family:var(--df); font-size:17px; font-weight:600; line-height:1.22; margin:10px 0 7px; letter-spacing:-.01em; }
.card-desc { font-size:13px; color:var(--ink-3); line-height:1.55; flex:1; margin-bottom:14px; }
.card-meta { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:14px; }
.card-file { font-family:var(--dm); font-size:10.5px; color:var(--ink-3); background:var(--paper-2); border:1px solid var(--line); padding:2px 7px; border-radius:5px; }
.card-foot { display:flex; align-items:center; justify-content:space-between; }
.card-price { font-family:var(--df); font-size:22px; font-weight:700; color:var(--ink); }
.card-price .cur { font-family:var(--dm); font-size:12px; font-weight:400; color:var(--ink-4); margin-right:3px; }
.card-actions { display:flex; gap:7px; }
.card-skel { height:328px; border-radius:var(--r-lg); background:linear-gradient(100deg,var(--paper-2) 30%,var(--paper-3) 50%,var(--paper-2) 70%); background-size:200% 100%; animation:shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position:-200% 0; } }
.footer { background:var(--ink); color:rgba(255,255,255,.6); padding:56px 24px 30px; margin-top:40px; }
.footer-grid { max-width:1160px; margin:0 auto; display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:32px; }
.footer-brand .brand-name { color:#fff; } .footer-brand p { font-size:13px; line-height:1.7; margin-top:12px; max-width:260px; }
.footer h4 { font-family:var(--ds); font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.4); margin-bottom:14px; }
.footer-col a { display:block; font-size:14px; color:rgba(255,255,255,.6); padding:5px 0; } .footer-col a:hover { color:#fff; }
.footer-bottom { max-width:1160px; margin:36px auto 0; padding-top:24px; border-top:1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:12px; color:rgba(255,255,255,.4); }
.overlay { display:none; position:fixed; inset:0; background:rgba(16,23,40,.66); backdrop-filter:blur(6px); z-index:300; align-items:center; justify-content:center; padding:20px; }
.overlay.open { display:flex; animation:fade .2s; } @keyframes fade { from { opacity:0; } to { opacity:1; } }
.modal { background:var(--white); border-radius:var(--r-xl); width:100%; max-width:640px; max-height:90vh; overflow-y:auto; box-shadow:var(--sh-lg); animation:pop .26s cubic-bezier(.2,.8,.3,1); }
@keyframes pop { from { opacity:0; transform:translateY(16px) scale(.98); } to { opacity:1; transform:none; } }
.modal-head { padding:22px 24px 16px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:flex-start; gap:12px; position:sticky; top:0; background:var(--white); z-index:1; }
.modal-head h3 { font-size:21px; }
.x-btn { width:34px; height:34px; border-radius:50%; border:none; background:var(--paper-2); color:var(--ink-2); font-size:17px; cursor:pointer; flex-shrink:0; transition:.15s; }
.x-btn:hover { background:var(--paper-3); transform:rotate(90deg); }
.modal-body { padding:22px 24px; }
.preview-callout { background:var(--amber-l); border:1px solid #fde68a; border-radius:var(--r); padding:14px 16px; margin-bottom:14px; }
.preview-callout h4 { font-family:var(--ds); font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#92620a; margin-bottom:7px; }
.preview-callout p { font-size:13.5px; line-height:1.7; color:var(--ink-2); }
.locked { background:var(--paper-2); border:1px dashed var(--line-2); border-radius:var(--r); padding:13px 16px; margin-bottom:14px; font-size:13px; color:var(--ink-3); display:flex; align-items:center; gap:9px; }
.incl { list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.incl li { font-size:13px; color:var(--ink-2); display:flex; align-items:flex-start; gap:7px; } .incl li::before { content:'✓'; color:var(--mint); font-weight:700; flex-shrink:0; }
.modal-foot { padding:16px 24px; background:var(--paper-2); border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:12px; position:sticky; bottom:0; }
.modal-price { font-family:var(--df); font-size:27px; font-weight:700; } .modal-price .cur { font-family:var(--dm); font-size:13px; font-weight:400; color:var(--ink-4); }
.modal-buys { display:flex; gap:8px; }
.cart-backdrop { display:none; position:fixed; inset:0; background:rgba(16,23,40,.4); backdrop-filter:blur(2px); z-index:200; }
.cart-backdrop.open { display:block; animation:fade .2s; }
.drawer { position:fixed; top:0; right:0; bottom:0; width:400px; max-width:100vw; background:var(--paper); border-left:1px solid var(--line); z-index:201; transform:translateX(100%); transition:transform .3s cubic-bezier(.2,.8,.3,1); display:flex; flex-direction:column; box-shadow:var(--sh-lg); }
.drawer.open { transform:none; }
.drawer-head { padding:20px 22px; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; } .drawer-head h3 { font-size:19px; }
.drawer-items { flex:1; overflow-y:auto; padding:14px 22px; }
.drawer-item { display:flex; gap:13px; padding:14px 0; border-bottom:1px solid var(--line); align-items:center; }
.drawer-item-emoji { font-size:28px; } .drawer-item-info { flex:1; }
.drawer-item-title { font-size:13px; font-weight:600; line-height:1.3; } .drawer-item-price { font-family:var(--dm); font-size:12px; color:var(--ink-3); margin-top:3px; }
.drawer-item-x { background:none; border:none; color:var(--ink-4); cursor:pointer; font-size:16px; padding:4px; border-radius:6px; } .drawer-item-x:hover { color:var(--rose); background:var(--rose-l); }
.drawer-foot { padding:18px 22px; border-top:1px solid var(--line); }
.drawer-total { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:14px; } .drawer-total .t-lbl { font-size:14px; font-weight:600; } .drawer-total .t-val { font-family:var(--df); font-size:22px; font-weight:700; }
.drawer-empty { text-align:center; padding:60px 20px; color:var(--ink-3); } .drawer-empty .e-icon { font-size:42px; margin-bottom:12px; opacity:.5; }
.checkout { display:grid; grid-template-columns:1fr 380px; gap:30px; padding:44px 0; align-items:start; }
.panel { background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); padding:26px; margin-bottom:20px; box-shadow:var(--sh-sm); }
.panel h3 { font-size:19px; margin-bottom:18px; padding-bottom:14px; border-bottom:1px solid var(--line); }
.seg { display:flex; gap:4px; padding:4px; background:var(--paper-2); border-radius:var(--r); margin-bottom:18px; }
.seg-btn { flex:1; padding:10px; text-align:center; font-size:13px; font-weight:600; cursor:pointer; background:transparent; color:var(--ink-3); border:none; font-family:var(--ds); border-radius:var(--r-sm); transition:.15s; }
.seg-btn.active { background:var(--white); color:var(--ink); box-shadow:var(--sh-sm); }
.summary { background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); padding:24px; position:sticky; top:88px; box-shadow:var(--sh-sm); }
.summary h3 { font-size:18px; margin-bottom:16px; }
.sum-item { display:flex; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid var(--line); } .sum-item:last-of-type { border:none; }
.sum-name { font-size:13px; font-weight:500; } .sum-price { font-family:var(--dm); font-size:13px; font-weight:500; white-space:nowrap; }
.sum-total { display:flex; justify-content:space-between; align-items:baseline; padding-top:14px; margin-top:4px; border-top:2px solid var(--ink); } .sum-total .st-lbl { font-weight:600; } .sum-total .st-val { font-family:var(--df); font-size:22px; font-weight:700; }
.trust { margin-top:16px; background:var(--mint-l); border-radius:var(--r); padding:13px 15px; font-size:12.5px; color:#065f46; line-height:1.9; }
.secure-note { display:flex; align-items:center; justify-content:center; gap:6px; font-size:12px; color:var(--ink-4); margin-top:12px; }
.pay-logos { display:flex; gap:6px; margin-bottom:14px; flex-wrap:wrap; }
.pay-logo { font-family:var(--dm); font-size:10px; font-weight:500; padding:4px 9px; border:1px solid var(--line); border-radius:6px; color:var(--ink-3); }
.success { max-width:560px; margin:0 auto; padding:64px 24px; text-align:center; }
.success-check { width:80px; height:80px; border-radius:50%; background:var(--mint-l); display:flex; align-items:center; justify-content:center; font-size:38px; margin:0 auto 22px; animation:pop .4s cubic-bezier(.2,.9,.3,1.3) both; }
.success-check.pending { background:var(--amber-l); } .success-check.failed { background:var(--rose-l); }
.dl-card { background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); padding:18px 22px; margin:22px 0; text-align:left; box-shadow:var(--sh-sm); }
.dl-item { display:flex; justify-content:space-between; align-items:center; padding:12px 0; border-bottom:1px solid var(--line); gap:12px; } .dl-item:last-child { border:none; }
.dl-name { display:flex; align-items:center; gap:9px; font-size:14px; font-weight:500; }
.auth { max-width:430px; margin:56px auto; padding:0 24px; }
.auth-card { background:var(--white); border:1px solid var(--line); border-radius:var(--r-xl); padding:38px; box-shadow:var(--sh); }
.auth-card h2 { font-size:27px; margin-bottom:6px; } .auth-sub { font-size:14px; color:var(--ink-3); margin-bottom:26px; }
.auth-switch { text-align:center; font-size:14px; color:var(--ink-3); margin-top:18px; }
.account { display:grid; grid-template-columns:240px 1fr; gap:30px; padding:44px 0; }
.account-side { background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); padding:16px; height:fit-content; position:sticky; top:88px; box-shadow:var(--sh-sm); }
.account-side-item { display:flex; align-items:center; gap:10px; padding:11px 13px; border-radius:var(--r-sm); font-size:14px; color:var(--ink-2); cursor:pointer; border:none; background:none; width:100%; font-family:var(--ds); text-align:left; transition:background .15s; }
.account-side-item:hover { background:var(--paper-2); } .account-side-item.active { background:var(--indigo-l); color:var(--indigo-d); font-weight:600; }
.order-row { background:var(--white); border:1px solid var(--line); border-radius:var(--r); padding:17px 19px; margin-bottom:12px; box-shadow:var(--sh-sm); }
.order-row-head { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:10px; }
.order-ref { font-family:var(--dm); font-size:12px; background:var(--paper-2); padding:3px 9px; border-radius:6px; }
.order-status { font-size:11px; font-weight:600; padding:3px 10px; border-radius:30px; } .status-paid { background:var(--mint-l); color:#065f46; } .status-pending { background:var(--amber-l); color:#92620a; }
table { width:100%; border-collapse:collapse; font-size:13px; } thead th { text-align:left; padding:12px 16px; font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-3); border-bottom:1px solid var(--line); } tbody td { padding:12px 16px; border-bottom:1px solid var(--line); }
.toasts { position:fixed; bottom:26px; right:26px; z-index:500; display:flex; flex-direction:column; gap:9px; }
.toast { padding:13px 18px; border-radius:var(--r); font-size:13px; font-weight:500; color:#fff; max-width:330px; box-shadow:var(--sh-lg); transform:translateY(16px); opacity:0; transition:.3s cubic-bezier(.2,.8,.3,1); display:flex; align-items:center; gap:9px; }
.toast.show { transform:none; opacity:1; } .toast-success { background:var(--mint); } .toast-error { background:var(--rose); } .toast-info { background:var(--ink); }
.spinner { width:18px; height:18px; border:2px solid rgba(255,255,255,.35); border-top-color:#fff; border-radius:50%; animation:spin .7s linear infinite; display:inline-block; } .spinner.dark { border-color:rgba(16,23,40,.15); border-top-color:var(--indigo); } @keyframes spin { to { transform:rotate(360deg); } }
@media (max-width:940px) { .hero-inner { grid-template-columns:1fr; gap:36px; } .hero-viz { max-width:460px; } .checkout { grid-template-columns:1fr; } .summary { position:static; } .account { grid-template-columns:1fr; } .account-side { position:static; } .steps { grid-template-columns:1fr; } .footer-grid { grid-template-columns:1fr 1fr; gap:28px; } }
@media (max-width:768px) { .nav-links { display:none; } .hamburger,.nav-mobile-right { display:flex; } .hero { padding:60px 20px 68px; } }
@media (max-width:560px) { .field-row { grid-template-columns:1fr; } .incl { grid-template-columns:1fr; } .grid { grid-template-columns:1fr; } .modal-foot { flex-direction:column; align-items:stretch; } .modal-buys { display:grid; grid-template-columns:1fr 1fr; } .drawer { width:100vw; } .footer-grid { grid-template-columns:1fr 1fr; } .hero-proof { gap:20px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; } }

/* Footer socials */
.footer-social { display:flex; gap:10px; margin-top:16px; flex-wrap:wrap; }
.footer-social a { width:38px; height:38px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:rgba(255,255,255,.08); color:rgba(255,255,255,.8); transition:.15s; }
.footer-social a:hover, .footer-social a:focus-visible { background:#fff; color:var(--ink,#101728); transform:translateY(-2px); }
/* Course-Hero-style preview pages */
.pp-wrap { margin:18px 0; }
.pp-title { font-family:var(--ds); font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3); margin-bottom:10px; }
.pp-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:14px; }
.pp-page { position:relative; margin:0; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:#fff; box-shadow:0 2px 10px rgba(16,23,40,.06); user-select:none; }
.pp-page img { display:block; width:100%; height:auto; pointer-events:none; }
.pp-page figcaption { font-size:11px; color:var(--ink-3); text-align:center; padding:6px 0 8px; border-top:1px solid var(--line); background:var(--paper-2,#f6f7fb); }
.pp-last .pp-lock { position:absolute; left:0; right:0; top:38%; bottom:30px; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:10px; padding:14px; text-align:center; font-size:13px; background:linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.93) 55%); -webkit-backdrop-filter:blur(5px); backdrop-filter:blur(5px); -webkit-mask-image:linear-gradient(180deg, transparent, #000 45%); mask-image:linear-gradient(180deg, transparent, #000 45%); }
.pp-last .pp-lock strong, .pp-last .pp-lock button { position:relative; }
.modal .pp-grid { grid-template-columns:repeat(2,1fr); }
@media (max-width:520px) { .modal .pp-grid { grid-template-columns:1fr; } }
.adm-thumbs { display:flex; gap:8px; flex-wrap:wrap; margin:8px 0; } .adm-thumbs img { width:64px; border:1px solid var(--line); border-radius:6px; }
