/* oyelo.online. Colours come from the extension's theme.css (loaded first), so the site and the
   extension share one palette, light and dark. */
* { box-sizing: border-box; }
/* The UA's [hidden] rule loses to any author display (.pro-form, .bye-form are grid), which left a sent
   form on screen above its thank-you (2026-10-13). Hidden means hidden. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent-text); }
img { max-width: 100%; height: auto; display: block; }
/* Only the site's own frame and landing; the guide styles its icons itself. */
.site-header svg, .landing svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 1080px; margin: 0 auto; padding: 16px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand img { border-radius: 7px; }
.site-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.site-nav > a { color: var(--fg); text-decoration: none; font-size: .95rem; }
.site-nav > a:hover { color: var(--accent-text); }
.langs { position: relative; }
.langs summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem;
}
.langs summary::-webkit-details-marker { display: none; }
.langs ul {
  position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 5;
  margin: 0; padding: 8px; list-style: none; width: min(560px, 92vw); max-height: 60vh; overflow: auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgb(0 0 0 / .14);
}
.langs li a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--fg); text-decoration: none; font-size: .9rem; }
.langs li a:hover, .langs li a[aria-current] { background: var(--accent-soft); color: var(--accent-text); }

/* Landing */
.landing { max-width: 1080px; margin: 0 auto; padding: 0 20px 48px; }
.landing .hero { text-align: center; padding: 48px 0 32px; }
.landing .hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; margin: 0 auto 18px; max-width: 18ch; text-wrap: balance; }
.landing .hero h1::first-letter { text-transform: uppercase; }
/* The store title is the heading; the listing's slogan stays, one step down. */
.lead { font-size: clamp(1.15rem, 2.4vw, 1.4rem); font-weight: 600; margin: 0 auto 12px; max-width: 40ch; text-wrap: balance; }
.lead::first-letter { text-transform: uppercase; }
.intro { font-size: 1.15rem; color: var(--muted); max-width: 62ch; margin: 0 auto 28px; text-wrap: pretty; }
.cta {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: 1.05rem;
}
.cta:hover { background: var(--accent-hover); }
.cta svg { font-size: 1.2em; }

.video { margin: 16px auto 56px; max-width: 880px; }
.video-facade, .video iframe {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0;
  border-radius: 16px; overflow: hidden; background: #000; cursor: pointer;
  box-shadow: 0 18px 48px rgb(0 0 0 / .18);
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; }
.video-facade .play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 32px;
  box-shadow: 0 6px 20px rgb(0 0 0 / .3);
}
.video-facade .play svg { fill: currentColor; stroke: none; transform: translateX(2px); }
.video-facade:hover .play { background: var(--accent-hover); }
.video-label {
  position: absolute; inset-inline-start: 16px; bottom: 14px; padding: 4px 12px; border-radius: 999px;
  background: rgb(0 0 0 / .6); color: #fff; font-size: .9rem;
}

.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 560px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; margin: 0 -4px 48px;
}
.shots img { scroll-snap-align: center; border-radius: 12px; border: 1px solid var(--line); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature { background: var(--surface); border-radius: 16px; padding: 22px 24px; }
.feature h2 { margin: 0 0 10px; font-size: 1.05rem; letter-spacing: .02em; color: var(--accent-text); }
.feature ul { margin: 0; padding-inline-start: 1.1em; }
.feature li { margin: 6px 0; }

/* What's new */
.changes .release { max-width: 72ch; margin: 0 auto; padding: 16px 0; border-bottom: 1px solid var(--line); }
.changes .release h2 { margin: 0 0 6px; font-size: 1.15rem; }
.changes .release time { margin-inline-start: 8px; font-weight: 400; font-size: .95rem; color: var(--muted); }
.changes .release p { margin: 0; }

/* Questions asked before installing, as <details>: folded for readers, but the answers are in the HTML for crawlers. */
.faq { max-width: 72ch; margin: 40px auto 0; }
.faq h2 { font-size: 1.3rem; margin: 0 0 12px; text-align: center; }
.qa { border-bottom: 1px solid var(--line); padding: 12px 4px; }
.qa summary { cursor: pointer; font-weight: 600; }
.qa p { margin: 8px 0 0; color: var(--muted); }

.privacy-note { margin: 40px auto 0; max-width: 72ch; text-align: center; color: var(--muted); font-size: .95rem; }

/* Footer */
.site-footer {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 28px 20px 40px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem;
}
.site-footer a { color: var(--muted); }

/* The guide keeps its own stylesheet (guide.css, from the extension); only its outer frame changes on the web. */
body.guide-page .site-header { border-bottom: 1px solid var(--line); max-width: none; }
/* The privacy page brings its own layout too. */
body.privacy-page .site-header { max-width: 920px; }

@media (max-width: 560px) {
  .landing .hero { padding-top: 28px; }
  .site-nav { gap: 12px; }
}

/* The uninstall page */
.bye-form { max-width: 560px; margin: 0 auto; display: grid; gap: 18px; }
.bye-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.bye-reason { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.bye-reason:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.bye-reason input { margin-top: 4px; accent-color: var(--accent); }
.bye-comment { display: grid; gap: 6px; color: var(--muted); font-size: .95rem; }
.bye-comment textarea, .bye-comment input { font: inherit; color: var(--fg); background: var(--field); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; resize: vertical; }
.bye-form .cta { justify-self: center; border: 0; cursor: pointer; }
.bye-form .cta:disabled { opacity: .45; cursor: default; }
.bye-error { margin: 0; text-align: center; color: var(--warn); }
.bye-thanks { text-align: center; }

/* Pro waitlist (openspec `pro-waitlist` spec) */
.pro-plan { max-width: 560px; margin: 0 auto 24px; }
.pro-plan ul { display: grid; gap: 8px; padding-inline-start: 1.2em; margin: 0 0 8px; }
.pro-note { margin: 0; color: var(--muted); font-size: .9rem; }
.pro-form { max-width: 560px; margin: 0 auto; display: grid; gap: 18px; }
.pro-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.pro-form legend { font-weight: 600; margin-bottom: 8px; }
.pro-form legend small { font-weight: 400; color: var(--muted); }
.pro-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pro-choice { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.pro-choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.pro-choice input, .pro-consent input { margin-top: 4px; accent-color: var(--accent); }
.pro-field { display: grid; gap: 6px; font-weight: 600; }
.pro-field input { font: inherit; font-weight: 400; color: var(--fg); background: var(--field); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.pro-consent { display: flex; gap: 12px; align-items: flex-start; }
.pro-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pro-form .cta { justify-self: center; border: 0; cursor: pointer; }
.pro-form .cta:disabled { opacity: .45; cursor: default; }
.pro-error { margin: 0; text-align: center; color: var(--warn); }
.pro-thanks { text-align: center; }
.pro-link { text-align: center; margin: 24px 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Intent pages (openspec `website` spec: intent pages answer one question each) */
.intent .hero h1 { text-wrap: balance; }
.intent-answer { max-width: 680px; margin: 0 auto; font-size: 1.15rem; line-height: 1.6; }
.intent-steps, .intent-limits, .intent-compare { max-width: 680px; margin: 32px auto; }
.intent-steps ol, .intent-limits ul { display: grid; gap: 8px; padding-inline-start: 1.4em; }
.intent-shot { max-width: 960px; margin: 32px auto; }
.intent-shot img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.intent-compare .competitor { padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.intent-compare .competitor h3 { margin: 0 0 6px; }
.intent-compare .competitor p { margin: 4px 0; }
.intent-compare small { color: var(--muted); }
.intent-cta { text-align: center; margin: 32px 0; }
.guides { max-width: 680px; margin: 32px auto; }
.guides ul { display: grid; gap: 8px; padding-inline-start: 1.2em; }
