/* Visora marketing site
   Editorial / quiet luxury register. Cream paper + cosmic accents.
   Mirrors the in-app palette inverted (light bg vs dark in app), so
   the site reads as the "outside" leading to the app's "inside".
*/

:root {
  --cosmic-a: #2A1F15;
  --cosmic-b: #4B2E1E;
  --cosmic-c: #7A4530;
  --terra: #C06848;
  --terra-deep: #9E4F32;
  --terra-light: #E8A07A;
  --amber: #D89A5A;
  --amber-deep: #9B6B2F;
  --cream: #FAF6EF;
  --paper: #FCF5E8;
  --paper-2: #F4EAD3;
  --ink: #3E2F22;
  --ink-soft: #6B5847;
  --muted: #9A8D7E;
  --rule: rgba(216,154,90,0.45);
  --rule-faint: rgba(216,154,90,0.20);
  --max-w: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--terra-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
em, i { font-style: italic; }

main > section { padding: 64px 28px; max-width: var(--max-w); margin: 0 auto; }
@media (min-width: 768px) { main > section { padding: 88px 32px; } }

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.4px;
  color: var(--ink);
}
h1 em, h2 em, h3 em { color: var(--terra); font-style: italic; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 18px;
}

/* ═════════ Nav ═════════ */
.topnav {
  display: flex; align-items: center; gap: 24px;
  padding: 18px 28px; max-width: var(--max-w); margin: 0 auto;
  border-bottom: 1px solid var(--rule-faint);
}
.topnav .brand {
  font-family: Georgia, serif;
  font-size: 22px; font-style: italic;
  color: var(--ink); text-decoration: none;
  letter-spacing: -0.4px;
}
.topnav .nav-links {
  list-style: none; display: flex; gap: 24px; margin-left: auto;
}
.topnav .nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
}
.topnav .nav-links a:hover { color: var(--ink); text-decoration: none; }
.topnav .nav-cta {
  font-size: 13.5px; font-weight: 600; color: var(--terra-deep);
  padding: 8px 14px; border-radius: 999px;
  background: rgba(216,154,90,0.12); border: 1px solid var(--rule);
}
.topnav .nav-cta:hover { text-decoration: none; background: rgba(216,154,90,0.18); }
@media (max-width: 640px) {
  .topnav .nav-links { display: none; }
}

/* ═════════ Hero ═════════ */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px;
  align-items: center;
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px !important; }
  .hero-mockup { order: 2; }
  .hero-text { order: 1; }
}
.hero .badge {
  display: inline-block;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(216,154,90,0.14);
  color: var(--amber-deep);
  border: 1px solid var(--rule-faint);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1.04; letter-spacing: -1.4px;
  margin-bottom: 22px;
}
.hero .lead {
  font-size: clamp(16.5px, 2vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 32px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.cta-sub { font-size: 13px; color: var(--muted); }
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.1px;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn.primary {
  background: linear-gradient(135deg, var(--terra), var(--terra-deep));
  color: var(--cream);
  box-shadow: 0 14px 30px rgba(192,104,72,0.28);
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 18px 36px rgba(192,104,72,0.34); text-decoration: none; }
.btn.primary.large { padding: 18px 32px; font-size: 16px; }
.btn.ghost {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
}
.btn.ghost:hover { background: rgba(216,154,90,0.08); text-decoration: none; }

/* ═════════ Phone mockup base ═════════ */
.phone {
  position: relative;
  width: 320px; height: 660px;
  background: var(--cosmic-a);
  border-radius: 46px;
  border: 1.5px solid rgba(255,255,255,0.04);
  box-shadow: 0 30px 80px rgba(20,12,6,0.32),
              0 6px 22px rgba(20,12,6,0.18);
  overflow: hidden;
  margin: 0 auto;
  color: var(--cream);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 30px; background: #000; border-radius: 20px; z-index: 10;
}
.phone-screen {
  position: absolute; top: 56px; left: 0; right: 0; bottom: 0;
  padding: 4px 22px 60px;
}

.hero-mockup .phone { width: 360px; height: 720px; }
@media (max-width: 880px) {
  .hero-mockup .phone { width: 280px; height: 580px; }
  .hero-mockup .phone-screen { padding: 4px 18px 50px; }
}

/* ─── Phone: Home contents ─── */
.m-greeting { display: flex; justify-content: space-between; margin-bottom: 18px; margin-top: 6px; }
.m-eyebrow { font-size: 8.5px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--amber); margin-bottom: 5px; }
.m-name { font-size: 20px; line-height: 23px; letter-spacing: -0.4px; font-family: ui-sans-serif, system-ui, sans-serif; font-weight: 500; }
.m-name i { color: var(--terra-light); font-weight: 400; }
.m-avatar {
  width: 34px; height: 34px; border-radius: 999px;
  background: linear-gradient(135deg, var(--terra-light), var(--terra));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
}
.m-ritual {
  background: linear-gradient(135deg, #5b4029, #2c1d0f);
  border-radius: 20px;
  padding: 16px 14px 16px;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  min-height: 132px;
}
.m-ritual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,12,6,0.30), rgba(20,12,6,0.85));
}
.m-ritual > * { position: relative; z-index: 2; }
.m-ritual h3 {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 19px; font-weight: 500; color: var(--cream);
  line-height: 22px; letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.m-ritual h3 i { color: var(--terra-light); font-weight: 400; }
.m-ritual p {
  font-size: 11px; line-height: 16px; color: rgba(250,246,239,0.8);
  margin-bottom: 12px;
}
.m-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--terra), var(--terra-deep));
  padding: 7px 13px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; color: var(--cream);
}
.m-h {
  font-size: 14.5px; font-weight: 500;
  color: var(--amber);
  letter-spacing: -0.3px;
  margin: 14px 0 8px;
}
.m-aff-row { display: flex; gap: 6px; overflow: hidden; }
.m-aff {
  flex: 0 0 130px; height: 78px; border-radius: 12px;
  background: linear-gradient(135deg, #8d4f30, #401b0e);
  position: relative; overflow: hidden;
}
.m-aff-b { background: linear-gradient(135deg, #b06b4e, #4a2614); }
.m-aff::before {
  content: ''; position: absolute; inset: 8px;
  border-radius: 8px;
  background: rgba(20,12,6,0.5);
  backdrop-filter: blur(4px);
}
.m-aff-text {
  position: absolute; inset: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  font-size: 9.5px; font-style: italic;
  color: var(--cream); text-align: center;
  z-index: 2;
}
.m-wisdom {
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(250,246,239,0.05);
  border: 1px solid rgba(216,154,90,0.22);
  box-shadow: 0 6px 18px rgba(192,104,72,0.15);
}
.m-wisdom-body {
  font-family: Georgia, serif; font-size: 13px; font-style: italic;
  line-height: 17px; color: var(--cream); margin-bottom: 8px;
}
.m-wisdom-byline {
  font-size: 8.5px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--amber);
}

/* ─── Phone: Vision board contents ─── */
.m-v-header {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 21px; font-weight: 500; letter-spacing: -0.5px; line-height: 25px;
  color: var(--cream); margin: 6px 0 16px;
}
.m-v-grid { display: flex; gap: 6px; }
.m-v-col { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.m-v-card {
  border-radius: 10px; overflow: hidden;
  background: rgba(250,246,239,0.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}
.m-v-photo { width: 100%; aspect-ratio: 1; }
.m-v-a { background: linear-gradient(135deg, #8d4f30, #401b0e); }
.m-v-b { background: linear-gradient(135deg, #b06b4e, #4a2614); }
.m-v-c { background: linear-gradient(135deg, #5e4a82, #281a3e); }
.m-v-d { background: linear-gradient(135deg, #6b8d5a, #2e4520); }
.m-v-label {
  padding: 8px 10px;
  background: rgba(20,12,6,0.55);
}
.m-v-cat { font-size: 7px; font-weight: 700; letter-spacing: 1.4px; color: var(--terra-light); margin-bottom: 2px; }
.m-v-name { font-size: 11px; font-style: italic; color: var(--cream); line-height: 13px; }
.m-v-wins { font-size: 7.5px; color: rgba(250,246,239,0.55); margin-top: 3px; }

/* ─── Phone: Ritual playing ─── */
.ritual-screen {
  background: linear-gradient(135deg, #5b4029, #2c1d0f);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.m-orb {
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,122,0.7), rgba(192,104,72,0.2));
  margin-bottom: 32px;
  box-shadow: 0 0 60px rgba(216,154,90,0.4);
}
.m-r-label { font-size: 9.5px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--amber); margin-bottom: 9px; }
.m-r-now { font-size: 17px; font-style: italic; line-height: 22px; text-align: center; max-width: 220px; }
.m-r-controls {
  display: flex; align-items: center; gap: 26px; margin-top: 42px;
}
.m-r-skip { font-size: 21px; color: rgba(250,246,239,0.75); }
.m-r-play {
  width: 60px; height: 60px; border-radius: 999px;
  background: var(--cream); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}

/* ─── Phone: Capture win ─── */
.win-sheet-screen { padding-top: 12px; }
.m-handle {
  width: 32px; height: 4px; border-radius: 2px;
  background: rgba(250,246,239,0.22);
  margin: 6px auto 20px;
}
.m-w-title { font-family: ui-sans-serif, system-ui, sans-serif; font-size: 21px; font-weight: 500; letter-spacing: -0.4px; margin-bottom: 18px; color: var(--cream); }
.m-w-eyebrow { font-size: 9px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--amber); margin-bottom: 9px; }
.m-w-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.m-chip {
  padding: 6px 11px; border-radius: 99px;
  background: rgba(250,246,239,0.06);
  border: 1px solid rgba(250,246,239,0.12);
  font-size: 10.5px; font-weight: 500; color: var(--cream);
}
.m-chip.active {
  background: rgba(216,154,90,0.18);
  border-color: rgba(216,154,90,0.55);
  color: var(--amber);
}
.m-w-body {
  background: var(--paper); color: var(--ink);
  padding: 14px; border-radius: 12px;
  font-size: 14px; font-style: italic; line-height: 19px;
  margin-bottom: 14px;
  min-height: 86px;
}
.m-w-photo {
  border: 1.5px dashed rgba(216,154,90,0.4);
  border-radius: 12px;
  padding: 18px; text-align: center;
  color: rgba(216,154,90,0.7);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase;
}

/* ═════════ Daily loop ═════════ */
.loop {
  border-top: 1px solid var(--rule-faint);
  border-bottom: 1px solid var(--rule-faint);
  background: rgba(216,154,90,0.04);
  text-align: center;
}
.loop-intro {
  font-family: Georgia, serif; font-size: 22px; font-style: italic;
  color: var(--ink-soft); margin-bottom: 36px;
}
.loop-row {
  display: flex; align-items: stretch; justify-content: center; gap: 16px;
  flex-wrap: wrap;
}
.loop-item {
  flex: 1; min-width: 200px; max-width: 280px;
  text-align: left;
}
.loop-num {
  font-family: Georgia, serif; font-size: 28px; font-style: italic;
  color: var(--amber-deep); margin-bottom: 8px;
}
.loop-item h4 { font-size: 22px; margin-bottom: 8px; letter-spacing: -0.4px; }
.loop-item p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.loop-arrow {
  font-size: 32px; color: var(--rule); align-self: center;
  display: none;
}
@media (min-width: 880px) {
  .loop-arrow { display: block; }
}

/* ═════════ How it works (step blocks) ═════════ */
.how h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.18; letter-spacing: -0.7px;
  margin-bottom: 64px;
  max-width: 720px;
}
.how-step {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--rule-faint);
}
.how-step:last-child { border-bottom: none; }
.how-step.reverse .how-step-mockup { order: -1; }
@media (max-width: 880px) {
  .how-step { grid-template-columns: 1fr; gap: 32px; }
  .how-step.reverse .how-step-mockup { order: 0; }
}
.step-num {
  font-size: 11px; font-weight: 700; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--amber-deep);
  margin-bottom: 16px;
}
.how-step h3 {
  font-size: clamp(24px, 3vw, 32px); line-height: 1.18;
  letter-spacing: -0.5px; margin-bottom: 18px;
}
.how-step p {
  font-size: 16px; line-height: 1.6;
  color: var(--ink-soft); margin-bottom: 14px;
  max-width: 500px;
}
.how-step p.aside {
  font-size: 13px; color: var(--muted); font-style: italic;
  padding-left: 14px; border-left: 2px solid var(--rule);
  margin-top: 12px;
}

/* ═════════ What makes Visora different ═════════ */
.diff {
  background: linear-gradient(180deg, transparent 0%, rgba(216,154,90,0.06) 50%, transparent 100%);
}
.diff h2 {
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.16; letter-spacing: -0.8px;
  margin-bottom: 56px; max-width: 740px;
}
.diff-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
}
.diff-item h4 {
  font-size: 24px; font-style: italic; line-height: 1.18;
  margin-bottom: 12px; letter-spacing: -0.3px;
}
.diff-item h4 i { color: var(--terra); }
.diff-item p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.diff-num {
  font-family: Georgia, serif; font-size: 38px;
  color: var(--amber); line-height: 0.6; margin-bottom: 8px;
}

/* ═════════ Why Visora pillars ═════════ */
.why h2 {
  font-size: clamp(28px, 4vw, 40px); margin-bottom: 56px;
  max-width: 640px; line-height: 1.18;
}
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
}
.why-pillar { padding: 24px 0; border-top: 1px solid var(--rule); }
.why-pillar h4 {
  font-size: 22px; font-style: italic; color: var(--terra-deep);
  margin-bottom: 10px;
}
.why-pillar p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

/* ═════════ Comparison ═════════ */
.compare h2 {
  font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px;
}
.compare-intro {
  font-size: 16px; color: var(--ink-soft); margin-bottom: 36px;
  font-style: italic;
}
.compare-wrap { overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: 14.5px;
}
.compare-table th, .compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rule-faint);
}
.compare-table thead th {
  font-weight: 700; font-family: ui-sans-serif, sans-serif;
  color: var(--ink-soft); font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.compare-table thead th.us {
  color: var(--terra-deep);
  background: rgba(216,154,90,0.10);
  border-radius: 8px 8px 0 0;
}
.compare-table tbody td:first-child { color: var(--ink); font-weight: 500; }
.compare-table tbody td.us {
  background: rgba(216,154,90,0.08);
  color: var(--terra-deep);
  font-weight: 700; text-align: center;
  font-size: 16px;
}
.compare-table tbody td:not(:first-child):not(.us) {
  color: var(--muted); text-align: center;
}

/* ═════════ FAQ ═════════ */
.faq h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 36px; }
.faq details {
  border-bottom: 1px solid var(--rule-faint);
  padding: 18px 0;
}
.faq summary {
  font-size: 17px; font-weight: 500; color: var(--ink);
  cursor: pointer; list-style: none;
  position: relative; padding-right: 32px;
  letter-spacing: -0.1px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: 6px; top: -2px;
  font-size: 24px; font-weight: 300; color: var(--terra);
  transition: transform 200ms ease;
}
.faq details[open] summary::after { content: '−'; }
.faq details p {
  margin-top: 12px;
  color: var(--ink-soft); font-size: 15.5px; line-height: 1.65;
}

/* ═════════ Final CTA ═════════ */
.final-cta {
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(216,154,90,0.10));
  border-top: 1px solid var(--rule-faint);
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}
.final-cta h2 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.06; letter-spacing: -1.2px;
  margin-bottom: 24px;
}
.final-cta p {
  color: var(--ink-soft); font-size: 17px;
  max-width: 520px; margin: 0 auto 32px;
}
.final-cta .cta-sub { margin-top: 16px; }

/* ═════════ Footer ═════════ */
footer {
  border-top: 1px solid var(--rule-faint);
  padding: 36px 28px;
  text-align: center;
  max-width: var(--max-w); margin: 0 auto;
}
.footer-tagline {
  font-family: Georgia, serif; font-style: italic;
  font-size: 17px; color: var(--ink); margin-bottom: 18px;
}
footer nav { display: flex; gap: 22px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap; }
footer nav a { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.copyright { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ═════════ Legal pages ═════════ */
.legal h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.legal .meta { font-size: 13px; color: var(--muted); margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.legal h2 {
  font-family: Georgia, serif;
  font-size: 22px; font-weight: 400; font-style: italic;
  color: var(--ink); margin: 48px 0 16px;
  letter-spacing: -0.3px;
}
.legal h2::before { content: '§ '; color: var(--amber); font-style: normal; }
.legal h3 { font-size: 15px; font-weight: 700; letter-spacing: 0.2px; color: var(--ink); margin: 24px 0 8px; }
.legal p { margin-bottom: 16px; color: var(--ink-soft); }
.legal ul { margin: 0 0 16px 22px; }
.legal li { margin-bottom: 8px; color: var(--ink-soft); }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(192,104,72,0.18); vertical-align: top; }
.legal th { font-weight: 700; color: var(--ink); background: rgba(216,154,90,0.05); }
.legal td { color: var(--ink-soft); }
.legal hr { border: none; border-top: 1px solid var(--rule); margin: 40px 0; }
.legal strong { color: var(--ink); }
.legal code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  background: rgba(216,154,90,0.10);
  padding: 1px 6px; border-radius: 4px;
  color: var(--terra-deep);
}
main.legal { max-width: 760px; margin: 0 auto; padding: 80px 28px 48px; }

/* ═════════ Mobile tweaks ═════════ */
@media (max-width: 600px) {
  main > section { padding: 56px 22px; }
  .loop { padding: 48px 22px; }
}
