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

:root {
  --bg: #FAF8F5;
  --bg-dark: #141210;
  --bg-muted: #F0EBE4;
  --text: #1A1814;
  --text-on-dark: #FAF8F5;
  --muted: #7A7268;
  --muted-on-dark: rgba(250, 248, 245, 0.55);
  --accent: #C9A96E;
  --accent-dark: #9A7B45;
  --accent-glow: rgba(201, 169, 110, 0.35);
  --border: #E4DFD6;
  --border-dark: rgba(255, 255, 255, 0.08);
  --card: #fff;
  --error: #C45C4A;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 640px; }
.narrow { max-width: 560px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 18, 16, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}
.landing .site-header { background: rgba(20, 18, 16, 0.92); }

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.logo-mark {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.35rem;
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12);
}
.logo-text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav { display: flex; gap: 1.75rem; align-items: center; }
.nav a.hide-mobile { color: var(--muted-on-dark); font-size: 0.88rem; transition: color 0.15s; }
.nav a.hide-mobile:hover { color: var(--text-on-dark); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--bg-dark) !important;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: #d4b67a; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.82rem; }
.btn-lg { padding: 1rem 2rem; font-size: 0.95rem; }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: 0.6; cursor: wait; }

.btn-ghost {
  background: transparent;
  color: var(--text-on-dark) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); }

.btn-outline-dark {
  background: transparent;
  color: var(--text) !important;
  box-shadow: inset 0 0 0 1px var(--border);
}
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent-dark) !important; }

.logo-img { display: block; border-radius: 8px; }
.logo-mark { display: none; }

/* ─── Hero ─── */
.hero {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 4rem 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201,169,110,0.14), transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 80%, rgba(201,169,110,0.05), transparent 50%);
  pointer-events: none;
}

.hero-intro {
  text-align: center;
  max-width: 680px;
  position: relative;
  padding-bottom: 3rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted-on-dark);
  margin: 0 auto 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 0;
}

/* Device showcase */
.devices-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  padding-bottom: 4rem;
  position: relative;
  max-width: 820px;
}

.device { text-align: center; }

.device-caption {
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.device-frame {
  margin: 0 auto;
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  box-shadow:
    0 48px 96px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.08);
}

.device-frame-ios {
  width: 260px;
  background: linear-gradient(180deg, #1c1a18 0%, #0e0d0c 100%);
  padding: 12px 10px 16px;
}

.device-frame-android {
  width: 250px;
  background: #f2f2f2;
  padding: 10px 10px 14px;
  border-radius: 28px;
}

.ios-status, .android-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 8px 8px;
  color: #fff;
}
.android-status { color: #333; justify-content: center; }

.ios-status-icons::after {
  content: '●●●';
  letter-spacing: 2px;
  font-size: 0.5rem;
  opacity: 0.7;
}

/* Lock screen notification (iOS) */
.wallet-notification {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 10px 12px;
  margin: 8px 4px 16px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.12);
}
.wallet-notif-icon { border-radius: 6px; flex-shrink: 0; }
.wallet-notif-title { font-size: 0.68rem; font-weight: 600; color: #fff; margin-bottom: 2px; }
.wallet-notif-text { font-size: 0.62rem; color: rgba(255,255,255,0.75); line-height: 1.35; }
.wallet-notif-time { font-size: 0.58rem; color: rgba(255,255,255,0.45); flex-shrink: 0; }

.wallet-sheet {
  background: #f2f2f7;
  border-radius: 20px 20px 0 0;
  padding: 8px 12px 16px;
  min-height: 320px;
}
.wallet-sheet-handle {
  width: 36px; height: 4px; background: #c8c8cc;
  border-radius: 99px; margin: 4px auto 10px;
}
.wallet-sheet-label {
  font-size: 0.72rem; font-weight: 600; color: #8e8e93;
  text-align: center; margin-bottom: 12px;
}

/* Wallet pass card */
.wallet-pass {
  background: linear-gradient(155deg, #1f1c18, #2d2822);
  border-radius: 14px;
  padding: 14px;
  text-align: left;
  color: var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.wallet-pass-android {
  background: linear-gradient(155deg, #2a4a3a, #1a3028);
  color: #b8e0c8;
  margin: 0 4px;
  min-height: 280px;
}

.wallet-pass-head { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.wallet-pass-logo {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
}
.wallet-pass-logo-light { background: linear-gradient(145deg, #7cb896, #4a7c59); }

.wallet-pass-eyebrow {
  font-size: 0.52rem; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.65; margin-bottom: 2px;
}
.wallet-pass-brand {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 500;
}

.wallet-pass-row { display: flex; justify-content: space-between; align-items: flex-end; }
.wallet-pass-row-bottom { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.08); }

.wallet-pass-field-label {
  font-size: 0.5rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.55;
}
.wallet-pass-field-value {
  font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1;
}
.wallet-pass-field-value-sm { font-size: 0.85rem; font-weight: 600; margin-top: 2px; }

.wallet-pass-dots { display: flex; gap: 4px; flex-wrap: wrap; max-width: 90px; justify-content: flex-end; }
.wallet-pass-dots-lg { max-width: none; margin: 10px 0; }
.wallet-pass-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid currentColor; opacity: 0.3;
}
.wallet-pass-dots span.on { opacity: 1; background: currentColor; }

.wallet-pass-qr {
  width: 44px; height: 44px; border-radius: 4px;
  border: 1px solid rgba(201,169,110,0.3);
  background:
    linear-gradient(90deg, rgba(201,169,110,0.35) 1px, transparent 1px) 0 0 / 6px 6px,
    linear-gradient(rgba(201,169,110,0.35) 1px, transparent 1px) 0 0 / 6px 6px;
}

.gpay-header {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; font-size: 0.75rem; font-weight: 500; color: #5f6368;
}
.gpay-dot { width: 8px; height: 8px; border-radius: 50%; background: #4285f4; }

.wallet-pass-barcode {
  display: flex; gap: 2px; justify-content: center; margin-top: 14px; height: 36px; align-items: flex-end;
}
.wallet-pass-barcode span {
  width: 3px; background: rgba(184,224,200,0.7); border-radius: 1px;
}
.wallet-pass-barcode span:nth-child(odd) { height: 100%; }
.wallet-pass-barcode span:nth-child(even) { height: 70%; }
.wallet-pass-barcode-hint {
  text-align: center; font-size: 0.55rem; letter-spacing: 0.08em;
  text-transform: uppercase; opacity: 0.5; margin-top: 6px;
}

.android-notification {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff; border-radius: 12px; padding: 10px 12px;
  margin: 12px 4px 4px; text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font-size: 0.62rem; color: #444;
}
.android-notification img { border-radius: 4px; }
.android-notification strong { display: block; font-size: 0.65rem; color: #111; margin-bottom: 2px; }

.section-title-light {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--text-on-dark);
  opacity: 0.92;
}

.feature-grid-4 { grid-template-columns: repeat(2, 1fr); }

.pricing-footnote {
  text-align: center;
  max-width: 560px;
  margin: 2.5rem auto 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.app-links { margin-top: 1.5rem; }
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none !important;
}
.app-store-badge small { display: block; font-size: 0.58rem; opacity: 0.8; line-height: 1; }
.app-store-badge strong { display: block; font-size: 1rem; line-height: 1.2; }
.app-links-fallback { font-size: 0.88rem; color: var(--muted); }

.footer-logo { margin: 0 auto 0.75rem; border-radius: 10px; }

.eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.eyebrow-light { color: rgba(201,169,110,0.85); }

/* ─── Sections ─── */
section { padding: 5rem 0; }

.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2,
section > .container > h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}
.section-lead-left { margin-left: 0; text-align: left; }

.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.section-cream { background: var(--bg); }
.section-muted { background: var(--bg-muted); }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.feature {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
}
.feature-num {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.feature p { color: var(--muted-on-dark); font-size: 0.92rem; line-height: 1.65; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  border-color: var(--accent);
  box-shadow: 0 24px 48px rgba(26, 24, 20, 0.08);
  transform: translateY(-4px);
}

.price-badge {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
}

.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.price-currency { font-size: 1.25rem; vertical-align: super; }
.price-note { font-size: 0.9rem; color: var(--muted); font-family: var(--font-body); }

.price-after {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.price-list {
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  flex: 1;
}
.price-list li {
  padding: 0.4rem 0;
  padding-left: 1rem;
  position: relative;
}
.price-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* Timeline */
.timeline {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
  counter-reset: step;
}

.timeline li {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}
.timeline li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-step {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline strong { display: block; margin-bottom: 0.25rem; font-size: 1rem; }
.timeline p { color: var(--muted); font-size: 0.92rem; }

/* Owner block */
.owner-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.owner-block h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.mono-link {
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  color: var(--accent-dark);
  margin-top: 1.5rem;
  padding: 0.65rem 1rem;
  background: var(--card);
  border-radius: 8px;
  display: inline-block;
  border: 1px solid var(--border);
}

.owner-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
}
.owner-card-title {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.owner-list {
  list-style: none;
  font-size: 0.95rem;
  color: var(--text);
}
.owner-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.owner-list li:last-child { border-bottom: none; }

/* FAQ */
.faq { margin-top: 2rem; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.35rem;
  margin-bottom: 0.65rem;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 0.75rem; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

/* CTA band */
.cta-band {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 4.5rem 0;
  text-align: center;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.2;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  background: var(--bg);
}
.footer-inner { text-align: center; }
.footer-brand {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.footer-copy { color: var(--muted); font-size: 0.88rem; margin-bottom: 0.5rem; }
.footer-link { color: var(--muted); font-size: 0.88rem; }
.footer-link:hover { color: var(--accent-dark); }

/* ─── Order pages (unchanged structure) ─── */
.back { display: inline-block; margin-bottom: 1.5rem; color: var(--muted); font-size: 0.9rem; }
.card {
  background: var(--card);
  border: 1px solid #F0EBE4;
  border-radius: 20px;
  padding: 1.75rem;
  margin-top: 1rem;
}
label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
input {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 1rem;
}
input:focus { outline: 2px solid var(--accent-glow); border-color: var(--accent); }
.step-label {
  font-size: 0.75rem;
  color: var(--accent-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.plans { display: grid; gap: 0.75rem; margin-bottom: 1.25rem; }
.plan {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  cursor: pointer;
}
.plan input { display: none; }
.plan:has(input:checked) { border-color: var(--accent); background: rgba(201,169,110,0.08); }
.plan-title { font-weight: 600; margin-bottom: 0.25rem; }
.plan-price { font-size: 0.9rem; color: var(--muted); }
.price-box { background: var(--bg); border-radius: 12px; padding: 1rem; margin-bottom: 1rem; }
.price-row { display: flex; justify-content: space-between; font-size: 0.95rem; margin-bottom: 0.35rem; }
.price-total { font-weight: 600; border-top: 1px solid var(--border); padding-top: 0.5rem; margin-top: 0.5rem; }
.note { font-size: 0.85rem; color: var(--muted); line-height: 1.5; margin-top: 1rem; }
.alert {
  background: #FDF0EE;
  border: 1px solid #E8C4BC;
  color: var(--error);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.alert-info {
  background: rgba(201,169,110,0.12);
  border-color: var(--accent);
  color: var(--text);
}
.success-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.steps-list { margin-top: 1rem; padding-left: 1.1rem; color: var(--muted); font-size: 0.92rem; line-height: 1.7; }
.hidden { display: none !important; }

.spinner {
  width: 28px; height: 28px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 1rem auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-block { text-align: center; padding: 3rem 1rem; }

/* Legacy compat */
.price-card .tagline { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.price-card .kit { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.steps { max-width: 640px; margin: 0 auto; }
.step { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.step-num {
  flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 600;
}
.btn-outline {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--border);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .devices-showcase { grid-template-columns: 1fr; max-width: 280px; gap: 3rem; }
  .feature-grid, .feature-grid-4 { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .price-card-featured { transform: none; }
  .owner-block { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav .hide-mobile { display: none; }
  .hero { padding-top: 2.5rem; }
  .device-frame-ios { width: 240px; }
  .device-frame-android { width: 230px; }
}
