:root {
  --bg: #ffffff;
  --fg: #000000;
  --muted: #6b7280;
  --border: #e5e7eb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  background: var(--bg);
  color: var(--fg);
}

body {
  -webkit-font-smoothing: antialiased;
}

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

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

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(229,231,235,0.8);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.04em;
}

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

.nav-links a {
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--fg);
  transition: width 160ms ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

main {
  flex: 1;
}

.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: grid;
  grid-template-columns: minmax(0,2fr) minmax(0,1.5fr);
  gap: 32px;
  align-items: center;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tag-pill {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(32px, 4vw, 40px);
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

.hero .lede {
  font-size: 16px;
  color: var(--muted);
  max-width: 460px;
  margin: 0 0 24px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.button {
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  border: 1px solid var(--border);
  background: #f9fafb;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 150ms ease-out, transform 120ms ease-out, box-shadow 120ms ease-out;
}

.button-primary {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
  box-shadow: 0 10px 30px rgba(15,23,42,0.22);
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(15,23,42,0.3);
}

.button-ghost:hover {
  background: #f3f4f6;
}

.hero-note {
  font-size: 12px;
  color: var(--muted);
}

.hero-card {
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 20px 20px 16px;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(15,23,42,0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}

.hero-card-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-card-logo-swatch {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.hero-card-main h2 {
  margin: 0 0 6px;
  font-size: 16px;
}

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

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}

.badge {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 2px 8px;
}

.section {
  border-top: 1px solid var(--border);
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px;
}

.section h2 {
  margin: 0 0 16px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.feature-card {
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  font-size: 13px;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.columns-two {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 24px;
  align-items: flex-start;
}

.pricing-box {
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 18px 18px 14px;
}

.pricing-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 4px;
}

.pricing-amount {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.pricing-amount span {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.pricing-list {
  margin: 10px 0 0;
  padding-left: 20px;
  font-size: 13px;
  color: var(--muted);
}

.pricing-list li + li {
  margin-top: 4px;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  font-size: 12px;
  color: var(--muted);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

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

/* animations */
.hero,
.section-inner {
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 380ms ease-out forwards;
}

.hero {
  animation-delay: 40ms;
}
.section:nth-of-type(1) .section-inner { animation-delay: 80ms; }
.section:nth-of-type(2) .section-inner { animation-delay: 120ms; }
.section:nth-of-type(3) .section-inner { animation-delay: 160ms; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: minmax(0,1fr);
    padding-top: 32px;
  }
  .nav-links {
    display: none;
  }
  .columns-two {
    grid-template-columns: minmax(0,1fr);
  }
}
