:root {
  --bg: #ffffff;
  --bg-soft: #faf9f8;
  --text: #16161a;
  --muted: #6b6b73;
  --line: rgba(0, 0, 0, 0.09);
  --card: #ffffff;
  --accent: #ef4444;
  --accent-2: #f97316;
  --radius: 14px;
  --container: 940px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f11;
    --bg-soft: #141417;
    --text: #f2f2f4;
    --muted: #9a9aa4;
    --line: rgba(255, 255, 255, 0.11);
    --card: #17171b;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.logo-mark svg {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

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

.btn-small { padding: 7px 14px; font-size: 13px; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.28);
}

.btn-primary:hover { box-shadow: 0 10px 26px rgba(239, 68, 68, 0.34); }

.btn-big { padding: 14px 26px; font-size: 16px; border-radius: 12px; }

.apple {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* Hero */

.hero {
  text-align: center;
  padding: 72px 0 8px;
}

.app-icon svg {
  display: block;
  width: 92px;
  height: 92px;
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(239, 68, 68, 0.24);
}

h1 {
  margin: 26px 0 6px;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.tagline {
  margin: 0;
  font-size: 20px;
  color: var(--muted);
}

.lede {
  max-width: 540px;
  margin: 18px auto 0;
  color: var(--muted);
}

.cta { margin-top: 28px; }

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.badges li {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
}

/* Screen mockup */

.stage { margin: 54px 0 0; }

.screen {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.09);
}

.screen-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.amber { background: #febc2e; }
.dot.green { background: #28c840; }

.menu-icon {
  margin-left: auto;
  color: var(--muted);
}

.menu-icon svg { display: block; width: 17px; height: 17px; }

.screen-body {
  position: relative;
  height: 320px;
  background:
    radial-gradient(circle at 30% 25%, rgba(239, 68, 68, 0.07), transparent 55%),
    radial-gradient(circle at 72% 78%, rgba(249, 115, 22, 0.07), transparent 55%);
}

.line-v, .line-h {
  position: absolute;
  background: var(--accent);
}

.line-v {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-0.5px);
}

.line-h {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-0.5px);
}

.center-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(14px, 10px);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Features */

.features { padding: 88px 0 0; }

h2 {
  margin: 0 0 26px;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}

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

/* Download */

.download {
  padding: 88px 0 96px;
  text-align: center;
}

.steps {
  max-width: 520px;
  margin: 34px auto 0;
  padding-left: 20px;
  text-align: left;
  color: var(--muted);
  font-size: 15px;
}

.steps li { margin-bottom: 9px; }

.steps strong { color: var(--text); font-weight: 600; }

/* Footer */

footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.footer-inner a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.footer-inner a:hover { color: var(--text); }

.pm7-logo {
  width: 16px;
  height: 16px;
}

@media (max-width: 700px) {
  h1 { font-size: 38px; }
  .tagline { font-size: 17px; }
  .hero { padding-top: 48px; }
  .grid { grid-template-columns: 1fr; }
  .screen-body { height: 220px; }
  .features, .download { padding-top: 64px; }
}
