:root {
  --sand: #F4EADC;
  --sand2: #EFE2D0;
  --card: #FCF7EE;
  --ink: #2B1D1A;
  --ink2: #5C463E;
  --ink3: #8B7468;
  --crimson: #C0584B;
  --crimson-deep: #9F4338;
  --sage: #A6B89A;
  --sage-tint: #DDE5D5;
  --line: rgba(43, 29, 26, 0.08);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --font-rounded: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--crimson);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ─── NAV ─── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 234, 220, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-rounded);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.nav-logo span {
  color: var(--crimson);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--ink2);
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--ink);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--sand) !important;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none !important;
}

.btn:hover {
  background: var(--crimson-deep);
  transform: translateY(-1px);
}

.btn-crimson {
  background: var(--crimson);
}

.btn-crimson:hover {
  background: var(--crimson-deep);
}

/* ─── HERO ─── */

.hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--sage-tint);
  color: var(--ink2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-rounded);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero h1 em {
  color: var(--crimson);
  font-style: normal;
}

.hero p {
  font-size: 19px;
  color: var(--ink2);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.appstore-btn {
  display: inline-block;
  transition: transform 0.1s, opacity 0.15s;
}

.appstore-btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.appstore-btn img {
  height: 48px;
  display: block;
}

.hero-note {
  font-size: 14px;
  color: var(--ink3);
  margin-top: 20px;
}

/* ─── MOCKUP PLACEHOLDER ─── */

.mockup-area {
  max-width: 900px;
  margin: 0 auto 100px;
  padding: 0 24px;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 260px;
  height: 520px;
  background: var(--card);
  border-radius: 44px;
  border: 1px solid var(--line);
  box-shadow: 0 32px 80px rgba(43, 29, 26, 0.12), 0 8px 24px rgba(43, 29, 26, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--ink3);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 28px;
  background: var(--sand2);
  border-radius: 44px 44px 0 0;
}

.phone-mockup-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mockup-tap-btn {
  width: 110px;
  height: 110px;
  background: var(--crimson);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(192, 88, 75, 0.3);
}

.mockup-tap-btn svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: white;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.mockup-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.mockup-sublabel {
  font-size: 13px;
  color: var(--ink3);
  text-align: center;
}

/* ─── SECTIONS ─── */

section {
  padding: 80px 24px;
}

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

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-rounded);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-body {
  font-size: 17px;
  color: var(--ink2);
  max-width: 560px;
  line-height: 1.6;
}

/* ─── FEATURES GRID ─── */

.features {
  background: var(--sand2);
}

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

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

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--sand2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.feature-card p {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.55;
}

/* ─── MANIFESTO ─── */

.manifesto {
  background: var(--ink);
}

.manifesto .section-label {
  color: var(--sage);
}

.manifesto .section-title {
  color: var(--sand);
}

.manifesto .section-body {
  color: rgba(244, 234, 220, 0.6);
}

.manifesto-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
  max-width: 560px;
}

.manifesto-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: rgba(244, 234, 220, 0.85);
  line-height: 1.5;
}

.manifesto-point::before {
  content: '—';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── PRIVACY BAND ─── */

.privacy-band {
  background: var(--sage-tint);
}

.privacy-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.privacy-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.privacy-item p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.5;
}

/* ─── CTA ─── */

.cta-section {
  text-align: center;
}

.cta-section .section-title {
  margin-bottom: 12px;
}

.cta-section .section-body {
  margin: 0 auto 36px;
}

.cta-section .hero-actions {
  margin-top: 0;
}

/* ─── FOOTER ─── */

footer {
  background: var(--sand2);
  border-top: 1px solid var(--line);
  padding: 40px 24px;
}

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

.footer-logo {
  font-family: var(--font-rounded);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.footer-logo span {
  color: var(--crimson);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: var(--ink2);
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: none;
}

.footer-copy {
  font-size: 13px;
  color: var(--ink3);
  width: 100%;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
}

/* ─── SUBPAGES ─── */

.page-header {
  max-width: 760px;
  margin: 60px auto 48px;
  padding: 0 24px;
}

.page-header h1 {
  font-family: var(--font-rounded);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 16px;
  color: var(--ink2);
}

.page-content {
  max-width: 760px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

.page-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 40px 0 12px;
  letter-spacing: -0.3px;
}

.page-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 28px 0 8px;
}

.page-content p {
  font-size: 16px;
  color: var(--ink2);
  line-height: 1.65;
  margin-bottom: 14px;
}

.page-content ul, .page-content ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.page-content li {
  font-size: 16px;
  color: var(--ink2);
  line-height: 1.65;
  margin-bottom: 6px;
}

.page-content strong {
  color: var(--ink);
  font-weight: 600;
}

.page-content a {
  color: var(--crimson);
}

.page-content .meta {
  font-size: 14px;
  color: var(--ink3);
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.contact-highlight {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-highlight p {
  margin: 0;
}

/* ─── RESPONSIVE ─── */

@media (max-width: 600px) {
  nav {
    padding: 0 16px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero {
    padding: 64px 16px 56px;
  }

  section {
    padding: 56px 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
