/* Cubby Notch site — single stylesheet, no external fonts, system stack only. */
:root {
  --cobalt: #2E7CF6;
  --yellow: #FFC91E;
  --ink: #0B1020;
  --notch: #000000;
  --bg: #ffffff;
  --surface: #f5f7fb;
  --text: #11151f;
  --muted: #5a6577;
  --border: #e4e8f0;
  --radius: 16px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f17;
    --surface: #141a26;
    --text: #eef1f7;
    --muted: #9aa6bb;
    --border: #232c3d;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: 0 0 .5em; }
h3 { font-size: 1.2rem; margin: 0 0 .35em; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--cobalt); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(140%) blur(10px); z-index: 50; }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--text); }
.brand:hover { text-decoration: none; }
.site-nav { display: flex; gap: 18px; margin-left: auto; }
.site-nav a { color: var(--muted); font-weight: 500; }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.header-row .btn { margin-left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-sm { padding: 8px 16px; font-size: .92rem; }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero .eyebrow { color: var(--cobalt); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; }
.hero p.lede { font-size: 1.2rem; color: var(--muted); max-width: 40ch; margin: 0 auto 1.6em; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 14px; color: var(--muted); font-size: .9rem; }
.hero-shot { margin: 44px auto 0; max-width: 920px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 30px 80px -40px rgba(11,16,32,.5); }

/* Badges */
.badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 22px 0 0; padding: 0; list-style: none; }
.badges li { background: var(--surface); border: 1px solid var(--border); color: var(--muted); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 600; }

/* Feature / selling-point sections */
.section { padding: 56px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.points { display: grid; gap: 48px; }
.point { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.point:nth-child(even) .point-media { order: 2; }
.point-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.point-body h3 { font-size: 1.5rem; }
.point-body p { color: var(--muted); font-size: 1.05rem; margin: 0; }
@media (max-width: 760px) {
  .point { grid-template-columns: 1fr; gap: 16px; }
  .point:nth-child(even) .point-media { order: 0; }
  .site-nav { display: none; }
}

/* Feature grid (text list) */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.feature-grid li { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.feature-grid li::before { content: ""; display: block; width: 26px; height: 5px; border-radius: 3px; background: var(--yellow); margin-bottom: 12px; }

/* Privacy band */
.privacy-band { text-align: center; }
.privacy-band .big { font-size: clamp(1.6rem, 4vw, 2.4rem); max-width: 22ch; margin: 0 auto .6em; }

/* Content (prose) pages */
.prose { max-width: 720px; margin: 0 auto; padding: 56px 0; }
.prose .updated { color: var(--muted); font-size: .9rem; }
.prose h2 { margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: 12px; padding: 4px 18px; margin: 10px 0; background: var(--bg); }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--cobalt); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 12px; }

/* Press */
.press-assets { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; list-style: none; padding: 0; }
.press-assets li { border: 1px solid var(--border); border-radius: 12px; padding: 16px; background: var(--surface); }

/* Changelog */
.changelog { max-width: 720px; margin: 0 auto; }
.release { border-left: 3px solid var(--cobalt); padding: 4px 0 18px 18px; margin-left: 6px; }
.release h3 { margin-bottom: .2em; }
.release .date { color: var(--muted); font-size: .9rem; }
.release ul { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: 40px; }
.footer-row { padding: 32px 0; text-align: center; }
.footer-tag { font-weight: 600; margin: 0 0 10px; }
.footer-nav { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.footer-nav a { color: var(--muted); }
.footer-fine { color: var(--muted); font-size: .85rem; margin: 0; }

/* 404 */
.notfound { text-align: center; padding: 90px 0; }
