/* ClearShot privacy / terms / support pages. Same light "travel postcard" look as the
   landing (landing/public/css/site.css): cream canvas, ink text, lagoon + peach accents.
   Everything is self-hosted (fonts in ./fonts), no JavaScript, no third parties. */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/onest-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/onest-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/onest-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/onest-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

:root {
  --cream: #f4f0e8;
  --cream-2: #faf7f1;
  --card: #ece6db;
  --ink: #1c1b18;
  --ink-2: #57534b;
  --ink-3: #8c867b;
  --line: rgba(28,27,24,.1);
  --lagoon: #0f3a40;
  --lagoon-2: #164b52;
  --peach: #ffd9b8;
  --peach-panel: #ffe6cf;
  --sky-panel: #c9e4f6;
  --sunset: #ff9a4d;
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --wrap: 1000px;
  --measure: 40em;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.65 "Onest", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.035em; margin: 0; overflow-wrap: break-word; }
strong { font-weight: 600; color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--sunset); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 12px; background: var(--lagoon); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- nav (sticky, blurred; icon centred like the landing) ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--cream) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; gap: 12px; }
.back { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); opacity: .8; padding: 8px 4px; transition: opacity .2s; }
.back:hover { opacity: 1; }
.back svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.back:hover svg { transform: translateX(-3px); }
.logo { width: 38px; height: 38px; border-radius: 11px; overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.logo img { width: 38px; height: 38px; }
.nav-cta { justify-self: end; }

.btn { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 "Onest", sans-serif; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(15,58,64,.55); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .12s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-dark { background: var(--lagoon); color: #fff; }
.btn-dark:hover { background: var(--lagoon-2); }
.btn-peach { background: var(--peach); color: var(--lagoon); }
.btn-peach:hover { background: #ffe6cf; box-shadow: 0 14px 34px -12px rgba(255,154,77,.7); }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 56px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 620px; background:
  radial-gradient(40% 50% at 22% 35%, rgba(255,217,184,.65), transparent 70%),
  radial-gradient(38% 45% at 80% 30%, rgba(201,228,246,.75), transparent 70%); pointer-events: none; filter: blur(10px); }
.hero > * { position: relative; }
.hero h1 { font-size: clamp(44px, 7vw, 72px); line-height: 1.02; margin-top: 30px; }
.hero h1, .hero .lead { text-wrap: balance; }
.hero .lead { color: var(--ink-2); font-size: clamp(17px, 1.8vw, 20px); line-height: 1.5; max-width: 46ch; margin: 18px auto 0; }

/* page switcher: segmented control */
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(28,27,24,.06); }
.seg a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: background .2s, color .2s; }
.seg a:hover { color: var(--ink); background: rgba(255,255,255,.7); }
.seg a[aria-current="page"] { background: var(--lagoon); color: #fff; }

.chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 14px; font-weight: 600; color: var(--lagoon); padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(28,27,24,.06); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sunset); }

/* ---------- document layout: sticky TOC + text column ---------- */
.doc { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 56px; align-items: start; padding-bottom: 40px; }
.toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; padding: 22px 18px 18px; border-radius: var(--radius-lg); background: rgba(255,255,255,.45); box-shadow: inset 0 0 0 1px rgba(28,27,24,.05); }
.toc-title { margin: 0 0 10px 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { margin: 0; }
.toc a { display: flex; gap: 10px; padding: 6px 8px; border-radius: 10px; font-size: 14px; line-height: 1.35; color: var(--ink-2); text-decoration: none; transition: background .2s, color .2s; }
.toc a:hover { background: rgba(255,255,255,.75); color: var(--ink); }
.toc a .n { flex: none; min-width: 18px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.toc-m { display: none; }
.prose .toc-m li { padding-left: 0; margin: 0; }
.prose .toc-m li::before { content: none; }
.prose .toc-m a { font-weight: 400; text-decoration: none; }

/* ---------- prose ---------- */
.prose { min-width: 0; }
/* ~70 characters per line for running text; the data table may use the full column */
.prose > section > :not(.table), .prose > .callout, .prose > .toc-m { max-width: var(--measure); }
.prose > section { padding-top: 8px; }
.prose > section + section { margin-top: 48px; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 500; margin: 0 0 16px; }
.prose h2 .n { color: var(--sunset); font-weight: 500; margin-right: .18em; font-variant-numeric: tabular-nums; }
.prose h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; margin: 28px 0 8px; }
.prose p { margin: 0 0 16px; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.prose ul { list-style: none; margin: 0 0 18px; padding: 0; }
.prose li { position: relative; padding-left: 26px; margin: 10px 0; color: var(--ink-2); }
.prose li::before { content: ""; position: absolute; left: 6px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--sunset); }
.prose a, .callout a, .contact a.text { color: var(--lagoon); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(255,154,77,.7); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: text-decoration-color .2s, color .2s; overflow-wrap: anywhere; }
.prose a:hover, .callout a:hover { text-decoration-color: var(--lagoon); }

/* callouts (the old .card) */
.callout { border-radius: var(--radius-lg); padding: 28px 30px; margin: 0 0 22px; background: var(--card); }
.callout p { margin: 0 0 12px; color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }
.callout ul { margin: 14px 0 0; }
.callout li { color: var(--ink-2); }
.callout-peach { background: var(--peach-panel); }
.callout-sky { background: var(--sky-panel); }
.callout-sky li::before, .callout-peach li::before { background: var(--lagoon); }
.toc-m + .callout { margin-bottom: 48px; }

/* tables */
.table { border-radius: var(--radius-md); background: var(--cream-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; margin: 0 0 22px; }
.table table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.55; }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.table th { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: rgba(236,230,219,.55); }
.table td { color: var(--ink-2); }
.table td:first-child { color: var(--ink); }
.table tbody tr:last-child td { border-bottom: 0; }

/* ---------- support ---------- */
.support { max-width: 820px; margin-inline: auto; padding-bottom: 40px; }
.contact { border-radius: var(--radius-xl); padding: 44px 44px 40px; background: var(--lagoon); color: #f3efe6; box-shadow: inset 0 0 120px rgba(255,217,184,.22); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; right: -140px; bottom: -220px; width: 520px; height: 420px; background: radial-gradient(closest-side, rgba(255,154,77,.35), transparent); pointer-events: none; }
.contact > * { position: relative; }
.contact h2 { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.1; font-weight: 400; margin: 0 0 14px; }
.contact p { margin: 0; color: rgba(243,239,230,.78); max-width: 62ch; }
.contact strong { color: #fff; }
.contact a.text { color: var(--peach); text-decoration-color: rgba(255,217,184,.5); }
.contact a.text:hover { text-decoration-color: var(--peach); }
.contact .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 40px 0 28px; }
.jump a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(28,27,24,.06); transition: background .2s, color .2s; }
.jump a:hover { background: #fff; color: var(--ink); }
.group { border-radius: var(--radius-lg); background: rgba(255,255,255,.5); box-shadow: inset 0 0 0 1px rgba(28,27,24,.05); padding: 30px 32px 14px; }
.group + .group { margin-top: 18px; }
.group h2 { font-size: clamp(24px, 2.8vw, 30px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 500; margin: 0 0 6px; display: flex; align-items: center; gap: 12px; }
.group h2 .ic { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--peach-panel); color: var(--lagoon); }
.group:nth-of-type(3n+2) h2 .ic { background: var(--sky-panel); }
.group:nth-of-type(3n) h2 .ic { background: var(--card); }
.group h2 .ic svg { width: 19px; height: 19px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(var(--lagoon), var(--lagoon)) center / 100% 2px no-repeat,
              linear-gradient(var(--lagoon), var(--lagoon)) center / 2px 100% no-repeat;
  transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--lagoon); }
.faq details p { margin: 0; padding: 0 0 20px; color: var(--ink-2); max-width: var(--measure); }
.faq a, .group > p a { color: var(--lagoon); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(255,154,77,.7); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.group > p { margin: 10px 0 18px; color: var(--ink-2); }
.group-contact { background: var(--peach-panel); box-shadow: none; padding-bottom: 30px; }
.group-contact h2 .ic { background: rgba(255,255,255,.75); }
.group-contact > p { margin-bottom: 0; }

/* ---------- footer (as on the landing) ---------- */
footer { padding: 56px 0 70px; font-size: 14px; color: var(--ink-3); }
.foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 32px; row-gap: 16px; border-top: 1px solid var(--line); padding-top: 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-self: end; }
.foot nav a { white-space: nowrap; }
.foot a { text-decoration: none; color: var(--ink-2); padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) left bottom / 0% 1.5px no-repeat;
  transition: background-size .35s var(--ease), color .25s; }
.foot-made a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.foot a:hover, .foot a:focus-visible { color: var(--ink); background-size: 100% 1.5px; }
.foot a[aria-current="page"] { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
  .toc-m { display: block; margin: 0 0 36px; border-radius: var(--radius-md); background: rgba(255,255,255,.5); box-shadow: inset 0 0 0 1px rgba(28,27,24,.05); }
  .toc-m summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; font-size: 15px; font-weight: 600; }
  .toc-m summary::-webkit-details-marker { display: none; }
  .toc-m summary::after { content: ""; width: 12px; height: 12px;
    background: linear-gradient(var(--lagoon), var(--lagoon)) center / 100% 2px no-repeat,
                linear-gradient(var(--lagoon), var(--lagoon)) center / 2px 100% no-repeat;
    transition: transform .35s var(--ease); }
  .toc-m[open] summary::after { transform: rotate(45deg); }
  .toc-m ol { list-style: none; margin: 0; padding: 0 12px 14px; }
  .toc-m a { display: flex; gap: 10px; padding: 8px; border-radius: 10px; font-size: 15px; color: var(--ink-2); text-decoration: none; }
  .toc-m a .n { min-width: 20px; color: var(--ink-3); }
  .prose { max-width: var(--measure); margin-inline: auto; width: 100%; }
  .prose > section > .table { max-width: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 44px 0 40px; }
  .callout { padding: 22px 20px; border-radius: 24px; }
  .contact { padding: 32px 22px 28px; border-radius: 30px; }
  .group { padding: 24px 20px 8px; border-radius: 24px; }
  .group-contact { padding-bottom: 24px; }
  .faq summary { font-size: 17px; padding: 16px 0; }
  .prose > section + section { margin-top: 40px; }
  /* the data table becomes one card per row */
  .table { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { background: var(--cream-2); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--line); padding: 6px 0; margin-bottom: 12px; }
  .table td { border-bottom: 0; padding: 8px 18px; }
  .table td:first-child { font-size: 17px; padding-top: 12px; }
  .table td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
  .foot { grid-template-columns: 1fr; }
  .foot nav { justify-self: start; }
}
@media (max-width: 520px) {
  .nav-cta .btn .long { display: none; }
  .nav-cta .btn { width: 40px; padding: 0; justify-content: center; }
  .seg a { padding: 8px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
}
@media print {
  .nav, .skip, .seg, .toc, .toc-m, .jump, footer nav, .hero::before { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .hero { padding: 0 0 16pt; text-align: left; }
  .doc { display: block; }
  .callout, .group, .contact, .table, .table tr { background: #fff !important; color: #000; box-shadow: inset 0 0 0 1px #ccc; }
  .contact p, .contact strong, .contact a.text { color: #000; }
  details > * { display: block; }
}
