/* catsium.com's release pages (download, pricing, privacy, support, trust, terms, acceptable-use): the landing
   page's office world — its tokens, faces, header, buttons and footer as in index.html — plus plain reading blocks.
   Keep the tokens in step with index.html when the landing page changes. One card system, hairline borders, a
   generous rhythm; no motion beyond a colour change on hover. */
@font-face { font-family: "Bricolage Grotesque"; src: url('/assets/fonts/BricolageGrotesque.ttf?v=2') format("truetype"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Geist"; src: url('/assets/fonts/Geist-SemiBold.woff2?v=1') format("woff2"); font-weight: 600; font-display: swap; }
:root {
  --walnut: #1c140f;
  --walnut-2: #261b14;
  --wall: #31231a;
  --line: #4a3729;
  --hair: rgba(243, 230, 211, .1);
  --text: #f3e6d3;
  --muted: #c7b096;
  --tabby: #f28c28;
  --tabby-hi: #ffa64d;
  --tabby-ink: #1f1208;
  --slate: #3c4757;
  --leaf: #7fc35b;
  --paper: #fbf3e4;
  --paper-ink: #2b1d12;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Bricolage Grotesque", var(--font);
  --wordmark: "Geist", var(--font);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scrollbar-color: var(--line) var(--walnut); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--walnut); color: var(--text); font: 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--tabby); color: var(--tabby-ink); }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
main a:not(.btn) { text-decoration-color: color-mix(in srgb, var(--tabby) 70%, transparent); }
main a:not(.btn):hover { color: var(--tabby-hi); }
:focus-visible { outline: 2px solid var(--tabby-hi); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 30; background: var(--tabby); color: var(--tabby-ink); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 750; letter-spacing: -0.02em; text-wrap: balance; }

/* one language at a time: <html lang> is set by pages.js (the landing page's saved choice, else its guess) */
html[lang="en"] [data-l="tr"], html[lang="tr"] [data-l="en"] { display: none !important; }

header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--walnut) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 22px var(--wordmark); letter-spacing: -0.025em; color: var(--tabby); }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
.links { display: flex; gap: 26px; margin-left: 4px; }
.links a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .15s; }
.links a:hover { color: var(--text); }
.links a[aria-current="page"] { color: var(--text); border-bottom-color: var(--tabby); }
.spacer { flex: 1; }
.lang { display: inline-flex; border: 1px solid var(--hair); border-radius: 8px; overflow: hidden; }
.lang button { background: none; border: 0; color: var(--muted); font: 600 13px var(--font); padding: 7px 11px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--wall); color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 9px; border-radius: 10px; padding: 12px 20px; font-weight: 650; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.btn.primary { background: var(--tabby); color: var(--tabby-ink); }
.btn.primary:hover { background: var(--tabby-hi); }
.btn.ghost { border-color: var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--muted); }
.btn.small { padding: 8px 14px; font-size: 14px; border-radius: 8px; }
.btn.big { padding: 16px 28px; font-size: 19px; border-radius: 12px; }
/* a button that is not live yet: it looks waiting and does nothing */
.btn.pending { background: var(--walnut-2); color: var(--muted); border: 1px dashed var(--tabby); cursor: not-allowed; }

/* the page: a hero block closed by a hairline, then sections with room between them */
.page { padding: 88px 24px 0; max-width: 1000px; }
.kicker { display: inline-block; font: 650 13px var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--tabby); }
h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02; margin: 14px 0 22px; max-width: 16em; }
h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; margin: 88px 0 16px; padding-top: 40px; border-top: 1px solid var(--hair); scroll-margin-top: 84px; }
section[id] { scroll-margin-top: 84px; }
h3 { font-size: 20px; line-height: 1.25; margin: 0 0 8px; letter-spacing: -0.01em; }
.lead { color: var(--muted); font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; max-width: 38em; margin: 0 0 28px; }
p, li { max-width: 44em; }
.muted, small, .small { color: var(--muted); }
p.small { font-size: 15px; margin-top: 40px; }
ul.plain, ol.steps, main > ul, main > ol { padding-left: 22px; }
ul.plain li, ol.steps li, main > ul li { margin: 10px 0; }
main li::marker { color: var(--tabby); }
code { font-family: var(--mono); font-size: .86em; background: var(--wall); padding: 2px 6px; border-radius: 5px; color: var(--text); overflow-wrap: anywhere; }
pre { margin: 14px 0; padding: 14px 16px; background: #120d0a; border: 1px solid var(--hair); border-radius: 10px; font: 13px/1.6 var(--mono); color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
pre code { background: none; padding: 0; }

/* the card system: a flow, a plan, a requirement — one surface, one radius, stacked on a phone */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: linear-gradient(180deg, #2a1e16, #231912); border: 1px solid var(--hair); border-radius: var(--radius); padding: 24px; min-width: 0; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.card dl { margin: 14px 0 0; display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 0 16px; font-size: 15px; line-height: 1.5; }
.card dt { color: var(--muted); font-weight: 600; padding: 9px 0; border-top: 1px solid var(--hair); }
.card dd { margin: 0; min-width: 0; overflow-wrap: anywhere; padding: 9px 0; border-top: 1px solid var(--hair); }
.who { display: inline-block; font: 650 11px var(--font); letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; margin-bottom: 12px; border: 1px solid var(--line); color: var(--muted); }
p .who { margin-bottom: 0; }
.who.catsium { color: var(--tabby-hi); border-color: color-mix(in srgb, var(--tabby) 55%, transparent); }
.who.local { color: var(--leaf); border-color: color-mix(in srgb, var(--leaf) 55%, transparent); }
dl.card { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 0 20px; margin: 20px 0 0; font-size: 16px; }
dl.card > dt { color: var(--muted); font-weight: 600; padding: 11px 0; border-top: 1px solid var(--hair); }
dl.card > dd { margin: 0; min-width: 0; overflow-wrap: anywhere; padding: 11px 0; border-top: 1px solid var(--hair); }
dl.card > dt:first-of-type, dl.card > dt:first-of-type + dd, .card dl > dt:first-of-type, .card dl > dt:first-of-type + dd { border-top: 0; }

/* pricing: one feature set, two ways to pay. The figures come from assets/prices.js (data-price). */
.status { display: inline-flex; align-items: center; gap: 10px; font: 600 14px var(--font); color: var(--tabby-hi); border: 1px solid color-mix(in srgb, var(--tabby) 45%, transparent); background: color-mix(in srgb, var(--tabby) 9%, transparent); border-radius: 999px; padding: 6px 14px; margin: 0 0 8px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tabby); flex: none; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; align-items: stretch; }
.plan-card { position: relative; background: linear-gradient(180deg, #2a1e16, #231912); border: 1px solid var(--hair); border-radius: 18px; padding: 30px 28px; min-width: 0; }
.plan-card.best { border-color: var(--tabby); background: linear-gradient(180deg, #33231a, #261b14); }
.plan-card h3 { font-size: 18px; color: var(--muted); font-family: var(--font); font-weight: 600; letter-spacing: 0; margin: 0; }
.plan-card .price { font: 750 clamp(46px, 6vw, 64px)/1 var(--display); letter-spacing: -0.03em; margin: 14px 0 6px; font-variant-numeric: tabular-nums; }
.plan-card .price small { font: 500 17px var(--font); letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.plan-card p { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
.plan-card p b { color: var(--text); font-weight: 600; }
.plan-card .who { position: absolute; top: 26px; right: 24px; margin: 0; }
.card .price { font: 750 30px var(--display); margin: 8px 0 4px; }

/* the released pricing and download pages: the launch price is the figure; the regular price is a sentence beside
   it, never a struck-through figure (nobody was charged it) */
.plan-card .regular { color: var(--text); font-weight: 600; }
.plan-card .buy { margin-top: 20px; }
.note.promise p:first-child { font-size: 18px; }
.get { margin: 24px 0 0; }
.builds .plan-card h3 { margin-bottom: 16px; }
.builds .plan-card p { font-size: 15px; }
.builds .btn { max-width: 100%; }
/* two Mac builds and the Windows Store card beside them */
.plans.builds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.builds .plan-card.soon { opacity: .82; border-style: dashed; }
.builds .soon-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line, #3a3f4b); font-weight: 700; font-size: 13px; }

/* an open owner decision or an unchecked fact: visible on purpose until it is filled */
.ph { display: inline-block; font: 600 14px var(--font); color: var(--tabby-hi); background: color-mix(in srgb, var(--tabby) 12%, transparent); border: 1px dashed var(--tabby); border-radius: 6px; padding: 2px 9px; }
.pending-tag { display: inline-block; font: 600 13px var(--font); color: var(--tabby-hi); border: 1px solid color-mix(in srgb, var(--tabby) 55%, transparent); border-radius: 999px; padding: 1px 10px; margin-left: 6px; white-space: nowrap; }
.note { background: var(--walnut-2); border: 1px solid var(--hair); border-left: 2px solid var(--tabby); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 28px 0 0; }
.note b { color: var(--text); }
.note p { margin: 0; color: var(--muted); max-width: none; }
.note p + p { margin-top: 8px; }
.src { color: var(--muted); font-size: 15px; margin-top: 20px; }

/* the footer: the wordmark and the site's promise, then three short columns */
footer { margin-top: 128px; border-top: 1px solid var(--hair); padding: 56px 0 64px; color: var(--muted); font-size: 15px; }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
footer .about p { margin: 14px 0 0; max-width: 24em; font-size: 14px; line-height: 1.55; }
footer .col { display: grid; gap: 10px; justify-items: start; }
footer .col b { font: 650 12px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-bottom: 4px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }
footer .brand { font-size: 20px; color: var(--tabby); }
footer .brand:hover { color: var(--tabby); text-decoration: none; }
footer .brand img { width: 28px; height: 28px; }

@media (max-width: 980px) {
  /* the menu moves under the wordmark instead of disappearing */
  .nav { flex-wrap: wrap; gap: 0 16px; padding-top: 10px; padding-bottom: 6px; }
  .links { order: 5; flex-basis: 100%; margin: 4px 0 0; gap: 4px 20px; flex-wrap: wrap; }
  .links a { font-size: 14px; }
  .cards.three { grid-template-columns: 1fr 1fr; }
  .page { padding-top: 64px; }
  footer .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  footer .about { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  header { position: static; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .page { padding-top: 44px; }
  .nav .btn.small { display: none; }
  .cards, .cards.three, .plans, .plans.builds { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 20px; }
  .plan-card { padding: 26px 22px; }
  .card dl, dl.card { grid-template-columns: minmax(0, 1fr); }
  .card dl > dd, dl.card > dd { border-top: 0; padding-top: 0; }
  .card dl > dt, dl.card > dt { padding-bottom: 2px; }
  h2 { margin-top: 64px; padding-top: 32px; }
  footer { margin-top: 88px; padding: 40px 0 48px; }
  footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
}

/* a buy button without a checkout address stays out of sight (assets/prices.js) */
[hidden] { display: none !important; }
