/* CamOnPC web site. One stylesheet, no web fonts, no scripts. */
:root {
  --navy: #071a3d;
  --navy-2: #0a2559;
  --blue: #1f8bff;
  --blue-dark: #0f6fe0;
  --sky: #45a6ff;
  --ink: #0e1a33;
  --muted: #55637a;
  --line: #e1e8f2;
  --soft: #f3f6fb;
  --white: #ffffff;
  --ok: #19a05a;
  --warn: #a86a00;
  --radius: 16px;
  --wrap: 1180px;
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.55; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 24px rgba(31, 139, 255, .35); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-outline { color: var(--blue-dark); border-color: var(--blue); background: var(--white); }
.btn-outline:hover { background: #eaf3ff; }
.btn-small { padding: 9px 16px; font-size: 15px; }
.btn[aria-disabled="true"] { background: rgba(255, 255, 255, .14); color: var(--white); border-color: rgba(255, 255, 255, .35); box-shadow: none; cursor: default; }
.price .btn[aria-disabled="true"], .article .btn[aria-disabled="true"] { background: #e9eef6; color: var(--muted); border-color: var(--line); }

/* ---------- header and hero ---------- */
.top {
  color: var(--white);
  background:
    radial-gradient(900px 500px at 78% 30%, rgba(31, 139, 255, .42), transparent 62%),
    radial-gradient(700px 420px at 8% 100%, rgba(31, 139, 255, .30), transparent 60%),
    linear-gradient(160deg, #06132e 0%, var(--navy) 45%, var(--navy-2) 100%);
}
.top.slim { background: linear-gradient(160deg, #06132e 0%, var(--navy) 55%, var(--navy-2) 100%); }
.nav { display: flex; align-items: center; gap: 28px; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 700; font-size: 21px; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 26px; margin-left: 18px; flex: 1; flex-wrap: wrap; }
.nav-links a { color: rgba(255, 255, 255, .88); text-decoration: none; font-size: 15.5px; font-weight: 500; }
.nav-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 6px; }
/* The first screen is wider than the rest of the page so that the picture of the app is large. */
.top:not(.slim) .wrap { width: min(1440px, calc(100% - 40px)); }
.hero { display: grid; grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr); gap: 48px; align-items: center; padding: 40px 0 84px; }
.pill { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #cfe5ff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 3.5vw, 54px); font-weight: 750; }
.hero h1 span { color: var(--sky); }
.lead { margin-top: 18px; font-size: 19px; color: rgba(255, 255, 255, .9); max-width: 34em; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: rgba(255, 255, 255, .94); }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 5px; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
/* On the first screen the text column is narrow: slimmer buttons, so that both fit in one row. */
.hero .cta { gap: 10px; }
.hero .btn { padding: 13px 16px; font-size: 15.5px; gap: 8px; }
.fine { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.window { border-radius: 14px; overflow: hidden; background: #111822; border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 30px 80px rgba(0, 10, 40, .6), 0 0 0 6px rgba(255, 255, 255, .05); }
.window-bar { display: flex; align-items: center; gap: 9px; padding: 9px 14px; background: #1b2026; color: #e8edf2; font-size: 13px; }
.window-bar img { width: 16px; height: 16px; }
.window-bar i { margin-left: auto; display: flex; gap: 18px; font-style: normal; color: #b9c2cc; font-size: 12px; }

/* ---------- sections ---------- */
section { padding: 78px 0; }
.soft { background: var(--soft); }
.center { text-align: center; }
h2 { font-size: clamp(27px, 3.2vw, 38px); font-weight: 720; }
.sub { margin: 14px auto 0; color: var(--muted); font-size: 18px; max-width: 46em; }
.cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; margin-top: 46px; }
.card { text-align: center; padding: 6px 8px; }
.icon { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 15px; display: grid; place-items: center; background: #e6f1ff; border: 1px solid #cfe2fb; color: var(--blue-dark); }
.icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 46px; }
.shot { margin: 0; }
.shot img { border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(14, 26, 51, .14); }
.shot figcaption { margin-top: 12px; font-size: 15.5px; color: var(--muted); text-align: center; }
.shot figcaption b { display: block; color: var(--ink); font-size: 17px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 46px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 700; margin-bottom: 14px; }
.steps h3 { font-size: 19px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 16px; }

.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 46px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel h3 { font-size: 20px; margin-bottom: 12px; }
.panel ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: #33415a; font-size: 16px; }
.panel.no { background: #fff9ee; border-color: #f0dcb4; }
.note { margin-top: 22px; color: var(--muted); font-size: 15.5px; }

.private { background: linear-gradient(160deg, #06132e, var(--navy-2)); color: var(--white); }
.private .sub { color: rgba(255, 255, 255, .82); }
.private .three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.private .three div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 24px; }
.private h3 { font-size: 19px; }
.private .three p { margin-top: 8px; color: rgba(255, 255, 255, .84); font-size: 16px; }

.price { max-width: 560px; margin: 46px auto 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 36px; text-align: center; box-shadow: 0 20px 60px rgba(14, 26, 51, .1); }
.price .big { font-size: 46px; font-weight: 760; letter-spacing: -0.02em; }
.price .big small { font-size: 18px; font-weight: 600; color: var(--muted); }
.price ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 9px; color: #33415a; }
.price .fine { color: var(--muted); }

.guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 46px; }
.guide { display: block; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.guide:hover { border-color: var(--blue); box-shadow: 0 10px 30px rgba(31, 139, 255, .14); }
.guide h3 { font-size: 20px; color: var(--ink); }
.guide p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.guide span { display: inline-block; margin-top: 14px; color: var(--blue-dark); font-weight: 600; }

.faq { max-width: 820px; margin: 40px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 17.5px; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue-dark); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 18px; color: #33415a; }

/* ---------- article pages ---------- */
.page-head { padding: 34px 0 46px; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 740; max-width: 20em; }
.page-head p { margin-top: 14px; color: rgba(255, 255, 255, .86); font-size: 18.5px; max-width: 40em; }
.head-cta { margin-top: 24px; align-items: center; gap: 14px 18px; }
.head-cta .fine { margin-top: 0; }
.crumbs { font-size: 14.5px; color: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.crumbs a { color: rgba(255, 255, 255, .88); }
.article { max-width: 780px; padding: 54px 0 80px; }
.article h2 { font-size: 27px; margin: 40px 0 12px; }
.article h3 { font-size: 20px; margin: 26px 0 8px; }
.article p, .article li { color: #26334d; }
.article p { margin: 12px 0; }
.article ul, .article ol { padding-left: 24px; display: grid; gap: 8px; }
.article code { background: #eef2f8; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-family: Consolas, "Courier New", monospace; font-size: .92em; word-break: break-all; }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 16px; }
.article th, .article td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { background: var(--soft); }
.callout { margin: 22px 0; padding: 16px 18px; border-left: 4px solid var(--blue); background: #eef5ff; border-radius: 8px; }
.callout.warn { border-left-color: var(--warn); background: #fff7e8; }
.article .cta { margin-top: 26px; }
.article figure { margin: 26px 0; }
.article figure img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(10, 26, 60, .10); }
.article figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; }
.updated { color: var(--muted); font-size: 15px; }

/* ---------- footer ---------- */
footer { background: #06132e; color: rgba(255, 255, 255, .78); padding: 44px 0 34px; font-size: 15px; }
footer .cols { display: flex; flex-wrap: wrap; gap: 26px 48px; justify-content: space-between; align-items: flex-start; }
footer a { color: rgba(255, 255, 255, .9); }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer .legal { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: rgba(255, 255, 255, .62); max-width: 70em; }

/* ---------- small screens ---------- */
@media (max-width: 1160px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-bottom: 60px; }
}
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shots, .steps, .private .three { grid-template-columns: 1fr; }
  .two, .guides { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .nav { flex-wrap: wrap; gap: 12px 18px; }
  .nav-links { order: 3; flex-basis: 100%; margin-left: 0; gap: 8px 18px; }
  .nav .btn { margin-left: auto; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price { padding: 26px 20px; }
  .window-bar i { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- the report page (/report/) ---- */
.report-page [hidden] { display: none; }
.report-page pre { margin: 18px 0; padding: 14px 16px; max-height: 420px; overflow: auto; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; font: 13.5px/1.5 Consolas, "Courier New", monospace; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.report-note { display: grid; gap: 6px; color: var(--muted); font-size: 15.5px; }
.report-note input { font: inherit; color: var(--ink); padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); width: 100%; }
.report-note input:focus { outline: 2px solid var(--blue); outline-offset: -1px; }
.report-page button.btn { cursor: pointer; font-family: inherit; }
.report-page button.btn:disabled { opacity: .6; cursor: default; }
.report-failed { color: #a11a1a; }

/* ---------- the advertising page (camonpc.com; from scripts/build-landing.js) ---------- */
.ad-page .btn { border-radius: 12px; }
.ad-page .btn-primary { background: linear-gradient(180deg, #2f9dff 0%, #0f6fe0 100%); }
.ad-page .btn-primary:hover { background: linear-gradient(180deg, #2390f5 0%, #0b60c8 100%); }
.center-cta { justify-content: center; }
.nav-cta { display: flex; gap: 10px; }

/* first screen: deep blue with a soft glow behind the laptop */
.top.ad { position: relative; overflow: hidden; background:
    radial-gradient(560px 380px at 72% 20%, rgba(64, 160, 255, .46), transparent 66%),
    radial-gradient(520px 560px at 93% 64%, rgba(24, 96, 255, .50), transparent 64%),
    radial-gradient(700px 420px at 6% 100%, rgba(31, 139, 255, .26), transparent 60%),
    linear-gradient(160deg, #050f26 0%, var(--navy) 45%, var(--navy-2) 100%); }
.top.ad > * { position: relative; z-index: 1; }
.top.ad > .glow { position: absolute; z-index: 0; border-radius: 50%; filter: blur(36px); pointer-events: none; }
.glow.a { width: 540px; height: 300px; right: 3%; top: 10%; background: linear-gradient(120deg, #49b0ff, #1146d8); transform: rotate(-24deg); opacity: .55; }
.glow.b { width: 430px; height: 250px; right: 27%; top: 50%; background: linear-gradient(200deg, #2f8fff, #0a2c9c); transform: rotate(18deg); opacity: .42; }
.glow.c { width: 400px; height: 220px; right: -5%; top: 60%; background: linear-gradient(160deg, #6cc6ff, #1557e6); transform: rotate(-52deg); opacity: .40; }
.ad .hero { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); padding: 30px 0 78px; }
.ad .hero h1 { font-size: clamp(31px, 3vw, 47px); }
.ad .hero h1 span { white-space: nowrap; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.pills .pill { margin-bottom: 0; display: inline-flex; align-items: center; gap: 8px; }
.pills .pill svg { width: 13px; height: 13px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; font-size: 14.5px; color: rgba(255, 255, 255, .88); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--sky); flex: none; }
.ad .fine { margin-top: 10px; }

/* the laptop: drawn, with a real picture of the app on its screen */
.laptop { padding: 0 5.5%; }
.laptop-lid { background: #10151d; border: 2px solid #5b6576; border-bottom: 0; border-radius: 20px 20px 0 0; padding: 12px 12px 14px; box-shadow: 0 30px 80px rgba(0, 8, 40, .55); }
.laptop-screen { border-radius: 8px; padding: 4.2% 4.6% 5%; background: radial-gradient(120% 90% at 28% 18%, #4a97ff 0%, #1d4fdc 38%, #0b2386 72%, #061142 100%); }
.laptop .window { border-radius: 9px; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 16px 40px rgba(0, 6, 30, .55); }
.laptop .window-bar { padding: 6px 10px; font-size: 11px; }
.laptop .window-bar img { width: 13px; height: 13px; }
.laptop .window-bar i { gap: 14px; font-size: 10px; }
.laptop-base { position: relative; height: 18px; margin: 0 -6%; border-radius: 3px 3px 18px 18px; background: linear-gradient(180deg, #e3e8f0 0%, #aeb7c5 55%, #7f899a 100%); box-shadow: 0 22px 34px rgba(0, 8, 40, .5); }
.laptop-base span { position: absolute; left: 50%; top: 0; width: 15%; height: 7px; transform: translateX(-50%); border-radius: 0 0 9px 9px; background: #8a94a5; }

/* "Why Choose CamOnPC?": white cards on pale blue */
.why { background: linear-gradient(180deg, #e9f2ff 0%, #f6f9fe 100%); }
.cards.boxed { gap: 18px; }
.cards.boxed .card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 16px 26px; box-shadow: 0 12px 30px rgba(14, 26, 51, .07); }
.cards.boxed .icon { background: none; border: 0; width: 48px; height: 48px; margin-bottom: 12px; color: var(--blue); }
.cards.boxed .icon svg { width: 44px; height: 44px; stroke-width: 1.6; }
.cards.boxed h3 { font-size: 20px; }

.wide-shot { max-width: 860px; margin: 44px auto 0; }
.private .badge { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(69, 166, 255, .18); color: var(--sky); margin-bottom: 14px; }
.private .badge svg { width: 22px; height: 22px; }
.private .fine { margin-top: 16px; }
.private .fine a { color: var(--white); }

/* wide screens: the photograph fills the first screen, the text stands on its empty left side */
@media (min-width: 1241px) {
  .top.ad { display: flex; flex-direction: column; min-height: clamp(700px, 45vw, 1100px); background: #06102a url("/assets/img/hero-1920.webp") right 55% / cover no-repeat; }
  .top.ad::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(4, 12, 34, .62) 0%, rgba(4, 12, 34, .30) 34%, transparent 56%); }
  .top.ad > .glow, .ad .laptop { display: none; }
  .ad .hero { flex: 1; align-content: center; grid-template-columns: minmax(0, min(600px, 46vw)); padding: 10px 0 64px; }
  /* the picture with the light desk: its laptop stands further left, and its lower left is light */
  .top.ad.on-light { background-position: right 50%; }
  .top.ad.on-light::before { background: linear-gradient(90deg, rgba(4, 12, 34, .80) 0%, rgba(4, 12, 34, .62) 26%, rgba(4, 12, 34, .16) 44%, transparent 54%); }
  .ad.on-light .hero { grid-template-columns: minmax(0, min(540px, 39vw)); }
}
@media (max-width: 1240px) {
  .ad .hero { grid-template-columns: 1fr; padding-bottom: 60px; }
  .laptop { padding: 0 6%; }
}
@media (max-width: 680px) {
  .nav-cta { margin-left: auto; }
  .ad .hero h1 br { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .laptop-lid { padding: 7px 7px 9px; border-radius: 12px 12px 0 0; }
  .laptop-base { height: 12px; }
  .top.ad > .glow { display: none; }
}
