/* XeroGent Screen Capture: shared styles for the landing, view and notice pages. Solid colours only; no gradients anywhere. */
:root {
  --teal: #0F766E; --teal-ink: #0B5A54; --teal-tint: #D9F1EE;
  --indigo: #3730A3; --indigo-ink: #2A2480; --indigo-tint: #E4E2F7;
  --maroon: #8A1538; --maroon-tint: #F5DEE5;
  --green: #16A34A; --green-ink: #15803D; --green-tint: #DCF5E5;
  --ink: #111827; --mute: #4B5563; --faint: #9CA3AF; --line: #E5E7EB;
  --paper: #F5F7FA; --card: #FFFFFF; --amber: #B45309;
  --night: #0B1220; --night-card: #151D2F; --night-line: #27324A; --night-ink: #F3F4F6; --night-mute: #AEB6C6;
  --radius: 16px; --shadow: 0 10px 30px rgba(17, 24, 39, 0.10); --shadow-lift: 0 18px 40px rgba(17, 24, 39, 0.16);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.5; }
a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(1100px, 100% - 32px); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { 0% { transform: scale(0.96); opacity: 0; } 60% { transform: scale(1.02); } 100% { transform: scale(1); opacity: 1; } }
@keyframes draw { 0% { width: 0; height: 0; opacity: 0; } 15% { opacity: 1; } 60% { width: 58%; height: 52%; } 100% { width: 58%; height: 52%; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes shimmer { 0% { transform: translateX(-30%); } 100% { transform: translateX(260%); } }
.rise { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rise.d1 { animation-delay: 0.08s; } .rise.d2 { animation-delay: 0.16s; } .rise.d3 { animation-delay: 0.26s; } .rise.d4 { animation-delay: 0.36s; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rise, .reveal, .pop, .shot .sel, .shot .cursor, .btn, .feature { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 12px; font-weight: 600; font-size: 16px;
       border: 2px solid transparent; cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease; text-decoration: none !important; }
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(0); }
.btn.primary { background: var(--indigo); color: #fff; }
.btn.primary:hover { background: var(--indigo-ink); }
.btn.big { padding: 18px 32px; font-size: 19px; border-radius: 14px; }
.btn.teal { background: var(--teal); color: #fff; }
.btn.teal:hover { background: var(--teal-ink); }
.btn.ghost { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn.ghost:hover { background: var(--indigo-tint); }
.btn.light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.light:hover { border-color: var(--faint); }
.btn.copied { background: var(--green) !important; color: #fff !important; border-color: var(--green) !important; }

/* ---------- header ---------- */
.top { background: var(--teal); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-size: 18px; letter-spacing: 0.01em; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 38px; height: 38px; border-radius: 10px; background: #fff; display: grid; place-items: center; }
.brand .mark svg { width: 24px; height: 24px; }
.brand small { display: block; font-weight: 500; font-size: 12px; opacity: 0.85; letter-spacing: 0.08em; text-transform: uppercase; }
.top nav { display: flex; gap: 6px; flex-wrap: wrap; }
.top nav a { color: #fff; padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.top nav a:hover { background: var(--teal-ink); text-decoration: none; }

/* ---------- hero ---------- */
.hero { background: var(--teal); color: #fff; padding: 48px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; margin: 0 0 18px; font-weight: 800; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: #A7F3D0; }
.hero .pitch { font-size: 19px; margin: 0 0 30px; color: #E6FFFB; max-width: 520px; }
.hero .cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--teal-ink); color: #fff; font-size: 13px; font-weight: 600; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #A7F3D0; }
.chip.ver .dot { background: #FDE68A; }
.no-release .only-release { display: none; }
.has-release .only-none { display: none; }
kbd { font-family: var(--mono); font-size: 12px; background: #fff; color: var(--ink); border-radius: 6px; padding: 2px 7px; border-bottom: 2px solid var(--line); }

/* the screen illustration */
.shot { position: relative; aspect-ratio: 16 / 10.5; border-radius: 18px; background: var(--night); padding: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); animation: pop 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both 0.2s; }
.shot .screen { position: absolute; inset: 14px; border-radius: 12px; background: #1B2437; overflow: hidden; }
.shot .bar { height: 26px; background: #273149; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: #3B4766; }
.shot .bar i:nth-child(1) { background: var(--maroon); } .shot .bar i:nth-child(2) { background: var(--amber); } .shot .bar i:nth-child(3) { background: var(--green); }
.shot .win { position: absolute; border-radius: 8px; background: #2A3450; }
.shot .w1 { left: 7%; top: 18%; width: 48%; height: 60%; }
.shot .w2 { left: 59%; top: 12%; width: 34%; height: 40%; background: #243049; }
.shot .w3 { left: 59%; top: 57%; width: 34%; height: 30%; background: #22314A; }
.shot .line { position: absolute; left: 12%; height: 7px; border-radius: 4px; background: #3E4B6E; }
.shot .l1 { top: 28%; width: 30%; } .shot .l2 { top: 36%; width: 38%; } .shot .l3 { top: 44%; width: 22%; background: var(--teal); } .shot .l4 { top: 52%; width: 34%; } .shot .l5 { top: 60%; width: 26%; }
.shot .sel { position: absolute; left: 10%; top: 22%; border: 2px dashed #A7F3D0; background: rgba(167, 243, 208, 0.10); border-radius: 4px; animation: draw 3.2s cubic-bezier(0.3, 0.8, 0.2, 1) infinite alternate; }
.shot .sel::before, .shot .sel::after { content: ""; position: absolute; width: 10px; height: 10px; background: #fff; border: 2px solid var(--teal); border-radius: 2px; }
.shot .sel::before { left: -6px; top: -6px; } .shot .sel::after { right: -6px; bottom: -6px; }
.shot .tag { position: absolute; left: 10%; top: 78%; background: var(--maroon); color: #fff; font-family: var(--mono); font-size: 12px; padding: 4px 9px; border-radius: 6px; animation: blink 3.2s ease-in-out infinite; }
.shot .pin { position: absolute; right: 8%; top: 8%; width: 46px; height: 46px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); }
.shot .pin svg { width: 24px; height: 24px; }

/* ---------- sections ---------- */
section.block { padding: 64px 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin: 0 0 8px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; letter-spacing: -0.015em; }
.lead { font-size: 18px; color: var(--mute); margin: 0 0 36px; max-width: 640px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.feature .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.feature .icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--mute); font-size: 14.5px; }
.ic-teal { background: var(--teal); } .ic-indigo { background: var(--indigo); } .ic-maroon { background: var(--maroon); } .ic-green { background: var(--green); }

/* ---------- share link note ---------- */
.note { background: var(--indigo); color: #fff; }
.note .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.note .eyebrow { color: #C7D2FE; }
.note h2 { color: #fff; }
.note p { color: #E0E7FF; font-size: 17px; }
.note ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.note li { display: flex; gap: 12px; align-items: flex-start; color: #EEF2FF; }
.note li .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin-top: 2px; }
.note li .tick svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 3; }
.linkcard { background: var(--night); border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.linkcard .url { display: flex; align-items: center; gap: 10px; background: #1B2437; border-radius: 10px; padding: 10px 14px; font-family: var(--mono); font-size: 13px; color: #A7F3D0; overflow: hidden; white-space: nowrap; }
.linkcard .url .lock { width: 16px; height: 16px; flex: none; fill: #A7F3D0; }
.linkcard .url .dim { color: #8FA0BF; }
.linkcard .preview { margin-top: 14px; border-radius: 12px; background: #151D2F; padding: 16px; }
.linkcard .frame { height: 150px; border-radius: 8px; background: #27324A; position: relative; overflow: hidden; }
.linkcard .frame::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; background: rgba(255, 255, 255, 0.06); animation: shimmer 3.4s ease-in-out infinite; }
.linkcard .frame .box { position: absolute; border-radius: 6px; background: #3E4B6E; }
.linkcard .frame .b1 { left: 10%; top: 18%; width: 40%; height: 55%; } .linkcard .frame .b2 { left: 56%; top: 18%; width: 34%; height: 22%; background: var(--teal); } .linkcard .frame .b3 { left: 56%; top: 48%; width: 34%; height: 25%; }
.linkcard .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; color: var(--night-mute); font-size: 13px; }
.linkcard .meta b { color: #fff; font-weight: 600; }
.linkcard .meta .pill { background: var(--teal); color: #fff; padding: 3px 9px; border-radius: 999px; font-weight: 600; font-size: 12px; }

/* ---------- hotkeys ---------- */
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.key { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; gap: 16px; align-items: center; transition: transform 0.22s ease, box-shadow 0.22s ease; }
.key:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.key .combo { display: flex; gap: 4px; align-items: center; flex: none; }
.key .combo kbd { font-size: 13px; padding: 5px 9px; background: var(--paper); border: 1px solid var(--line); border-bottom-width: 3px; }
.key .combo span { color: var(--faint); }
.key b { display: block; } .key small { color: var(--mute); }

/* ---------- footer ---------- */
footer.site { padding: 36px 0; color: var(--mute); font-size: 14px; border-top: 1px solid var(--line); }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer.site a { color: var(--mute); }
footer.site .tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--teal-tint); color: var(--teal-ink); font-weight: 600; font-size: 12px; margin-left: 8px; }

/* ---------- view page (dark) ---------- */
body.dark { background: var(--night); color: var(--night-ink); min-height: 100vh; display: flex; flex-direction: column; }
body.dark .top { background: #101A2E; border-bottom: 1px solid var(--night-line); }
body.dark .top nav a:hover { background: var(--night-card); }
.viewer { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 28px 16px 40px; }
.viewer h1 { font-size: clamp(20px, 3vw, 28px); margin: 0 0 6px; text-align: center; font-weight: 700; }
.viewer h1.untitled { color: var(--night-mute); font-weight: 500; }
.viewer .meta { display: flex; gap: 8px 18px; flex-wrap: wrap; justify-content: center; color: var(--night-mute); font-size: 14px; margin: 0 0 20px; }
.viewer .meta span { display: inline-flex; align-items: center; gap: 6px; }
.viewer .meta svg { width: 15px; height: 15px; stroke: var(--night-mute); fill: none; stroke-width: 2; stroke-linecap: round; }
.stage { width: min(1200px, 100%); background: var(--night-card); border: 1px solid var(--night-line); border-radius: 18px; padding: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); animation: pop 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.stage img { margin: 0 auto; max-height: 76vh; width: auto; max-width: 100%; border-radius: 10px; background: #0E1526; cursor: zoom-in; }
.stage.full img { max-height: none; cursor: zoom-out; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 22px 0 10px; }
.viewer .btn.light { background: var(--night-card); color: #fff; border-color: var(--night-line); }
.viewer .btn.light:hover { border-color: var(--night-mute); }
.expiry { color: var(--night-mute); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.expiry .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.viewer .link { margin-top: 16px; display: flex; align-items: center; gap: 10px; background: #101A2E; border: 1px solid var(--night-line); border-radius: 10px; padding: 8px 12px; font-family: var(--mono); font-size: 13px; color: #A7F3D0; max-width: 100%; }
.viewer .link input { flex: 1; min-width: 0; background: transparent; border: 0; color: inherit; font: inherit; outline: none; }
.viewer .link button { background: var(--teal); color: #fff; border: 0; border-radius: 7px; padding: 6px 12px; font-weight: 600; cursor: pointer; font-family: var(--font); }
.viewer .link button:hover { background: var(--teal-ink); }
.viewer .link button.copied { background: var(--green); }
footer.credit { padding: 24px 16px; text-align: center; color: var(--night-mute); font-size: 14px; border-top: 1px solid var(--night-line); }
footer.credit a { color: #A7F3D0; font-weight: 600; }
footer.credit .by { display: block; margin-top: 6px; font-size: 13px; color: #7F8AA3; }

/* ---------- notice pages (missing, no release) ---------- */
.notice { flex: 1; display: grid; place-items: center; padding: 60px 16px; }
.notice .card { max-width: 520px; width: 100%; text-align: center; background: var(--night-card); border: 1px solid var(--night-line); border-radius: 20px; padding: 40px 32px; animation: pop 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.notice .glyph { width: 76px; height: 76px; border-radius: 22px; margin: 0 auto 20px; display: grid; place-items: center; }
.notice .glyph svg { width: 38px; height: 38px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notice h1 { font-size: 26px; margin: 0 0 10px; }
.notice p { color: var(--night-mute); margin: 0 0 24px; }
.notice.light { background: var(--paper); }
.notice.light .card { background: var(--card); border-color: var(--line); color: var(--ink); }
.notice.light p { color: var(--mute); }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .hero .wrap, .note .wrap { grid-template-columns: 1fr; gap: 32px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .keys { grid-template-columns: 1fr; }
  .hero { padding: 36px 0 52px; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .btn.big { width: 100%; justify-content: center; }
  .hero .cta { flex-direction: column; align-items: stretch; }
  .brand span { font-size: 16px; }
}
