:root {
  color-scheme: light;
  --ink: #142019;
  --green: #0c6549;
  --lime: #8ee500;
  --paper: #f6f3ea;
  --panel: #fffdf7;
  --line: #d7d6cb;
  --muted: #627069;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(12, 101, 73, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 101, 73, .045) 1px, transparent 1px),
    var(--paper);
  background-size: 24px 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--green); text-underline-offset: 3px; }
nav, main, footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
nav div { display: flex; gap: 26px; }
nav a { text-decoration: none; font-weight: 700; }
.wordmark { color: var(--ink); font-size: 18px; }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 64px;
  padding: 72px 0;
}
.product-shot {
  min-height: 510px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 24px 35px rgba(20, 32, 25, .12);
}
.window-bar { display: flex; gap: 8px; height: 40px; align-items: center; padding: 0 16px; background: #e5e7df; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ef6a52; }
.window-bar i:nth-child(2) { background: #e2b94f; }
.window-bar i:nth-child(3) { background: #70b56b; }
.window-content { padding: 42px 38px; display: grid; gap: 18px; }
.mini-eyebrow { color: var(--green); font-size: 10px; font-weight: 850; letter-spacing: .18em; }
.mini-title { font-size: 42px; letter-spacing: -.055em; }
.mini-upload { display: grid; gap: 18px; padding: 20px; border: 1px solid var(--line); }
.mini-upload span { padding: 17px; text-align: center; font-size: 12px; border: 1px dashed #91a097; }
.mini-result { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); }
.mini-result span { display: grid; gap: 6px; }
.mini-result small { color: var(--muted); font-family: ui-monospace, monospace; }
.mini-result > strong { color: var(--green); font-size: 24px; }
.app-mark { width: 48px; height: 48px; border-radius: 10px; background: linear-gradient(135deg, var(--green) 48%, var(--lime) 49% 58%, var(--green) 59%); }
.mini-evidence { padding: 14px 18px; font-size: 13px; font-weight: 700; border: 1px solid var(--line); }
.eyebrow { color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: .2em; }
h1 { max-width: 720px; margin: 12px 0 22px; font-size: clamp(48px, 6vw, 82px); line-height: .95; letter-spacing: -.065em; }
h2 { margin: 8px 0 14px; font-size: clamp(34px, 4vw, 54px); line-height: 1; letter-spacing: -.045em; }
h3 { font-size: 22px; margin-bottom: 8px; }
.lede, .section-copy { color: var(--muted); font-size: 19px; line-height: 1.6; }
.primary, .downloads article > a {
  display: inline-block;
  margin-top: 18px;
  padding: 15px 22px;
  color: white;
  background: var(--green);
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--green);
}
.primary:hover, .downloads article > a:hover { background: #084d38; }
.downloads article > .secondary-download {
  margin: 8px 0 0;
  color: var(--green);
  background: transparent;
}
.downloads article > .secondary-download:hover { color: white; }

section { padding: 92px 0; border-top: 1px solid var(--line); }
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.downloads article, .steps article {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px;
}
.downloads article { min-height: 255px; }
.downloads p, .steps p, .privacy > p { color: var(--muted); line-height: 1.55; }
.platform { display: grid; place-items: center; width: 48px; height: 48px; color: var(--green); border: 1px solid var(--green); }
.platform svg { display: block; width: 25px; height: 25px; fill: currentColor; }
.checksums { color: var(--muted); margin-top: 24px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.steps article { position: relative; padding-top: 22px; }
.guide-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 8px 0 12px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.upload-visual { display: grid; gap: 14px; }
.drop-target { display: grid; place-items: center; align-content: center; gap: 6px; border: 1px dashed #82968b; }
.drop-target span { color: var(--green); font-size: 42px; line-height: 1; }
.drop-target b { font-size: 12px; }
.upload-visual > i { justify-self: start; padding: 9px 14px; color: white; background: var(--green); font-size: 10px; font-style: normal; font-weight: 800; }
.device-visual { display: grid; align-content: center; gap: 10px; }
.ip { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; padding: 13px; background: var(--panel); border: 1px solid var(--line); font: 11px ui-monospace, monospace; }
.ip i { width: 13px; height: 13px; border: 1px solid #82968b; border-radius: 50%; }
.ip.selected { border-color: var(--green); }
.ip.selected i { background: var(--lime); border-color: var(--green); }
.ip small { color: var(--green); }
.device-visual > b { justify-self: start; padding: 9px 14px; color: white; background: var(--green); font-size: 10px; text-transform: uppercase; }
.result-visual { display: grid; align-content: center; gap: 11px; }
.result-visual > span { font-weight: 800; }
.result-visual > div { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; padding: 12px; background: var(--panel); border: 1px solid var(--line); }
.result-visual .app-mark { width: 40px; height: 40px; }
.result-visual b { font-size: 11px; }
.result-visual b small { display: block; margin-top: 5px; color: var(--muted); font: 8px ui-monospace, monospace; }
.result-visual strong { color: var(--green); }
.result-visual em { padding: 10px 12px; background: var(--panel); border: 1px solid var(--line); font-size: 9px; font-style: normal; font-weight: 700; }
.number { color: var(--green); font: 800 14px ui-monospace, monospace; }
.example-downloads { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.example-files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.example-files article { min-width: 0; display: flex; flex-direction: column; padding: 28px; background: var(--panel); border: 1px solid var(--line); }
.example-files h3 { margin: 12px 0 8px; }
.example-files p { color: var(--muted); line-height: 1.55; }
.example-file-type { color: var(--green); font: 850 11px ui-monospace, monospace; letter-spacing: .14em; }
.example-files article > .primary { align-self: flex-start; margin-top: auto; }
code { color: var(--green); }
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.privacy > p { font-size: 18px; }
footer { display: flex; justify-content: space-between; padding: 32px 0 50px; color: var(--muted); }
.icon-credit { font-size: 12px; }

.login-shell { min-height: 100vh; display: grid; place-items: center; padding-block: 40px; }
.login-card {
  width: min(520px, 100%);
  padding: clamp(30px, 6vw, 58px);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(20, 32, 25, .1);
}
.login-card h1 { margin-top: 10px; font-size: clamp(48px, 9vw, 72px); }
.login-form { display: grid; gap: 20px; margin-top: 28px; }
.login-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 800; }
.login-form input {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: white;
  border: 1px solid #9da79f;
  border-radius: 0;
  font: inherit;
}
.login-form input:focus { outline: 3px solid color-mix(in srgb, var(--lime) 45%, transparent); border-color: var(--green); }
.login-form .primary { margin-top: 2px; cursor: pointer; }
.login-error { padding: 12px 14px; color: #7e2719; background: #fff0eb; border-left: 4px solid #dc5b3e; }
.login-help { margin: 28px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

@media (max-width: 800px) {
  nav div { gap: 14px; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 36px; }
  .downloads, .steps { grid-template-columns: 1fr; }
  .example-downloads { grid-template-columns: 1fr; gap: 30px; }
  .privacy { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 520px) {
  nav, main, footer { width: min(100% - 24px, 1180px); }
  nav a[href="#privacy"] { display: none; }
  h1 { font-size: 50px; }
  .hero, section { padding: 60px 0; }
  .product-shot { min-height: 440px; }
  .window-content { padding: 30px 20px; }
  .example-files { grid-template-columns: 1fr; }
}
