:root {
  --bg: #ffffff;
  --surface: #f8f8f8;
  --text: #1a1a1a;
  --text-muted: #525252;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --border: #e5e5e5;
  --radius: 12px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: block;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-text {
  height: 2.5rem;
  width: auto;
  display: block;
}

.header-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-icon .logo-icon {
  height: 3.25rem;
  width: auto;
  display: block;
}

/* Install on Shopify button: white fill, black border, green SVG */
.btn-shopify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.55rem 1.5rem;
  margin-left: auto;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-shopify:hover {
  background: #f5f5f5;
  color: #1a1a1a;
  transform: translateY(-1px);
}

.btn-shopify-icon {
  height: 1.75em;
  width: auto;
  flex-shrink: 0;
  fill: #96bf48;
  align-self: center;
  transform: translateY(2px);
  display: block;
  vertical-align: middle;
}

/* Hero / CTA page buttons: same style, no margin-left (header only) */
.btn-shopify-hero,
.btn-shopify-cta {
  margin-left: 0;
}

.btn-shopify-cta {
  padding: 0.65rem 1.75rem;
  font-size: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.btn-cta:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

/* Hero */
.hero {
  padding: 1.5rem 0 3rem;
}

.hero-image-wrap {
  width: 100%;
  max-width: 85%;
  margin: 0 auto 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
}

.hero-image {
  width: 100%;
  display: block;
  height: auto;
  vertical-align: top;
}

.hero .container {
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  color: var(--text);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 60ch;
}

.hero .btn-cta {
  margin-top: 0.5rem;
}

/* Problem / value */
.problem {
  padding: 2rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem .lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 65ch;
}

.problem .lead strong {
  color: var(--text);
}

/* Features */
.features {
  padding: 3.5rem 0;
}

.features-container {
  max-width: 960px;
}

.features-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 2rem;
  color: var(--text);
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.5rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.feature-icon {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.feature-heading {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.feature-desc {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
  color: var(--text-muted);
}

/* CTA */
.cta {
  padding: 3.5rem 0 4rem;
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.cta h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

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

/* Footer */
.footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.footer p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
}

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