/* SnipSimple website: one stylesheet for every page. No web fonts, no third-party requests. */
:root {
  --blue: #1A55C8;          /* icon gradient bottom; text-safe on white */
  --blue-hover: #1546A8;
  --blue-soft: #E8F1FF;
  --blue-bright: #2978DE;   /* overlay selection frame */
  --sky: #5BB0FF;           /* icon gradient top */
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --card: #FFFFFF;
  --text: #1D1D1F;
  --muted: #6E6E73;
  --line: #D2D2D7;
  --line-soft: #E8E8ED;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 28px rgba(0,0,0,.07);
  --header-bg: rgba(255,255,255,.78);
  --link: #1A55C8;
  --on-blue: #FFFFFF;
  --placeholder-bg: #FFF7E0;
  --placeholder-text: #8A5A00;
  --radius: 18px;
  --max: 1080px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --blue: #2B6CDB;
    --blue-hover: #3D7DE8;
    --blue-soft: #14243F;
    --bg: #000000;
    --bg-alt: #0F0F11;
    --card: #1C1C1E;
    --text: #F5F5F7;
    --muted: #A1A1A6;
    --line: #38383A;
    --line-soft: #2C2C2E;
    --shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 28px rgba(0,0,0,.45);
    --header-bg: rgba(22,22,23,.78);
    --link: #5BB0FF;
    --placeholder-bg: #3A2E10;
    --placeholder-text: #F5C76B;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
[id] { scroll-margin-top: 72px; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -0.022em; line-height: 1.12; margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
kbd {
  font: 600 .85em/1 -apple-system, BlinkMacSystemFont, sans-serif;
  padding: .2em .45em; border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 6px; background: var(--bg-alt); white-space: nowrap;
}
code { font: .9em ui-monospace, "SF Mono", Menlo, monospace; background: var(--bg-alt); padding: .1em .35em; border-radius: 5px; overflow-wrap: anywhere; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 56px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; letter-spacing: -0.01em; font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: .9rem; }
.nav a { color: var(--text); opacity: .82; }
.nav a:hover { opacity: 1; text-decoration: none; }
.nav a[aria-current="page"] { opacity: 1; font-weight: 600; }
@media (max-width: 560px) {
  .nav { gap: 14px; }
  .nav .hide-sm { display: none; }
  .brand span { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 980px; font-weight: 600; font-size: 1rem;
  background: var(--blue); color: var(--on-blue); border: 0; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--blue-hover); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn-sm { padding: 6px 14px; font-size: .85rem; }
.btn-ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: var(--blue-soft); }
.btn[aria-disabled="true"] { cursor: default; }
.btn svg { width: 18px; height: 18px; }
.nav .btn { opacity: 1; color: var(--on-blue); }

/* Placeholder marker: anything waiting on someone else's input */
.ph {
  background: var(--placeholder-bg); color: var(--placeholder-text);
  border-radius: 6px; padding: .05em .4em; font-weight: 600; font-size: .92em;
}

/* Hero */
.hero { text-align: center; padding: 76px 0 36px; }
.hero .app-icon { width: 112px; height: 112px; margin: 0 auto 26px; filter: drop-shadow(0 10px 24px rgba(26,85,200,.28)); }
.hero p.lead { font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: center; }
.hero .fine { margin-top: 14px; font-size: .85rem; color: var(--muted); }

/* Screenshot placeholder framed like a Mac window */
.shot {
  margin: 48px auto 0; max-width: 940px; border-radius: 14px; overflow: hidden;
  background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line-soft);
}
.shot .bar { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--bg-alt); border-bottom: 1px solid var(--line-soft); }
.shot .bar i { width: 12px; height: 12px; border-radius: 50%; background: var(--line); display: block; }
.shot .body {
  aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; padding: 24px;
  color: var(--muted); font-size: .95rem;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, var(--line-soft) 14px 15px),
    var(--bg-alt);
}
.shot .frame {
  border: 2px solid var(--blue-bright); border-radius: 4px; padding: 26px 30px; background: var(--card);
  box-shadow: 0 0 0 9999px rgba(0,0,0,.06); max-width: 80%;
}
.shot .frame strong { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: 4px; }

/* Sections */
section { padding: 72px 0; }
.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); font-size: 1.12rem; }

.features { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--card); border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow); border: 1px solid var(--line-soft);
}
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(180deg, var(--sky), #1A55C8); color: #fff;
}
.card .ico svg { width: 24px; height: 24px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.mini-shot {
  margin-top: 20px; aspect-ratio: 4 / 3; border-radius: 10px; display: grid; place-items: center;
  border: 1.5px dashed var(--line); color: var(--muted); font-size: .8rem; text-align: center; padding: 10px;
}

.linkdemo {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  background: var(--card); border: 1px solid var(--line-soft); box-shadow: var(--shadow);
  padding: 12px 18px; border-radius: 14px; font: 500 1rem ui-monospace, "SF Mono", Menlo, monospace;
}
.linkdemo .tag { font: 600 .75rem -apple-system, sans-serif; color: #1E7A3A; background: #E3F6E8; padding: 3px 8px; border-radius: 99px; }
@media (prefers-color-scheme: dark) { .linkdemo .tag { color: #7EE2A0; background: #133220; } }

.points { display: grid; gap: 18px 40px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.points div { display: flex; gap: 12px; }
.points svg { flex: none; width: 22px; height: 22px; color: var(--blue); margin-top: 3px; }
.points p { margin: 0; color: var(--muted); }
.points strong { color: var(--text); display: block; }

.band { text-align: center; }
.band .app-icon { width: 72px; height: 72px; margin: 0 auto 20px; }

/* Pricing */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--blue); }
.plan .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 99px; white-space: nowrap;
}
.plan .price { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.02em; margin: 6px 0 2px; }
.plan .per { color: var(--muted); font-size: .9rem; min-height: 1.5em; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; font-size: .97rem; border-top: 1px solid var(--line-soft); }
.plan li:first-child { border-top: 0; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}
.plan li.no { color: var(--muted); }
.plan li.no::before { border: 0; height: 2px; width: 12px; top: 18px; left: 3px; background: var(--muted); transform: none; }
.plan .btn { width: 100%; }

.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--line-soft); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-size: .85rem; color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.yes { color: var(--blue); font-weight: 700; }
.dash { color: var(--muted); }

/* Prose pages (privacy, support) */
.page-head { padding: 64px 0 10px; }
.page-head p { color: var(--muted); font-size: 1.1rem; }
.prose { padding: 20px 0 80px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; padding-top: .2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .35em 0; }
.prose .meta { color: var(--muted); font-size: .9rem; }
.summary {
  background: var(--blue-soft); border-radius: var(--radius); padding: 24px 26px; margin: 24px 0 8px;
}
.summary ul { margin: 0; }
.status { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 99px; vertical-align: middle; margin-left: 6px; }
.status.live { background: #E3F6E8; color: #1E7A3A; }
.status.planned { background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { .status.live { background: #133220; color: #7EE2A0; } }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--bg-alt); color: var(--text); font-size: .88rem; }
.toc a:hover { text-decoration: none; background: var(--line-soft); }

details { border-bottom: 1px solid var(--line-soft); padding: 4px 0; }
details summary {
  cursor: pointer; list-style: none; padding: 14px 32px 14px 0; font-weight: 600; position: relative;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: ""; position: absolute; right: 6px; top: 22px; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
details[open] summary::after { transform: rotate(-135deg); top: 26px; }
details > div { padding: 0 0 16px; color: var(--muted); }
details > div strong { color: var(--text); }

.contact-card { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.contact-card .ico { margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-soft); padding: 34px 0 44px; font-size: .85rem; color: var(--muted); }
.foot-main { display: flex; gap: 14px 28px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.site-footer nav { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.foot-legal { margin: 4px 0 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- CleanShot-style layer (round 4) ---------- */
:root { --wash: rgba(91,176,255,.22); --wash2: rgba(26,85,200,.10); --grad-a: #2F7BEA; --grad-b: #1A55C8; }
@media (prefers-color-scheme: dark) { :root { --wash: rgba(61,134,240,.22); --wash2: rgba(26,85,200,.16); --grad-a: #7CC0FF; --grad-b: #3D86F0; } }
.wash { background:
  radial-gradient(ellipse 70% 55% at 50% 0%, var(--wash), transparent 70%),
  radial-gradient(ellipse 40% 40% at 85% 10%, var(--wash2), transparent 70%); }
.grad { background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn { border-radius: 11px; }
.btn-sm { border-radius: 9px; }
.btn-light { background: var(--card); color: var(--text); box-shadow: 0 0 0 1px var(--line-soft), 0 1px 3px rgba(0,0,0,.08); }
.btn-light:hover { background: var(--bg-alt); }
.pill { display: inline-block; font-size: .82rem; font-weight: 600; padding: 6px 14px; border-radius: 99px;
  background: var(--card); box-shadow: 0 0 0 1px var(--line-soft), 0 2px 8px rgba(0,0,0,.06); color: var(--text); margin-bottom: 22px; }
.pill b { color: var(--blue); }
.more { display: inline-flex; align-items: center; gap: 4px; font-size: .88rem; color: var(--muted); }
.more:hover { color: var(--text); text-decoration: none; }

/* left-aligned section head with optional CTA on the right */
.row-head { display: flex; gap: 20px 40px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 36px; }
.row-head h2 { margin: 0 0 .3em; }
.row-head p { color: var(--muted); font-size: 1.1rem; max-width: 620px; margin: 0; }

/* split row: text + visual */
.split { display: grid; gap: 32px 56px; grid-template-columns: 1fr 1.15fr; align-items: center; }
.split h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.split p { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.visual { border-radius: 22px; aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 24px;
  background: linear-gradient(160deg, #5BB0FF, #1A55C8); color: rgba(255,255,255,.9); font-size: .9rem; box-shadow: var(--shadow); }
.visual .frame { border: 2px dashed rgba(255,255,255,.85); border-radius: 6px; padding: 22px 26px; position: relative; }
.visual .frame::before, .visual .frame::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; top: 50%; margin-top: -5px; }
.visual .frame::before { left: -6px; } .visual .frame::after { right: -6px; }

/* bento */
.bento { display: grid; gap: 18px; grid-template-columns: repeat(6, 1fr); }
.tile { border-radius: 22px; padding: 26px; background: var(--card); border: 1px solid var(--line-soft); box-shadow: var(--shadow); display: flex; flex-direction: column; min-height: 230px; }
.tile h3 { margin-bottom: .35em; }
.tile p { color: var(--muted); font-size: .97rem; margin: 0; }
.tile .art { margin-top: auto; padding-top: 22px; }
.tile.blue { background: linear-gradient(160deg, #3D8CF0, #1A55C8); color: #fff; border: 0; }
.tile.dark { background: #16171B; color: #fff; border: 0; }
.tile.blue p, .tile.dark p { color: rgba(255,255,255,.78); }
.tile.blue kbd, .tile.dark kbd { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; }
.w3 { grid-column: span 3; } .w2 { grid-column: span 2; } .w4 { grid-column: span 4; } .w6 { grid-column: span 6; }
@media (max-width: 820px) { .w2, .w3, .w4 { grid-column: span 6; } }
.tile .linkdemo { font-size: .85rem; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: .8rem; font-weight: 600; padding: 6px 11px; border-radius: 99px; background: rgba(255,255,255,.14); }
.tile:not(.blue):not(.dark) .chips span { background: var(--bg-alt); color: var(--text); }
.keycap { font: 700 1.6rem/1 -apple-system, sans-serif; display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 16px;
  background: rgba(255,255,255,.12); box-shadow: inset 0 -3px 0 rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.2); }
.keys { display: flex; gap: 10px; }

/* plan header band */
.plan { padding: 0; overflow: hidden; }
.plan .band { font-size: .8rem; font-weight: 600; text-align: center; padding: 9px 12px; background: var(--bg-alt); color: var(--muted); border-bottom: 1px solid var(--line-soft); }
.plan.featured .band { background: var(--blue-soft); color: var(--blue); }
.plan .inner { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.plan.featured { border: 1.5px solid var(--blue); }

/* help hub */
.hub { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 10px 0 20px; }
.hub a.card { color: var(--text); display: block; padding: 22px; }
.hub a.card:hover { text-decoration: none; transform: translateY(-2px); }
.hub .card { transition: transform .15s ease; }
.hub .ico { width: 40px; height: 40px; margin-bottom: 14px; }
.hub small { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 2px; }
.hub strong { font-weight: 600; overflow-wrap: anywhere; }

/* legal layout with sidebar */
.legal { display: grid; grid-template-columns: 200px 1fr; gap: 48px; padding-top: 56px; }
.legal aside nav { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 2px; font-size: .9rem; }
.legal aside h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 18px 0 6px; }
.legal aside h4:first-child { margin-top: 0; }
.legal aside a { color: var(--text); padding: 6px 10px; border-radius: 8px; }
.legal aside a:hover { background: var(--bg-alt); text-decoration: none; }
.legal aside a[aria-current="page"] { background: var(--bg-alt); font-weight: 600; }
.legal .page-head { padding-top: 0; }
@media (max-width: 820px) { .legal { grid-template-columns: 1fr; gap: 0; padding-top: 32px; } .legal aside { display: none; } }

/* 404 selection */
.sel404 { display: inline-block; position: relative; border: 2px dashed var(--blue-bright); border-radius: 8px; padding: 6px 28px; margin: 10px 0 18px; }
.sel404 span { font: 800 clamp(4rem, 14vw, 7rem)/1 -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: -0.04em; }
.sel404::before, .sel404::after { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 0 3px var(--bg); }
.sel404::before { left: -8px; } .sel404::after { right: -8px; }
.wash-top { background-size: 100% 560px; background-repeat: no-repeat; }
.hub strong { overflow-wrap: normal; font-size: .9rem; } .hub .card { padding: 22px 18px; }

/* round 6: paywall copy v3 */
.plan .price .unit { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .plus { color: var(--muted); font-size: .9rem; margin: 18px 0 -12px; }
.plan .fine { color: var(--muted); font-size: .8rem; line-height: 1.45; margin: 12px 0 0; text-align: center; }
