:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --line: #e8e8ed;
  --radius: 18px;
  --maxw: 1080px;
  --measure: 760px;
  /* ClipKeep brand spectrum */
  --g1: #FFC700; --g2: #FF2D55; --g3: #BF5AF2; --g4: #0A84FF;
  --grad: linear-gradient(120deg, #FF375F, #BF5AF2 55%, #0A84FF);
  --grad-full: linear-gradient(135deg, #FFC700, #FF2D55 38%, #BF5AF2 66%, #0A84FF);
  --brand: #0A84FF;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Header ===== */
.site-header {
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky; top: 0; z-index: 30;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.logo { width: 28px; height: 28px; border-radius: 7px; display: block; box-shadow: 0 1px 4px rgba(0,0,0,0.16); }
.brand .kw { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; }
.nav a { color: var(--muted); font-size: 14.5px; margin-left: 26px; font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav .nav-cta { color: #fff; background: var(--grad); padding: 7px 16px; border-radius: 999px; box-shadow: 0 4px 14px rgba(150,60,200,0.28); }
.nav .nav-cta:hover { color: #fff; filter: brightness(1.06); }

/* ===== Buttons ===== */
.btn {
  display: inline-block; background: var(--grad); color: #fff; font-weight: 600;
  padding: 14px 28px; border-radius: 14px; font-size: 16px; letter-spacing: -0.01em;
  box-shadow: 0 6px 22px rgba(150,60,200,0.30); transition: filter .15s, transform .06s, box-shadow .15s;
}
.btn:hover { filter: brightness(1.07); text-decoration: none; box-shadow: 0 10px 30px rgba(150,60,200,0.36); }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: rgba(0,0,0,0.045); color: var(--ink); box-shadow: none; }
.btn.secondary:hover { background: rgba(0,0,0,0.07); filter: none; box-shadow: none; }
.btn.small { padding: 9px 18px; font-size: 14px; border-radius: 11px; }
.subtle { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* ===== Hero ===== */
.hero-pro {
  position: relative; overflow: hidden; text-align: center;
  padding: 92px 0 0;
  background:
    radial-gradient(48% 38% at 16% 2%, rgba(255,199,0,0.16), transparent 60%),
    radial-gradient(46% 40% at 84% 4%, rgba(10,132,255,0.16), transparent 62%),
    radial-gradient(72% 56% at 50% -8%, rgba(191,90,242,0.16), transparent 66%),
    radial-gradient(40% 30% at 70% 0%, rgba(255,45,85,0.10), transparent 60%),
    #ffffff;
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--g3); background: rgba(191,90,242,0.10); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero-pro h1 {
  font-size: clamp(40px, 6.2vw, 72px); line-height: 1.04; letter-spacing: -0.035em;
  font-weight: 700; margin: 0 auto 20px; max-width: 14ch;
}
.hero-pro .lead { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 600px; margin: 0 auto 30px; line-height: 1.5; }
.hero-cta { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-pro .subtle { margin-bottom: 56px; }

/* ===== App window mockup ===== */
.mockup-stage { position: relative; padding-bottom: 90px; }
.app-window {
  width: min(880px, 92%); margin: 0 auto; background: #fff; border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05), 0 40px 90px -30px rgba(80,40,120,0.40);
  overflow: hidden; text-align: left;
}
.aw-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; background: #fbfbfd; border-bottom: 1px solid var(--line); }
.aw-bar .dot { width: 12px; height: 12px; border-radius: 50%; }
.aw-bar .r { background: #ff5f57; } .aw-bar .y { background: #febc2e; } .aw-bar .g { background: #28c840; }
.aw-bar .aw-title { margin: 0 auto; font-size: 13px; color: var(--muted); font-weight: 600; padding-right: 44px; }
.aw-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; padding: 22px; background: #fdfdfe; }
.aw-search { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; background: #f0f0f4; color: var(--muted); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.clip-list { display: flex; flex-direction: column; gap: 10px; }
.clip { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.clip-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 15px; flex: 0 0 auto; }
.clip:nth-child(1) .clip-ic { background: linear-gradient(135deg, #0A84FF, #6CB6FF); }
.clip:nth-child(2) .clip-ic { background: linear-gradient(135deg, #FF2D55, #FF7AA0); }
.clip:nth-child(3) .clip-ic { background: linear-gradient(135deg, #BF5AF2, #D9A0FF); }
.clip:nth-child(4) .clip-ic { background: linear-gradient(135deg, #FFC700, #FFD75A); }
.clip-t { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clip-s { font-size: 12px; color: var(--muted); margin-top: 1px; }
.sticky-note {
  background: linear-gradient(160deg, #FFF6CC, #FFE99A); border-radius: 14px; padding: 16px 18px;
  box-shadow: 0 12px 26px rgba(180,150,0,0.18); color: #6b5800; font-size: 14px; line-height: 1.7;
  align-self: start; transform: rotate(1.4deg);
}
.sticky-note b { display: block; font-size: 13px; color: #8a7200; margin-bottom: 6px; font-weight: 700; }
.sticky-note .done { text-decoration: line-through; opacity: 0.6; }

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 14px; }
.section-head .sub { font-size: clamp(17px, 2vw, 20px); color: var(--muted); margin: 0; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03); transition: transform .2s, box-shadow .2s;
}
.section.alt .card { background: #fff; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(80,40,120,0.22); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; background: var(--bg-soft); }
.card h3 { margin: 0 0 7px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* Showcase split */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase.flip .showcase-text { order: 2; }
.showcase h2 { text-align: left; margin-bottom: 16px; }
.showcase .sub { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.showcase ul { list-style: none; padding: 0; margin: 0; }
.showcase li { position: relative; padding: 9px 0 9px 30px; font-size: 16px; color: var(--ink); }
.showcase li::before { content: ""; position: absolute; left: 0; top: 16px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); }

/* Privacy / values strip */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { text-align: center; padding: 14px; }
.value .ic { font-size: 30px; margin-bottom: 12px; }
.value h3 { margin: 0 0 6px; font-size: 18px; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }

/* CTA band */
.cta-band { text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(50% 70% at 20% 100%, rgba(255,199,0,0.18), transparent 60%),
    radial-gradient(50% 70% at 80% 100%, rgba(10,132,255,0.18), transparent 60%),
    radial-gradient(60% 90% at 50% 110%, rgba(191,90,242,0.18), transparent 65%),
    var(--bg-soft);
}
.cta-band h2 { margin-bottom: 18px; }
.cta-band .sub { margin-bottom: 30px; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 17px; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 12px 0 0; }

/* ===== Hero logo / wordmark (legacy hooks) ===== */
.hero-logo { width: 92px; height: 92px; border-radius: 23px; display: block; margin: 0 auto 28px; box-shadow: 0 16px 40px -10px rgba(150,60,200,0.5); }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Pricing ===== */
.price-card {
  max-width: 420px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 34px; text-align: center; box-shadow: 0 30px 70px -36px rgba(80,40,120,0.35); position: relative;
}
.price-card .amt { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; }
.price-card .amt span { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.billing-toggle { display: inline-flex; background: var(--bg-soft); border-radius: 999px; padding: 4px; margin-bottom: 24px; }
.billing-toggle .bt { border: none; background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: 14px; padding: 9px 20px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .15s; }
.billing-toggle .bt.active { background: #fff; color: var(--ink); box-shadow: 0 1px 5px rgba(0,0,0,0.14); }
.billing-toggle .save { font-size: 11px; font-weight: 700; color: #1a7d3c; background: #e3f7ea; padding: 2px 8px; border-radius: 999px; }
.price-breakdown { color: var(--muted); font-size: 14px; margin-top: 6px; }
.slider-row { margin: 26px 0 8px; }
.slider-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.slider-label strong { font-size: 22px; color: var(--g3); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--bg-soft); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(150,60,200,0.5); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #BF5AF2; border: 3px solid #fff; cursor: pointer; }
.chips { display: flex; gap: 8px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.chips button { border: 1px solid var(--line); background: #fff; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; width: 42px; height: 36px; border-radius: 10px; cursor: pointer; transition: all .15s; }
.chips button:hover { border-color: var(--g3); color: var(--g3); }
.chips button.active { background: var(--grad); color: #fff; border-color: transparent; }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 26px; text-align: left; }
.price-card li { padding: 8px 0 8px 28px; position: relative; color: var(--ink); font-size: 15.5px; }
.price-card li::before { content: "✓"; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; position: absolute; left: 0; font-weight: 700; }
.price-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); padding: 70px 0 40px; background: var(--bg-soft); }
.footer-mark { text-align: center; margin-bottom: 36px; }
.footer-mark .big-word { font-size: clamp(54px, 12vw, 130px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.footer-mark .big-word .kw { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-links { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); text-decoration: none; }
.footer-copy { text-align: center; color: #a1a1a6; font-size: 13px; margin-top: 24px; }

/* ===== Legal/doc pages ===== */
.doc { padding: 64px 0 90px; max-width: var(--measure); }
.doc h1 { font-size: 38px; letter-spacing: -0.025em; margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-size: 22px; margin: 42px 0 10px; letter-spacing: -0.01em; }
.doc h3 { font-size: 16px; margin: 24px 0 6px; }
.doc p, .doc li { color: #3a3a3c; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }

/* ===== Feature board ===== */
.board { padding: 64px 0 90px; }
.board-head { text-align: center; margin-bottom: 30px; }
.board-head h1 { font-size: clamp(34px,5vw,48px); letter-spacing: -0.03em; margin: 0 0 10px; }
.board-head .lead { color: var(--muted); max-width: 540px; margin: 0 auto 24px; font-size: 18px; }
.authbox { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; align-items: center; }
.authbox .who { color: var(--muted); }
.btn.provider { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.provider:hover { background: var(--bg-soft); filter: none; box-shadow: none; }
.btn.provider.dark { background: #000; color: #fff; border-color: #000; }
.btn.provider.dark:hover { background: #1a1a1a; }
.suggest { max-width: 620px; margin: 0 auto 30px; }
.suggest-gate { text-align: center; color: var(--muted); font-size: 14px; padding: 10px; }
.suggest-form { display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); border-radius: 16px; padding: 18px; }
.suggest-form input, .suggest-form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: #fff; resize: vertical; }
.suggest-form input:focus, .suggest-form textarea:focus { outline: 2px solid var(--g3); border-color: var(--g3); }
.suggest-form .btn { align-self: flex-start; }
.filters { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 0 auto 24px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--muted); padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .15s; }
.chip:hover { color: var(--ink); }
.chip.active { background: var(--grad); color: #fff; border-color: transparent; }
.list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.empty { text-align: center; color: var(--muted); padding: 30px; }
.frow { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; transition: box-shadow .15s; }
.frow:hover { box-shadow: 0 10px 30px -16px rgba(80,40,120,0.25); }
.vote { flex: 0 0 auto; width: 56px; display: flex; flex-direction: column; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); padding: 9px 0; cursor: pointer; color: var(--muted); transition: all .12s; }
.vote:hover { border-color: var(--g3); color: var(--g3); }
.vote.voted { background: var(--grad); border-color: transparent; color: #fff; }
.vote .arrow { font-size: 12px; line-height: 1; }
.vote .count { font-weight: 700; font-size: 16px; }
.fbody { flex: 1; min-width: 0; }
.ftitle { font-weight: 600; font-size: 16px; }
.fdesc { color: var(--muted); font-size: 14px; margin-top: 3px; }
.fmeta { display: flex; gap: 10px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.fauthor { font-size: 12px; color: var(--muted); }
.badge { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.s-open { background: #eef0f3; color: #555; }
.s-planned { background: #e7f0ff; color: #0a64cc; }
.s-progress { background: #fff1d6; color: #9a6400; }
.s-shipped { background: #e3f7ea; color: #1a7d3c; }
.s-declined { background: #f3e7e7; color: #9a3a3a; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); background: #1c1c1e; color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 50; box-shadow: 0 8px 30px rgba(0,0,0,0.25); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .aw-body { grid-template-columns: 1fr; }
  .sticky-note { transform: none; }
  .showcase { grid-template-columns: 1fr; gap: 32px; }
  .showcase.flip .showcase-text { order: 0; }
  .showcase h2 { text-align: center; }
}
@media (max-width: 680px) {
  .section { padding: 72px 0; }
  .features, .values { grid-template-columns: 1fr; }
  .nav a:not(.nav-cta) { display: none; }
  .vote { width: 50px; }
}
