/* Roboto (SIL Open Font License 1.1, fonts/OFL.txt), bundled: one variable file per script, weights 100 to 900. */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/roboto-latin-wght-normal.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: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/roboto-latin-ext-wght-normal.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: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/roboto-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
/* Proxy Lens landing page. Colours, radii and type follow the app (src/ui/styles.css): light by default,
   dark from the system setting, with the same values the app uses. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --chrome: #fafaf9;
  --side: #f5f5f5;
  --ink: #2a2c2c;
  --fg: #020817;
  --mute: #626462;
  --line: #d9d9d9;
  --line2: #e8e8e8;
  --primary: #0364e2;
  --primaryHover: #0257c5;
  --link: #0364e2;
  --tintBlue: #e6eefc;
  --blue: #2563d6;
  --blueBg: #eaf1fd;
  --blueLine: #b7cdf6;
  --winBorder: rgb(0 0 0 / .14);
  --winShadow: 0 1px 2px rgb(0 0 0 / .06), 0 8px 24px -4px rgb(0 0 0 / .14), 0 32px 64px -16px rgb(0 0 0 / .18);
  --titlebar: #f3f3f3;
  --capInk: #1f1f1f;
  --ui: "Roboto", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Roboto", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Mono", "JetBrains Mono", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #1c2021;
    --chrome: #242628;
    --side: #25272a;
    --ink: #ebebeb;
    --fg: #edf2f7;
    --mute: #a9abae;
    --line: #3c3f40;
    --line2: #333537;
    --primary: #005bd1;
    --primaryHover: #0a66dd;
    --link: #4b9bff;
    --tintBlue: #1e2838;
    --blue: #8dbaff;
    --blueBg: #1e2a3d;
    --blueLine: #34507f;
    --winBorder: rgb(255 255 255 / .12);
    --winShadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -4px rgb(0 0 0 / .45), 0 32px 64px -16px rgb(0 0 0 / .55);
    --titlebar: #202020;
    --capInk: #e6e6e6;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--ui); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--fg); font-family: var(--display); margin: 0; }
.mute { color: var(--mute); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap.wide { max-width: 1360px; }

/* Buttons: flat, 6px radius, as in the app. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 6px; font: 600 15px/1 var(--ui); white-space: nowrap; transition: background-color .12s; }
.btn:hover { text-decoration: none; }
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primaryHover); }
.btn.small { height: 32px; padding: 0 14px; font-size: 14px; }
.btn.large { height: 46px; padding: 0 22px; font-size: 16px; }
.btn svg { width: 17px; height: 17px; fill: currentColor; flex: none; }

/* Header. */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line2); }
.top-in { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 600; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand.small { font-size: 15px; gap: 8px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--mute); font-size: 15px; }
.nav a:hover { color: var(--fg); text-decoration: none; }

/* First screen. */
.hero { padding: 76px 0 40px; background: linear-gradient(var(--bg), var(--chrome)); border-bottom: 1px solid var(--line2); overflow: hidden; }
.hero-copy { text-align: center; max-width: 820px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 60px); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; }
.lede { margin: 20px auto 0; max-width: 680px; font-size: clamp(17px, 2vw, 19px); color: var(--mute); }
.cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 32px; }
.ver { color: var(--mute); font-size: 13px; }
.hero-shot { margin: 56px 0 0; }

/* Screenshots framed like a Windows 11 window: 8px corners, a hairline border and a soft shadow. */
.window { margin: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--winBorder); box-shadow: var(--winShadow); background: var(--bg); }
.window picture img { width: 100%; }
.titlebar img { width: 16px; height: 16px; flex: none; }
.titlebar { display: flex; align-items: center; gap: 8px; height: 32px; padding-left: 12px; background: var(--titlebar); color: var(--capInk); font-size: 12px; border-bottom: 1px solid var(--line2); }
.titlebar span { flex: 1; }
.cap { position: relative; width: 46px; height: 32px; flex: none; }
.cap::before, .cap::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--capInk); }
.cap.min::before { width: 10px; height: 1px; transform: translate(-50%, -50%); }
.cap.max::before { width: 10px; height: 10px; background: none; border: 1px solid var(--capInk); border-radius: 2px; transform: translate(-50%, -50%); }
.cap.close::before, .cap.close::after { width: 13px; height: 1px; transform: translate(-50%, -50%) rotate(45deg); }
.cap.close::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* Features: text and screenshot, sides alternating. */
.features { padding: 40px 0 24px; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--line2); }
.feature:last-child { border-bottom: 0; }
.feature.flip { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.feature.flip .copy { order: 2; }
.feature h2, .more h2, .start h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
.copy p { margin: 14px 0 0; color: var(--mute); font-size: 17px; }
.tag { display: inline-block; margin-bottom: 14px; padding: 1px 8px; border: 1px solid var(--blueLine); border-radius: 4px; background: var(--blueBg); color: var(--blue); font: 600 12px/20px var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.points li { position: relative; padding-left: 22px; }
.points li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 9px; height: 5px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }

/* Also included. */
.more { padding: 72px 0; background: var(--chrome); border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 32px 0 0; }
.grid div { padding: 18px 18px 20px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.grid dt { color: var(--fg); font-weight: 600; font-size: 15px; }
.grid dd { margin: 6px 0 0; color: var(--mute); font-size: 14px; }

/* Getting started. */
.start { padding: 88px 0 96px; }
.start-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: center; }
.steps { list-style: none; counter-reset: s; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--mute); font-size: 16px; }
.steps li b { color: var(--fg); font-weight: 600; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--tintBlue); color: var(--blue); font: 600 14px/28px var(--ui); text-align: center; }
.start .cta { align-items: flex-start; margin-top: 32px; }

/* Footer. */
.foot { border-top: 1px solid var(--line2); background: var(--chrome); font-size: 14px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; }

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature, .feature.flip, .start-in { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 48px 0; }
  .start-in { padding: 0; }
  .feature.flip .copy { order: 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top-in { gap: 16px; height: 56px; }
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .hero { padding: 48px 0 28px; }
  .hero-shot { margin-top: 36px; }
  .titlebar { height: 24px; font-size: 11px; padding-left: 8px; }
  .titlebar img { width: 12px; height: 12px; }
  .cap { width: 30px; height: 24px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .more { padding: 48px 0; }
  .start { padding: 56px 0 64px; }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .btn.large { width: 100%; }
  .cta, .start .cta { align-items: stretch; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
