/* site/download/styles.css — DOWNLOAD-PAGE-SPEC §5: the download page, values from Figma QwLeykvifo35t9hSuev5AN frame 796:9312. */
@font-face { font-family: Inter; src: url(fonts/Inter.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --primary: #2563eb; --primary-ink: #fff; --ink: #0f172a; --muted: #64748b; --border: #e2e8f0;
  --surface: #fff; --tint: #f4f7fa; --navy: #122033; /* --navy and --tint: the Security frame's and Hero frame's fills */
  --shadow-md: 0 2px 4px -2px #0000001a, 0 4px 6px -1px #0000001a;
  --radius: 12px;
  --faint: #94a0b2; --line: #dce3eb; --card: #f8fafc; --blue-50: #dbeafe; --blue-200: #bfdbfe; --blue-700: #1d4ed8;
  --on-navy: #cbd5e1; --navy-card: #1c2b41; --navy-line: #2e3e54; --green: #16835b; --green-50: #eaf8f2;
}
* { box-sizing: border-box; }
/* Inter 4's optical-size axis draws 40-52 px text in its tighter Display cut; the frame's Inter has none (measured: h1 492 → 517 px, Figma 515) */
body { margin: 0; font: 16px/1.5 Inter, system-ui, sans-serif; font-optical-sizing: none; color: var(--ink); background: var(--surface); }
/* 1200 content column + 16 px gutters: content starts at x=120 at 1440, as in the frame */
.wrap { max-width: 1232px; margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 872px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.cta :focus-visible, .footer :focus-visible { outline-color: #fff; } /* a primary-blue ring vanishes on the blue band and barely shows on navy */
h1, h2, h3, p, ul, dl, dd { margin: 0; }
a { color: inherit; }
img { display: block; }

/* a download link with no href is the unavailable state: it looks and behaves disabled */
.dl[aria-disabled="true"], .linux a[aria-disabled="true"] { opacity: .45; pointer-events: none; }
/* the visitor's own OS's button is the filled one */
[data-primary-os="mac"] .dl-mac, [data-primary-os="windows"] .dl-windows { background: var(--ink); color: #fff; border-color: var(--ink); }
[data-primary-os="mac"] .dl-mac small, [data-primary-os="windows"] .dl-windows small { color: var(--on-navy); }
.cta [data-primary-os="mac"] .dl-mac, .cta [data-primary-os="windows"] .dl-windows { background: #fff; color: var(--navy); }
.cta [data-primary-os="mac"] .dl-mac, .cta [data-primary-os="windows"] .dl-windows { border-color: #fff; }

.tabs [role=tab][aria-selected="true"] { background: var(--surface); box-shadow: var(--shadow-md); color: var(--ink); }

/* shared pieces */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 600; line-height: normal; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.eyebrow { font-size: 13px; font-weight: 700; line-height: normal; text-transform: uppercase; color: var(--primary); }
h2 { font-size: 40px; font-weight: 800; line-height: 1.2; }
h3 { font-size: 18px; font-weight: 700; line-height: normal; }
.sub { font-size: 18px; line-height: normal; color: var(--muted); }
.features .wrap, .how .wrap, .faq .wrap, .cta .wrap, .requirements .wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.cards { display: grid; gap: 24px; width: 100%; text-align: left; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; gap: 12px; padding: 28px 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); }
.card p { font-size: 15px; line-height: normal; color: var(--muted); }

/* 1. top bar */
.topbar { background: var(--surface); }
.topbar .wrap { max-width: none; padding: 0 20px; } /* the frame's bar spans the full width: brand at x=20, Download ends at 1420 */
.topbar .btn-primary::before { content: "↓"; margin-right: 8px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 50%; }
.brand span { display: flex; flex-direction: column; gap: 1px; white-space: nowrap; }
.brand b { font-size: 16px; font-weight: 600; line-height: 1; color: var(--navy); }
.brand small { font-size: 11px; font-weight: 500; line-height: normal; color: var(--muted); }
.nav { display: flex; gap: 36px; }
.nav a { font-size: 15px; font-weight: 500; line-height: normal; color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }

/* 2. hero */
.hero { background: var(--tint); padding: 88px 0 104px; overflow: clip; }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-items: center; position: relative; isolation: isolate; }
/* the dotted map (800:10901) sits behind both columns; the device art covers it, as in the frame */
.hero-in::before { content: ""; position: absolute; z-index: -1; left: 329.5px; top: -10px; width: 928.5px; height: 564.5px; background: url(img/map.png) center / 100% 100% no-repeat; pointer-events: none; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 560px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: 12px; font-weight: 700; line-height: normal; text-transform: uppercase; }
.dot { width: 6px; height: 6px; border-radius: 3px; background: var(--primary); flex: none; }
h1 { font-size: 52px; font-weight: 800; line-height: 1.21; color: var(--ink); }
.lead { font-size: 18px; line-height: normal; color: var(--muted); }
.dl-buttons { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.dl { display: inline-flex; align-items: center; gap: 12px; padding: 10px 24px 10px 20px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; line-height: normal; white-space: nowrap; cursor: pointer; }
.dl .ico { font-size: 22px; font-weight: 600; }
.dl .ico:empty::before { content: "↓"; } /* the hero's Mac button ships its glyph empty; the frame shows the same arrow on both */
.dl > span:not(.ico) { display: flex; flex-direction: column; gap: 2px; }
.dl b { font-size: 16px; font-weight: 600; }
.dl small { font-size: 12px; color: var(--muted); }
.meta { font-size: 13px; line-height: normal; color: var(--faint); }
.meta a { text-decoration: none; }
.meta a[href]:hover { color: var(--ink); }
.unavailable { color: var(--muted); }
.linux { margin-top: -16px; }
.linux a { text-decoration: underline; }
.hero-art { width: calc(100% + 40px); max-width: none; height: auto; border-radius: 20px; }

/* 3. sends leads to */
.strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 36px 0; }
.strip-in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 64px; color: var(--faint); line-height: normal; }
.strip-label { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.wordmark { font-size: 22px; font-weight: 800; }

/* 4. features */
.features { background: var(--surface); padding: 80px 0; }
.features .cards { margin-top: 24px; }
.tile { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--primary); font-size: 20px; font-weight: 700; }

/* 5. how it works */
.how { background: var(--tint); padding: 80px 0; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--border); }
.tabs [role=tab] { padding: 8px 28px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 500 14px/normal Inter, system-ui, sans-serif; cursor: pointer; }
.tabs [role=tab][aria-selected="true"] { font-weight: 600; }
.how .cards { margin-top: 8px; padding-bottom: 8px; }
.step { gap: 14px; padding: 28px; border-color: var(--line); background: var(--surface); }
.num { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 16px; background: var(--primary); color: #fff; font-size: 15px; font-weight: 700; line-height: normal; }
.art { display: flex; align-items: center; justify-content: center; gap: 16px; align-self: stretch; height: 112px; border-radius: 12px; background: var(--tint); line-height: normal; }
/* the file card is one white bordered box in the frame; its two spans draw the left and right halves of it */
.art-file { gap: 0; }
.art-file .file-ico { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; width: 61px; height: 62px; border: 1px solid var(--line); border-right: 0; border-radius: 12px 0 0 12px; background: #fff; color: var(--muted); font-size: 18px; font-weight: 700; }
.art-file .file-ico::before { content: ""; position: absolute; z-index: -1; inset: 12px; border-radius: 8px; background: #f1f5f9; }
.art-file > span:last-child { display: flex; flex-direction: column; justify-content: center; gap: 2px; height: 62px; min-width: 0; padding: 12px 16px 12px 0; border: 1px solid var(--line); border-left: 0; border-radius: 0 12px 12px 0; background: #fff; }
.art-file b { font-size: 13px; font-weight: 600; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-file small { font-size: 11px; color: var(--muted); }
.app { position: relative; isolation: isolate; display: inline-flex; flex-direction: column; align-items: center; min-width: 52px; font-size: 18px; font-weight: 800; line-height: 52px; color: #fff; }
.app::before { content: ""; position: absolute; z-index: -1; top: 0; left: 50%; width: 52px; height: 52px; margin-left: -26px; border-radius: 13px; background: var(--primary); }
.app small { margin-top: 6px; font-size: 11px; font-weight: 500; line-height: normal; color: var(--navy); white-space: nowrap; }
.app-folder { color: var(--blue-700); }
.app-folder::before { background: var(--blue-200); }
.arrow { margin-bottom: 20px; font-size: 18px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.art-drag, .art-connect { gap: 16px; }
.art .btn-sm { padding: 10px 16px; font-size: 13px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; background: var(--green-50); color: var(--green); font-size: 11px; font-weight: 600; white-space: nowrap; }
.dot-green { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* 6. security */
.security { background: var(--navy); padding: 112px 0; color: #fff; }
.security-in { display: grid; grid-template-columns: 480px 1fr; gap: 40px 80px; align-items: center; }
.security-in > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.security .eyebrow { color: #93c5fd; }
.security h2 { max-width: 380px; color: #fff; } /* breaks after "login" as the frame does */
.security .sub { font-size: 17px; color: var(--on-navy); }
.points { display: flex; flex-direction: column; gap: 12px; padding: 0; list-style: none; }
.points li { display: flex; align-items: flex-start; gap: 16px; padding: 20px; border: 1px solid var(--navy-line); border-radius: 14px; background: var(--navy-card); line-height: normal; }
.points li > div { display: flex; flex-direction: column; gap: 4px; }
.check { display: flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--green); color: #fff; font-size: 16px; font-weight: 700; }
.points b { font-size: 17px; font-weight: 600; }
.points p { font-size: 14px; color: var(--on-navy); }

/* 7. system requirements (not in the frame: styled as the FAQ's items) */
.requirements { background: var(--surface); padding: 112px 0 0; }
.reqs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; margin-top: 24px; text-align: left; }
.reqs > div { padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); line-height: normal; }
.reqs dt { font-size: 17px; font-weight: 600; color: var(--navy); }
.reqs dd { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* 8. faq */
.faq { background: var(--surface); padding: 112px 0; }
.faq .wrap { gap: 12px; }
.faq h2 { margin-bottom: 28px; }
.faq details { width: 100%; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: left; line-height: normal; }
.faq details[open] { background: var(--card); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 500; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; font-size: 15px; line-height: normal; color: var(--muted); }

/* 9. closing band */
.cta { background: var(--primary); padding: 96px 0; color: #fff; }
.cta .wrap { gap: 20px; }
.cta h2 { font-size: 44px; color: #fff; }
.cta p { font-size: 18px; line-height: normal; color: var(--blue-50); }
.dl-buttons-cta { justify-content: center; padding-top: 12px; }
.dl-buttons-cta .dl { gap: 8px; padding: 16px 24px; border: 1.5px solid var(--blue-200); background: transparent; color: #fff; }
.dl-buttons-cta .dl .ico { font-size: 16px; }

/* 10. footer */
.footer { background: var(--navy); padding: 40px 0; font-size: 14px; line-height: normal; }
.footer-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; }
.footer-in > span { font-weight: 600; color: #fff; }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer nav a { color: var(--on-navy); text-decoration: none; }
.footer nav a:hover { color: #fff; }

@media (max-width: 900px) {
  .hero-in, .security-in { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hero { padding: 56px 0 64px; }
  .hero-in { row-gap: 48px; }
  .hero-in::before { display: none; }
  .hero-art { width: 100%; max-width: 624px; }
  .reqs { grid-template-columns: 1fr; }
  .security, .faq { padding: 80px 0; }
  .requirements { padding-top: 80px; }
}
@media (max-width: 560px) {
  .cards-4 { grid-template-columns: 1fr; }
  .dl-buttons { flex-direction: column; align-items: stretch; }
  h1 { font-size: 36px; }
  h2, .cta h2 { font-size: 30px; }
  .features, .how, .cta { padding: 64px 0; }
}
