/* The browser extension's page (/extension): the site's atlas tokens, header and footer come from
   /site.css (the Downloads page's layout); this file is layout only. The mock-up of the on-page
   layer uses the extension's own colours (extension/page.js: OIII for the icon and badges). */
body { background: radial-gradient(ellipse 70% 42% at 72% 0%, #18205a 0%, rgba(24, 32, 90, 0) 70%) no-repeat, var(--night); }
.top { background: rgba(5, 8, 22, .88); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--rule); }
.ext-shell { max-width: var(--max); margin: auto; padding: 0 var(--gutter); }
.ext-intro { padding: clamp(40px, 6vw, 84px) 0 clamp(36px, 5vw, 64px); }
.ext-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.ext-intro .eyebrow { color: var(--oiii); }
.ext-intro h1 { margin: 20px 0 24px; font: 400 clamp(44px, 5.4vw, 82px)/1 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.ext-intro h1 em { font-style: italic; color: var(--parchment); }
.ext-intro .lead { max-width: 33em; margin: 0; color: var(--soft); font-size: 19px; line-height: 1.65; }
.ext-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ext-cta .btn.primary { padding: 0 24px; }
.ext-size { padding-left: 12px; border-left: 1px solid rgba(29, 20, 5, .3); font: 500 12px/1 var(--f-mono); letter-spacing: .04em; }
.ext-have { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(98, 198, 189, .45); background: var(--oiii-dim); color: #a8ebe4; font-size: 13.5px; }
.ext-have::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--oiii); flex: none; }
.ext-have.old { border-color: rgba(242, 179, 91, .5); background: var(--sodium-dim); color: var(--sodium); }
.ext-have.old::before { background: var(--sodium); }
.release { margin: 26px 0 0; font: 500 11px/1.8 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.release > span:not([data-i18n]) { margin: 0 10px; color: var(--faint); }

/* the mock-up: a browser window, a photo with the Skyshot icon and a solved badge */
.ext-demo { margin: 0; }
.ext-window { overflow: hidden; border: 1px solid rgba(232, 213, 173, .18); border-radius: 14px; background: #0a0f26; box-shadow: 0 40px 90px rgba(0, 0, 0, .5); }
.ext-chrome { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; background: #10162f; border-bottom: 1px solid var(--rule); }
.ext-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #2b3458; }
.ext-url { flex: 1; min-width: 0; margin: 0 8px; padding: 4px 12px; overflow: hidden; border-radius: 999px; background: #070b1d; color: var(--faint); font: 12px/1.4 var(--f-mono); white-space: nowrap; text-overflow: ellipsis; }
.ext-btn { position: relative; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: #07090c; color: #d6dde7; }
.ext-btn svg { width: 15px; height: 15px; fill: currentColor; }
.ext-btn b { position: absolute; right: -6px; bottom: -5px; padding: 1px 3px; border-radius: 4px; background: #62c6bd; color: #071d1b; font: 700 8px/1.1 var(--f-ui); }
.ext-photo { position: relative; display: block; }
.ext-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1800 / 1390; object-fit: cover; }
.ext-mark { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(7, 9, 12, .88); border: 1px solid #62c6bd; color: #a8ebe4; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.ext-mark svg { width: 21px; height: 21px; fill: currentColor; }
.ext-badge { position: absolute; left: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; max-width: calc(100% - 24px); padding: 7px 12px; border-radius: 12px; background: rgba(7, 9, 12, .86); border: 1px solid rgba(98, 198, 189, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ext-badge b { overflow: hidden; color: #a8ebe4; font: 600 13px/1.3 var(--f-ui); white-space: nowrap; text-overflow: ellipsis; }
.ext-badge small { overflow: hidden; color: #8b96a8; font: 500 11.5px/1.3 var(--f-mono); white-space: nowrap; text-overflow: ellipsis; }
.ext-demo figcaption { margin-top: 12px; color: var(--faint); font-size: 13px; }

.ext-section { padding-top: 40px; padding-bottom: 64px; }
.ext-section > div { min-width: 0; }
.ext-section > .eyebrow { padding-top: 14px; }
.ext-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.ext-card { padding: 24px 26px; background: linear-gradient(160deg, rgba(20, 27, 69, .6), rgba(9, 13, 36, .85)); border: 1px solid rgba(232, 213, 173, .14); border-radius: 16px; }
.ext-card h3 { margin-bottom: 8px; }
.ext-card p { margin: 0; color: var(--dim); font-size: 15px; }

.ext-steps { counter-reset: step; display: grid; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.ext-steps li { counter-increment: step; position: relative; padding: 22px 26px 22px 78px; background: linear-gradient(160deg, rgba(20, 27, 69, .45), rgba(5, 8, 22, .85)); border: 1px solid rgba(232, 213, 173, .14); border-radius: 14px; }
.ext-steps li::before { content: counter(step); position: absolute; left: 24px; top: 20px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--oiii); color: var(--oiii); font: 500 15px/1 var(--f-mono); }
.ext-steps h3 { margin-bottom: 6px; font-size: 23px; }
.ext-steps p { margin: 0; color: var(--dim); font-size: 15px; }
.ext-steps .btn.sm { margin-top: 14px; }
.ext-steps .hint { margin-top: 8px; }
.ext-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.ext-copy code { padding: 8px 14px; border: 1px solid rgba(232, 213, 173, .2); border-radius: 8px; background: rgba(5, 8, 22, .7); color: var(--parchment); font: 14px/1.4 var(--f-mono); user-select: all; }
.ext-copy .btn[data-done] { border-color: var(--oiii); color: var(--oiii); }
.hint { font-size: 13px; color: var(--dim); }

.ext-first { counter-reset: first; display: grid; gap: 0; margin: 26px 0 0; padding: 0; list-style: none; }
.ext-first li { counter-increment: first; position: relative; padding: 16px 0 16px 46px; border-top: 1px solid var(--rule); color: var(--dim); font-size: 16px; }
.ext-first li:last-child { border-bottom: 1px solid var(--rule); }
.ext-first li::before { content: counter(first); position: absolute; left: 0; top: 15px; color: var(--sodium); font: 400 26px/1 var(--f-display); }
.ext-first b { color: var(--text); font-weight: 600; }
.ext-first a { color: var(--soft); text-underline-offset: 3px; text-decoration-color: var(--rule-2); }
.ext-first a:hover { color: var(--sodium); }
.ext-tip { margin: 18px 0 0; max-width: 60em; }

.ext-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.ext-two > div { padding-top: 20px; border-top: 1px solid var(--rule-2); }
.ext-two h3 { font-size: 24px; }
.ext-two p { margin: 0; color: var(--dim); font-size: 15px; }
.ext-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; font-size: 14px; }
.ext-links a { color: var(--soft); text-underline-offset: 4px; text-decoration-color: var(--rule-2); }

.ext-extras details { padding: 20px 0; border-top: 1px solid var(--rule); }
.ext-extras details:last-child { border-bottom: 1px solid var(--rule); }
.ext-extras summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font: 400 22px/1.25 var(--f-display); }
.ext-extras summary::-webkit-details-marker { display: none; }
.ext-extras summary::after { content: '+'; flex: none; font: 300 26px/1 var(--f-ui); color: var(--parchment); transition: transform .2s; }
.ext-extras details[open] summary::after { transform: rotate(45deg); }
.ext-extras details p { margin: 12px 0 0; color: var(--dim); font-size: 15px; }

@media (max-width: 1000px) {
  .ext-hero { grid-template-columns: minmax(0, 1fr); }
  .ext-demo { max-width: 620px; }
}
@media (max-width: 900px) {
  .ext-section { padding-top: 24px; padding-bottom: 44px; }
  .ext-section > .eyebrow { padding-top: 0; }
}
@media (max-width: 640px) {
  .ext-grid, .ext-two { grid-template-columns: minmax(0, 1fr); }
  .ext-intro h1 { font-size: clamp(40px, 11vw, 54px); }
  .ext-intro .lead { font-size: 17px; }
  .ext-cta .btn { width: 100%; justify-content: space-between; }
  .release { font-size: 9.5px; letter-spacing: .04em; }
  .release > span:not([data-i18n]) { margin: 0 5px; }
  .ext-steps li { padding: 64px 18px 20px; }
  .ext-steps li::before { left: 18px; top: 18px; }
  .ext-badge small { display: none; }
  .ext-extras summary { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .ext-extras summary::after { transition: none; } }
