:root {
  color-scheme: dark;
  --bg: #0e1110;
  --surface: #171b1a;
  --surface-2: #202624;
  --line: #333b38;
  --text: #edf3f0;
  --muted: #aab4af;
  --soft: #d3ddd8;
  --accent: #59b79f;
  --accent-2: #3f8df5;
  --paper: #f1e7d2;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, #0e1110 0%, #101312 42%, #0e1110 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(14 17 16 / 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #eaf5f1;
  color: #10201c;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

button.button {
  font: inherit;
  cursor: pointer;
}

.button.primary {
  border-color: color-mix(in srgb, var(--accent) 65%, white 12%);
  background: var(--accent);
  color: #07110e;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.62;
}

.button:disabled:hover,
.button[aria-disabled="true"]:hover {
  transform: none;
}

.hero {
  min-height: min(820px, calc(100vh - 68px));
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgb(9 12 11 / 0.94) 0%, rgb(9 12 11 / 0.78) 36%, rgb(9 12 11 / 0.28) 76%),
    url("assets/screenshots/file-browser.png");
  background-position: center right;
  background-size: cover;
}

.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 78px 0 96px;
}

.hero-copy {
  width: min(620px, 100%);
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 18px;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.05;
  letter-spacing: 0;
  padding-bottom: 0.06em;
}

.hero-subtitle {
  margin: 22px 0 0;
  color: var(--soft);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.45;
  max-width: 640px;
}

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

.availability {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  max-width: 560px;
}

.band {
  padding: 78px 0;
}

.band.alt {
  background: #121615;
  border-block: 1px solid rgb(255 255 255 / 0.07);
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.55;
  margin: 14px 0 0;
}

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

.feature,
.workflow-step,
.screenshot-card,
.price-panel,
.requirement-list article,
.faq-item,
.release,
.privacy-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature,
.workflow-step,
.price-panel,
.requirement-list article,
.faq-item {
  padding: 22px;
}

.feature h3 {
  color: var(--paper);
}

.feature h3,
.release h3 {
  margin: 0;
  font-size: 18px;
}

.feature p,
.release p,
.privacy-row p {
  color: var(--muted);
  line-height: 1.5;
}

.feature p {
  margin: 10px 0 0;
}

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

.workflow-step span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.workflow-step h3 {
  margin: 14px 0 0;
  color: var(--paper);
}

.workflow-step p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.screens {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: start;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.screenshot-card {
  margin: 0;
  padding: 10px;
  overflow: hidden;
}

.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1180 / 760;
  object-fit: cover;
  object-position: top left;
  border-radius: 6px;
  background: #0f1110;
}

.screenshot-card:not(.wide) img {
  aspect-ratio: 4 / 3;
}

.screenshot-card figcaption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-top: 9px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 42px;
  align-items: center;
}

.name-stack {
  display: grid;
  gap: 10px;
}

.name-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #151817;
  padding: 16px;
}

.name-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.name-card strong {
  display: block;
  color: var(--soft);
  overflow-wrap: anywhere;
}

.name-card.good {
  border-color: rgb(89 183 159 / 0.42);
  background: #17201d;
}

.name-card.good strong {
  color: #eef8f4;
}

.shot {
  min-height: 310px;
  padding: 18px;
  overflow: hidden;
}

.shot.wide {
  min-height: 420px;
}

.window {
  height: 100%;
  min-height: 270px;
  border-radius: 18px;
  border: 1px solid #515a56;
  background: #202523;
  overflow: hidden;
}

.window-bar {
  height: 44px;
  border-bottom: 1px solid #3a4240;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.dot:nth-child(2) {
  background: #ffbd2e;
}

.dot:nth-child(3) {
  background: #28c840;
}

.window-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  height: calc(100% - 44px);
}

.sidebar {
  background: #171b1a;
  border-right: 1px solid #303735;
  padding: 18px;
}

.sidebar div {
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.sidebar .active {
  background: #1d6fe8;
  color: white;
}

.rows {
  padding: 20px;
}

.row {
  min-height: 58px;
  border-radius: 8px;
  background: #2a302e;
  margin-bottom: 12px;
  padding: 11px 14px;
}

.row strong {
  display: block;
  font-size: 14px;
}

.row span {
  color: var(--muted);
  font-size: 12px;
}

.privacy-list,
.release-list {
  display: grid;
  gap: 12px;
}

.privacy-row {
  padding: 18px 20px;
}

.privacy-row h3 {
  margin: 0 0 6px;
}

.privacy-row p {
  margin: 0;
}

.release {
  padding: 22px;
}

.release .meta {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: stretch;
}

.price-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.price-panel span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-panel strong {
  display: block;
  color: var(--text);
  font-size: clamp(46px, 8vw, 76px);
  line-height: 1.06;
  padding-bottom: 0.06em;
}

.price-panel p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 8px;
}

.checkout-form {
  margin: 2px 0 0;
}

.checkout-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.requirement-list {
  display: grid;
  gap: 12px;
}

.requirement-list h3,
.faq-item h3 {
  margin: 0;
  color: var(--paper);
  font-size: 18px;
}

.requirement-list p,
.faq-item p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0;
}

.cta h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
}

.cta p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgb(255 255 255 / 0.08);
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.prose {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.prose h1 {
  font-size: clamp(40px, 6vw, 66px);
}

.prose h2 {
  margin-top: 42px;
}

.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.65;
}

.prose .lede {
  color: var(--soft);
  font-size: 19px;
}

.result-panel {
  margin: 30px 0;
  padding: 22px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 8px;
  background: var(--surface);
}

.result-panel h2 {
  margin: 0 0 10px;
}

.result-panel p:last-child {
  margin-bottom: 0;
}

.updated {
  font-size: 13px;
}

@media (max-width: 860px) {
  .nav {
    min-height: 62px;
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero::before {
    background-image:
      linear-gradient(180deg, rgb(9 12 11 / 0.95) 0%, rgb(9 12 11 / 0.82) 58%, rgb(9 12 11 / 0.48) 100%),
      url("assets/screenshots/file-browser.png");
    background-position: 63% center;
  }

  .feature-grid,
  .workflow-grid,
  .screens,
  .screenshot-grid,
  .pricing-layout,
  .faq-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .cta,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
