/* Commission Clips website. Same brand as the app (Montserrat display titles, sapphire accent), drawn as a quiet,
   editorial system: white / near-black grounds, hairline borders, one accent, no glows or gradients. */
@font-face { font-family: "SF Display"; src: url("fonts/Montserrat-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root {
  color-scheme: light;
  --bg: #ffffff; --surface: #f7f7f8; --panel: #ffffff; --raised: #f1f1f3; --line: #e6e6ea; --hover-line: #cfcfd6;
  --text: #0d0e12; --soft: #393b44; --muted: #6a6d78;
  --accent: #1f5fe0; --accent-hover: #1a52c4; --accent-on: #ffffff; --accent-soft: #eef3fe; --accent-ink: #1f5fe0; --save: #4f82ea;
  --card-edge: #b9cdf6; --top-line: #ececf0;
  --good: #0f754e;
  --radius-card: 14px; --radius: 10px; --radius-pill: 999px;
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "SF Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  --shadow-sm: 0 1px 2px rgba(13, 14, 18, .04);
  --shadow: 0 1px 2px rgba(13, 14, 18, .04), 0 12px 32px rgba(13, 14, 18, .07);
  --shadow-lg: 0 2px 6px rgba(13, 14, 18, .05), 0 28px 64px rgba(13, 14, 18, .14);
  --highlight: none;
  --dark: #0d0e12; --dark-panel: #16171c;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.9 2.9L12.5 5' fill='none' stroke='%231f5fe0' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --tick-on-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.9 2.9L12.5 5' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --feat-bg: #0d0e12; --feat-line: #0d0e12; --feat-text: #ffffff; --feat-soft: #b4b7c2; --feat-rule: rgba(255, 255, 255, .12);
  --feat-shadow: 0 2px 6px rgba(13, 14, 18, .08), 0 28px 60px rgba(13, 14, 18, .18);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg: #09090b; --surface: #0e0e11; --panel: #121216; --raised: #1a1a1f; --line: #24242b; --hover-line: #3a3a43;
  --text: #f4f4f6; --soft: #c6c7cf; --muted: #8c8e99;
  --accent: #3d6ef0; --accent-hover: #5180f5; --accent-on: #ffffff; --accent-soft: #141d33; --accent-ink: #84a7ff; --save: #8fb0ff;
  --card-edge: #2c4479; --top-line: #1c1c22;
  --good: #3ecf8e;
  --shadow-sm: none; --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 16px 40px rgba(0, 0, 0, .45);
  --shadow-lg: 0 32px 80px rgba(0, 0, 0, .6);
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.9 2.9L12.5 5' fill='none' stroke='%2384a7ff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --feat-bg: linear-gradient(180deg, #1b2236 0%, #15171e 46%); --feat-line: #34466f; --feat-text: #ffffff; --feat-soft: #a8adbb; --feat-rule: rgba(255, 255, 255, .10);
  --feat-shadow: inset 0 1px 0 rgba(132, 167, 255, .28), 0 32px 80px rgba(0, 0, 0, .55);
} }
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #09090b; --surface: #0e0e11; --panel: #121216; --raised: #1a1a1f; --line: #24242b; --hover-line: #3a3a43;
  --text: #f4f4f6; --soft: #c6c7cf; --muted: #8c8e99;
  --accent: #3d6ef0; --accent-hover: #5180f5; --accent-on: #ffffff; --accent-soft: #141d33; --accent-ink: #84a7ff; --save: #8fb0ff;
  --card-edge: #2c4479; --top-line: #1c1c22;
  --good: #3ecf8e;
  --shadow-sm: none; --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 16px 40px rgba(0, 0, 0, .45);
  --shadow-lg: 0 32px 80px rgba(0, 0, 0, .6);
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.9 2.9L12.5 5' fill='none' stroke='%2384a7ff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --feat-bg: linear-gradient(180deg, #1b2236 0%, #15171e 46%); --feat-line: #34466f; --feat-text: #ffffff; --feat-soft: #a8adbb; --feat-rule: rgba(255, 255, 255, .10);
  --feat-shadow: inset 0 1px 0 rgba(132, 167, 255, .28), 0 32px 80px rgba(0, 0, 0, .55);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--soft); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
/* Type: Montserrat ExtraBold (the app's "SF Display") for titles, plan names and big numbers; Inter for everything else. */
h1, h2 { font-family: var(--font-display); font-weight: 800; color: var(--text); letter-spacing: -.035em; margin: 0; text-wrap: balance; }
h3 { font-family: var(--font); font-weight: 600; color: var(--text); letter-spacing: -.01em; margin: 0; }
p { margin: 0; }
.muted { color: var(--muted); }
.muted a { color: var(--accent-ink); }
[id] { scroll-margin-top: 96px; }

/* Buttons: .accent (sapphire), .primary (ink), default (outline). */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); color: var(--text);
  font: 600 15.5px/1 var(--font); letter-spacing: -.005em; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: background .15s, border-color .15s, color .15s; }
.btn:hover { border-color: var(--hover-line); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-on);
  box-shadow: 0 1px 2px rgba(13, 14, 18, .12), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn.accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.primary { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn[disabled], .btn.is-soon { cursor: default; }
.btn.is-soon:hover, .btn[disabled]:hover { background: var(--accent); border-color: var(--accent); }
.soon { font-size: 11.5px; font-weight: 600; letter-spacing: .01em; padding: 3px 8px; border-radius: 6px;
  background: color-mix(in srgb, currentColor 16%, transparent); }
.btn.sm { min-height: 38px; padding: 8px 15px; font-size: 14px; border-radius: 9px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--top-line); }
.top .wrap { display: flex; align-items: center; gap: 40px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 18px;
  color: var(--text); letter-spacing: -.02em; white-space: nowrap; }
.brand img { width: 22px; height: 28px; }
.top nav { display: flex; gap: 2px; }
.top nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .15s, background .15s; }
.top nav a:hover { color: var(--text); background: var(--raised); }
.top nav a[aria-current="page"] { color: var(--text); }
.top .actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* Page head (inner pages) */
.page-head { padding: 88px 0 48px; }
.page-title { font-size: clamp(38px, 5vw, 56px); line-height: 1.04; }
.page-desc { color: var(--muted); font-size: 19px; max-width: 620px; margin-top: 16px; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); padding: 28px; }
section.band { padding: 112px 0; }
section.band + section.band { border-top: 1px solid var(--top-line); }
section.band:nth-of-type(even) { background: var(--surface); }
main.wrap section.band { background: none; border-top: 0; padding: 72px 0; }   /* bands inside a page column stay unboxed */
.head { max-width: 680px; margin-bottom: 52px; }
.head h2 { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.06; margin-top: 0; }
.head p { color: var(--muted); font-size: 18px; margin-top: 16px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; background: var(--tick) center/16px no-repeat; }

/* Plans */
.billing-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 11px; padding: 4px; background: var(--raised); }
.billing-toggle button { border: 0; background: transparent; border-radius: 8px; padding: 8px 16px; font: 600 14.5px var(--font); color: var(--muted); cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--panel); color: var(--text); box-shadow: 0 1px 2px rgba(13, 14, 18, .08), 0 0 0 1px var(--line); }
.billing-toggle .save { color: var(--accent-ink); font-size: 12.5px; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { padding: 44px 48px; display: flex; flex-direction: column; border-radius: 22px; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan h2, .plan h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; font-size: 28px; }
.tag { font-size: 12.5px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); border-radius: 6px; padding: 4px 9px; white-space: nowrap; }
.plan .lead { color: var(--muted); margin-top: 6px; font-size: 17px; }
.price { font-family: var(--font-display); font-weight: 800; color: var(--text); font-size: 60px; line-height: 1; letter-spacing: -.04em; margin-top: 30px; font-variant-numeric: tabular-nums; }
.price span { font: 400 17px var(--font); letter-spacing: 0; color: var(--muted); }
.billing { color: var(--muted); font-size: 14px; margin-top: 10px; min-height: 42px; }
.quota { margin: 26px 0 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--soft); font-size: 18px; }
.quota strong { color: var(--text); }
.plan .ticks { font-size: 16px; gap: 12px; margin-bottom: 36px; }
.plan .btn { margin-top: auto; width: 100%; }

/* Cornerstone: a solid ink card (near-black in light mode, raised graphite in dark mode). */
.plan.featured { background: var(--feat-bg); border-color: var(--feat-line); color: var(--feat-soft); box-shadow: var(--feat-shadow); }
.plan.featured h2, .plan.featured h3, .plan.featured .price, .plan.featured strong, .plan.featured b { color: var(--feat-text); }
.plan.featured .lead, .plan.featured .billing, .plan.featured .price span { color: var(--feat-soft); }
.plan.featured .tag { background: rgba(255, 255, 255, .1); color: #ffffff; }
.plan.featured .quota { border-color: var(--feat-rule); color: var(--feat-soft); }
.plan.featured .ticks li { color: #e7e8ec; }
.plan.featured .ticks li::before { background-image: var(--tick-on-dark); }
.plan.featured .btn.accent { background: #ffffff; border-color: #ffffff; color: #0d0e12; box-shadow: none; }
.plan.featured .btn.accent:hover, .plan.featured .btn.accent[disabled]:hover { background: #eceef3; border-color: #eceef3; }
.plan.featured .btn .soon { background: #0d0e12; color: #ffffff; }

.price .was { font-size: .46em; font-weight: 600; color: var(--muted); margin-right: 8px; vertical-align: .35em; text-decoration-thickness: 2px; }
.price { white-space: nowrap; }
.price .now { color: var(--save); font-weight: 800; font-size: .86em; }
.plan.featured .price .now { color: #9db9ff; } .plan.featured .price .was { color: var(--feat-soft); }
.billing .save-amt { display: block; color: var(--save); font-weight: 700; }
.plan.featured .billing .save-amt { color: #9db9ff; }
.billing i { display: block; font-size: 13px; margin-top: 2px; }
.billing .save-amt .deal { font-weight: 500; opacity: .85; white-space: nowrap; }
@media (max-width: 560px) { .price { font-size: 44px; } }
.plan.flip .price, .plan.flip .billing { animation: pflip .42s cubic-bezier(.2,.8,.2,1); }
@keyframes pflip { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.all-plans { text-align: center; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .plan.flip .price, .plan.flip .billing { animation: none; } }
/* Reassurance under the plan cards */
.trust { list-style: none; margin: 28px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 14px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 16px; height: 16px; background: var(--tick) center/16px no-repeat; }
/* FAQ: a ruled list, not a stack of boxes */
.faq { display: grid; max-width: 800px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 600; font-size: 17.5px; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.75px solid var(--muted); border-bottom: 1.75px solid var(--muted);
  transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:hover::after { border-color: var(--text); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); }

/* Closing call to action: an ink panel in both themes */
.brand-band { background: var(--feat-bg); border: 1px solid var(--feat-line); color: var(--feat-soft); border-radius: 22px; padding: 80px 48px; text-align: center; }
.brand-band h2 { color: #ffffff; font-size: clamp(32px, 4vw, 50px); line-height: 1.06; }
.brand-band p { color: var(--feat-soft); margin: 16px auto 32px; max-width: 520px; font-size: 18px; }
.brand-band .mark { width: 40px; margin: 0 auto 28px; }
.brand-band .btn.accent { background: #ffffff; border-color: #ffffff; color: #0d0e12; box-shadow: none; }
.brand-band .btn.accent .soon { background: #0d0e12; color: #ffffff; }

footer { border-top: 1px solid var(--top-line); padding: 44px 0 64px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
footer .brand { font-size: 16px; } footer .brand img { width: 18px; height: 23px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
footer a { transition: color .15s; } footer a:hover { color: var(--text); }

@media (max-width: 900px) {
  .top nav { display: none; } .top .wrap { gap: 12px; height: 62px; }
  .wrap { padding: 0 20px; }
  .plans { grid-template-columns: 1fr; }
  section.band { padding: 80px 0; }
  .head { margin-bottom: 40px; }
  .brand-band { padding: 56px 24px; border-radius: 18px; }
  .plan { padding: 30px 26px; }
}
@media (max-width: 560px) { footer nav { margin-left: 0; } .page-head { padding: 64px 0 36px; } }

/* Long-form pages (privacy, terms, support, thanks) */
.legal { max-width: 760px; padding-bottom: 96px; }
.legal h2 { font-size: 22px; letter-spacing: -.025em; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--soft); }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 20px; margin: 12px 0 0; display: grid; gap: 10px; }
.legal li::marker { color: var(--muted); }
.legal a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal a.btn { color: var(--text); text-decoration: none; } .legal a.btn.accent { color: var(--accent-on); }
.legal .summary { margin-top: 8px; background: var(--surface); box-shadow: none; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 14px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.legal th { color: var(--text); font-weight: 600; }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 16px; }
.steps-list li { position: relative; padding-left: 46px; min-height: 30px; }
.steps-list li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--panel); color: var(--text); font-weight: 600; display: grid; place-items: center; font-size: 13.5px; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; } .legal thead { display: none; } }

/* Dark mode: the dark logo ink turns white */
:root[data-theme="dark"] img[src$="logo-ink.svg"] { content: url("img/logo.svg"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) img[src$="logo-ink.svg"] { content: url("img/logo.svg"); } }
/* Theme button in the header */
.theme-btn { width: 38px; height: 38px; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--muted);
  display: inline-grid; place-items: center; cursor: pointer; padding: 0; transition: color .15s, background .15s; }
.theme-btn:hover { color: var(--text); background: var(--raised); }
.theme-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-moon { fill: currentColor; stroke: none; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; } :root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; } :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; } }
