/* SortMX product site.
   One page, no build step, no external requests. */

:root {
  --bg: #f5f8f6;
  --panel: #ffffff;
  --ink: #0f1e1a;
  --ink-2: #31433d;
  --muted: #5e7069;
  --line: #dde7e2;
  --line-2: #e9efec;
  --brand: #146e63;
  --brand-2: #0e564d;
  --brand-3: #1d9a86;
  --brand-soft: #e2f2ef;
  --dark: #0b1b19;
  --dark-2: #14302b;
  --sidebar: #10202a;
  --ok: #1c7c54;
  --ok-soft: #e3f4ec;
  --bad: #b23a3a;
  --bad-soft: #fbe9e9;
  --warn: #855a0f;
  --warn-soft: #fbf1dc;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 26, .05);
  --shadow: 0 18px 40px -18px rgba(15, 30, 26, .22), 0 2px 6px rgba(15, 30, 26, .04);
  --mono: "Cascadia Mono", "Consolas", "SF Mono", Menlo, monospace;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 750;
  color: var(--ink);
}

p { margin: 0; }

a { color: var(--brand); }

svg { display: block; }

:target { scroll-margin-top: 92px; }

::selection {
  background: #bde8dd;
  color: #082621;
}

:focus-visible {
  outline: 3px solid rgba(29, 154, 134, .45);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 248, 246, .86);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.035em;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 34px;
}

.footer-brand .brand-logo { height: 30px; }

.brand:hover { text-decoration: none; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
  font-weight: 550;
}

.nav a {
  color: var(--ink-2);
  text-decoration: none;
}

.nav a:hover { color: var(--brand); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease,
              color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 1px 2px rgba(15, 30, 26, .12);
}

.btn-primary:hover {
  background: var(--brand-2);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, .7);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: #c8d8d2;
  background: #fff;
}

.btn-light {
  background: #fff;
  color: var(--brand-2);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .4);
}

.btn-light:hover {
  background: #eefaf6;
  color: var(--brand-2);
  transform: translateY(-1px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .04);
  color: #fff;
}

.btn-small {
  padding: 9px 15px;
  border-radius: 9px;
  font-size: 14px;
}

.btn.is-disabled,
.btn.is-disabled:hover {
  opacity: .6;
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -220px -10% auto;
  height: 680px;
  background:
    radial-gradient(42% 60% at 16% 30%, rgba(29, 154, 134, .16), transparent 70%),
    radial-gradient(38% 55% at 82% 8%, rgba(20, 110, 99, .12), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  padding: 7px 12px;
  border: 1px solid #cfe4dc;
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-3);
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(29, 154, 134, .42); }
  70%  { box-shadow: 0 0 0 8px rgba(29, 154, 134, 0); }
  100% { box-shadow: 0 0 0 0 rgba(29, 154, 134, 0); }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4rem);
  letter-spacing: -.045em;
}

.hero h1 .accent {
  color: var(--brand);
}

.lead {
  max-width: 46ch;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 550;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-3);
}

/* ---------------------------------------------------------------- app shot */

.hero-visual {
  width: 100%;
  max-width: 600px;
  justify-self: end;
}

.app-shot {
  overflow: hidden;
  border: 1px solid rgba(11, 27, 25, .12);
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 34px 70px -34px rgba(8, 40, 34, .45),
    0 3px 10px rgba(8, 40, 34, .06);
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid #e6edea;
  background: linear-gradient(#fbfdfc, #f4f8f6);
}

.traffic {
  display: inline-flex;
  flex: none;
  gap: 5px;
}

.traffic i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dbe5e1;
}

.traffic i:first-child { background: #f0b6ae; }
.traffic i:nth-child(2) { background: #f2d9a2; }
.traffic i:last-child { background: #b3ddc9; }

.app-url {
  flex: 1;
  max-width: 260px;
  margin: 0 auto;
  padding: 3px 10px;
  overflow: hidden;
  border: 1px solid #e4ece8;
  border-radius: 6px;
  background: #fff;
  color: #6d817a;
  font-size: 10.5px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-live {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  color: #7c918a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-3);
  box-shadow: 0 0 0 3px rgba(29, 154, 134, .14);
}

.app-body {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  min-height: 372px;
}

.app-side {
  padding: 14px 10px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(29, 154, 134, .22), transparent 60%),
    var(--sidebar);
  color: #93aca6;
}

.app-logo {
  padding: 2px 8px 14px;
  color: #f2faf7;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.app-nav {
  display: grid;
  gap: 2px;
  font-size: 10.5px;
  font-weight: 550;
}

.app-nav span {
  padding: 6px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.app-nav span.on {
  background: rgba(94, 224, 196, .16);
  color: #a9f0dd;
  font-weight: 650;
}

.app-main {
  min-width: 0;
  padding: 16px;
  background: #f7faf9;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.app-head div {
  display: grid;
  gap: 1px;
}

.app-kicker {
  color: #5e7069;
  font-size: 8.5px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.app-head strong {
  font-size: 15px;
  letter-spacing: -.02em;
}

.app-range {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #6d817a;
  font-size: 9.5px;
  font-weight: 600;
}

.app-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 12px;
}

.app-stats div {
  display: grid;
  gap: 0;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #e6edea;
  border-radius: 8px;
  background: #fff;
}

.app-stats span {
  color: #5e7069;
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.app-stats strong {
  color: #12211d;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
}

.app-stats em {
  color: var(--ok);
  font-size: 8.5px;
  font-style: normal;
  font-weight: 650;
}

.app-panel {
  overflow: hidden;
  border: 1px solid #e6edea;
  border-radius: 8px;
  background: #fff;
}

.app-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  border-bottom: 1px solid #eef3f1;
  color: #556a63;
  font-size: 9.5px;
  font-weight: 650;
}

.app-panel-head span:last-child { color: var(--brand); }

.app-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px 11px;
  border-bottom: 1px solid #f3f7f5;
}

.app-row:last-child { border-bottom: 0; }

.app-avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand-2);
  font-size: 8.5px;
  font-weight: 750;
}

.app-mail {
  display: grid;
  gap: 0;
  min-width: 0;
}

.app-mail strong {
  overflow: hidden;
  color: #1c302b;
  font-size: 9.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-mail span {
  overflow: hidden;
  color: #5e7069;
  font-size: 8.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-badge {
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 7.5px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.app-badge.ok {
  background: var(--ok-soft);
  color: var(--ok);
}

.app-badge.bad {
  background: var(--bad-soft);
  color: var(--bad);
}

.shot-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

/* ---------------------------------------------------------------- sections */

.section {
  padding: 84px 0;
}

.section-alt {
  border-block: 1px solid var(--line);
  background: var(--panel);
}

.section-head {
  max-width: 700px;
  margin-bottom: 42px;
}

.kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------------------------------------------------------------- console tour */

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.page-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.page-card:hover {
  border-color: #cfe0d9;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.page-card h3 {
  padding: 16px 18px 0;
  font-size: 1.02rem;
  letter-spacing: -.015em;
}

.page-card p {
  padding: 6px 18px 18px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.preview {
  height: 208px;
  margin: 16px 16px 0;
  overflow: hidden;
  border: 1px solid #e2ebe7;
  border-radius: 9px;
  background: #f7faf9;
  font-size: 10px;
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid #e6edea;
  background: #fff;
  color: #60756e;
  font-size: 9.5px;
  font-weight: 650;
}

.preview-bar > span:last-child {
  margin-left: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview .traffic i {
  width: 6px;
  height: 6px;
}

.preview-body {
  padding: 10px;
}

/* dashboard preview */

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.mini-stats div {
  display: grid;
  gap: 1px;
  padding: 6px 7px;
  border: 1px solid #e6edea;
  border-radius: 6px;
  background: #fff;
}

.mini-stats span {
  overflow: hidden;
  color: #5e7069;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .05em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.mini-stats strong {
  color: #12211d;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 86px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid #e6edea;
  border-radius: 6px;
  background: #fff;
}

.mini-chart i {
  flex: 1;
  min-width: 0;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #3fb9a2, #178577);
  opacity: .85;
}

.mini-chart i:nth-child(1)  { height: 34%; }
.mini-chart i:nth-child(2)  { height: 52%; }
.mini-chart i:nth-child(3)  { height: 41%; }
.mini-chart i:nth-child(4)  { height: 64%; }
.mini-chart i:nth-child(5)  { height: 47%; }
.mini-chart i:nth-child(6)  { height: 72%; }
.mini-chart i:nth-child(7)  { height: 58%; }
.mini-chart i:nth-child(8)  { height: 81%; }
.mini-chart i:nth-child(9)  { height: 69%; }
.mini-chart i:nth-child(10) { height: 88%; }
.mini-chart i:nth-child(11) { height: 76%; }
.mini-chart i:nth-child(12) { height: 94%; }

/* list previews */

.mini-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
  color: #556a63;
  font-size: 8.5px;
  font-weight: 700;
}

.mini-list-head span:last-child { color: var(--brand); }

.mini-list-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border: 1px solid #e6edea;
  border-radius: 6px;
  background: #fff;
}

.mini-list-row + .mini-list-row { margin-top: 5px; }

.mini-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: var(--brand-soft);
  color: var(--brand-2);
  font-size: 7.5px;
  font-weight: 750;
}

.mini-lines {
  display: grid;
  flex: 1;
  gap: 0;
  min-width: 0;
}

.mini-lines strong {
  overflow: hidden;
  color: #1c302b;
  font-size: 8.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-lines em {
  overflow: hidden;
  color: #5e7069;
  font-size: 7.5px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-btn {
  flex: none;
  padding: 3px 7px;
  border: 1px solid #bfe0d4;
  border-radius: 4px;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 7.5px;
  font-weight: 700;
}

.mini-pill {
  flex: none;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mini-pill.ok {
  background: var(--ok-soft);
  color: var(--ok);
}

.mini-pill.bad {
  background: var(--bad-soft);
  color: var(--bad);
}

.mini-toggle {
  flex: none;
  width: 20px;
  height: 11px;
  border-radius: 999px;
  background: #d6e2dd;
  box-shadow: inset 9px 0 0 0 #fff;
}

.mini-toggle.on {
  background: var(--brand-3);
  box-shadow: inset -9px 0 0 0 #fff;
}

/* countries preview */

.mini-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px;
  border: 1px solid #e6edea;
  border-radius: 6px;
  background: #fff;
}

.mini-chip {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 22px;
  padding: 0 7px;
  border-radius: 4px;
  font-size: 7.5px;
  font-weight: 750;
  letter-spacing: .04em;
}

.mini-chip.on {
  background: var(--ok-soft);
  color: var(--ok);
}

.mini-chip.off {
  background: var(--bad-soft);
  color: var(--bad);
  text-decoration: line-through;
}

.mini-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  color: #5e7069;
  font-size: 7.5px;
  font-weight: 600;
}

.mini-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mini-legend i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
}

.mini-legend i.on { background: var(--ok); }
.mini-legend i.off { background: var(--bad); }

/* table preview */

.mini-table {
  overflow: hidden;
  border: 1px solid #e6edea;
  border-radius: 6px;
  background: #fff;
}

.mini-table-head,
.mini-table-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  padding: 6px 8px;
  font-size: 8px;
}

.mini-table-head {
  border-bottom: 1px solid #eef3f1;
  background: #fbfdfc;
  color: #5e7069;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.mini-table-row { border-bottom: 1px solid #f3f7f5; }
.mini-table-row:last-child { border-bottom: 0; }
.mini-table-row > span:nth-child(2) {
  overflow: hidden;
  color: #31433d;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-table-row > span:first-child {
  color: #5e7069;
  font-variant-numeric: tabular-nums;
}

.mini-status {
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 6.5px;
  font-weight: 750;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mini-status.ok   { background: var(--ok-soft); color: var(--ok); }
.mini-status.bad  { background: var(--bad-soft); color: var(--bad); }
.mini-status.warn { background: var(--warn-soft); color: var(--warn); }

/* domains preview */

.mini-domain-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px;
  border: 1px solid #e6edea;
  border-radius: 6px;
  background: #fff;
}

.mini-domain-row + .mini-domain-row { margin-top: 5px; }

.mini-domain {
  display: grid;
  min-width: 0;
  gap: 0;
}

.mini-domain strong {
  overflow: hidden;
  color: #1c302b;
  font-size: 8.5px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-domain em {
  color: #5e7069;
  font-size: 7.5px;
  font-style: normal;
}

.console-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: .94rem;
  text-align: center;
}

/* ---------------------------------------------------------------- features */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.feature:hover {
  border-color: #cfe0d9;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 15px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
}

.feature h3 {
  font-size: 1rem;
  letter-spacing: -.015em;
}

.feature p {
  margin-top: 7px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

/* ---------------------------------------------------------------- open source */

#open-source {
  border-block: 1px solid var(--line);
  background: var(--panel);
}

.os-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 56px;
  align-items: start;
}

.os-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.os-copy p {
  max-width: 52ch;
  margin-top: 15px;
  color: var(--muted);
  font-size: 1.02rem;
}

.os-points {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.os-points li {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  font-size: .94rem;
}

.os-points strong { color: var(--ink); }

.os-points span { color: var(--muted); }

/* ---------------------------------------------------------------- FAQ */

.faq {
  display: grid;
  gap: 10px;
  max-width: 840px;
}

.faq details {
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  flex: none;
  color: var(--brand);
  content: "+";
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after { content: "\2212"; }

.faq details p {
  max-width: 70ch;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .94rem;
}

/* ---------------------------------------------------------------- download */

.download {
  padding: 20px 0 84px;
}

.download-panel {
  padding: 44px;
  border-radius: 20px;
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(29, 154, 134, .42), transparent 62%),
    linear-gradient(135deg, var(--brand-2), #082521);
  color: #fff;
  box-shadow: 0 26px 55px -26px rgba(8, 37, 33, .6);
}

.download-head {
  max-width: 560px;
}

.download-head .kicker { color: #8df0d8; }

.download-head h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
}

.download-head p {
  margin-top: 12px;
  color: #b9d8cf;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.download-card {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.download-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-bottom: 16px;
}

.download-tag {
  color: #8df0d8;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status {
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #b9d8cf;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: .04em;
}

.download-card h3 {
  color: #fff;
  font-size: 1.14rem;
}

.download-card p {
  margin-top: 8px;
  color: #b9d8cf;
  font-size: .92rem;
}

.download-card .btn {
  margin-top: 22px;
}

.download-note {
  margin-top: 20px;
  color: #9dc5bb;
  font-size: .9rem;
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  padding: 40px 0 30px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand { max-width: 36ch; }

.footer-brand p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.footer-col h3 {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 13.5px;
  text-decoration: none;
}

.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 12.5px;
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1060px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-visual {
    max-width: 620px;
    justify-self: start;
  }

  .hero h1 { font-size: clamp(2.6rem, 6.4vw, 3.8rem); }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .os-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .nav { display: none; }

  .header-inner { min-height: 62px; }

  .hero {
    padding: 56px 0 52px;
  }

  .section {
    padding: 66px 0;
  }

  .download {
    padding-bottom: 66px;
  }
}

@media (max-width: 720px) {
  .page-grid {
    grid-template-columns: 1fr;
  }

  .preview {
    height: 210px;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .hero h1 { font-size: clamp(2.2rem, 9vw, 2.8rem); }

  .lead { margin-top: 18px; }

  .features {
    grid-template-columns: 1fr;
  }

  .app-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .app-side { display: none; }

  .app-main { padding: 14px; }

  .app-url { max-width: none; }

  .download-panel {
    padding: 28px;
    border-radius: 16px;
  }

  .os-points li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer-links {
    gap: 32px;
  }
}

@media (max-width: 460px) {
  .actions .btn {
    width: 100%;
  }

  .app-stats strong { font-size: 15px; }

  .app-badge {
    font-size: 7px;
    letter-spacing: 0;
  }

  .download-card { padding: 22px; }

  .download-card .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
