/* Cliprose public website — mobile-first, no JavaScript, no external resources. */
@font-face {
  font-family: "Montserrat";
  src: url("/site-static/Montserrat-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --rose: #e11d48;
  --rose-d: #be123c;
  --rose-text: #c81e5b;
  --violet: #7c5cff;
  --mint: #2ed39a;
  --ink: #1c0b14;
  --ink-2: #2a1420;
  --paper: #fff8f7;
  --paper-2: #fdeef0;
  --card: #ffffff;
  --line: #f2e3e6;
  --text: #1a1a22;
  --muted: #7a6870;
  --radius: 20px;
  --display: "Montserrat", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { width: 1em; height: 1em; vertical-align: -0.125em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 14px; }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
h2.big { font-size: clamp(2.2rem, 6vw, 3.8rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 12px; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--rose-text); margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-ember { background: var(--rose); color: #fff; }
.btn-ember:hover { background: var(--rose-d); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--line); background: var(--card); }
.btn-ghost-light { border-color: rgba(255,255,255,.25); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.center-actions { justify-content: center; }

/* Header */
.preview-bar { background: var(--violet); color: #fff; text-align: center; padding: 8px; font-weight: 600; font-size: .9rem; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 248, 245, .86); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 20px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.2rem; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; flex: none; display: block; }
.nav-desktop { display: none; gap: 24px; margin-left: 12px; }
.nav-desktop a, .link-quiet { text-decoration: none; color: var(--muted); font-weight: 600; }
.nav-desktop a:hover, .link-quiet:hover { color: var(--text); }
.header-actions { display: none; margin-left: auto; align-items: center; gap: 16px; }
.nav-mobile { margin-left: auto; position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); display: grid; align-content: center; gap: 5px; padding: 0 11px; background: var(--card); }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary span { display: block; height: 2px; background: var(--text); border-radius: 2px; }
.nav-mobile-panel {
  position: absolute; right: 0; top: 52px; width: min(300px, 86vw);
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px;
  display: grid; gap: 4px; box-shadow: 0 20px 50px rgba(28,11,20,.15);
}
.nav-mobile-panel a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.nav-mobile-panel a:not(.btn):hover { background: var(--paper-2); }
@media (min-width: 900px) {
  .nav-desktop, .header-actions { display: flex; }
  .nav-mobile { display: none; }
}

/* Sections */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section.alt { background: var(--paper-2); }
.section.dark, .band.dark { background: var(--ink); color: #f5f5f7; }
.section.dark .lead, .section.dark .muted { color: #a9abbd; }
.heading { text-align: center; margin: 0 auto clamp(32px, 5vw, 56px); max-width: 760px; }
.heading .lead { margin: 0 auto; }
.heading.left { text-align: left; margin-left: 0; }
.heading.left .lead { margin: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy { text-align: center; }
.hero-copy .lead { margin: 0 auto; }
.hero-copy .actions { justify-content: center; }
.hero-visual { display: flex; justify-content: center; align-items: flex-end; gap: 14px; }
.hero-visual .phone:nth-child(1), .hero-visual .phone:nth-child(3) { transform: scale(.86); opacity: .95; }
.hero-visual .phone:nth-child(1) { transform: scale(.86) rotate(-6deg) translateY(10px); }
.hero-visual .phone:nth-child(3) { transform: scale(.86) rotate(6deg) translateY(10px); }
.hero-img { border-radius: 24px; box-shadow: 0 30px 80px rgba(28,11,20,.25); }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .hero-copy { text-align: left; }
  .hero-copy .lead { margin: 0; }
  .hero-copy .actions { justify-content: flex-start; }
}

/* Phone mockups (pure CSS) */
.phone { width: clamp(92px, 26vw, 190px); aspect-ratio: 9 / 18.5; border-radius: 28px; padding: 7px; background: var(--ink); box-shadow: 0 24px 60px rgba(28,11,20,.28); flex: none; }
.phone-screen { position: relative; height: 100%; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.phone-ember .phone-screen { background: radial-gradient(120% 70% at 50% 25%, #ffc2cf 0%, #e11d48 45%, #5b0a23 100%); }
.phone-violet .phone-screen { background: radial-gradient(120% 70% at 50% 25%, #c7b8ff 0%, #7c5cff 45%, #24146b 100%); }
.phone-mint .phone-screen { background: radial-gradient(120% 70% at 50% 25%, #b9f5df 0%, #2ed39a 45%, #0b4b35 100%); }
.phone-ink .phone-screen { background: radial-gradient(120% 70% at 50% 25%, #7a5568 0%, #3d2230 50%, #1c0b14 100%); }
.phone-person { position: absolute; left: 50%; bottom: 0; width: 70%; height: 62%; transform: translateX(-50%); background: radial-gradient(circle at 50% 24%, rgba(28,11,20,.55) 0 21%, transparent 22%), radial-gradient(ellipse at 50% 100%, rgba(28,11,20,.55) 0 55%, transparent 56%); }
.phone-caption { position: absolute; left: 6%; right: 6%; top: 66%; text-align: center; display: grid; gap: 2px; font-family: var(--display); font-weight: 800; font-size: clamp(.62rem, 1.6vw, .95rem); color: #fff; text-shadow: 0 2px 0 #000, 0 0 6px rgba(0,0,0,.6); line-height: 1.15; }
.phone-caption .hl { color: #ffe14d; font-size: 1.15em; }
.phone-ui { position: relative; display: flex; align-items: center; gap: 8px; padding: 10px; }
.phone-ui .play { width: 0; height: 0; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.phone-ui .bar { flex: 1; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #fff 35%, rgba(255,255,255,.35) 35%); }

/* Stats band */
.band { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; }
.stat span { color: var(--muted); font-size: .92rem; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* Steps / features */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.step { position: relative; padding-top: 64px; }
.step-n { position: absolute; top: 22px; left: 24px; width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; }
.step p, .feature p { color: var(--muted); margin: 0; }
.features { display: grid; gap: 16px; }
.feature-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(225, 29, 72, .1); color: var(--rose); font-size: 22px; margin-bottom: 14px; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) { .features { grid-template-columns: repeat(3, 1fr); } }

/* Showcase */
.showcase { display: flex; justify-content: center; gap: clamp(10px, 3vw, 28px); flex-wrap: wrap; }

/* Editor promo */
.editor-grid { display: grid; gap: 40px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: baseline; }
.checks svg { color: var(--mint); flex: none; }
.editor-mock { position: relative; background: #11121e; border: 1px solid #262842; border-radius: 22px; padding: 16px; overflow: hidden; }
.em-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: .85rem; }
.em-pill { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 10px; background: #1c1d30; color: #d9d0ff; }
.em-time { color: #9a9db0; font-variant-numeric: tabular-nums; }
.em-preview { display: flex; justify-content: center; margin-bottom: 14px; }
.em-preview .phone { width: 120px; }
.em-ruler, .em-labels { display: flex; justify-content: space-between; font-size: .72rem; color: #8b8ea3; margin-bottom: 6px; }
.em-labels span { background: var(--violet); color: #fff; padding: 2px 8px; border-radius: 6px; font-weight: 600; }
.em-labels span.off { background: #2a2b40; text-decoration: line-through; color: #9a9db0; }
.em-strip { display: flex; align-items: center; gap: 4px; height: 52px; margin-bottom: 10px; }
.em-strip i { flex: 1; height: 100%; border-radius: 8px; border: 2px solid var(--violet); background: repeating-linear-gradient(90deg, #3a2b7a 0 26px, #2c2160 26px 52px); }
.em-strip i.off { background: repeating-linear-gradient(45deg, #1b1030 0 6px, #241540 6px 12px); border-color: #3a3a58; }
.em-strip b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #1c0b14; border: 1px solid #333; color: #fff; font-size: 12px; }
.em-wave { display: flex; align-items: center; gap: 2px; height: 40px; padding: 0 4px; background: rgba(255,255,255,.03); border-radius: 8px; }
.em-wave span { flex: 1; background: var(--violet); border-radius: 2px; opacity: .85; }
.em-wave .h1 { height: 12%; } .em-wave .h2 { height: 22%; } .em-wave .h3 { height: 32%; }
.em-wave .h4 { height: 42%; } .em-wave .h5 { height: 52%; } .em-wave .h6 { height: 62%; }
.em-wave .h7 { height: 72%; } .em-wave .h8 { height: 82%; } .em-wave .h9 { height: 92%; }
.em-playhead { position: absolute; left: 38%; top: 268px; bottom: 16px; width: 2px; background: var(--violet); }
.em-playhead::before { content: ""; position: absolute; top: -6px; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--violet); }
@media (min-width: 980px) { .editor-grid { grid-template-columns: .9fr 1.1fr; } }

/* Pricing */
.plans { display: grid; gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan .checks { margin: 10px 0 22px; flex: 1; }
.plan .checks svg { color: var(--rose); }
.price { margin: 4px 0 8px; }
.price strong { font-family: var(--display); font-size: 2.6rem; }
.price span { color: var(--muted); margin-left: 4px; }
.plan-hl { background: var(--ink); color: #f5f5f7; border-color: var(--ink); box-shadow: 0 24px 60px rgba(28,11,20,.25); }
.plan-hl .muted, .plan-hl .price span { color: #a9abbd; }
.plan-hl .checks svg { color: var(--mint); }
.plan-badge { position: absolute; top: 18px; right: 18px; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--rose); color: #fff; }
.note { margin-top: 26px; font-size: .92rem; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { padding: 0; }
.faq summary { cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px; color: var(--muted); }
.faq details p:last-child { padding-bottom: 20px; }

/* Prose / images */
.prose h1 { font-size: clamp(2rem, 5vw, 3rem); }
.prose h2 { font-size: 1.5rem; margin-top: 28px; }
.prose p, .prose li { color: #3b3a40; font-size: 1.05rem; }
.figure img { border-radius: 18px; width: 100%; }
.figure figcaption { margin-top: 10px; text-align: center; font-size: .92rem; }

/* Announcement banner */
.site-banner { background: var(--ink); color: #fff; font-size: .92rem; }
.banner-row { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; justify-content: center; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.site-banner span { color: #e8d3dc; }
.site-banner a { color: #fda4b8; font-weight: 700; text-decoration: none; }
.site-banner a:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: var(--ink); color: #e8d3dc; padding: 56px 0 28px; }
.site-footer .logo { color: #fff; }
.footer-grid { display: grid; gap: 28px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 28px; }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-title { margin: 0 0 4px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.footer-links a { color: #e8d3dc; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid #262842; font-size: .88rem; }
.site-footer .muted { color: #8b8ea3; }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
