/* ==========================================================================
   Cutterly — cutterlyai.com
   One stylesheet, no build. Layout responds to the width of .site
   (container queries), so the same rules work on the live page and in
   fixed-width design frames.
     ≤ 1040px  tablet: hero stacks, grids go to 2 columns
     ≤  680px  phone: single column, nav moves to its own scrolling row
   Marker colours (red / green / orange) carry product meaning — use them
   only for "to delete / kept take / doubtful". Everything else is blue/violet.
   Never use text-transform: uppercase (Azerbaijani İ/ı).
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; 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: 100 900; 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: 100 900; 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: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("fonts/jetbrains-mono-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: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("fonts/jetbrains-mono-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: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("fonts/jetbrains-mono-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* ---------- Tokens ---------- */
:root {
  --bg: #14151a;          /* panel background */
  --bg-deep: #0f1014;     /* timeline, code */
  --surface: #1a1c22;
  --surface-2: #20232b;
  --line: #2a2d36;
  --line-2: #373b46;
  --text: #eceef3;
  --text-2: #b6bbc6;
  --muted: #8d93a1;

  --blue: #4f93ff;
  --blue-ink: #0a1122;    /* text on blue fills */
  --blue-soft: rgba(79, 147, 255, .12);
  --violet: #8b5cf6;
  --violet-text: #a98bfa;
  --violet-soft: rgba(139, 92, 246, .14);
  --slate: #5b6475;

  /* marker colours — product meaning only */
  --red: #f87171;
  --green: #34d399;
  --orange: #fbbf24;

  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1200px;
  --gutter: 40px;
  --radius: 14px;
  --radius-sm: 10px;
  --section: 112px;

  /* which logo image shows — the site is dark-only today, so dark always wins */
  --logo-dark: block; --logo-light: none;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
.site { container: site / inline-size; min-width: 0; background: var(--bg); color: var(--text); font-family: var(--font); }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
b, strong { font-weight: 600; color: var(--text); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
::selection { background: rgba(79, 147, 255, .35); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Hide English until the chosen language is applied (no flash). */
.js-i18n:not(.i18n-ready) [data-i18n] { visibility: hidden; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(20, 21, 26, .86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 32px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.brand:hover { text-decoration: none; opacity: .9; }
.brand img { height: 32px; width: auto; }
.logo-on-dark { display: var(--logo-dark); }
.logo-on-light { display: var(--logo-light); }
.nav { display: flex; gap: 4px; margin-left: auto; min-width: 0; }
.nav a { color: var(--text-2); font-size: 15px; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--text); }
.lang { display: flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-deep); flex: none; }
.lang button {
  font: 500 12px/1 var(--mono); letter-spacing: .02em;
  color: var(--muted); background: none; border: 0; border-radius: 7px;
  min-width: 40px; min-height: 32px; padding: 0 8px; cursor: pointer;
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 11px 20px; border-radius: 10px;
  font: 600 15px/1.25 var(--font); letter-spacing: -.005em; text-align: center;
  border: 1px solid transparent; cursor: pointer; max-width: 100%;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { min-height: 52px; padding: 13px 24px; font-size: 16px; }
.btn-primary { background: var(--blue); color: var(--blue-ink); }
.btn-primary:hover { background: #6aa4ff; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-secondary:hover { background: var(--surface-2); border-color: #454a57; }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13px/1.4 var(--mono); color: var(--text-2); letter-spacing: 0;
  padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--blue); box-shadow: 10px 0 0 var(--violet); margin-right: 10px; flex: none; }
.lead { font-size: 19px; line-height: 1.6; color: var(--text-2); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; min-width: 0; }
.card h3 { font-size: 19px; letter-spacing: -.015em; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 22px;
  color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px rgba(79, 147, 255, .22);
}
.icon svg { width: 22px; height: 22px; }
.icon.violet { color: var(--violet-text); background: var(--violet-soft); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .26); }

/* Timeline ruler: the thin tick strip that opens every section. */
.section { padding: calc(var(--section) * .75) 0 0; position: relative; }
.section::before {
  content: ""; display: block; height: 10px; max-width: calc(var(--wrap)); margin: 0 auto calc(var(--section) * .7);
  width: calc(100% - 2 * var(--gutter));
  background:
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 100px) top left / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 10px) bottom left / 100% 5px no-repeat;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: 44px; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--text-2); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 16px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.hero h1 { font-size: 58px; line-height: 1.04; letter-spacing: -.035em; margin: 24px 0 24px; }
.hero .lead { max-width: 560px; }
.hero .actions { margin-top: 36px; }
.meta-line { margin-top: 28px; font: 400 13px/1.6 var(--mono); color: var(--muted); }

.hero-visual {
  margin: 0; border-radius: 16px; overflow: hidden;
  background: var(--bg-deep); border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.tl-top { display: flex; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); background: var(--surface); font: 500 12px/1 var(--mono); }
.tl-top span { padding: 13px 16px; color: var(--muted); border-right: 1px solid var(--line); white-space: nowrap; }
.tl-top .is-active { color: var(--text); background: var(--bg-deep); box-shadow: inset 0 2px 0 var(--blue); }
.hero-visual svg { width: 100%; height: auto; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--surface); font-size: 13px; color: var(--text-2); }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 18px; height: 6px; border-radius: 2px; flex: none; }

/* timeline drawing (hero SVG) */
.tl-bg { fill: var(--bg-deep); }
.tl-tick { stroke: #3a3f4b; stroke-width: 1; fill: none; }
.tl-time { fill: #6f7686; font: 500 8.5px var(--mono); }
.tl-row { fill: #16181e; }
.tl-label { fill: #7c8394; font: 600 9px var(--mono); }
.tl-label-icon { fill: none; stroke: #7c8394; stroke-width: 1.2; stroke-linecap: round; }
.tl-s1 { fill: var(--blue); opacity: .55; }
.tl-s2 { fill: var(--violet); opacity: .6; }
.tl-sw { fill: var(--slate); opacity: .8; }
.tl-v1 { fill: #3b73d1; stroke: #6aa4ff; stroke-width: 1; }
.tl-v2 { fill: #6a45c4; stroke: #a07cfb; stroke-width: 1; }
.tl-v3 { fill: #3c4352; stroke: #6b7486; stroke-width: 1; }
.tl-a1 { stroke: #78a9ff; stroke-width: 1.6; stroke-linecap: round; fill: none; }
.tl-a2 { stroke: #ae95fb; stroke-width: 1.6; stroke-linecap: round; fill: none; }
.tl-quiet { stroke: #3a3f4b; stroke-width: 1.6; stroke-linecap: round; fill: none; }
.tl-cut { stroke: none; }
.tl-hatch-bg { fill: rgba(248, 113, 113, .10); }
.tl-hatch-line { stroke: rgba(248, 113, 113, .45); stroke-width: 1.5; }
.tl-cut-edge { stroke: var(--red); stroke-width: 1.4; fill: none; }
.tl-m-red { fill: var(--red); }
.tl-m-green { fill: var(--green); }
.tl-m-orange { fill: var(--orange); }
.tl-head-line { stroke: #e9ecf2; stroke-width: 1.2; fill: none; }
.tl-head-cap { fill: #e9ecf2; }
.tl-head { animation: tl-play 18s linear infinite; }
@keyframes tl-play { from { transform: translateX(-324px); } to { transform: translateX(256px); } }
@media (prefers-reduced-motion: reduce) { .tl-head { animation: none; } }

/* ---------- Features ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid .card { padding: 30px 28px 32px; }

/* ---------- "Nothing is cut behind your back" ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.split .section-head h2 { font-size: 44px; }
.checks { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.checks li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; padding: 24px 26px; font-size: 16px; color: var(--text-2); line-height: 1.6; }
.checks li + li { border-top: 1px solid var(--line); }
.dot { width: 44px; height: 30px; border-radius: 8px; background: var(--bg-deep); border: 1px solid var(--line); position: relative; margin-top: -2px; }
.dot::before { content: ""; position: absolute; left: 9px; right: 9px; top: 50%; height: 6px; margin-top: -3px; border-radius: 2px; }
.dot.blue::before { background: var(--blue); }
.dot.violet::before { background: var(--violet); }
/* the marker row shows all three product markers */
.dot.markers::before { left: 7px; right: 7px; background: linear-gradient(90deg, var(--red) 0 30%, transparent 30% 35%, var(--green) 35% 65%, transparent 65% 70%, var(--orange) 70%); }
/* review mode: cut and coloured, nothing deleted yet */
.dot.review::before { left: 9px; right: 9px; background: repeating-linear-gradient(90deg, var(--text-2) 0 3px, transparent 3px 6px); height: 6px; opacity: .8; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 76px; }
.steps li::before {
  content: "0" counter(step); position: absolute; top: 28px; left: 28px;
  font: 500 13px/1 var(--mono); color: var(--blue); padding: 6px 8px; border-radius: 6px; background: var(--blue-soft);
}
.steps li::after { content: ""; position: absolute; top: 40px; left: 76px; right: 28px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px); }
.steps h3 { font-size: 21px; }
.steps li:nth-child(n+2) h3 { font-family: var(--mono); font-weight: 500; font-size: 17px; letter-spacing: -.01em; display: inline-block; padding: 7px 12px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line-2); margin-bottom: 14px; }

/* ---------- Privacy band ---------- */
.band {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 28px; align-items: start;
  padding: 40px 44px; border-radius: 18px; border: 1px solid rgba(79, 147, 255, .22);
  background: linear-gradient(180deg, rgba(79, 147, 255, .07), rgba(79, 147, 255, .02)), var(--surface);
}
.band .icon { width: 56px; height: 56px; margin: 0; border-radius: 14px; }
.band .icon svg { width: 28px; height: 28px; }
.band h2 { font-size: 30px; margin-bottom: 12px; }
.band p { color: var(--text-2); font-size: 17px; max-width: 820px; }
.band a { display: inline-block; margin-top: 16px; font-weight: 500; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; padding: 32px; }
.plan .plan-name { font: 500 14px/1 var(--mono); color: var(--text-2); display: inline-flex; align-items: center; gap: 10px; }
.plan-name::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.plan + .plan .plan-name::before { background: var(--violet); }
.plan .price { color: var(--text); margin-top: 22px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: 60px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.plan .plan-hours { margin-top: 16px; font-size: 16px; color: var(--text-2); }
.plan-hours b { font-variant-numeric: tabular-nums; }
.plan-facts { list-style: none; margin: 24px 0 28px; padding: 0; border-top: 1px solid var(--line); }
.plan-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.plan-facts b { font: 500 14px/1.6 var(--mono); white-space: nowrap; }
.plan .btn { margin-top: auto; width: 100%; }
.notes { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 48px; }
.notes li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.notes li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--line-2); }

/* ---------- Requirements + FAQ ---------- */
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.two h2 { font-size: 32px; margin-bottom: 24px; }
.req { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.req li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); font-size: 15.5px; color: var(--text-2); }
.req svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 2px; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px/1 var(--mono); color: var(--muted); flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); }
.faq details[open] summary::after { content: "–"; color: var(--blue); border-color: rgba(79, 147, 255, .35); }
.faq details p { padding: 0 48px 22px 2px; color: var(--text-2); font-size: 15.5px; }

/* ---------- Final call ---------- */
.cta { padding-bottom: var(--section); text-align: center; }
.cta .wrap > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.cta h2 { font-size: 48px; }
.cta p { margin-top: 16px; font-size: 18px; color: var(--text-2); }
.cta .actions { justify-content: center; margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); padding: 64px 0 40px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0; }
.foot-grid p { color: var(--muted); max-width: 300px; }
.foot-grid a { color: var(--text-2); }
.foot-grid a:hover { color: var(--text); }
.foot-grid .brand { margin-bottom: 6px; }
.foot-grid .brand img { height: 30px; }
.foot-title { font: 500 12.5px/1.4 var(--mono); color: var(--muted); margin-bottom: 4px; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.foot-bottom span:first-child { font-family: var(--mono); white-space: nowrap; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 88px 0 40px; }
.page-hero h1 { font-size: 52px; letter-spacing: -.03em; }
.page-hero .lead { margin-top: 16px; max-width: 640px; }
.page { padding: 16px 0 var(--section); }
.page h2 { font-size: 28px; margin: 72px 0 24px; }
.text { color: var(--text-2); font-size: 16.5px; max-width: 760px; }

/* Download — platform cards, install tabs */
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.platform {
  position: relative; display: flex; flex-direction: column; gap: 0; padding: 28px 28px 24px; border-radius: 18px;
  transition: border-color .2s, box-shadow .2s;
}
.platform.is-yours {
  border-color: rgba(79, 147, 255, .25);
  background: linear-gradient(180deg, var(--blue-soft), transparent 65%), var(--surface);
}
.platform-top { display: flex; align-items: center; gap: 16px; min-width: 0; }
.os-icon {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px;
  color: var(--text); background: var(--surface-2); border: 1px solid var(--line);
}
.os-icon svg { width: 26px; height: 26px; }
.platform-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.platform-name b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.platform-name span { font: 400 13.5px/1.4 var(--mono); color: var(--muted); white-space: nowrap; }
.yours {
  margin-left: auto; align-self: flex-start; flex: none; display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px; border-radius: 999px; font: 500 12.5px/1.3 var(--font); color: var(--blue);
  background: var(--blue-soft); border: 1px solid rgba(79, 147, 255, .25); white-space: nowrap;
}
.yours::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.yours[hidden] { display: none; }
.platform .btn { margin-top: 28px; width: 100%; }
.platform-req { margin-top: 14px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.dl-after { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 16px; }
.dl-after .callout { margin: 0; flex: 1 1 520px; }
.callout {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line-2); color: var(--text); font-size: 15.5px; line-height: 1.55;
}
.callout svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 0; }

/* segmented switch [macOS | Windows] */
.install-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 80px 0 28px; }
.page .install-head h2 { margin: 0; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--bg-deep); border: 1px solid var(--line); }
.seg [role="tab"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; min-width: 132px; padding: 0 18px;
  border: 0; border-radius: 9px; background: none; cursor: pointer;
  font: 600 15px/1 var(--font); color: var(--text-2);
}
.seg [role="tab"] svg { width: 17px; height: 17px; }
.seg [role="tab"]:hover { color: var(--text); }
.seg [role="tab"][aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.25), inset 0 0 0 1px var(--line-2); }
.seg[hidden], .tab-label[hidden] { display: none; }
.tab-label { font-size: 22px; margin: 48px 0 20px; }
[role="tabpanel"][hidden] { display: none; }
.install { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }

/* vertical stepper */
.stepper { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.stepper > li { counter-increment: s; position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 18px; padding-bottom: 26px; color: var(--text-2); font-size: 16px; line-height: 1.6; }
.stepper > li::before {
  content: counter(s); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px;
  font: 500 14px/1 var(--mono); color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px rgba(79, 147, 255, .22);
}
.stepper > li::after { content: ""; position: absolute; left: 17.5px; top: 44px; bottom: 6px; width: 1px; background: var(--line-2); }
.stepper > li:last-child { padding-bottom: 0; }
.stepper > li:last-child::after { display: none; }
.stepper > li > span { padding-top: 5px; }
.stepper b { color: var(--text); }

/* the "if the OS warns you" side card */
.aside-card { padding: 26px 26px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.aside-card h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; letter-spacing: -.01em; margin: 0 0 10px; }
.aside-card h3 svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.aside-card > p { color: var(--text-2); font-size: 15px; line-height: 1.6; }
.aside-card .numbered { margin-top: 18px; }
.way-label { margin: 22px 0 0; font: 500 12.5px/1.4 var(--mono); color: var(--muted); }
.aside-card details { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.aside-card summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.aside-card summary::-webkit-details-marker { display: none; }
.aside-card summary::after { content: "+"; font: 400 18px/1 var(--mono); color: var(--muted); }
.aside-card details[open] summary::after { content: "–"; }
.aside-card details p { margin: 6px 0 12px; font-size: 14px; color: var(--text-2); }
.aside-card .code code { font-size: 12.5px; padding: 13px 14px; }
.aside-note { margin-top: 16px; display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.aside-note svg { width: 18px; height: 18px; flex: none; }

/* simplified SmartScreen dialog: two moments, clicks numbered 1 and 2 */
.ss { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.ss-win {
  position: relative; display: flex; flex-direction: column; gap: 9px; min-height: 172px; padding: 14px 14px 12px;
  border-radius: 6px; background: #1f5fae; color: #fff; font-family: "Segoe UI", var(--font); overflow: hidden;
}
.ss-title { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.ss-text { display: grid; gap: 5px; }
.ss-text i { display: block; height: 5px; border-radius: 3px; background: rgba(255,255,255,.35); }
.ss-text i:nth-child(2) { width: 82%; } .ss-text i:nth-child(3) { width: 58%; }
.ss-link { align-self: flex-start; font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
.ss-app { font-size: 11px; opacity: .85; }
.ss-btns { margin-top: auto; display: flex; gap: 8px 10px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.ss-btns > span:not(.ss-hit), .ss-btns .ss-hit > span:first-child { display: inline-block; padding: 5px 8px; font-size: 11px; line-height: 1.2; border: 1px solid rgba(255,255,255,.7); border-radius: 2px; }
.ss-btns .ss-hit { display: inline-flex; }
.ss-hit { position: relative; box-shadow: 0 0 0 2px #1f5fae, 0 0 0 4px #fff; border-radius: 3px; margin-right: 12px; }
.ss-link.ss-hit { padding: 1px 3px; }
.ss-num {
  position: absolute; top: -11px; right: -22px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%;
  background: var(--blue); color: var(--blue-ink); font: 600 12px/1 var(--mono); box-shadow: 0 0 0 2px #1f5fae;
}
.ss-cap { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* updating / uninstalling */
.maint { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 80px; align-items: start; }
.page .maint h2 { font-size: 22px; margin: 0 0 12px; }
.maint .text { font-size: 15.5px; }
.os-line { display: flex; align-items: center; gap: 8px; margin: 20px 0 10px; font: 500 13px/1.4 var(--mono); color: var(--muted); }
.os-line svg { width: 15px; height: 15px; }
.path { font-size: 15px; color: var(--text-2); line-height: 1.7; }
.path b { display: inline-block; padding: 1px 8px; margin: 2px 0; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 500; color: var(--text); }
.dl-help { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 16px; }

.numbered { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.numbered li { counter-increment: n; position: relative; }
.numbered li::before { content: counter(n); font: 500 13px/1 var(--mono); color: var(--blue); background: var(--blue-soft); border-radius: 7px; display: grid; place-items: center; }
.card .numbered, .aside-card .numbered { display: grid; gap: 12px; }
.card .numbered li, .aside-card .numbered li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.card .numbered li::before, .aside-card .numbered li::before { width: 26px; height: 26px; font-size: 12px; margin-top: 0; }
.code {
  display: flex; align-items: stretch; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--bg-deep); border: 1px solid var(--line-2); max-width: 100%;
}
.code code { flex: 1; min-width: 0; padding: 15px 16px; font: 400 13.5px/1.65 var(--mono); color: #d7dbe4; white-space: pre; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #454a57 transparent; }
.code code::before { content: "$ "; color: var(--muted); }
.copy {
  flex: none; min-width: 84px; padding: 0 16px; border: 0; border-left: 1px solid var(--line-2);
  background: var(--surface-2); color: var(--text); font: 600 14px/1 var(--font); cursor: pointer;
}
.copy:hover { background: #2a2e38; }
.text + .code { margin-top: 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-grid .card { display: flex; flex-direction: column; gap: 12px; padding: 32px 30px; }
.contact-grid .card h3 { margin: 0; }
.contact-grid .icon { margin-bottom: 10px; }
.email-big { font: 500 18px/1.4 var(--mono); overflow-wrap: anywhere; }
.contact-grid .card p:last-child a { font-weight: 500; }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; align-items: start; }
.toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 2px; padding-top: 8px; font-size: 14px; border-left: 1px solid var(--line); }
.toc a { color: var(--muted); padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; line-height: 1.4; }
.toc a:hover { color: var(--text); border-left-color: var(--line-2); text-decoration: none; }
.prose { max-width: 760px; color: var(--text-2); font-size: 16.5px; line-height: 1.75; }
.prose h1 { font-size: 48px; color: var(--text); letter-spacing: -.03em; line-height: 1.08; }
.prose .updated { margin: 16px 0 40px; font: 400 13px/1.5 var(--mono); color: var(--muted); padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.prose h2 { font-size: 24px; color: var(--text); margin: 56px 0 16px; letter-spacing: -.015em; scroll-margin-top: 96px; }
.prose p + p { margin-top: 16px; }
.prose ul { margin: 16px 0 0; padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li + li { margin-top: 10px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 7px; height: 7px; border-radius: 2px; background: var(--line-2); }
.prose ul + p, .prose p + ul { margin-top: 16px; }
.prose a { text-decoration: underline; text-decoration-color: rgba(79, 147, 255, .4); text-underline-offset: 3px; }
.lang-note { margin-bottom: 32px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--blue-soft); border: 1px solid rgba(79, 147, 255, .25); color: var(--text); font-size: 15px; }
.lang-note[hidden] { display: none; }
.table-wrap { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.prose th { text-align: left; font: 500 12.5px/1.4 var(--mono); color: var(--muted); background: var(--surface); padding: 12px 18px; border-bottom: 1px solid var(--line); }
.prose td { padding: 14px 18px; vertical-align: top; border-top: 1px solid var(--line); }
.prose tr:nth-child(2) td { border-top: 0; }
.prose td:first-child { color: var(--text); font-weight: 500; width: 38%; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-content: center; gap: 16px; text-align: center; padding: 40px 16px; }
.notfound h1 { font: 500 88px/1 var(--mono); letter-spacing: -.04em; }
.notfound p { color: var(--text-2); }

/* ==========================================================================
   Tablet
   ========================================================================== */
@container site (max-width: 1040px) {
  .site > * { --gutter: 32px; --section: 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero h1 { font-size: 52px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .two { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .install { grid-template-columns: minmax(0, 1fr); }
  .maint { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .legal { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
}

/* ==========================================================================
   Phone (tested down to 360px)
   ========================================================================== */
@container site (max-width: 680px) {
  .site > * { --gutter: 20px; --section: 72px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2, .split .section-head h2 { font-size: 32px; }
  .section-head p { font-size: 17px; }

  .header-row { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-top: 12px; }
  .brand img { height: 28px; }
  .lang { margin-left: auto; }
  .nav {
    order: 3; width: calc(100% + 2 * var(--gutter)); margin: 10px calc(-1 * var(--gutter)) 0; padding: 0 calc(var(--gutter) - 12px) 8px;
    overflow-x: auto; scrollbar-width: none; gap: 0;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 14.5px; padding: 8px 12px; }

  .hero { padding: 40px 0 8px; }
  .hero h1 { font-size: 36px; line-height: 1.08; margin: 20px 0 18px; }
  .lead { font-size: 17px; }
  .hero .actions { margin-top: 28px; }
  .actions .btn { width: 100%; }
  .meta-line { font-size: 12px; }
  .hero-visual { margin: 0 calc(-1 * var(--gutter)); border-radius: 0; border-left: 0; border-right: 0; }
  .tl-top { overflow: hidden; }
  .hero-visual { overflow: hidden; }
  .hero-visual svg { width: 520px; max-width: none; margin-left: -130px; }
  .legend { gap: 8px 16px; font-size: 12.5px; }

  .grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .card { padding: 24px 22px; }
  .grid .card { padding: 24px 22px 26px; }
  .icon { margin-bottom: 18px; }
  .checks li { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 20px; font-size: 15.5px; }
  .steps li { padding-top: 68px; }
  .steps li::before { top: 24px; left: 22px; }
  .steps li::after { top: 36px; left: 70px; right: 22px; }

  .band { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 22px; }
  .band h2 { font-size: 24px; }
  .band p { font-size: 16px; }

  .plans { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .plan { padding: 26px 22px; }
  .plan .price { font-size: 52px; }
  .notes { grid-template-columns: minmax(0, 1fr); gap: 10px; }

  .two h2 { font-size: 26px; }
  .faq summary { font-size: 16px; padding: 18px 0; }
  .faq details p { padding-right: 0; }

  .cta h2 { font-size: 32px; }
  .cta p { font-size: 17px; }

  .site-footer { padding: 48px 0 32px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .foot-bottom { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 40px; }

  .page-hero { padding: 48px 0 28px; }
  .page-hero h1 { font-size: 36px; }
  .page h2 { font-size: 24px; margin: 56px 0 20px; }
  .callout { padding: 16px 18px; font-size: 15px; }
  .code { flex-direction: column; }
  .copy { border-left: 0; border-top: 1px solid var(--line-2); min-height: 46px; }
  .contact-grid .card { padding: 26px 22px; }

  .platforms { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .platform { padding: 22px 20px 20px; }
  .platform-top { gap: 14px; flex-wrap: wrap; }
  .platform.is-yours { padding-top: 56px; }
  .yours { position: absolute; top: 18px; left: 20px; margin: 0; }
  .platform .btn-lg { font-size: 15px; padding: 12px 16px; }
  .ss { grid-template-columns: minmax(0, 1fr); }
  .ss-win { min-height: 0; }
  .ss-text { margin-bottom: 4px; }
  .os-icon { width: 46px; height: 46px; }
  .platform-name b { font-size: 20px; }
  .platform .btn { margin-top: 22px; }
  .dl-after .callout { flex-basis: 100%; }
  .install-head { margin: 56px 0 20px; }
  .seg { display: flex; width: 100%; }
  .seg [role="tab"] { flex: 1; min-width: 0; padding: 0 10px; min-height: 44px; }
  .stepper > li { grid-template-columns: 32px minmax(0, 1fr); gap: 14px; font-size: 15.5px; }
  .stepper > li::before { width: 32px; height: 32px; }
  .stepper > li::after { left: 15.5px; top: 40px; }
  .stepper > li > span { padding-top: 3px; }
  .aside-card { padding: 22px 18px 20px; }
  .ss-win { min-height: 156px; padding: 12px; }
  .maint { margin-top: 56px; gap: 12px; }
  .code code { font-size: 12.5px; padding: 13px 14px; }
  .copy { min-width: 0; padding: 0 12px; font-size: 13px; }

  .prose { font-size: 16px; line-height: 1.7; }
  .prose h1 { font-size: 34px; }
  .prose h2 { font-size: 21px; margin-top: 44px; }
  .prose .updated { margin: 12px 0 28px; padding-bottom: 24px; }
  .prose th, .prose td { padding: 12px 14px; }
  .prose td:first-child { width: 42%; }
}
