/* ClipSave — marketing site
   Plain CSS, no build step, no external requests. */

:root {
  --bg:        #ffffff;
  --bg-soft:   #f6f7fb;
  --bg-card:   #ffffff;
  --border:    #e4e7ee;
  --text:      #14161d;
  --text-soft: #5b6172;
  --text-mute: #868da1;
  --accent:    #3b5bdb;
  --accent-2:  #12b5c9;
  --accent-fg: #ffffff;
  --shadow:    0 1px 2px rgba(20, 22, 29, .04), 0 8px 24px rgba(20, 22, 29, .06);
  --radius:    14px;
  --maxw:      1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #0d0f14;
    --bg-soft:   #12151c;
    --bg-card:   #161a22;
    --border:    #262b36;
    --text:      #f0f2f7;
    --text-soft: #a8b0c2;
    --text-mute: #7c8497;
    --accent:    #7c9bff;
    --accent-2:  #3ad4e6;
    --accent-fg: #0d0f14;
    --shadow:    0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 650; }
h3 { font-size: 1.12rem; font-weight: 640; }
p  { margin: 0 0 1.1em; color: var(--text-soft); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 660; color: var(--text); font-size: 1.06rem; }
.brand:hover { text-decoration: none; }
.brand svg { display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-soft); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 640px) {
  .nav-links { gap: 18px; }
  .nav-links a.hide-sm { display: none; }
}

/* ---------- logo mark ---------- */
.mark { width: 30px; height: 30px; border-radius: 8px; flex: none; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 72px; text-align: center; }
.hero .eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  padding: 5px 13px; border-radius: 999px; margin-bottom: 22px;
}
.hero p.lead { font-size: 1.18rem; max-width: 620px; margin: 0 auto 32px; }

.cta-row { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 11px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-fg); box-shadow: var(--shadow); }
.btn-secondary { background: var(--bg-card); color: var(--text); border-color: var(--border); }

.meta-line { margin-top: 20px; font-size: .9rem; color: var(--text-mute); }
.meta-line span + span::before { content: "·"; margin: 0 9px; opacity: .55; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head p { font-size: 1.05rem; margin-bottom: 0; }
.alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- feature grid ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .35em; }
.card p { margin-bottom: 0; font-size: .97rem; }
.icon {
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}
.icon svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step { counter-increment: step; }
.step::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: 14px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent); font-weight: 700; font-size: .95rem;
}
.step h3 { margin-bottom: .3em; }
.step p { font-size: .96rem; margin-bottom: 0; }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
details {
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg-card); padding: 18px 22px; margin-bottom: 12px;
}
details[open] { box-shadow: var(--shadow); }
summary {
  cursor: pointer; font-weight: 600; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.3rem; color: var(--text-mute); font-weight: 400; flex: none; }
details[open] summary::after { content: "\2212"; }
details p { margin: 14px 0 0; font-size: .97rem; }

/* ---------- legal / prose pages ---------- */
.prose { padding: 56px 0 80px; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .25em; }
.prose .updated { color: var(--text-mute); font-size: .92rem; margin-bottom: 2.5em; }
.prose h2 { font-size: 1.28rem; margin-top: 2.2em; margin-bottom: .5em; }
.prose ul { color: var(--text-soft); padding-left: 22px; margin: 0 0 1.1em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--text); }
.callout {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px; padding: 16px 20px; margin: 0 0 1.6em;
}
.callout p { margin: 0; font-size: .96rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0; background: var(--bg-soft); }
.footer-inner { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-soft); font-size: .93rem; }
.copyright { color: var(--text-mute); font-size: .9rem; }
