/* ===========================================================
   Path Pocket Memories — shared site styles
   One stylesheet for every page. Edit colors here once.
   =========================================================== */

:root {
  --brand:       #E76F00;  /* orange — buttons, wordmark, large accents */
  --brand-dark:  #C75D00;  /* button hover */
  --brand-text:  #B05400;  /* darker orange for inline text links (readable) */
  --ink:         #1f2328;  /* main text */
  --muted:       #5b626b;  /* secondary text */
  --paper:       #fff8f1;  /* warm tint for alternating sections */
  --green-bg:    #eefaf0;  /* free-to-use banner */
  --green-line:  #b7e3c0;
  --green-text:  #1d7a3a;
  --line:        #e9e6e2;  /* hairline dividers */
  --card:        #ffffff;
  --shadow:      0 10px 30px rgba(40, 28, 12, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--card);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand-text); }

/* ---------- Layout helpers ---------- */
.wrap { max-width: 960px; margin: 0 auto; padding: 0 22px; }
.prose { max-width: 720px; }
.section { padding: 56px 0; }
.section.tint { background: var(--paper); }
.center { text-align: center; }

/* ---------- Site header / nav ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 16px 22px;
  max-width: 960px;
  margin: 0 auto;
}
.wordmark {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: 0.2px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 6px 2px;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--brand-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 14px 26px;
  border-radius: 12px;
  border: 2px solid var(--brand);
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-secondary {
  display: inline-block;
  background: #fff;
  color: var(--brand-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 14px 26px;
  border-radius: 12px;
  border: 2px solid var(--brand);
}
.btn-secondary:hover { background: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Headings & text ---------- */
h1 { font-size: 2.5rem; line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.5px; }
h2 { font-size: 1.7rem; line-height: 1.25; margin: 0 0 12px; }
h3 { font-size: 1.25rem; margin: 0 0 6px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 12px;
}
.lead { font-size: 1.2rem; color: var(--muted); }
.updated { color: var(--muted); font-size: 0.95rem; }

/* ---------- Home hero ---------- */
.hero { padding: 64px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: 2.9rem; }

/* Signature element: the "Today's question" card */
.q-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 26px;
  transform: rotate(-2deg);
  position: relative;
}
.q-card::before {
  /* a second card peeking behind, like a stack of prompts */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  transform: rotate(4deg);
  z-index: -1;
}
.q-card .q-label {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--brand); margin: 0 0 10px;
}
.q-card .q-text { font-size: 1.45rem; font-weight: 700; line-height: 1.3; margin: 0 0 18px; }
.q-card .q-mic { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 1rem; }
.q-card .mic-dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); display: inline-flex; align-items: center;
  justify-content: center; color: #fff; font-size: 1.3rem; flex: none;
}

/* ---------- Steps (numbered, real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step .num {
  font-size: 1rem; font-weight: 800; color: #fff; background: var(--brand);
  width: 38px; height: 38px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; margin-bottom: 12px;
}

/* ---------- Free banner ---------- */
.free-card {
  background: var(--green-bg); border: 1px solid var(--green-line);
  border-radius: 14px; padding: 22px 24px;
}
.free-card .lead-strong { font-size: 1.3rem; font-weight: 800; color: var(--green-text); margin: 0 0 6px; }
.free-card p { margin: 6px 0 0; }

/* ---------- Cards / feature blocks ---------- */
.feature { margin: 0 0 30px; }
.feature h3 { color: var(--ink); }
.price-list { padding-left: 22px; }
.price-list li { margin: 6px 0; }

/* ---------- Contact card (support) ---------- */
.contact-card {
  background: var(--paper); border: 1px solid #ffd9b0;
  border-radius: 14px; padding: 20px 22px;
}
.contact-card .email { font-size: 1.3rem; font-weight: 700; }

/* ---------- Download ---------- */
.store-box {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; padding: 36px 28px; text-align: center;
}
.coming-soon {
  display: inline-block; background: #fff; color: var(--ink);
  border: 2px dashed var(--brand); border-radius: 12px;
  padding: 16px 28px; font-weight: 700; font-size: 1.1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  margin-top: 8px;
}
.footer-inner {
  max-width: 960px; margin: 0 auto; padding: 34px 22px;
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  align-items: center; justify-content: space-between;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--ink); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--brand-text); }
.footer-note { color: var(--muted); font-size: 0.92rem; }

/* ---------- Lists in prose ---------- */
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }

/* ---------- Focus visibility (accessibility) ---------- */
a:focus-visible, .btn:focus-visible, .btn-secondary:focus-visible {
  outline: 3px solid #1a73e8; outline-offset: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  body { font-size: 18px; }
  h1 { font-size: 2.1rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .q-card { transform: rotate(0deg); margin-top: 6px; }
  .q-card::before { display: none; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
