/* ClipShot website.
   Colours are tokens. Dark mode follows the system unless the visitor picks a theme with the
   button in the header, which sets data-theme="light" or "dark" on <html>. */

:root {
  color-scheme: light;
  --bg: #fbfbfc;
  --bg-alt: #f3f4f7;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --text: #15171c;
  --muted: #5a616e;
  --faint: #868c98;
  --border: #e2e4ea;
  --accent: #ea580c;          /* ClipShot's orange capture frame */
  --accent-strong: #c2410c;   /* buttons and links: enough contrast for text */
  --accent-hover: #9a3412;
  --accent-soft: #fff1e7;
  --on-accent: #ffffff;
  --ok: #15803d;
  --code-bg: #eef0f4;
  --kbd-bg: #ffffff;
  --kbd-border: #cdd1d9;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / 0.06);
  --shadow-md: 0 1px 2px rgb(16 24 40 / 0.05), 0 8px 24px -10px rgb(16 24 40 / 0.18);
  --shadow-lg: 0 2px 6px rgb(16 24 40 / 0.05), 0 30px 60px -24px rgb(16 24 40 / 0.32);
  --glow: rgb(234 88 12 / 0.16);
  --header-bg: rgb(251 251 252 / 0.82);
  --radius: 14px;
  --maxw: 1160px;
  --gutter: 20px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0e1014;
    --bg-alt: #13161c;
    --surface: #191c23;
    --surface-2: #1e222a;
    --text: #eceef2;
    --muted: #a4aab6;
    --faint: #7c828e;
    --border: #2a2e37;
    --accent: #ff8a3d;
    --accent-strong: #ff8a3d;
    --accent-hover: #ffa86b;
    --accent-soft: #2a1a0f;
    --on-accent: #1b0d03;
    --ok: #4ade80;
    --code-bg: #20242c;
    --kbd-bg: #232730;
    --kbd-border: #3b404b;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow-md: 0 1px 2px rgb(0 0 0 / 0.4), 0 10px 28px -12px rgb(0 0 0 / 0.7);
    --shadow-lg: 0 2px 6px rgb(0 0 0 / 0.4), 0 30px 60px -24px rgb(0 0 0 / 0.85);
    --glow: rgb(255 138 61 / 0.13);
    --header-bg: rgb(14 16 20 / 0.8);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1014;
  --bg-alt: #13161c;
  --surface: #191c23;
  --surface-2: #1e222a;
  --text: #eceef2;
  --muted: #a4aab6;
  --faint: #7c828e;
  --border: #2a2e37;
  --accent: #ff8a3d;
  --accent-strong: #ff8a3d;
  --accent-hover: #ffa86b;
  --accent-soft: #2a1a0f;
  --on-accent: #1b0d03;
  --ok: #4ade80;
  --code-bg: #20242c;
  --kbd-bg: #232730;
  --kbd-border: #3b404b;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
  --shadow-md: 0 1px 2px rgb(0 0 0 / 0.4), 0 10px 28px -12px rgb(0 0 0 / 0.7);
  --shadow-lg: 0 2px 6px rgb(0 0 0 / 0.4), 0 30px 60px -24px rgb(0 0 0 / 0.85);
  --glow: rgb(255 138 61 / 0.13);
  --header-bg: rgb(14 16 20 / 0.8);
}

/* Pictures that exist in a light and a dark version */
.only-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-dark { display: block !important; }
  :root:not([data-theme="light"]) .only-light { display: none !important; }
}
:root[data-theme="dark"] .only-dark { display: block !important; }
:root[data-theme="dark"] .only-light { display: none !important; }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system,
        "Helvetica Neue", Roboto, "Noto Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system,
               "Helvetica Neue", Roboto, "Noto Sans", Arial, sans-serif;
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.6vw, 4rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.55rem); font-weight: 720; letter-spacing: -0.025em; }
h3 { font-size: 1.22rem; font-weight: 650; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 650; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
a { color: var(--accent-strong); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 650; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li + li { margin-top: 0.3em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

code {
  font: 0.9em/1.4 "Cascadia Mono", "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;
  background: var(--code-bg);
  padding: 0.12em 0.4em;
  border-radius: 6px;
  overflow-wrap: anywhere;
}
pre {
  margin: 0.6em 0 1em;
  padding: 12px 16px;
  background: var(--code-bg);
  border-radius: 10px;
  overflow-x: auto;
}
pre code { background: none; padding: 0; font-size: 0.92rem; overflow-wrap: normal; }

kbd {
  display: inline-block;
  font: 600 0.8rem/1 "Segoe UI", system-ui, sans-serif;
  padding: 0.32em 0.5em 0.36em;
  min-width: 1.7em;
  text-align: center;
  color: var(--text);
  background: var(--kbd-bg);
  border: 1px solid var(--kbd-border);
  border-bottom-width: 2px;
  border-radius: 6px;
  white-space: nowrap;
  vertical-align: 0.08em;
}
.keys { white-space: nowrap; }
.keys kbd + kbd { margin-left: 0.15em; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: 8px;
  box-shadow: var(--shadow-md);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor;
        stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
         font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500;
              padding: 7px 11px; border-radius: 8px; white-space: nowrap; }
.site-nav a:hover { color: var(--text); background: var(--bg-alt); }
.theme-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 1px solid var(--border); border-radius: 10px; background: var(--surface);
  color: var(--text); cursor: pointer;
}
.theme-toggle:hover { background: var(--bg-alt); }
.theme-toggle .icon { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; height: auto; padding-top: 10px; gap: 6px 12px; }
  .theme-toggle { margin-left: auto; }
  .site-nav {
    order: 3; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter));
    padding: 2px var(--gutter) 8px; overflow-x: auto; scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { padding: 6px 10px; font-size: 0.92rem; }
  html { scroll-padding-top: 108px; }
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 11px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent-strong); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { color: var(--text); border-color: var(--faint); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: 72px 0 40px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1;
  background: radial-gradient(closest-side, var(--glow), transparent),
              radial-gradient(40% 40% at 80% 30%, rgb(99 102 241 / 0.10), transparent);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 6px 14px; border-radius: 999px; font-size: 0.88rem; font-weight: 600;
  color: var(--accent-strong); background: var(--accent-soft);
}
.hero h1 { margin-inline: auto; }
.nowrap { white-space: nowrap; }
.hero h1 .accent { color: var(--accent); }
.lead { font-size: clamp(1.07rem, 1.9vw, 1.25rem); color: var(--muted); max-width: 44em; margin: 18px auto 30px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap;
             margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.93rem; }
.hero-meta li { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.hero-meta .icon { color: var(--ok); width: 18px; height: 18px; stroke-width: 2.2; }
.hero-shot { margin: 56px auto 0; max-width: 1100px; }

/* ------------------------------------------------------------------ screenshots */
.shot {
  margin: 0; border-radius: 12px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.shot.plain { box-shadow: var(--shadow-md); }
.shot a { display: block; cursor: zoom-in; }
figcaption { font-size: 0.9rem; color: var(--faint); margin-top: 10px; text-align: center; }
.shot + figcaption, figure > figcaption { padding-inline: 8px; }
figure.with-caption { margin: 0; }

/* ------------------------------------------------------------------ sections */
section { padding: 88px 0; }
section.alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { max-width: 46em; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.kicker { display: block; font-size: 0.83rem; font-weight: 700; letter-spacing: 0.09em;
          text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
@media (max-width: 640px) { section { padding: 64px 0; } .hero { padding-top: 44px; } }

/* three steps */
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: q; }
.quick li { list-style: none; margin: 0; padding: 26px; background: var(--surface);
            border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
            position: relative; }
.quick { padding: 0; }
.quick li::before {
  counter-increment: q; content: counter(q);
  position: absolute; top: 22px; right: 24px; font: 700 2.4rem/1 "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  color: var(--border);
}
.quick h3 { margin-top: 14px; }
.quick p { margin: 0; color: var(--muted); }
@media (max-width: 800px) { .quick { grid-template-columns: 1fr; } }

.badge-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
}
.badge-icon .icon { width: 24px; height: 24px; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.feature {
  display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.feature:hover { color: var(--text); border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
                 transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feature h3 { margin: 16px 0 6px; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.feature .more { margin-top: auto; padding-top: 14px; font-size: 0.9rem; font-weight: 600; color: var(--accent-strong); }
@media (prefers-reduced-motion: reduce) { .feature, .feature:hover { transition: none; transform: none; } }

/* tour: text beside a picture */
.tour { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.tour + .tour { margin-top: 112px; }
.tour.reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.tour.reverse .tour-text { order: 2; }
.tour-text h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); letter-spacing: -0.02em; margin-bottom: 14px; }
.tour-text > p { color: var(--muted); font-size: 1.04rem; }
.tour-text .badge-icon { margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li + li { margin-top: 10px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.42em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea580c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4 4L18.5 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.stack { display: grid; gap: 18px; }
.inline-shot { display: inline-block; max-width: 100%; margin-top: 22px; }
@media (max-width: 900px) {
  .tour, .tour.reverse { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tour.reverse .tour-text { order: 0; }
  .tour + .tour { margin-top: 80px; }
}

/* scrolling capture: the stitched result in its own scroll box */
.scroll-result { margin-top: 26px; }
.scroll-box { height: 300px; overflow-y: auto; overscroll-behavior: contain; background: #fff; }
.scroll-box img { width: 100%; }
.scroll-label { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--faint); margin: 0 0 8px; }
.scroll-label .icon { width: 16px; height: 16px; }

/* light/dark comparison */
.compare { position: relative; --pos: 50%; }
.compare .layer { display: block; }
.compare .top { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare .top img { width: 100%; height: 100%; object-fit: cover; }
.compare .divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
                    background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.15); pointer-events: none; }
.compare .divider::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.3);
}
.compare input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
}
.compare-labels { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--faint); margin-top: 10px; }

/* ------------------------------------------------------------------ get started */
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.platform { padding: 30px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-sm); }
.platform-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.platform-head h3 { margin: 0; font-size: 1.4rem; }
.platform-head p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.os-mark { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-alt); color: var(--text); flex: none; }
.os-mark svg { width: 24px; height: 24px; }
#mac { grid-column: 1 / -1; }
@media (max-width: 900px) { .platforms { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .platform { padding: 22px 18px; } }

ol.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
ol.steps > li { position: relative; padding-left: 44px; }
ol.steps > li + li { margin-top: 18px; }
ol.steps > li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 0.88rem;
  background: var(--accent-soft); color: var(--accent-strong);
}
ol.steps > li > strong:first-child { display: block; margin-bottom: 2px; }
ol.steps p { margin: 0.3em 0 0; color: var(--muted); }
.steps .choice { margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.steps .choice + .choice { margin-top: 8px; }
.steps .choice p { color: var(--muted); }

.note {
  display: flex; gap: 14px; padding: 16px 18px; margin: 22px 0 0; border-radius: 12px;
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.note > .icon { color: var(--accent); margin-top: 3px; width: 22px; height: 22px; }
.note p { margin: 0; }
.note p + p { margin-top: 0.5em; }
.note.neutral { background: var(--surface-2); border-color: var(--border); }
.note.neutral > .icon { color: var(--muted); }
.notes-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.notes-row .note { margin: 0; }
@media (max-width: 900px) { .notes-row { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ guides */
.guide-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 26px; }
.guide-group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 12px; }
.guide-group h3 .icon { color: var(--accent); }
@media (max-width: 900px) { .guide-groups { grid-template-columns: minmax(0, 1fr); } }

details.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-sm); transition: border-color .15s;
}
details.card + details.card { margin-top: 10px; }
details.card[open] { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
details.card > summary {
  list-style: none; cursor: pointer; padding: 15px 48px 15px 18px; position: relative;
  font-weight: 600; border-radius: 12px;
}
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg);
  transition: transform .2s;
}
details.card[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
details.card > summary:hover { color: var(--accent-strong); }
.card-body { padding: 0 18px 18px; color: var(--muted); }
.card-body > :last-child { margin-bottom: 0; }
.card-body ol, .card-body ul { padding-left: 1.3em; }
.card-body strong, .card-body li strong { color: var(--text); }
@media (prefers-reduced-motion: reduce) { details.card > summary::after { transition: none; } }

/* ------------------------------------------------------------------ tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
th, td { text-align: left; padding: 12px 16px; vertical-align: top; border-bottom: 1px solid var(--border); }
tr:last-child > td { border-bottom: 0; }
th { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); background: var(--surface-2); }
td:first-child { white-space: nowrap; }
td.wrap { white-space: normal; }
td .muted, .muted { color: var(--muted); }
.tool-name { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.tool-name .icon { color: var(--accent); width: 22px; height: 22px; }
.key-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.key-grid h3 { font-size: 1.08rem; margin: 0 0 12px; }
.key-grid .full { grid-column: 1 / -1; }
@media (max-width: 900px) { .key-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  th, td { padding: 10px 12px; }
  td:first-child { white-space: normal; }
  /* the tools table: one small card per tool, name and key on top, the note below */
  .tools-table thead { display: none; }
  .tools-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px;
                    padding: 12px 14px; border-bottom: 1px solid var(--border); }
  .tools-table tr:last-child { border-bottom: 0; }
  .tools-table td { padding: 0; border: 0; }
  .tools-table td:nth-child(3) { grid-column: 1 / -1; color: var(--muted); }
}

/* settings */
.settings-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px; align-items: start; }
.settings-layout .shot { position: sticky; top: 92px; }
dl.settings { margin: 0; }
dl.settings dt { font-weight: 650; margin-top: 18px; }
dl.settings dt:first-child { margin-top: 0; }
dl.settings dd { margin: 3px 0 0; color: var(--muted); }
.tag { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; padding: 2px 7px; border-radius: 6px;
       background: var(--bg-alt); border: 1px solid var(--border); color: var(--muted); vertical-align: 0.12em; margin-left: 6px; }
@media (max-width: 900px) {
  .settings-layout { grid-template-columns: minmax(0, 1fr); }
  .settings-layout .shot { position: static; max-width: 460px; }
}

/* faq */
.faq { max-width: 860px; margin-inline: auto; }

/* ------------------------------------------------------------------ footer */
.site-footer { padding: 48px 0 56px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.93rem; }
.footer-inner { display: flex; gap: 24px 40px; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; }
.footer-inner .brand { margin-bottom: 8px; }
.footer-inner p { margin: 0; max-width: 34em; }
.footer-inner .footer-legal { margin-top: 12px; font-size: 0.85rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* ------------------------------------------------------------------ lightbox */
dialog.lightbox {
  padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible;
}
dialog.lightbox::backdrop { background: rgb(8 10 14 / 0.82); backdrop-filter: blur(3px); }
dialog.lightbox img { max-width: 96vw; max-height: 90vh; width: auto; border-radius: 10px; box-shadow: 0 20px 60px rgb(0 0 0 / 0.5); background: #fff; }
dialog.lightbox p { color: #e5e7eb; text-align: center; font-size: 0.9rem; margin: 10px 0 0; }
dialog.lightbox button {
  position: fixed; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgb(255 255 255 / 0.14); color: #fff; cursor: pointer; display: grid; place-items: center;
}
dialog.lightbox button:hover { background: rgb(255 255 255 / 0.26); }
