/* BenTem Studio — shared styles
   Palette mirrors the PockeTrip app (src/theme.ts) for a consistent feel. */
:root {
  --paper:   #F4EDE0;
  --paper2:  #FBF6EC;
  --ink:     #1F2937;
  --ink-soft:#5E6A78;
  --line:    #E5DCC8;
  --primary: #D9663D;
  --sage:    #5B8C7A;
  --mustard: #E5A437;
  --sky:     #9CBFD6;
  --rose:    #E89A8B;
  --shadow:  0 14px 40px rgba(31, 41, 55, 0.08);
  --radius:  22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(156, 191, 214, 0.22), transparent 70%),
    radial-gradient(820px 480px at 100% 0%, rgba(91, 140, 122, 0.16), transparent 65%),
    var(--paper2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 22px; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(251, 246, 236, 0.82);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .pin { width: 26px; height: 26px; display: block; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  color: var(--ink-soft); font-weight: 700; font-size: 15px;
  padding: 8px 14px; border-radius: 12px;
}
.nav a:hover { color: var(--ink); background: var(--paper); text-decoration: none; }
.nav a.active { color: var(--primary); background: rgba(217, 102, 61, 0.10); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 16px; line-height: 1;
  padding: 14px 22px; border-radius: 16px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .08s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(217,102,61,0.28); }
.btn-ghost  { background: var(--paper2); color: var(--ink); border-color: var(--line); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.eyebrow {
  display: inline-block; font-weight: 800; letter-spacing: 1.5px; font-size: 12px;
  color: var(--sage); text-transform: uppercase; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.5px; }
.hero h1 .accent { color: var(--primary); }
.hero p.lead { font-size: 19px; color: var(--ink-soft); margin: 0 0 26px; max-width: 30em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Phone mock ---------- */
.phone {
  justify-self: center;
  width: 280px; height: 560px; border-radius: 44px;
  background: #11151c; padding: 12px;
  box-shadow: var(--shadow), 0 30px 60px rgba(31,41,55,0.18);
  position: relative;
}
.phone::before {
  content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #11151c; border-radius: 0 0 16px 16px; z-index: 3;
}
.phone-screen { width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: var(--paper2); position: relative; }
.phone-screen svg,
.phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sections ---------- */
section.block { padding: 40px 0; }
.section-head { text-align: center; max-width: 36em; margin: 0 auto 34px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 10px; letter-spacing: -0.4px; }
.section-head p { color: var(--ink-soft); font-size: 17px; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--paper2); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card .ic {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; margin-bottom: 14px;
}
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- App feature strip ---------- */
.appstrip {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 28px;
  padding: 30px 32px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.appstrip .badge {
  width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--sage), var(--sky));
}
.appstrip .meta { flex: 1; min-width: 220px; }
.appstrip .meta h3 { margin: 0 0 4px; font-size: 22px; }
.appstrip .meta p { margin: 0; color: var(--ink-soft); }
.pill { display:inline-block; font-size:12px; font-weight:800; letter-spacing:.6px; text-transform:uppercase;
        color: var(--sage); background: rgba(91,140,122,0.12); padding: 4px 10px; border-radius: 999px; margin-top: 8px; }

/* ---------- Content pages (support / privacy) ---------- */
.page-hero { padding: 52px 0 8px; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 44px); margin: 0 0 10px; letter-spacing: -0.5px; }
.page-hero p { color: var(--ink-soft); font-size: 18px; margin: 0; max-width: 40em; }

.prose { max-width: 760px; margin: 0 auto; }
.prose .panel {
  background: var(--paper2); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow); margin: 22px 0;
}
.prose h2 { font-size: 22px; margin: 28px 0 10px; letter-spacing: -0.3px; }
.prose h3 { font-size: 17px; margin: 18px 0 6px; }
.prose p, .prose li { color: var(--ink); font-size: 16px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.muted { color: var(--ink-soft); }

.contact-row { display:flex; align-items:center; gap:14px; flex-wrap: wrap; }
.contact-row .big { font-size: 20px; font-weight: 800; }

.faq details {
  border: 1.5px solid var(--line); border-radius: 16px; background: var(--paper2);
  padding: 4px 18px; margin: 12px 0;
}
.faq summary {
  cursor: pointer; font-weight: 800; font-size: 17px; padding: 14px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--primary); font-size: 24px; font-weight: 800; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 16px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 0 50px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer .brand { font-size: 17px; }
.site-footer .fnav { display: flex; gap: 18px; }
.site-footer .fnav a, .site-footer small { color: var(--ink-soft); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .phone { order: -1; width: 240px; height: 480px; }
  .cards { grid-template-columns: 1fr; }
  .nav a.hide-sm { display: none; }
}
