@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #FAFAF9; --card: #FFFFFF; --window: #F2F1EF; --text: #0A0908; --muted: #57534E;
  --line: #E4E1DC; --chip: #F0EEEA; --button: #1F6FEB; --link: #1A5FCC; --focus: #1A5FCC;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A0908; --card: #151311; --window: #1C1A17; --text: #FFFFFF; --muted: #A8A29A;
    --line: #2A2723; --chip: #26231F; --button: #1F6FEB; --link: #79AEFF; --focus: #79AEFF;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.display { font-weight: 600; letter-spacing: -0.035em; font-variation-settings: "opsz" 32; line-height: 1.05; }
.muted { color: var(--muted); }

/* Nav */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; min-height: 44px; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--button); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; }
.nav-links a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero { text-align: center; padding-top: 72px; }
.hero h1 { margin: 0 auto; max-width: 820px; font-size: clamp(38px, 6vw, 60px); }
.hero .lead { margin: 22px auto 0; max-width: 600px; font-size: 19px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 10px; background: var(--button); color: #fff; font-weight: 600; font-size: 16px; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.hero .actions { margin-top: 32px; display: flex; justify-content: center; }
.hero .meta { margin: 14px 0 0; font-size: 14px; }

/* Showcase backdrop + mock window */
.stage {
  margin: 56px 0 0; border-radius: 26px; padding: clamp(20px, 5vw, 56px) clamp(14px, 4vw, 48px);
  background: radial-gradient(120% 90% at 15% 10%, #2B4C8C 0%, rgba(43,76,140,0) 55%),
              radial-gradient(90% 80% at 90% 90%, #0E6B6A 0%, rgba(14,107,106,0) 60%), #12151C;
  overflow: hidden;
}
.stage figcaption { margin-top: 22px; font-size: 13px; color: #B9BCC4; text-align: center; }
.mac { max-width: 980px; margin: 0 auto; border-radius: 14px; overflow: hidden; background: #1E1E20; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 40px 90px rgba(0,0,0,0.55); text-align: left; color: #ECECEE; font-size: 13px; line-height: 1.4; }
.mac-bar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #2A2A2D; border-bottom: 1px solid rgba(255,255,255,0.08); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.mac-title { flex: 1; text-align: center; font-weight: 600; color: #C9C9CE; margin-right: 52px; }
.mac-body { display: flex; min-height: 460px; }
.mac-side { flex: 0 0 190px; background: #232326; border-right: 1px solid rgba(255,255,255,0.08); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.mac-side .h { padding: 4px 10px; font-size: 11px; font-weight: 600; color: #8E8E95; }
.mac-side .h + .h, .mac-side .gap { padding-top: 14px; }
.mac-side .i { padding: 7px 10px; border-radius: 7px; color: #D6D6DA; }
.mac-side .i.on { background: #0A64D8; color: #fff; font-weight: 500; }
.mac-main { flex: 1; min-width: 0; padding: 22px 24px; display: flex; flex-direction: column; gap: 18px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tile { background: #2A2A2D; border-radius: 10px; padding: 12px; }
.tile .k { font-size: 11px; color: #9A9AA1; }
.tile .v { font-size: 22px; font-weight: 600; }
.panel { background: #2A2A2D; border-radius: 10px; padding: 14px 14px 8px; }
.kv { display: grid; grid-template-columns: max-content 1fr max-content 1fr; column-gap: 18px; row-gap: 8px; }
.kv dt { color: #9A9AA1; } .kv dd { margin: 0; }
@media (max-width: 720px) {
  .mac-side { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kv { grid-template-columns: max-content 1fr; }
  .list .ch { display: none; }
  .tool, .privacy { padding: 20px; }
}

/* Sections */
.section { padding-top: 120px; }
.section-h { margin: 0; text-align: center; font-size: 36px; }
.section-sub { margin: 10px 0 40px; text-align: center; }
.cat { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.card { border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.tool { padding: 28px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.tool-media { flex: 999 1 460px; min-width: 0; border-radius: 16px; padding: clamp(16px, 4vw, 36px);
  background: radial-gradient(100% 100% at 0% 0%, #2B4C8C 0%, rgba(43,76,140,0) 60%), radial-gradient(80% 80% at 100% 100%, #0E6B6A 0%, rgba(14,107,106,0) 60%), #12151C; }
.tool-text { flex: 1 1 320px; min-width: 0; }
.tool-text h4 { margin: 0; font-size: 30px; line-height: 1.15; }
.tool-text p { margin: 14px 0 0; }
.chips { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 500; }
.chips li { padding: 5px 12px; border-radius: 999px; background: var(--chip); }
.more { margin-top: 22px; display: inline-flex; align-items: center; min-height: 44px; color: var(--link); font-weight: 600; }
.list { border-radius: 12px; background: #1E1E20; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 24px 60px rgba(0,0,0,0.5); color: #ECECEE; font-size: 13px; overflow: hidden; }
.list .head { padding: 12px 16px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.08); }
.list .row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); font-variant-numeric: tabular-nums; }
.list .row:last-child { border-bottom: 0; }
.list .name { flex: 1; min-width: 0; }
.list .ch { color: #9A9AA1; }
.list .db { width: 64px; text-align: right; }
.privacy { padding: 48px; text-align: center; }
.privacy h2 { margin: 0; font-size: 36px; }
.privacy p { margin: 14px auto 0; max-width: 560px; }

/* Footer */
footer { margin-top: 120px; border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; gap: 20px; }

/* Inner pages */
.page-head { padding-top: 72px; padding-bottom: 8px; }
.page-head h1 { margin: 0; font-size: clamp(36px, 5vw, 52px); max-width: 860px; }
.page-head .lead { margin: 18px 0 40px; font-size: 19px; max-width: 640px; }
.crumb { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.crumb a { color: var(--link); }
.page-head + .wrap .stage { margin-top: 8px; }
.facts { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.fact { padding: 24px; }
.fact h3 { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.fact p { margin: 0; font-size: 18px; font-weight: 500; }
.prose { max-width: 720px; margin-left: auto; margin-right: auto; padding-top: 24px; }
.page-head:has(+ .prose) { max-width: 720px; }
.prose h2 { margin: 32px 0 8px; font-size: 22px; letter-spacing: -0.01em; }
.prose p { margin: 0; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
