:root {
  --bg: #FBF6F0;
  --surface: #FFFDFB;
  --surface-alt: #F6EFE6;
  --text: #2E2119;
  --text-secondary: #73665F;
  --text-faint: #A09690;
  --border: #E4DCD6;

  --primary: #E86545;
  --primary-hover: #D6552F;
  --primary-on: #FFFAF9;
  --primary-soft: #FFDFD2;

  --success: #5DA56E;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--text);
}

p { margin: 0 0 1em; color: var(--text-secondary); }

a { color: inherit; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-on);
  box-shadow: 0 8px 20px -8px rgba(232, 101, 69, 0.6);
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-disabled,
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.btn:disabled:hover { transform: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 240, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-right: auto;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
}

.nav a:hover { color: var(--primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
}

/* Hero */
.hero {
  padding: 72px 0 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -0.02em;
}

.lead {
  font-size: 18px;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(46, 33, 25, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-icon {
  width: 120px;
  height: 120px;
  border-radius: 30px;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.phone-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(232, 101, 69, 0.25), transparent 70%);
  z-index: 0;
}

/* Sections */
section { padding: 64px 0; }

.section-lead {
  font-size: 17px;
  max-width: 60ch;
  margin-bottom: 40px;
}

h2 { font-size: clamp(26px, 3.5vw, 36px); }

/* Features */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { margin: 0; font-size: 15px; }

/* Steps */
.steps { background: var(--surface-alt); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-on);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { margin: 0; font-size: 15px; }

/* Download */
.download-inner { text-align: center; }
.download-inner .section-lead { margin-left: auto; margin-right: auto; }

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.download-icon { font-size: 36px; margin-bottom: 6px; }
.download-card h3 { margin-bottom: 2px; }
.download-card p { font-size: 14px; margin-bottom: 14px; }
.download-card .btn { width: 100%; margin-bottom: 10px; }
.download-note { font-size: 12.5px; color: var(--text-faint); }

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-inner .brand { margin-right: 0; }
.footer-inner p { margin: 0; font-size: 14px; color: var(--text-faint); }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-art { order: -1; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-inner .btn-sm { display: none; }
  .grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
}
