:root {
  --bg: #ffffff;
  --panel: #f7f7f8;
  --text: #18181b;
  --muted: #6b7280;
  --line: #e4e4e7;
  --dark: #09090b;
  --white: #ffffff;
  --max: 1180px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand-kicker {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

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

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 18px;
  background: #fff;
}

h1, h2, h3 { margin: 0; line-height: 1.05; }

h1 {
  font-size: clamp(40px, 6vw, 68px);
  letter-spacing: -0.04em;
  font-weight: 900;
}

.hero-copy {
  margin-top: 22px;
  max-width: 640px;
  font-size: 18px;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.button-primary {
  background: var(--dark);
  color: var(--white);
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--white);
}

.hero-card,
.feature-card,
.screenshot-card,
.download-card,
.contact-card,
.content-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.hero-card {
  padding: 18px;
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
  position: relative;
  overflow: hidden;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  filter: blur(30px);
}

.hero-card::before {
  width: 140px;
  height: 140px;
  top: -30px;
  left: -30px;
}

.hero-card::after {
  width: 180px;
  height: 180px;
  bottom: -70px;
  right: -30px;
}

.hero-card img,
.screenshot-image {
  border-radius: 24px;
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.section-muted {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}

.section {
  padding: 84px 0;
}

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

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

.section-head h2,
.page-hero h1 {
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -0.04em;
  font-weight: 900;
}

.section-head p,
.page-hero p,
.content-panel p,
.content-panel li {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.feature-card,
.download-card {
  padding: 26px;
}

.feature-card h3,
.content-panel h2,
.content-panel h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.feature-card p,
.download-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.screenshots-wrap {
  display: grid;
  gap: 22px;
}

.screenshot-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: center;
  padding: 20px;
}

.screenshot-card.reverse {
  grid-template-columns: 0.92fr 1.08fr;
}

.screenshot-copy h3 {
  font-size: 30px;
  letter-spacing: -0.03em;
  font-weight: 850;
}

.screenshot-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 520px;
}

.download-section {
  background: var(--dark);
  color: var(--white);
  border-top: 1px solid #27272a;
  border-bottom: 1px solid #27272a;
}

.download-section .section-kicker,
.download-section .section-head p {
  color: #a1a1aa;
}

.download-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
  box-shadow: none;
}

.download-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.download-label {
  color: #a1a1aa;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.download-card h3 {
  font-size: 24px;
  font-weight: 850;
  margin-bottom: 12px;
}

.download-card p,
.tip-box {
  color: #d4d4d8;
}

.tip-box {
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 18px 20px;
  font-size: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: start;
}

.contact-copy p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 14px;
}

.contact-card,
.content-panel {
  background: var(--panel);
  padding: 26px;
}

.form-group {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #3f3f46;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d4d4d8;
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea { resize: vertical; min-height: 150px; }

.turnstile-placeholder {
  border: 1px dashed #c4c4c8;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.contact-note,
.small-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.page-shell {
  padding: 56px 0 84px;
}

.page-hero {
  max-width: 760px;
  margin-bottom: 28px;
}

.page-hero p {
  max-width: 740px;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.content-panel ul {
  padding-left: 20px;
  margin: 10px 0 0;
}

footer {
  border-top: 1px solid var(--line);
  background: #fafafa;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .contact-grid,
  .screenshot-card,
  .screenshot-card.reverse,
  .features-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .section,
  .page-shell { padding: 64px 0; }
  .container { width: min(var(--max), calc(100% - 20px)); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .button-row { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
}
