/* Copium product page. Production CSP forbids inline styles, so everything lives here.
   Colours come from the Copium app stylesheet (Copium repo web/src/style.css:19-29, dark theme):
   --brand #4d7ea8, --brand-light #6f9cc4, --bg #1b1d24, --panel #24262f, --line #373a46, --text #e9ebf1, --muted #9ea4b3.
   Fonts are referenced by name with fallbacks and are not bundled (Copium uses Outfit for its wordmark and Inter for the interface). */
.lb { width: min(1200px, 94vw); max-height: 94vh; padding: 14px; border: 1px solid #373a46; border-radius: 14px; background: #24262f; color: #e9ebf1; }
.lb::backdrop { background: #020306e6; }
.lb figure { margin: 0; display: grid; gap: 10px; }
.lb img { display: block; max-width: 100%; max-height: 76vh; margin: auto; object-fit: contain; }
.lb figcaption { color: #9ea4b3; font-size: 13px; text-align: center; }
.lb-bar { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.lb-bar button { min-height: 40px; padding: 6px 16px; border-radius: 8px; border: 1px solid #373a46; background: #1b1d24; color: inherit; font: inherit; cursor: pointer; }
.lb-bar button:hover { border-color: #4d7ea8; }
.lb-bar button:focus-visible { outline: 2px solid #6f9cc4; outline-offset: 2px; }

body.cp { background: #1b1d24; color: #e9ebf1; overflow-x: hidden; font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif; }
.cp h1, .cp-h2, .cp-h3, .cp-bar-text b, .cp-panel-title, .cp-cards h3, .cp-apps h3, .cp-plan h3, .cp-jump b { font-family: Outfit, Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif; }
.cp a:focus-visible, .cp summary:focus-visible { outline: 2px solid #6f9cc4; outline-offset: 4px; border-radius: 4px; }

.cp-hero { position: relative; padding: 56px clamp(20px, 4vw, 56px) 64px; text-align: center; overflow: hidden; background: radial-gradient(120% 70% at 50% 0, #24262f 0%, #1b1d24 70%); }
.cp-glow { position: absolute; left: 50%; top: 20%; width: min(1100px, 130vw); height: 600px; translate: -50% 0; background: radial-gradient(closest-side, #4d7ea840, #4d7ea800); pointer-events: none; }
.cp-copy, .cp-jump { position: relative; z-index: 1; }
.cp-title { margin: 0 0 22px; font-family: Outfit, Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif; font-size: clamp(44px, 6vw, 72px); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; color: #e9ebf1; }
.cp-title .tld-rotator { text-align: left; }
.cp-title .tld { color: #6f9cc4; }
.cp-eyebrow { margin: 0 0 18px; color: #6f9cc4; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.cp h1 { margin: 0; font-size: clamp(46px, 7.6vw, 112px); line-height: 1; letter-spacing: -.05em; font-weight: 600; }
.cp h1 em { font-style: normal; background: linear-gradient(100deg, #b9d3ea, #6f9cc4 55%, #4d7ea8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cp-lead { margin: 20px auto 0; max-width: 640px; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.5; color: #9ea4b3; }
.cp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.cp .button { min-height: 52px; border-radius: 10px; padding: 14px 22px; gap: 14px; }
.cp .button-primary { background: #6f9cc4; border-color: #6f9cc4; color: #1b1d24; box-shadow: 0 10px 40px #6f9cc433; }
.cp .button-primary:hover { background: #8eb1d2; border-color: #8eb1d2; }
.cp .button-secondary { background: #24262f; border-color: #ffffff24; color: #e9ebf1; }
.cp .button-secondary:hover { border-color: #6f9cc4; background: #2d303a; }
.cp-fine { margin: 18px 0 0; color: #7d879b; font-size: 13px; }
.cp-fine a { text-decoration: underline; text-underline-offset: 3px; color: #8eb1d2; }
.cp kbd { padding: 1px 6px; border: 1px solid #ffffff2e; border-radius: 5px; background: #ffffff0d; font: 600 11px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; }

.cp-jump { list-style: none; margin: 56px auto 0; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: left; }
.cp-jump a { display: block; height: 100%; padding: 18px; border-radius: 14px; border: 1px solid #ffffff14; background: #24262f; color: #9ea4b3; font-size: 14px; line-height: 1.5; transition: border-color .2s, transform .25s; }
.cp-jump a:hover { border-color: #4d7ea8; transform: translateY(-3px); }
.cp-jump b { display: block; margin-bottom: 6px; color: #e9ebf1; font-size: 22px; letter-spacing: -.02em; font-weight: 500; }
.cp-jump b span { color: #6f9cc4; }

.cp-h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.04em; font-weight: 600; margin: 0; }
.cp-h3 { margin: 0 0 22px; font-size: 24px; letter-spacing: -.02em; font-weight: 600; }
.cp-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cp-cards li { padding: 18px; border-radius: 14px; border: 1px solid #ffffff14; background: #24262f; }
.cp-ico { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 12px; border-radius: 10px; background: #1b1d24; border: 1px solid #6f9cc433; }
.cp-ico svg { width: 22px; height: 22px; fill: none; stroke: #6f9cc4; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cp-cards h3 { margin: 0 0 5px; font-size: 18px; letter-spacing: -.015em; font-weight: 500; }
.cp-cards p { margin: 0; color: #9ea4b3; font-size: 14px; line-height: 1.5; }

.cp-sec { padding: 0 clamp(20px, 4vw, 56px) clamp(48px, 6vw, 88px); max-width: 1320px; margin-inline: auto; }
.cp-points { padding-top: clamp(16px, 3vw, 40px); }
.cp-sec[id] { padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid #ffffff14; scroll-margin-top: 0; }
.cp-points + .cp-sec { border-top: 0; }
.cp-head { margin-bottom: 26px; }
.cp-head p { margin: 14px 0 0; max-width: 60ch; color: #9ea4b3; font-size: 18px; line-height: 1.55; }
.cp-head p.cp-label { margin: 0 0 12px; max-width: none; font-size: 12px; }
.cp-label { margin: 0 0 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #6f9cc4; font-weight: 600; }
.cp-more { margin: 24px 0 0; color: #9ea4b3; font-size: 15px; }
.cp-link { color: #8eb1d2; text-decoration: underline; text-underline-offset: 3px; }

.cp-frame { margin: 0; }
.cp-frame > a { display: block; padding: 8px; border-radius: 18px; background: linear-gradient(#ffffff10, #ffffff04); border: 1px solid #ffffff1a; box-shadow: 0 40px 100px #000a; transition: border-color .2s, transform .25s; }
.cp-frame > a:hover { border-color: #4d7ea8; transform: translateY(-3px); }
.cp-frame img { display: block; width: 100%; height: auto; border-radius: 11px; }
.cp-frame figcaption { margin-top: 12px; color: #9ea4b3; font-size: 14px; line-height: 1.55; }

.cp-split { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(28px, 4vw, 44px); }
.cp-split-rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); }
.cp-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 0; }
.cp-steps li { counter-increment: s; position: relative; display: flex; align-items: center; padding: 16px 0 16px 48px; border-top: 1px solid #ffffff14; color: #9ea4b3; font-size: 16px; line-height: 1.5; }
.cp-steps li:last-child { border-bottom: 1px solid #ffffff14; }
.cp-steps li::before { content: counter(s); position: absolute; left: 0; top: 50%; translate: 0 -50%; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #4d7ea8; color: #6f9cc4; font-size: 13px; font-weight: 600; }
.cp-steps b { color: #e9ebf1; font-weight: 600; }

.cp-feats { list-style: none; margin: 0 0 clamp(28px, 4vw, 44px); padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 56px); }
.cp-feats li { position: relative; padding: 13px 0 13px 28px; border-bottom: 1px solid #ffffff12; color: #9ea4b3; font-size: 15.5px; line-height: 1.5; }
.cp-feats li::before { content: ""; position: absolute; left: 4px; top: 20px; width: 9px; height: 9px; border-radius: 50%; background: #6f9cc4; }
.cp-feats-one { grid-template-columns: 1fr; margin-bottom: 0; }
.cp-plain { list-style: none; margin: 0; padding: 0; }
.cp-plain li { padding: 13px 0; border-bottom: 1px solid #ffffff12; color: #9ea4b3; font-size: 15px; line-height: 1.55; }

.cp-info-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 110px); }
.cp-spec { margin: 0; display: grid; }
.cp-spec div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid #ffffff12; }
.cp-spec dt { color: #6f9cc4; font-size: 14px; font-weight: 600; }
.cp-spec dd { margin: 0; color: #9ea4b3; font-size: 15px; line-height: 1.55; }

.cp-explorer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cp-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-tabs[hidden] { display: none; }
.cp-tab { padding: 7px 14px; border-radius: 999px; border: 1px solid #ffffff22; background: #ffffff08; color: #e9ebf1; font: inherit; font-size: 14px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.cp-tab:hover { border-color: #6f9cc4; }
.cp-tab[aria-selected="true"] { background: #6f9cc4; border-color: #6f9cc4; color: #1b1d24; font-weight: 600; }
.cp-tab:focus-visible, .cp-panel:focus-visible { outline: 2px solid #6f9cc4; outline-offset: 3px; }
.cp-panel { margin-top: 20px; padding: 16px 18px; border-radius: 14px; border: 1px solid #ffffff14; background: #24262f; }
.cp-panel[hidden] { display: none; }
.cp-panel + .cp-panel { margin-top: 14px; }
.cp-tabs:not([hidden]) + .cp-panel { margin-top: 20px; }
.cp-panel-title { margin: 0 0 6px; font-size: 19px; letter-spacing: -.015em; font-weight: 500; }
.cp-toollist { margin: 0; }
.cp-toollist div { padding: 12px 0; border-bottom: 1px solid #ffffff12; }
.cp-toollist div:last-child { border-bottom: 0; padding-bottom: 0; }
.cp-toollist dt { color: #e9ebf1; font-size: 15.5px; font-weight: 600; }
.cp-toollist dd { margin: 3px 0 0; color: #9ea4b3; font-size: 14.5px; line-height: 1.55; }

.cp-works-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.cp-apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cp-apps li { padding: 18px; border-radius: 14px; border: 1px solid #ffffff14; background: #24262f; }
.cp-apps h3 { margin: 0 0 6px; font-size: 18px; font-weight: 500; letter-spacing: -.015em; }
.cp-apps p { margin: 0; color: #9ea4b3; font-size: 14px; line-height: 1.5; }

.cp-apps .cp-store { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 14px; }
.cp-plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cp-plan { padding: 22px 24px; border-radius: 14px; border: 1px solid #ffffff14; background: #24262f; }
.cp-plan-plus { border-color: #4d7ea8; }
.cp-plan h3 { margin: 0 0 8px; font-size: 24px; font-weight: 500; letter-spacing: -.02em; }

.cp-info { padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 56px); max-width: 1320px; margin-inline: auto; border-top: 1px solid #ffffff14; }
.cp-faq-wrap { max-width: 820px; }
.cp-faq details { border-bottom: 1px solid #ffffff12; }
.cp-faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-size: 17px; font-weight: 500; list-style: none; position: relative; }
.cp-faq summary::-webkit-details-marker { display: none; }
.cp-faq summary::after { content: "+"; position: absolute; right: 2px; top: 13px; font-size: 22px; color: #6f9cc4; transition: transform .2s; }
.cp-faq details[open] summary::after { transform: rotate(45deg); }
.cp-faq p { margin: 0 0 18px; color: #9ea4b3; font-size: 15px; line-height: 1.65; max-width: 60ch; }

.cp-final { position: relative; text-align: center; padding: clamp(64px, 9vw, 120px) 20px; overflow: hidden; background: radial-gradient(60% 80% at 50% 100%, #4d7ea833, transparent 70%), #1b1d24; border-top: 1px solid #ffffff14; }
.cp-final p { color: #9ea4b3; font-size: 19px; margin: 18px 0 0; }
.cp-final .cp-fine { font-size: 14px; }
.cp-final .cp-h2 { font-size: clamp(40px, 6vw, 76px); }
.cp-final-icon { display: block; width: 72px; height: 72px; margin: 0 auto 26px; }
.cp-actions-c { margin-top: 34px; }

.cp-bar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 4vw, 56px); background: #14161be6; backdrop-filter: blur(14px); border-top: 1px solid #ffffff1a; transform: translateY(100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; }
.cp-bar.is-on { transform: none; visibility: visible; transition-delay: 0s; }
.cp-bar-text { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 14px; color: #9ea4b3; }
.cp-bar-text b { color: #fff; font-size: 16px; margin-right: 6px; }
.cp-bar-icon { display: block; width: 32px; height: 32px; flex-shrink: 0; }
.cp-bar-btns { display: flex; gap: 10px; }
.cp-bar .button { min-height: 44px; padding: 9px 18px; }
.cp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding: 28px clamp(20px, 4vw, 56px) 96px; color: #6b7487; font-size: 13px; border-top: 1px solid #ffffff12; }
.cp-foot p { margin: 0; }
.cp-foot a { color: #9ea4b3; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .cp-cards { grid-template-columns: 1fr 1fr; }
  .cp-split, .cp-split-rev, .cp-explorer, .cp-works-grid, .cp-info-grid { grid-template-columns: 1fr; }
  .cp-split { align-items: start; }
  .cp-feats { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cp-jump, .cp-plan-grid, .cp-apps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cp-title { margin-bottom: 16px; }
  .cp-actions .button { width: 100%; }
  .cp-cards { grid-template-columns: 1fr; }
  .cp-frame > a { padding: 5px; border-radius: 14px; }
  .cp-bar-text, .cp-bar .button-secondary { display: none; }
  .cp-bar .button-primary { flex: 1; }
  .cp-bar-btns { flex: 1; }
  .cp-spec div { grid-template-columns: 90px minmax(0, 1fr); }
}
@media (max-width: 400px) { .cp .button { padding-left: 16px; padding-right: 16px; gap: 10px; } }
@media (prefers-reduced-motion: reduce) {
  .cp-bar, .cp-frame > a, .cp-jump a, .cp-tab { transition: none; }
  .cp-frame > a:hover, .cp-jump a:hover { transform: none; }
}
