/* FideLearn — marketing site (fidelearn.com).
   Layout rule: every card sits in the normal flow of a grid or flex container (no absolute-positioned
   collages), so nothing can overlap at any screen width. Motion respects "reduce motion". */
:root {
  --navy: #0f2a5f; --navy-2: #1b3f86; --blue: #2563eb; --blue-soft: #eaf1ff;
  --amber: #f5a524; --amber-soft: #fff4dc; --green: #059669; --green-soft: #e7f8f0; --rose: #e11d48; --rose-soft: #ffe9ee;
  --violet: #7c3aed; --violet-soft: #f1ecff; --sky: #0284c7; --sky-soft: #e0f2fe;
  --ink: #0b1324; --body: #334155; --muted: #64748b; --line: #e6ebf3; --soft: #f6f8fc; --white: #fff;
  --radius: 20px; --shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 36px -16px rgba(15,42,95,.22);
  --shadow-lg: 0 28px 70px -30px rgba(15,42,95,.42);
  --ease: cubic-bezier(.22,.8,.24,1);
  --gutter: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Plus Jakarta Sans", Inter, "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--body);
  background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0; letter-spacing: -.02em; overflow-wrap: break-word; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section { padding: 96px 0; position: relative; }
.section.tint { background: var(--soft); }
.section.fade { background: linear-gradient(#fff, var(--soft)); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 14px 0 14px; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.grad { background: linear-gradient(100deg, var(--blue) 0%, var(--violet) 50%, #d97706 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: gradShift 8s var(--ease) infinite alternate; }
@keyframes gradShift { to { background-position: 100% 0; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s; font-family: inherit;
  text-align: center; line-height: 1.3; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 28px -12px rgba(15,42,95,.7); }
.btn-primary:hover { background: var(--navy-2); }
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 10px 28px -14px rgba(245,165,36,.9); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c9d4e5; box-shadow: var(--shadow); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-line:hover { border-color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-top: 18px; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- header / navigation ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; z-index: 70; background: linear-gradient(90deg, var(--blue), var(--amber)); width: 0; }
.nav { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(15,23,42,.5); }
.nav .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.menu > li { position: relative; }
.menu a, .menu .drop-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--body); font-weight: 600; font-size: .95rem; padding: 9px 14px; border-radius: 999px;
  transition: background .2s, color .2s; background: none; border: 0; font-family: inherit; cursor: pointer; }
.menu a:hover, .menu .drop-btn:hover, .menu a.active, .menu .drop-btn.active { background: var(--soft); color: var(--ink); }
.menu a.active, .menu .drop-btn.active { color: var(--blue); }
.drop-btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.drop { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; width: 340px; padding: 10px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.open .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; }
.drop a:hover { background: var(--soft); }
.drop .di { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--tint, var(--blue-soft)); color: var(--tone, var(--blue)); }
.drop .di svg { width: 20px; height: 20px; }
.drop b { display: block; color: var(--ink); font-size: .92rem; }
.drop small { display: block; color: var(--muted); font-size: .8rem; font-weight: 500; line-height: 1.4; }
.nav-cta { flex: none; padding: 10px 20px; font-size: .92rem; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; flex: none; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .3s, opacity .3s; border-radius: 2px; }
.nav.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { opacity: 0; }
.nav.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px;
  background: radial-gradient(1100px 560px at 90% -10%, #eef4ff 0%, transparent 60%), radial-gradient(900px 500px at -10% 30%, #fff7e8 0%, transparent 55%); }
.blob { position: absolute; z-index: 0; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; animation: float 14s ease-in-out infinite; }
.blob.b1 { width: 420px; height: 420px; background: #c7dbff; top: -140px; right: -100px; }
.blob.b2 { width: 360px; height: 360px; background: #ffe3b0; bottom: -160px; left: -140px; animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(26px, -22px) scale(1.06); } }
.hero > .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .86rem; font-weight: 600; color: var(--body); box-shadow: var(--shadow); max-width: 100%; }
.pill b { flex: none; background: var(--green-soft); color: var(--green); padding: 3px 10px; border-radius: 999px; font-size: .72rem; letter-spacing: .04em; }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); margin: 22px 0 20px; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 580px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 24px; }
.ticks { display: flex; gap: 10px 22px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; font-weight: 600; list-style: none; padding: 0; margin: 0; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks li::before { content: "✓"; color: var(--green); font-weight: 800; }

/* the product window (one framed mock-up; its parts are laid out by a grid, never stacked on each other) */
.appwin { background: #fff; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; min-width: 0; }
.appwin-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
.appwin-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; flex: none; }
.appwin-bar i:nth-child(1) { background: #fca5a5; } .appwin-bar i:nth-child(2) { background: #fcd34d; } .appwin-bar i:nth-child(3) { background: #86efac; }
.appwin-bar span { margin-left: 8px; font-size: .74rem; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appwin-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; padding: 16px; background: linear-gradient(#fbfcfe, #f6f8fc); }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; min-width: 0; }
.tile-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .78rem; font-weight: 800; color: var(--ink); }
.tile-h small { font-weight: 700; color: var(--muted); font-size: .7rem; }
.exam-tile { grid-row: span 2; }
.timer { flex: none; font-variant-numeric: tabular-nums; font-weight: 800; font-size: .78rem; color: var(--rose); background: #fff1f3; padding: 3px 9px; border-radius: 999px; }
.qtext { font-size: .84rem; color: var(--ink); font-weight: 600; margin-bottom: 10px; }
.opt { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 11px; font-size: .8rem; margin-bottom: 7px; transition: all .45s var(--ease); }
.opt:last-of-type { margin-bottom: 0; }
.opt span { flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--soft); display: grid; place-items: center; font-weight: 800; font-size: .7rem; color: var(--muted); transition: all .45s var(--ease); }
.opt.pick { border-color: var(--blue); background: var(--blue-soft); }
.opt.pick span { background: var(--blue); color: #fff; }
.qnav { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; margin-top: 12px; }
.qnav i { height: 12px; border-radius: 4px; background: var(--soft); border: 1px solid var(--line); transition: background .4s; }
.qnav i.done { background: #bfdbfe; border-color: #bfdbfe; } .qnav i.cur { background: var(--blue); border-color: var(--blue); }
.cam { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #1e293b, #0f172a); }
.cam::after { content: ""; position: absolute; left: 50%; top: 58%; width: 36%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle at 50% 36%, #e0ac69 0 30%, transparent 31%), radial-gradient(circle at 50% 115%, #3b82f6 0 55%, transparent 56%); }
.cam .live { position: absolute; left: 8px; top: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; background: #dc2626; color: #fff; font-size: .6rem;
  font-weight: 800; padding: 3px 8px; border-radius: 999px; letter-spacing: .08em; }
.cam .live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.cam .scan { position: absolute; left: 0; right: 0; height: 2px; z-index: 1; background: linear-gradient(90deg, transparent, #22c55e, transparent); animation: scan 3s linear infinite; }
@keyframes scan { from { top: 0; } to { top: calc(100% - 2px); } }
.ok-chip, .chip { flex: none; font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.ok-chip, .c-ok { background: var(--green-soft); color: var(--green); } .c-late { background: var(--amber-soft); color: #b45309; } .c-abs { background: var(--rose-soft); color: var(--rose); }
.c-blue { background: var(--blue-soft); color: var(--blue); } .c-violet { background: var(--violet-soft); color: var(--violet); }
.bignum { font-size: 1.7rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-top: 8px; }
.bars i { flex: 1; min-width: 0; border-radius: 5px 5px 2px 2px; background: linear-gradient(var(--blue), #93c5fd); transform-origin: bottom; animation: grow 2.4s var(--ease) infinite alternate; }
.bars i:nth-child(2) { animation-delay: .2s; } .bars i:nth-child(3) { animation-delay: .4s; } .bars i:nth-child(4) { animation-delay: .6s; } .bars i:nth-child(5) { animation-delay: .8s; }
@keyframes grow { from { transform: scaleY(.45); } to { transform: scaleY(1); } }

/* ---------- real screenshots: browser frame, phone frame, product tour ---------- */
.shot { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid #dfe5ee; box-shadow: var(--shadow-lg); min-width: 0; }
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #f3f5f9; border-bottom: 1px solid var(--line); }
.shot-bar i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.shot-bar i:nth-child(1) { background: #fca5a5; } .shot-bar i:nth-child(2) { background: #fcd34d; } .shot-bar i:nth-child(3) { background: #86efac; }
.shot-bar span { flex: 1; min-width: 0; max-width: 380px; margin: 0 auto; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .72rem; color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot img { width: 100%; height: auto; display: block; }
.shot-cap { text-align: center; font-size: .84rem; color: var(--muted); margin-top: 16px; }
.phone { width: min(290px, 100%); margin: 0 auto; padding: 10px; border-radius: 42px; background: #0b1324; box-shadow: var(--shadow-lg); }
.phone img { width: 100%; height: auto; display: block; border-radius: 32px; }
.phones { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.phones .phone { width: min(260px, 100%); }
.paper { background: #fff; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; max-width: 560px; margin: 0 auto; }
.paper img { width: 100%; height: auto; display: block; }
.hero-c { text-align: center; }
.hero-c > .wrap { display: block; }
.hero-c .lead { margin: 0 auto; }
.hero-c .cta-row, .hero-c .ticks { justify-content: center; }
.hero-c h1 { max-width: 900px; margin-inline: auto; }
.hero-shot { margin: 56px auto 0; max-width: 1120px; }
.tour-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tour-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; color: var(--body); font: inherit; font-weight: 700; font-size: .92rem;
  padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.tour-tabs button svg { width: 18px; height: 18px; }
.tour-tabs button:hover { border-color: #c9d4e5; }
.tour-tabs button.on { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 10px 24px -12px rgba(15,42,95,.8); }
.tour-panel { display: none; }
.tour-panel.on { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: 40px; align-items: center; animation: tourIn .5s var(--ease); }
.tour-panel h3 { font-size: 1.5rem; margin: 12px 0 10px; }
.tour-panel p { color: var(--muted); margin-bottom: 18px; }
@keyframes tourIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.page-shot { padding: 8px 0 24px; }
.page-shot .shot { max-width: 1120px; margin: 0 auto; }
.demo-note svg { width: 16px; height: 16px; flex: none; color: var(--green); }
.demo-note { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); background: var(--soft); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }

/* ---------- getting-started guide ---------- */
.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 40px; text-align: left; }
.stage-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.stage-card b { display: block; color: var(--ink); font-size: 1rem; }
.stage-card span { font-size: .88rem; color: var(--muted); }
.stage-card .ficon { width: 44px; height: 44px; border-radius: 13px; }
.guide { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 96px; padding: 18px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
.toc h4 { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; counter-reset: t; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; align-items: baseline; padding: 7px 10px; border-radius: 10px; color: var(--body); font-size: .88rem; font-weight: 600; line-height: 1.35; transition: background .2s, color .2s; }
.toc a::before { content: counter(t); flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: .72rem; font-weight: 800;
  background: #fff; border: 1px solid var(--line); color: var(--muted); }
.toc a:hover { background: #fff; color: var(--ink); }
.toc a.on { background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(15,23,42,.08); }
.toc a.on::before { background: var(--blue); border-color: var(--blue); color: #fff; }
.toc .phase { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 12px 0 4px 10px; counter-increment: none; }
.toc .phase:first-child { margin-top: 0; }
.gsteps { display: grid; gap: 28px; counter-reset: g; min-width: 0; }
.phase-head { display: flex; align-items: center; gap: 12px; margin: 18px 0 -6px; }
.phase-head:first-child { margin-top: 0; }
.phase-head span { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.phase-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gstep { counter-increment: g; scroll-margin-top: 96px; padding: clamp(22px, 3.5vw, 34px); border-radius: 22px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.gstep-h { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.gstep-h::before { content: counter(g); flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; color: #fff;
  background: linear-gradient(140deg, var(--blue), var(--navy)); box-shadow: 0 10px 22px -10px rgba(37,99,235,.7); }
.gstep-h > div { min-width: 0; }
.gstep h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin: 2px 0 8px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.meta svg { width: 14px; height: 14px; }
.gstep > p, .gstep .prose-in > p { color: var(--body); margin-bottom: 14px; }
.gstep ol.do, .gstep ul.do { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.gstep ol.do li::marker { color: var(--blue); font-weight: 800; }
.where { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 8px; background: var(--blue-soft); color: var(--navy); font-weight: 700; font-size: .86em; white-space: nowrap; }
kbd { font-family: inherit; font-size: .82em; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: #fff; border: 1px solid var(--line); border-bottom-width: 2px; color: var(--ink); white-space: nowrap; }
code.addr { font-size: .86em; padding: 2px 8px; border-radius: 6px; background: #0f172a; color: #e2e8f0; white-space: nowrap; }
.tip { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--amber-soft); border: 1px solid #f6dfb2; color: #7a4a06; font-size: .92rem; margin: 6px 0 16px; }
.tip.ok { background: var(--green-soft); border-color: #c4ecd6; color: #065f46; }
.tip.info { background: var(--blue-soft); border-color: #cddcfd; color: #1e3a8a; }
.tip svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.gstep .shot { margin-top: 18px; box-shadow: var(--shadow); }
.gstep .phones { margin-top: 18px; }
.spec { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.spec th, .spec td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec thead th { background: var(--soft); color: var(--ink); font-size: .84rem; }
.spec td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.urlmap { display: grid; gap: 10px; margin: 6px 0 16px; }
.urlmap div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); min-width: 0; }
.urlmap b { display: block; color: var(--ink); font-size: .92rem; }
.urlmap small { color: var(--muted); font-size: .82rem; }
.urlmap code.addr { white-space: normal; word-break: break-all; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.checklist input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); }
.checklist label:has(input:checked) { background: var(--green-soft); border-color: #c4ecd6; }
.checklist label:has(input:checked) span { color: #065f46; text-decoration: line-through; text-decoration-color: rgba(6,95,70,.35); }
.check-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-weight: 700; color: var(--ink); font-size: .92rem; }
.check-progress .track { flex: 1; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.check-progress .track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), #34d399); transition: width .4s var(--ease); }

/* ---------- sign-up ---------- */
.signup { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: start; }
.slug { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); overflow: hidden; transition: border-color .2s, box-shadow .2s, background .2s; }
.slug:focus-within { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-soft); }
.slug .pre, .slug .suf { display: grid; place-items: center; padding: 0 12px; color: var(--muted); font-weight: 600; font-size: .9rem; background: #eef2f8; white-space: nowrap; }
.slug input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 13px 10px !important; }
.slug-note { font-size: .84rem; min-height: 1.3em; }
.slug-note.ok { color: var(--green); } .slug-note.bad { color: var(--rose); }
.your-site { padding: 22px; border-radius: 20px; color: #fff; background: radial-gradient(400px 200px at 0% 0%, rgba(245,165,36,.35), transparent 70%), linear-gradient(135deg, #0f2a5f, #1d4ed8); }
.your-site small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #c8d3ea; margin-bottom: 6px; }
.your-site .big { font-size: clamp(.95rem, 1.5vw, 1.12rem); font-weight: 800; overflow-wrap: anywhere; line-height: 1.4; }
.your-site ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: .86rem; color: #dbe5f8; }
.your-site code { color: #fff; font-weight: 700; word-break: break-all; }
.next-steps { counter-reset: n; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .92rem; }
.next-steps li::before { content: counter(n); width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: var(--blue-soft); color: var(--blue); }
.next-steps b { display: block; color: var(--ink); }
.done-panel { display: none; text-align: center; padding: 20px 6px 6px; }
.done-panel.on { display: block; animation: tourIn .5s var(--ease); }
.done-panel .ficon { margin: 0 auto 14px; width: 64px; height: 64px; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: 72px 0 64px; text-align: center;
  background: radial-gradient(900px 420px at 80% -20%, #eef4ff 0%, transparent 60%), radial-gradient(700px 380px at 0% 10%, #fff7e8 0%, transparent 55%); }
.page-hero > .wrap { position: relative; z-index: 1; max-width: 860px; }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--blue); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin: 14px 0 16px; }
.page-hero .lead { margin: 0 auto; }
.page-hero .cta-row { justify-content: center; margin-bottom: 0; }

/* ---------- strip ---------- */
.strip { padding: 30px 0; border-block: 1px solid var(--line); background: var(--soft); overflow: hidden; }
.strip p { text-align: center; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.marquee { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { white-space: nowrap; padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--ink); }
.marquee span::before { content: "●"; color: var(--amber); margin-right: 8px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.strip:hover .marquee { animation-play-state: paused; }

/* ---------- card grids (auto-fit: columns drop as the screen narrows; cards never overlap) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.cards.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.cards.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; min-width: 0; color: inherit; }
a.card:hover, .card.lift:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d7e1f0; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ficon { flex: none; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--tint, var(--blue-soft)); color: var(--tone, var(--blue)); }
.ficon svg { width: 25px; height: 25px; }
.tag { flex: none; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--amber-soft); color: #b45309; }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }
.card .link-arrow { margin-top: auto; padding-top: 16px; }
.t-blue { --tint: var(--blue-soft); --tone: var(--blue); } .t-green { --tint: var(--green-soft); --tone: var(--green); } .t-amber { --tint: var(--amber-soft); --tone: #d97706; }
.t-rose { --tint: var(--rose-soft); --tone: var(--rose); } .t-violet { --tint: var(--violet-soft); --tone: var(--violet); } .t-sky { --tint: var(--sky-soft); --tone: var(--sky); }
.mini { padding: 22px; }
.mini h4 { font-size: 1rem; margin: 12px 0 6px; }
.mini p { font-size: .9rem; }

/* ---------- split (text + picture) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.flip > .split-text { order: 2; }
.split-text h2, .split-text h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 14px 0 14px; }
.split-text > p { font-size: 1.04rem; color: var(--muted); margin-bottom: 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.visual { border-radius: 28px; padding: clamp(18px, 4vw, 36px); min-width: 0; }
.v-blue { background: linear-gradient(150deg, #eaf1ff, #f6f9ff); } .v-amber { background: linear-gradient(150deg, #fff4dc, #fffaf0); }
.v-green { background: linear-gradient(150deg, #e7f8f0, #f5fdf9); } .v-violet { background: linear-gradient(150deg, #f1ecff, #fbf9ff); }
.v-rose { background: linear-gradient(150deg, #ffe9ee, #fff7f9); }
.panel { width: 100%; max-width: 460px; margin: 0 auto; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.panel-h { padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: .9rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.panel-h small { font-weight: 700; color: var(--muted); font-size: .74rem; }
.row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 18px; border-bottom: 1px solid #f1f4f9; font-size: .86rem; }
.row:last-child { border-bottom: 0; }
.row > div { min-width: 0; }
.row b { display: block; color: var(--ink); font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row small { color: var(--muted); font-size: .74rem; }
.av { min-width: 36px; padding: 0 6px; height: 36px; white-space: nowrap; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: .72rem; color: var(--navy); background: #e8eef8; }
.av svg { width: 18px; height: 18px; }
.cams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px; }
.cams .cam.flag { outline: 2px solid var(--rose); outline-offset: -2px; }
.cams .cam.flag .live { background: var(--rose); }
.ring { width: 150px; height: 150px; border-radius: 50%; background: conic-gradient(var(--green) calc(var(--p) * 1%), #e8eef5 0); display: grid; place-items: center; margin: 22px auto; }
.ring::before { content: attr(data-label); width: 112px; height: 112px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; color: var(--ink); }
.chips { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 0 16px 20px; }
.idcard { width: 200px; max-width: 100%; margin: 0 auto; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); text-align: center; }
.idcard-top { background: var(--navy); color: #fff; padding: 14px 10px; border-bottom: 3px solid var(--amber); }
.idcard-top img { width: 34px; height: 34px; margin: 0 auto 6px; background: #fff; border-radius: 50%; padding: 3px; }
.idcard-top b { font-size: .66rem; letter-spacing: .1em; }
.idcard-body { padding: 14px; }
.idcard-photo { width: 72px; height: 86px; border-radius: 10px; margin: 0 auto 10px; background: linear-gradient(160deg, #e2e8f0, #cbd5e1); }
.idcard-body b { display: block; font-size: .8rem; color: var(--ink); }
.idcard-body small { font-size: .68rem; color: var(--blue); font-weight: 700; }
.qr { width: 52px; height: 52px; margin: 10px auto 0; border-radius: 4px; opacity: .88;
  background: conic-gradient(#0b1324 25%, transparent 0 50%, #0b1324 0 75%, transparent 0) 0 0 / 13px 13px; }
.idcards-pair { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

/* ---------- steps / numbers ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 22px; counter-reset: s; }
.step { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); min-width: 0; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-weight: 800; font-size: 1.15rem;
  color: #fff; background: linear-gradient(140deg, var(--blue), var(--navy)); margin-bottom: 18px; box-shadow: 0 10px 24px -10px rgba(37,99,235,.7); }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); }
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px; background: linear-gradient(135deg, var(--navy), #213f8d);
  border-radius: 28px; padding: clamp(28px, 5vw, 46px); color: #fff; position: relative; overflow: hidden; }
.numbers::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -140px; top: -220px; background: radial-gradient(rgba(245,165,36,.35), transparent 70%); pointer-events: none; }
.num { position: relative; z-index: 1; min-width: 0; }
.num b { display: block; font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.num span { color: #c8d3ea; font-size: .94rem; }

/* ---------- pricing ---------- */
.billing { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); margin-top: 24px; position: relative; max-width: 100%; }
.billing button { position: relative; z-index: 1; border: 0; background: none; font: inherit; font-weight: 700; padding: 10px 20px; border-radius: 999px; cursor: pointer; color: var(--muted);
  transition: color .3s; white-space: nowrap; }
.billing button.on { color: var(--ink); }
.billing .knob { position: absolute; z-index: 0; top: 5px; bottom: 5px; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(15,23,42,.12); transition: left .4s var(--ease), width .4s var(--ease); }
.billing em { font-style: normal; font-size: .68rem; font-weight: 800; color: var(--green); background: var(--green-soft); padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; align-items: stretch; padding-top: 14px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); min-width: 0;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.plan.best { border: 2px solid var(--blue); box-shadow: 0 30px 70px -32px rgba(37,99,235,.55); }
.plan-badge { align-self: flex-start; margin: -4px 0 12px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.2rem; }
.plan .for { color: var(--muted); font-size: .9rem; margin: 6px 0 18px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; margin-bottom: 4px; }
.price b { font-size: clamp(1.9rem, 3vw, 2.2rem); color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.price small { color: var(--muted); font-weight: 600; }
.per { font-size: .84rem; color: var(--muted); min-height: 1.5em; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: .92rem; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--green); font-weight: 800; flex: none; }
.plan li.no { color: #a3adbd; }
.plan li.no::before { content: "–"; color: #c3cbd8; }
.plan .btn { width: 100%; }
.table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: #fff; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 680px; font-size: .92rem; }
.compare th, .compare td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink); font-weight: 600; }
.compare thead th { background: var(--soft); color: var(--ink); font-size: .9rem; position: sticky; top: 0; }
.compare tbody tr:hover { background: #fafbfe; }
.compare .grp td { background: #fbfcfe; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; }
.yes { color: var(--green); font-weight: 800; } .nope { color: #c3cbd8; }
.fine { text-align: center; color: var(--muted); font-size: .86rem; margin-top: 22px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq h3 { font-size: 1.05rem; margin: 26px 0 4px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.faq h3:first-child { margin-top: 0; }
.qa { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; transition: box-shadow .3s; }
.qa[open] { box-shadow: var(--shadow); }
.qa summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue); transition: transform .35s var(--ease); flex: none; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa .ans { padding: 0 22px 20px; color: var(--muted); }

/* ---------- call to action band ---------- */
.cta { border-radius: 32px; padding: clamp(40px, 7vw, 68px) clamp(22px, 5vw, 50px); text-align: center; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 15% 0%, rgba(245,165,36,.35), transparent 70%), linear-gradient(135deg, #0f2a5f, #1d4ed8); }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.cta p { color: #dbe5f8; font-size: 1.06rem; max-width: 620px; margin: 0 auto 28px; }
.cta .cta-row { justify-content: center; margin: 0; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: start; }
.form-card { padding: clamp(22px, 4vw, 36px); border-radius: 24px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); min-width: 0; }
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 22px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field span { font-size: .84rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 13px; border: 1px solid var(--line); background: var(--soft); color: var(--ink); font: inherit;
  outline: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-soft); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.form-note { margin-top: 14px; font-size: .9rem; color: var(--muted); min-height: 1.4em; }
.side-cards { display: grid; gap: 16px; }
.side-cards .card { padding: 22px; }
.side-cards .card h3 { font-size: 1rem; margin: 12px 0 4px; }

/* ---------- prose (legal, about) ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.prose p, .prose li { color: var(--body); }
.prose p { margin-bottom: 12px; }
.prose .updated { color: var(--muted); margin-bottom: 22px; }

/* ---------- footer ---------- */
.foot { background: #0b1736; color: #c8d3ea; padding: 64px 0 30px; margin-top: 96px; }
.foot .cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
.foot img { height: 42px; width: auto; margin-bottom: 14px; }
.foot h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.foot a { color: #c8d3ea; display: block; padding: 4px 0; font-size: .92rem; transition: color .2s; }
.foot a:hover { color: var(--amber); }
.foot .legal { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .menu a, .menu .drop-btn { padding: 9px 10px; font-size: .9rem; }
}
@media (max-width: 1024px) {
  .guide { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .toc { position: static; }
  .toc ol { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
  .signup { grid-template-columns: minmax(0, 1fr); }
  .tour-panel.on { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero > .wrap { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero .appwin { max-width: 640px; width: 100%; margin: 0 auto; }
  .split, .split.flip { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .split.flip > .split-text { order: 0; }
  .split + .split { margin-top: 72px; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* mobile navigation */
  .menu-btn { display: block; }
  .nav-cta { display: none; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
    padding: 10px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 30px -24px rgba(15,23,42,.4); max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.open .menu { display: flex; }
  .nav.open { background: #fff; }
  .menu a, .menu .drop-btn { width: 100%; justify-content: space-between; padding: 13px 14px; font-size: 1rem; border-radius: 12px; }
  .drop { position: static; translate: none; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 8px; display: none; }
  .has-drop.open .drop { display: block; }
  .has-drop:hover .drop { display: none; }
  .has-drop.open:hover .drop { display: block; }
  .has-drop.open .drop-btn::after { transform: rotate(225deg) translateY(-2px); }
  .menu .drop a { justify-content: flex-start; padding: 10px 12px; font-size: .95rem; }
  .menu .menu-cta { display: block; margin-top: 8px; }
  .menu .menu-cta a { justify-content: center; background: var(--navy); color: #fff; }
}
@media (min-width: 1025px) { .menu .menu-cta { display: none; } }
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .where, code.addr, kbd { white-space: normal; overflow-wrap: anywhere; }
  .where { display: inline; line-height: 1.9; }
  .urlmap div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .urlmap code.addr { justify-self: start; }
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 72px; }
  .page-hero { padding: 48px 0 44px; }
  .appwin-body { grid-template-columns: minmax(0, 1fr); }
  .exam-tile { grid-row: auto; }
  .cta-row .btn { flex: 1 1 100%; }
  .foot .cols { grid-template-columns: minmax(0, 1fr); }
  .brand img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Premium: a full-width plan card below the four main plans */
.plan.plan-wide { grid-column: 1 / -1; background: linear-gradient(135deg, #0f2a5f, #1d4ed8); color: #fff; border: 0; }
.plan.plan-wide .for, .plan.plan-wide .per, .plan.plan-wide .price small { color: #cfe0ff; }
.plan.plan-wide h3, .plan.plan-wide .price b, .plan.plan-wide li { color: #fff; }
.plan.plan-wide .plan-badge { background: #f5a524; color: #3a2500; justify-self: start; width: max-content; }
.plan.plan-wide .btn { background: #f5a524; color: #3a2500; border-color: #f5a524; }
@media (min-width: 900px) {
  .plan.plan-wide { display: grid; grid-template-columns: 1fr 1.6fr; column-gap: 40px; align-items: start; }
  .plan.plan-wide > :not(ul) { grid-column: 1; }
  .plan.plan-wide ul { grid-column: 2; grid-row: 1 / span 6; columns: 2; column-gap: 28px; margin-top: 8px; }
  .plan.plan-wide ul li { break-inside: avoid; }
}

/* ---------- download (download.html + download.js) ---------- */
.dl-gate { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); border-radius: 26px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.dl-gate-form { padding: clamp(24px, 4vw, 40px); }
.dl-gate-form h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); margin-bottom: 8px; }
.dl-gate-form > p { color: var(--muted); margin-bottom: 20px; font-size: .96rem; }
.dl-field { display: grid; gap: 6px; margin-bottom: 14px; }
.dl-field span { font-weight: 700; font-size: .88rem; color: var(--ink); }
.dl-field small { color: var(--muted); font-size: .8rem; }
.dl-field input { width: 100%; padding: 13px 15px; border-radius: 13px; border: 1.5px solid #d6deea; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.dl-field input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.13); }
.dl-field input.code { font-family: Consolas, "Roboto Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.dl-gate-form .btn { width: 100%; }
.dl-gate-form .btn[disabled] { opacity: .65; cursor: wait; }
.dl-msg { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .9rem; display: none; }
.dl-msg.err { display: block; background: var(--rose-soft); color: #9f1239; }
.dl-msg.busy { display: block; background: var(--soft); color: var(--muted); }
.dl-gate-side { padding: clamp(24px, 4vw, 40px); background: radial-gradient(500px 260px at 100% 0%, rgba(245,165,36,.28), transparent 70%), linear-gradient(150deg, #0f2a5f, #1b3f86 70%, #1d4ed8); color: #dbe5f8; }
.dl-gate-side h3 { color: #fff; font-size: 1.1rem; margin-bottom: 12px; }
.dl-gate-side ol { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 10px; font-size: .93rem; }
.dl-gate-side b { color: #fff; }
.dl-gate-side code { background: rgba(255,255,255,.12); color: #fff; padding: 1px 7px; border-radius: 6px; font-size: .86em; }
.dl-gate-side .dl-mini { font-size: .84rem; color: #bcd0f2; border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; }
.dl-gate-side a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.dl-ready { display: none; max-width: 1000px; margin: 0 auto; }
.dl-ready.on { display: block; animation: tourIn .5s var(--ease); }
.dl-ready-head { display: flex; align-items: center; gap: 14px; justify-content: center; text-align: left; flex-wrap: wrap; margin-bottom: 22px; }
.dl-ready-head b { display: block; color: var(--ink); font-size: 1.15rem; }
.dl-ready-head span { color: var(--muted); font-size: .9rem; }
.dl-files { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 22px; }
.dl-file { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); min-width: 0; }
.dl-file-top { display: flex; gap: 14px; align-items: flex-start; }
.dl-file h3 { font-size: 1.15rem; margin-bottom: 4px; }
.dl-file p { color: var(--muted); font-size: .92rem; }
.dl-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.dl-facts span { font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--body); }
.dl-file .btn { width: 100%; margin-top: auto; }
.dl-sha { font-family: Consolas, "Roboto Mono", monospace; font-size: .72rem; color: var(--muted); word-break: break-all; background: var(--soft); border-radius: 10px; padding: 8px 10px; }
.dl-expiry { text-align: center; color: var(--muted); font-size: .86rem; margin-top: 16px; }
.dl-which { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.dl-which .card { padding: 30px; }
.dl-which ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.dl-which li { position: relative; padding-left: 24px; color: var(--body); font-size: .94rem; }
.dl-which li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.link-arrow svg { display: none; }   /* the ::after arrow is the one shown */
.shield-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; counter-reset: s; }
.shield-steps div { counter-increment: s; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.shield-steps div::before { content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); font-weight: 800; margin-bottom: 10px; }
.shield-steps span b { color: var(--ink); }
.shield-steps > div > b { display: block; color: var(--ink); margin-bottom: 4px; }
.shield-steps span { color: var(--muted); font-size: .9rem; }
pre.cmd { margin: 10px 0 0; padding: 14px 16px; border-radius: 14px; background: #0b1324; color: #e2e8f0; font-size: .84rem; overflow-x: auto; white-space: pre; }
@media (max-width: 860px) { .dl-gate { grid-template-columns: minmax(0, 1fr); } }

/* ---------- how-to library (how-to.html + howto.js) ---------- */
.hx-search { max-width: 640px; margin: 26px auto 0; position: relative; }
.hx-search input { width: 100%; padding: 16px 18px 16px 50px; border-radius: 18px; border: 1.5px solid #d6deea; font: inherit; font-size: 1.02rem; background: #fff; box-shadow: var(--shadow); }
.hx-search input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.13), var(--shadow); }
.hx-search svg { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--muted); }
.hx-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px auto 0; max-width: 940px; }
.hx-cats a { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 15px; font-weight: 700; font-size: .86rem; color: var(--body); transition: .2s; }
.hx-cats a:hover { border-color: #c9d4e5; color: var(--blue); }
.hx-group { margin-bottom: 44px; scroll-margin-top: 96px; }
.hx-group > h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 16px; }
.hx-group > h2 .ficon { width: 42px; height: 42px; border-radius: 13px; }
.hx-group > h2 .ficon svg { width: 21px; height: 21px; }
.hx-list { display: grid; gap: 12px; }
.hx { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; scroll-margin-top: 96px; transition: box-shadow .3s; }
.hx[open] { box-shadow: var(--shadow); }
.hx summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; gap: 14px; align-items: center; }
.hx summary::-webkit-details-marker { display: none; }
.hx summary h3 { flex: 1; color: var(--ink); font-size: 1.02rem; margin: 0; letter-spacing: -.01em; }
.hx summary small { flex: none; font-size: .74rem; font-weight: 700; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 4px 10px; }
.hx summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue); transition: transform .35s var(--ease); flex: none; }
.hx[open] summary::after { transform: rotate(45deg); }
.hx-body { padding: 0 22px 22px; color: var(--body); }
.hx-body > p { margin-bottom: 12px; }
.hx-body ol, .hx-body ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }
.hx-body ol li::marker { color: var(--blue); font-weight: 800; }
.hx-body .tip { margin-top: 6px; }
.hx-body .permalink { font-size: .82rem; font-weight: 700; }
.hx-empty { display: none; text-align: center; padding: 40px 20px; color: var(--muted); border: 1px dashed #d6deea; border-radius: 18px; }
.hx-empty.on { display: block; }
.hx-hide { display: none !important; }
mark.hx-mark { background: #fff1b8; color: inherit; border-radius: 3px; padding: 0 1px; }

/* ---------- find a school (find-a-school.html) ---------- */
.fs-search { max-width: 860px; margin: 28px auto 0; display: flex; gap: 6px; padding: 8px; border-radius: 22px; background: #fff; border: 1px solid #dbe3ef; box-shadow: var(--shadow-lg); text-align: left; }
.fs-search label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.fs-search label + label { border-left: 1px solid var(--line); }
.fs-search svg { width: 19px; height: 19px; color: var(--muted); flex: none; }
.fs-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1rem; padding: 14px 0; color: var(--ink); background: transparent; }
.fs-search .btn { flex: none; border-radius: 16px; }
.fs-places { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 10px; }
.fs-places a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .92rem; transition: .25s var(--ease); }
.fs-places a::after { content: "\2192"; color: var(--blue); }
.fs-places a:hover { border-color: #c9d4e5; transform: translateY(-2px); box-shadow: var(--shadow); }
.fs-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.fs-types a { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .95rem; transition: .25s var(--ease); }
.fs-types a:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #c9d4e5; }
.fs-types .ficon { width: 40px; height: 40px; border-radius: 12px; }
.fs-types .ficon svg { width: 20px; height: 20px; }
@media (max-width: 720px) { .fs-search { flex-direction: column; border-radius: 20px; } .fs-search label + label { border-left: 0; border-top: 1px solid var(--line); } .fs-search .btn { width: 100%; } }

/* ---------- CBT page ---------- */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; counter-reset: f; }
.flow div { counter-increment: f; position: relative; padding: 22px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.flow div::before { content: counter(f); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 12px; }
.flow b { display: block; color: var(--ink); margin-bottom: 4px; }
.flow span { color: var(--muted); font-size: .9rem; }
.vs td:nth-child(2) { color: var(--muted); }
.vs td:nth-child(3) { color: var(--ink); font-weight: 600; }
