:root {
  --bg: #0c1116;
  --surface: #141b22;
  --raised: #1c252e;
  --line: #28333d;
  --text: #eef3f7;
  --muted: #8ea0ad;
  --accent: #2dd4bf;
  --accent-ink: #042520;
  --radius: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 85% -5%, rgb(45 212 191 / 0.1), transparent 55%),
    var(--bg);
  color: var(--text);
  font: 16px/1.6 ui-sans-serif, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
.lead { color: var(--muted); }

.wrap { width: min(1100px, 100% - 2rem); margin-inline: auto; }

.nav { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); }
.nav-row { display: flex; align-items: center; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 650; }
.nav nav { display: flex; align-items: center; gap: 1.5rem; margin-inline-start: auto; color: var(--muted); font-size: 0.9375rem; }
.nav nav a:hover { color: var(--text); }

.btn, .btn-sm, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.15s;
  font: inherit; font-weight: 600;
}
.btn { height: 44px; padding: 0 1.25rem; background: var(--accent); color: var(--accent-ink); border: 0; }
.btn:hover { background: color-mix(in srgb, var(--accent) 86%, white); }
.btn:active, .btn-ghost:active { transform: translateY(1px); }
.btn-ghost { height: 44px; padding: 0 1.25rem; background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { height: 34px; padding: 0 0.9rem; border: 1px solid var(--line); color: var(--text); font-size: 0.875rem; }
.btn-sm:hover { border-color: var(--accent); }
.link { background: none; border: 0; color: var(--accent); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 3.5rem;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero h1 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); max-width: 14ch; }
.hero .lead { margin-top: 1.25rem; max-width: 42ch; font-size: 1.125rem; }
.ticks { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.ticks li { position: relative; padding-inline-start: 1.75rem; color: var(--muted); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 16px; height: 9px; border: 2px solid var(--accent); border-top: 0; border-right: 0;
  transform: rotate(-45deg);
}

.drop {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1.5px dashed var(--line);
  min-height: 300px;
  display: grid;
  align-content: center;
  transition: border-color 0.2s, background-color 0.2s;
}
.drop.over { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.drop-idle { text-align: center; display: grid; gap: 0.5rem; justify-items: center; }
.glyph { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: var(--raised); color: var(--accent); margin-bottom: 0.5rem; }
.drop-title { font-size: 1.125rem; font-weight: 600; }
.drop-sub { color: var(--muted); font-size: 0.9375rem; }

.file-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9375rem; }
.file-name { font-weight: 600; }
.file-size { color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { margin-top: 0.85rem; height: 8px; border-radius: 999px; background: var(--raised); overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width 0.3s ease; }
.drop-status { margin-top: 0.75rem; color: var(--muted); font-size: 0.875rem; }
.share { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.share input {
  flex: 1; min-width: 0; height: 44px; padding: 0 0.85rem;
  border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.875rem;
}
.share input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.how article { display: grid; gap: 0.5rem; align-content: start; }
.how .n { font: 600 0.8125rem/1 ui-monospace, Menlo, Consolas, monospace; color: var(--accent); }
.how h2 { font-size: 1.25rem; }
.how p { color: var(--muted); }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem); }
.plan { padding: 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 1rem; align-content: start; }
.plan.featured { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.plan h3 { font-size: 1.125rem; }
.amount { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; }
.amount span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; color: var(--muted); }
.plan li { position: relative; padding-inline-start: 1.5rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.plan .btn, .plan .btn-ghost { justify-self: start; }

.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.75rem; }
.foot nav { display: flex; gap: 1.25rem; }
.foot a:hover { color: var(--text); }

@media (max-width: 820px) {
  .hero, .how, .pricing { grid-template-columns: 1fr; }
  .hero { gap: 2.5rem; }
  .how { gap: 1.5rem; }
}
