/* Outclip Studio public site. Self-hosted, no external fonts or scripts (CSP default-src 'self'). */
:root {
  --ink: #12141a; --muted: #5b6070; --bg: #f7f6f2; --card: #ffffff; --line: #e6e3da;
  --brand: #ff4d2e; --brand-dark: #d93a1d; --accent: #ffd23f; --navy: #14182b;
  --radius: 18px; --shadow: 0 10px 30px rgba(20, 24, 43, .10);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body.site { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; }
.site a { color: var(--brand-dark); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* header */
.topbar { background: var(--navy); color: #fff; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none; font-weight: 800;
        font-size: 1.15rem; letter-spacing: -.01em; }
.logo svg { width: 30px; height: 30px; }
.topbar nav a { color: #d8dbe8; text-decoration: none; margin-left: 22px; font-weight: 600; font-size: .95rem; }
.topbar nav a:hover { color: #fff; }
@media (max-width: 640px) { .topbar nav a.hide-sm { display: none; } }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #2b3566 0%, var(--navy) 55%); color: #fff; padding: 72px 0 84px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 1.18rem; color: #cfd3e3; margin: 0 0 28px; max-width: 34em; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; color: #cfd3e3; font-size: .92rem; }
.hero .badges span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 6px 12px; border-radius: 99px; }
.hero-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-stack img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px;
                  box-shadow: 0 18px 40px rgba(0,0,0,.45); display: block; }
.hero-stack img:first-child { grid-column: 1 / -1; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* buttons */
.cta { display: inline-block; background: var(--brand); color: #fff !important; text-decoration: none; font-weight: 800;
       padding: 15px 26px; border-radius: 12px; border: 0; font-size: 1.05rem; cursor: pointer; box-shadow: 0 6px 18px rgba(255,77,46,.35); }
.cta:hover { background: var(--brand-dark); }
.cta.ghost { background: transparent; box-shadow: none; border: 2px solid rgba(255,255,255,.35); margin-left: 10px; }
.cta.block { width: 100%; text-align: center; }

/* sections */
section.band { padding: 72px 0; }
section.band.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 10px; letter-spacing: -.015em; }
.band p.sub { color: var(--muted); margin: 0 0 36px; font-size: 1.08rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent);
             font-weight: 900; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px;
               box-shadow: var(--shadow); display: block; background: #e9e6dd; }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }
.note { color: var(--muted); font-size: .9rem; margin-top: 18px; }

.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 24px; justify-content: center; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
        display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); position: relative; }
.plan.featured::before { content: "Best value"; position: absolute; top: -13px; left: 24px; background: var(--brand); color: #fff;
                         font-weight: 800; font-size: .8rem; padding: 4px 10px; border-radius: 99px; }
.plan h3 { margin: 0 0 4px; font-size: 1.25rem; }
.plan .price { font-size: 2.6rem; font-weight: 900; margin: 6px 0 2px; letter-spacing: -.02em; }
.plan .per { color: var(--muted); margin-bottom: 18px; }
.plan ul { padding-left: 1.1em; margin: 0 0 24px; color: var(--ink); flex: 1; }
.plan li { margin: 6px 0; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }

.faq { max-width: 800px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.final { background: var(--navy); color: #fff; text-align: center; padding: 64px 0; }
.final h2 { margin: 0 0 18px; font-size: clamp(1.6rem, 3vw, 2.2rem); }

footer.site-foot { padding: 34px 0; color: var(--muted); font-size: .9rem; }
footer.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer.site-foot a { color: var(--muted); margin-right: 16px; }

.flash { padding: 12px 16px; border-radius: 12px; margin: 0 0 18px; }
.flash.error { background: #fde8e4; color: #8a1f0b; }
.flash.ok { background: #e6f6ea; color: #14532d; }

/* legal and plain pages */
.page { max-width: 820px; padding: 48px 22px 72px; margin: 0 auto; }
.page h1 { letter-spacing: -.015em; }
.page h2 { margin-top: 32px; font-size: 1.25rem; }
.page .updated { color: var(--muted); }
.center { text-align: center; }
@media (max-width: 520px) { .cta.ghost { margin: 12px 0 0; } }

/* Formats (2026-11-17): four plans, the matching-cover add-on, vertical examples, clipping tiers */
.pricing.four { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1180px; margin: 0 auto; gap: 18px; }
.pricing.four .plan { padding: 26px 22px; }
.pricing.four .plan .price { font-size: 2.2rem; }
@media (max-width: 1100px) { .pricing.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pricing.four { grid-template-columns: 1fr; } }
.plan .kind { align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; background: #fdecec; color: #b42318; margin-bottom: 10px; }
.plan .kind.vertical { background: #eaf2ff; color: #1d4ed8; }
.plan .addon { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; background: var(--bg, #f6f7f9);
  border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; margin: -8px 0 16px; cursor: pointer; }
.plan .addon input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.plan .addon b { white-space: nowrap; }
.gallery-head { margin: 34px 0 14px; font-size: 1.15rem; }
.gallery.tall { grid-template-columns: repeat(4, minmax(0, 220px)); justify-content: center; }
.gallery.tall img { aspect-ratio: 9 / 16; }
@media (max-width: 760px) { .gallery.tall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.soon { font-size: .8rem; font-weight: 800; vertical-align: middle; margin-left: 8px; padding: 4px 10px; border-radius: 999px;
  background: var(--brand); color: #fff; letter-spacing: .03em; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tier { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.tier h3 { margin: 0; }
.tier .who { color: var(--muted); margin: 2px 0 10px; font-size: .9rem; }
.tier .price { font-size: 1.9rem; font-weight: 900; letter-spacing: -.02em; }
.tier .price span { font-size: .95rem; font-weight: 600; color: var(--muted); }
.tier p:last-child { margin-bottom: 0; }
@media (max-width: 960px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }

/* clipping tiers become forms when plans are on sale */
form.tier { display: flex; flex-direction: column; margin: 0; }
form.tier .cta { margin-top: auto; }
form.tier p { flex-grow: 0; }
