/* Rhemack marketing site — shared styles */
:root {
  --navy: #0e1b33;
  --navy-2: #16264a;
  --navy-3: #1d3159;
  --gold: #c9a227;
  --gold-light: #e3c766;
  --cream: #f6f2e9;
  --cream-2: #efe9db;
  --ink: #1a2233;
  --muted: #5b6577;
  --muted-on-dark: #a9b4c9;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(14, 27, 51, 0.18);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "New York", Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 242, 233, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14, 27, 51, 0.08);
}
.nav-content { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--navy); text-decoration: none; }
.logo img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--gold); }
.nav-links .btn-gold:hover { color: var(--navy); }
.nav-links .btn { padding: 9px 18px; font-size: 14px; }
@media (max-width: 640px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); }
.on-dark .btn-outline { border-color: var(--cream); color: var(--cream); }

.appstore-badge { display: inline-block; }
.appstore-badge svg { display: block; height: 56px; width: auto; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px;
  align-items: center; padding: 72px 0 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201, 162, 39, 0.14); color: #8a6d12;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.06; letter-spacing: -0.02em; color: var(--navy); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .sub { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 540px; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero-phone { position: relative; align-self: end; }
.hero-phone img {
  width: min(320px, 80%); margin: 0 auto; border-radius: 28px 28px 0 0;
  box-shadow: 0 -8px 60px rgba(14, 27, 51, 0.25);
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 48px; text-align: center; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-dark { background: var(--navy); color: var(--cream); }
.section.section-dark h2, .section-dark h2, .section-dark h3 { color: var(--white); }
.section.section-dark p, .section.section-dark .lede, .section-dark p { color: var(--muted-on-dark); }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.section h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.01em; color: var(--navy); }
.section .lede { margin-top: 14px; font-size: 18px; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Screenshots strip ---------- */
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(240px, 62vw);
  gap: 22px; overflow-x: auto; padding: 40px 24px 16px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }
.shot { scroll-snap-align: center; }
.shot img { border-radius: 22px; box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35); }
.shot figcaption { margin-top: 12px; font-size: 14px; text-align: center; color: var(--muted-on-dark); }

/* ---------- Steps / How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--white); border-radius: var(--radius); padding: 28px 24px; border: 1px solid rgba(14,27,51,0.07); }
.step-num {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--gold); font-weight: 800; font-size: 18px; margin-bottom: 16px;
}
.step h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--navy-2); border-radius: var(--radius); padding: 26px 24px; }
.feature .icon { font-size: 26px; margin-bottom: 12px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; }

/* ---------- Guides grid ---------- */
.guides-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 48px; }
@media (max-width: 720px) { .guides-grid { grid-template-columns: 1fr; } }
.guide-card {
  display: block; background: var(--white); border: 1px solid rgba(14,27,51,0.08);
  border-radius: var(--radius); padding: 26px 26px 22px; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guide-card .tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: #8a6d12; background: rgba(201,162,39,0.13); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.guide-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.guide-card p { font-size: 15px; color: var(--muted); }
.guide-card .more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14.5px; color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 44px auto 0; }
.faq-item {
  background: var(--white); border: 1px solid rgba(14,27,51,0.08);
  border-radius: 14px; margin-bottom: 14px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-weight: 600; font-size: 17px; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--gold); flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }
.faq-item .faq-body a { color: var(--gold); font-weight: 600; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); border-radius: 24px; padding: 64px 40px; text-align: center; }
.cta h2 { color: var(--white); }
.cta p { color: var(--muted-on-dark); margin-top: 12px; }
.cta .hero-actions { justify-content: center; }
.cta .verse { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--gold-light); margin-top: 26px; }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: var(--muted-on-dark); padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid a { display: block; color: var(--muted-on-dark); text-decoration: none; font-size: 14.5px; margin-bottom: 9px; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; font-size: 18px; margin-bottom: 12px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 44px; padding-top: 24px; font-size: 13.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Guide article pages ---------- */
.article-hero { background: var(--navy); color: var(--cream); padding: 64px 0 56px; }
.article-hero .crumbs { font-size: 13.5px; margin-bottom: 18px; }
.article-hero .crumbs a { color: var(--muted-on-dark); text-decoration: none; }
.article-hero .crumbs a:hover { color: var(--gold-light); }
.article-hero h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; letter-spacing: -0.015em; color: var(--white); max-width: 820px; }
.article-hero .sub { margin-top: 16px; font-size: 18px; color: var(--muted-on-dark); max-width: 720px; }
.article { max-width: 780px; margin: 0 auto; padding: 56px 24px 24px; }
.article h2 { font-size: 27px; color: var(--navy); margin: 44px 0 14px; line-height: 1.25; }
.article h3 { font-size: 20px; color: var(--navy); margin: 30px 0 10px; }
.article p { margin-bottom: 16px; font-size: 16.5px; color: #333c4e; }
.article ul, .article ol { margin: 0 0 16px 22px; font-size: 16.5px; color: #333c4e; }
.article li { margin-bottom: 8px; }
.article .verse-quote {
  font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--navy);
  border-left: 3px solid var(--gold); padding: 6px 0 6px 20px; margin: 24px 0;
}
.article .verse-quote cite { display: block; font-style: normal; font-size: 14px; color: var(--muted); margin-top: 6px; }
.article .callout {
  background: var(--white); border: 1px solid rgba(201,162,39,0.4); border-radius: var(--radius);
  padding: 22px 24px; margin: 28px 0;
}
.article .callout strong { color: var(--navy); }
.article img.inline-shot { width: min(300px, 100%); margin: 28px auto; border-radius: 20px; box-shadow: var(--shadow); }
.article-cta { margin: 48px auto 0; max-width: 780px; padding: 0 24px 72px; }
.related { max-width: 780px; margin: 0 auto; padding: 0 24px 72px; }
.related h2 { font-size: 22px; color: var(--navy); margin-bottom: 18px; }
.related a { display: block; padding: 14px 18px; background: var(--white); border: 1px solid rgba(14,27,51,0.08); border-radius: 12px; margin-bottom: 10px; text-decoration: none; font-weight: 600; color: var(--navy); }
.related a:hover { border-color: var(--gold); }

/* ---------- Legal pages ---------- */
.article-hero .meta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22); color: var(--muted-on-dark);
  font-size: 13.5px; font-weight: 600;
}
.glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 16px; }
@media (max-width: 680px) { .glance { grid-template-columns: 1fr; } }
.glance-item { background: var(--white); border: 1px solid rgba(14,27,51,0.08); border-radius: var(--radius); padding: 20px; }
.glance-item .icon { font-size: 24px; }
.glance-item h3 { font-size: 16px; color: var(--navy); margin: 10px 0 4px; }
.glance-item p { font-size: 14px; color: var(--muted); margin: 0; }
.legal-list { counter-reset: legal; }
.legal-list h2 {
  counter-increment: legal; display: flex; align-items: baseline; gap: 12px;
}
.legal-list h2::before {
  content: counter(legal); flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--gold);
  font-size: 15px; font-weight: 800; transform: translateY(4px);
}
