/* === TOP NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 237, 224, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.nav.scrolled {
  background: rgba(245, 237, 224, 0.98);
  border-bottom-color: rgba(216, 204, 168, 0.6);
  box-shadow: 0 2px 8px rgba(60, 46, 26, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--ink-brown);
}
.nav-logo-seal {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 9px;
  flex-shrink: 0;
}
.nav-logo-text {
  height: 28px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .nav-logo-seal { width: 34px; height: 34px; }
  .nav-logo-text { height: 24px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--seal-brown);
}
.nav-links a { font-weight: 600; }
.nav-links a:hover { color: var(--ink-brown); }

.nav-cta {
  background: var(--brand-green);
  color: var(--paper-card) !important;
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
}
html.platform-ios .nav-cta { background: #1A1A1A; }
html.platform-android .nav-cta { background: var(--brand-green); }
.nav-cta:hover { filter: brightness(1.08); }

@media (max-width: 600px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 20%, rgba(139, 92, 46, 0.08), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(42, 92, 64, 0.06), transparent 40%),
    var(--paper-main);
  padding: var(--sp-xl) 0;
  overflow: hidden;
}
@media (max-width: 900px) { .hero { padding: var(--sp-lg) 0 var(--sp-xl); min-height: auto; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-md); }
}

/* Text column */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 8px;
  color: var(--seal-brown);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--seal-brown);
}

.hero-title {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--ink-brown);
  margin-bottom: 18px;
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--seal-brown);
  max-width: 440px;
  margin-bottom: var(--sp-md);
}

/* Price pill */
.price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(42, 92, 64, 0.08);
  border: 1.5px dashed var(--brand-green);
  border-radius: 999px;
  margin-bottom: var(--sp-md);
}
.price-num {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 900;
  color: var(--brand-green);
  letter-spacing: 0.5px;
  line-height: 1;
}
.price-label {
  font-size: 12px;
  color: var(--brand-green);
  font-weight: 700;
}

/* Download buttons */
.hero-btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-dl:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15); }
.btn-dl svg { flex-shrink: 0; }
.btn-dl-text small { display: block; font-size: 10px; opacity: 0.8; letter-spacing: 1px; line-height: 1; margin-bottom: 3px; font-weight: 500; }
.btn-dl-text b { display: block; font-size: 16px; font-weight: 700; line-height: 1.1; }

.btn-ios { background: #1A1A1A; color: #FFF; }
.btn-android { background: var(--brand-green); color: var(--paper-card); }

/* Trust row */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--sub-gray);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 5px; }
.hero-trust .check { color: var(--brand-green); font-weight: 900; }

/* Visual column (phone + decorations) */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.deco-ring {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 2px dashed var(--seal-brown);
  border-radius: 50%;
  opacity: 0.35;
  z-index: 1;
}

.phone-frame {
  position: relative;
  width: 280px;
  height: 580px;
  background: #1A1A1A;
  border-radius: 42px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(60, 46, 26, 0.25), 0 12px 24px rgba(60, 46, 26, 0.18);
  transform: rotate(-3deg);
  z-index: 2;
}
.phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #1A1A1A;
  border-radius: 12px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--paper-main);
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .phone-frame { transform: rotate(0deg); width: 240px; height: 500px; }
  .deco-ring { width: 340px; height: 340px; }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--seal-brown);
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scroll-cue .arrow { font-size: 18px; }
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* === STATS WALL === */
.stats {
  padding: var(--sp-xl) 0;
  background: var(--paper-alt);
}
.stats-bg {
  background:
    repeating-linear-gradient(0deg, transparent 0 36px, rgba(139, 92, 46, 0.04) 36px 37px),
    var(--paper-main);
  padding: var(--sp-xl) 0;
  border: 1px solid rgba(216, 204, 168, 0.6);
  border-radius: 16px;
  margin: 0 var(--container-gutter);
}

.stats-header {
  text-align: center;
  margin-bottom: var(--sp-lg);
}
.stats-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 6px;
  color: var(--seal-brown);
  font-weight: 700;
  margin-bottom: 14px;
}
.stats-eyebrow::before, .stats-eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--seal-brown);
}
.stats-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 900;
  color: var(--ink-brown);
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.stats-sub {
  font-size: clamp(14px, 1.4vw, 15px);
  color: var(--seal-brown);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0 var(--container-gutter);
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: 1fr; } }

.stat-cell {
  text-align: center;
  padding: var(--sp-sm) var(--sp-md);
  position: relative;
}
.stat-cell + .stat-cell::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  border-left: 1px dashed #B89D70;
}
@media (max-width: 900px) {
  .stat-cell + .stat-cell::before { display: none; }
  .stat-cell { border-bottom: 1px dashed #B89D70; padding: var(--sp-md) var(--sp-sm); }
  .stat-cell:last-child { border-bottom: none; }
}

.stat-number {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(44px, 5.5vw, 64px);
  color: var(--brand-green);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 8px;
  font-feature-settings: "tnum";
}
.stat-number .plus { font-size: 0.6em; vertical-align: super; opacity: 0.7; }

.stat-label {
  font-size: 13px;
  color: var(--seal-brown);
  font-weight: 700;
  letter-spacing: 3px;
  margin-top: 4px;
}
.stat-sub {
  font-size: 11px;
  color: var(--sub-gray);
  margin-top: 4px;
}

.stats-footer {
  text-align: center;
  margin-top: var(--sp-lg);
  padding-top: var(--sp-md);
  border-top: 1px dashed #D9CBA8;
  font-size: 13px;
  color: var(--seal-brown);
  font-style: italic;
  line-height: 1.7;
}
.stats-footer strong { color: var(--brand-green); font-style: normal; font-weight: 700; }

/* === DOWNLOAD SECTION === */
.download {
  padding: var(--sp-xl) 0;
  text-align: center;
  background:
    radial-gradient(circle at 10% 20%, rgba(42, 92, 64, 0.08), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(139, 92, 46, 0.08), transparent 45%),
    var(--paper-main);
}

.dl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--seal-brown);
  font-weight: 700;
  margin-bottom: 18px;
}
.dl-eyebrow::before, .dl-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--seal-brown);
}

.dl-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  color: var(--ink-brown);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.dl-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--seal-brown);
  max-width: 520px;
  margin: 0 auto var(--sp-md);
  line-height: 1.7;
}

.dl-price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: var(--sp-md);
  padding: 10px 22px;
  background: rgba(42, 92, 64, 0.08);
  border: 1.5px dashed var(--brand-green);
  border-radius: 999px;
}
.dl-price-num { font-family: var(--font-serif); font-size: 32px; font-weight: 900; color: var(--brand-green); letter-spacing: -0.5px; }
.dl-price-label { font-size: 14px; color: var(--brand-green); font-weight: 700; }

.dl-btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-md);
}
.dl-btn-row .btn-dl { padding: 16px 30px; }
.dl-btn-row .btn-dl-text b { font-size: 17px; }

.dl-note {
  font-size: 13px;
  color: var(--sub-gray);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}
.dl-note b { color: var(--seal-brown); font-weight: 700; }

/* === FOOTER === */
.footer {
  background: var(--ink-brown);
  color: #D9CBA8;
  padding: var(--sp-lg) 0 var(--sp-md);
  font-size: 14px;
}

.ft-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-md);
  border-bottom: 1px dashed rgba(217, 203, 168, 0.2);
}
@media (max-width: 700px) { .ft-top { grid-template-columns: 1fr; gap: var(--sp-md); } }

.ft-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.ft-logo-seal {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 9px;
  flex-shrink: 0;
}
.ft-logo-text {
  height: 28px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.ft-tagline { font-size: 13px; color: #B89D70; line-height: 1.7; }

.ft-col h5 {
  font-size: 11px;
  letter-spacing: 2px;
  color: #B89D70;
  font-weight: 700;
  margin-bottom: 12px;
}
.ft-col li { margin-bottom: 8px; font-size: 13px; }
.ft-col a { color: #D9CBA8; }
.ft-col a:hover { color: var(--paper-card); }
.tbd { color: rgba(217, 203, 168, 0.5); font-style: italic; }

.ft-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--sub-gray);
  flex-wrap: wrap;
  gap: 8px;
}
.ft-icp { color: var(--sub-gray); }
