/* ============================================================
   CALVEER LANDING — styles.css
   Mobile-first · Pure CSS · No framework
   ============================================================ */


/* ── 1. CUSTOM PROPERTIES ─────────────────────────────────── */

:root {
  --paper:       #F5EFE4;
  --surface:     #FFFFFF;
  --ink:         #221E2A;
  --ink2:        #57505F;
  --ink3:        #6D6776;
  --line:        #EAE1D1;
  --amber:       #F2B279;
  --amber-deep:  #E0894A;
  --amber-text:  #9E5414;
  --btn-ink:     #2E1C0A;

  --max-w:       1080px;
  --pad:         24px;
  --pad-lg:      40px;

  --font-serif:  'Newsreader', Georgia, serif;
  --font-sans:   'Hanken Grotesk', system-ui, sans-serif;

  --radius-card: 18px;
  --shadow-card: 0 16px 36px -22px rgba(95, 72, 40, 0.20);
}


/* ── 2. RESET & BASE ─────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; }

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

ul, ol { list-style: none; }

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}


/* ── 3. LAYOUT UTILITIES ─────────────────────────────────── */

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section-inner--narrow {
  max-width: 680px;
}

.section-inner--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section {
  padding: 80px 0;
}

.section--surface {
  background-color: var(--surface);
}

.section--dark {
  background-color: #0D0C11;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--amber-text);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}

.section-header {
  margin-bottom: 48px;
}

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


/* ── 4. NAVIGATION ───────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 239, 228, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-wordmark {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
}

/* Desktop nav links */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile dropdown */
.nav-menu {
  display: none;
  flex-direction: column;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 12px var(--pad) 20px;
  gap: 0;
}

.nav-menu.is-open {
  display: flex;
}

.nav-menu-link {
  padding: 14px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.nav-menu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  height: 48px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: var(--btn-ink);
  font-size: 16px;
  font-weight: 700;
}


/* ── 5. BUTTONS ──────────────────────────────────────────── */

.btn-nav {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: var(--btn-ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(224, 137, 74, 0.55);
}

.btn-amber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 36px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-deep) 100%);
  color: var(--btn-ink);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 12px 26px -12px rgba(224, 137, 74, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -10px rgba(224, 137, 74, 0.65);
}

.btn-amber:active {
  transform: translateY(0);
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 28px;
  border-radius: 28px;
  background: #000;
  color: #fff;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-appstore:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.appstore-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.appstore-label {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
  line-height: 1;
}

.appstore-name {
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
}


/* ── 6. HERO ─────────────────────────────────────────────── */

.hero {
  background: var(--paper);
  padding: 72px var(--pad) 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  overflow: hidden;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 28px;
  max-width: 560px;
}

.hero-tagline em {
  color: var(--amber-text);
  font-style: italic;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--ink2);
  margin-top: 16px;
  max-width: 480px;
  line-height: 1.5;
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-cta-note {
  font-size: 12px;
  color: var(--ink3);
}

.scroll-hint {
  color: var(--ink3);
  margin-top: 52px;
}


/* ── 7. ORB ──────────────────────────────────────────────── */

.orb-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  flex-shrink: 0;
}

.orb-halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(242, 178, 121, 0.28) 0%,
    rgba(242, 178, 121, 0.08) 50%,
    transparent 70%
  );
}

.orb-ring1 {
  position: absolute;
  width: 140px;
  height: 140px;
  top: 20px;
  left: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(224, 137, 74, 0.35);
}

.orb-ring2 {
  position: absolute;
  width: 96px;
  height: 96px;
  top: 42px;
  left: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(224, 137, 74, 0.55);
}

.orb-core {
  position: absolute;
  width: 44px;
  height: 44px;
  top: 68px;
  left: 68px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 38% 34%,
    #FBD6AE,
    #F2B279 48%,
    #E0894A
  );
  box-shadow: 0 12px 28px -8px rgba(224, 137, 74, 0.6);
}


/* ── 8. HOW IT WORKS — CARDS ─────────────────────────────── */

.cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.section--surface .card {
  background: var(--surface);
}

.card-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--amber-deep);
  line-height: 1;
  margin-bottom: 14px;
}

.card-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.card-title-sm {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  margin-top: 14px;
}

.card-body {
  font-size: 14.5px;
  color: var(--ink2);
  line-height: 1.6;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}


/* ── 9. THE DIFFERENCE ───────────────────────────────────── */

.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.diff-left .section-heading {
  margin-bottom: 16px;
}

.diff-body {
  font-size: 16px;
  color: var(--ink2);
  line-height: 1.7;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.check-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(224, 137, 74, 0.16);
  flex-shrink: 0;
}

.check-item > span:last-child {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}


/* ── 10. PRIVACY ─────────────────────────────────────────── */

.privacy-footnote {
  text-align: center;
  font-size: 13px;
  color: var(--ink3);
  margin-top: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}


/* ── 11. MISSION ─────────────────────────────────────────── */

.mission-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.mission-wordmark {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: #F4EEE3;
}

.mission-heading {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: #F4EEE3;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 24px;
}

.mission-body {
  font-size: 16px;
  color: rgba(244, 238, 227, 0.75);
  line-height: 1.8;
  text-align: center;
}

.mission-body + .mission-body {
  margin-top: 20px;
}

.section--dark .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* ── 12. DOWNLOAD ────────────────────────────────────────── */

.download-sub {
  font-size: 16px;
  color: var(--ink2);
  margin-top: 12px;
}

.download-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.download-platform {
  font-size: 12px;
  color: var(--ink3);
}

.download-footnote {
  font-size: 12px;
  color: var(--ink3);
  margin-top: 32px;
  max-width: 480px;
  line-height: 1.6;
}


/* ── 13. FOOTER ──────────────────────────────────────────── */

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

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px var(--pad);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.footer-wordmark {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: rgba(244, 238, 227, 0.9);
}

.footer-tagline {
  font-size: 13px;
  color: rgba(244, 238, 227, 0.5);
  line-height: 1.5;
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
}

.footer-link {
  font-size: 13px;
  color: rgba(244, 238, 227, 0.6);
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: rgba(244, 238, 227, 0.9);
}

.footer-copy {
  font-size: 13px;
  color: rgba(244, 238, 227, 0.4);
}


/* ── 14. ANIMATIONS ──────────────────────────────────────── */

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0);   opacity: 0.45; }
  50%       { transform: translateY(6px); opacity: 0.9; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .orb-wrap {
    animation: breathe 4.6s ease-in-out infinite;
  }

  .scroll-hint {
    animation: scrollBounce 2.2s ease-in-out infinite;
  }

  .hero-tagline,
  .hero-subtitle,
  .hero-cta-wrap {
    animation: fadeUp 0.7s ease-out both;
  }

  .hero-subtitle    { animation-delay: 0.1s; }
  .hero-cta-wrap    { animation-delay: 0.2s; }
}


/* ── 15. RESPONSIVE ──────────────────────────────────────── */

/* Tablet: 640px + */
@media (min-width: 640px) {
  :root {
    --pad: 32px;
  }

  .hero-tagline {
    font-size: 42px;
  }

  .section {
    padding: 96px 0;
  }

  .cards-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .diff-grid {
    gap: 48px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding: 48px var(--pad);
  }

  /* Hamburger hidden, desktop nav shown */
  .nav-desktop {
    display: flex;
  }

  .nav-toggle {
    display: none !important;
  }

  .nav-menu {
    display: none !important;
  }

  .mission-heading {
    font-size: 36px;
  }
}

/* Desktop: 1024px + */
@media (min-width: 1024px) {
  :root {
    --pad: var(--pad-lg);
  }

  .hero {
    padding: 96px var(--pad) 80px;
  }

  .hero-tagline {
    font-size: 56px;
  }

  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .diff-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .mission-heading {
    font-size: 38px;
  }
}

/* Mobile: max 639px */
@media (max-width: 639px) {
  /* Show hamburger, hide desktop nav */
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    font-size: 30px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .mission-heading {
    font-size: 28px;
  }
}
