/* Dipi Media Co. site stylesheet */
:root {
  --paper: #fdf5ed;
  --paper-2: #f7e9db;
  --white: #fffdfa;
  --ink: #26221e;
  --ink-soft: #4a423b;
  --ink-muted: #6f655c;
  --brown: #7a3e0c;
  --brown-deep: #5c2e08;
  --amber: #ef9427;
  --amber-deep: #b8690f;
  --amber-soft: #fbe6c8;
  --line: #ecd9c5;
  --dark: #141210;
  --focus: #2b5fd9;
  --radius: 20px;
  --shadow: 0 14px 40px rgba(90, 50, 10, 0.10);
  --shadow-sm: 0 4px 14px rgba(90, 50, 10, 0.08);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container: 1120px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brown-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
  color: var(--brown-deep);
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); line-height: 1.06; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; color: var(--ink); }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--amber-deep); }
p { margin: 0 0 1.1em; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-muted); }
.small { font-size: 0.92rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brown); background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 14px 7px 11px; margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
.eyebrow.plain { background: transparent; border: 0; padding: 0; }
.eyebrow.plain::before { display: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--dark); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 245, 237, 0.86);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid rgba(236, 217, 197, 0.7);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 16px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown-deep); font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.brand:hover { color: var(--brown); }
.brand svg, .brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { display: inline-block; padding: 9px 14px; border-radius: 999px; color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--brown-deep); background: var(--paper-2); }
.nav-links a[aria-current="page"] { color: #fff; background: var(--brown); }
.nav-cta {
  display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--amber); color: var(--ink);
  font-weight: 600; font-size: 0.95rem; text-decoration: none; white-space: nowrap;
}
.nav-cta:hover { background: var(--amber-deep); color: #fff; }
.nav-toggle {
  display: none; background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; cursor: pointer; color: var(--ink); font: inherit; font-weight: 500;
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav-cta { display: none; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 12px; }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.actions.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 1rem;
  border: 1px solid transparent; transition: transform .12s ease, background .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-deep); color: #fff; }
.btn-secondary { background: transparent; color: var(--brown-deep); border-color: var(--line); }
.btn-secondary:hover { background: var(--white); color: var(--brown-deep); }
.btn-brown { background: var(--brown); color: #fff; }
.btn-brown:hover { background: var(--brown-deep); color: #fff; }
.btn-dark {
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 9px 20px 10px; border-radius: 14px; background: var(--dark); color: #fff; text-decoration: none;
  line-height: 1.1; min-height: 54px; transition: transform .12s ease, background .15s ease;
}
.btn-dark small { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.02em; opacity: .85; }
.btn-dark strong { font-size: 1.15rem; font-weight: 600; }
.btn-dark:hover { background: #2a2622; color: #fff; }
.btn-dark:active { transform: translateY(1px); }
.on-dark .btn-dark { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); }
.on-dark .btn-dark:hover { background: rgba(255,255,255,0.2); }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 0; overflow: hidden; }
.hero-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-center h1 { max-width: 20ch; }
.hero-center .lede { margin: 0.4rem auto 0; max-width: 58ch; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; margin-top: 1.3rem; font-size: 0.92rem; color: var(--ink-muted); }
.hero-proof .stars { color: var(--amber); letter-spacing: 1px; }
.hero-proof a { color: var(--ink-soft); }
.hero-phone-wrap {
  width: 100%; margin-top: clamp(36px, 6vw, 64px); padding-bottom: 0;
  background: radial-gradient(60% 60% at 50% 100%, var(--amber-soft) 0%, rgba(251, 230, 200, 0) 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Sections */
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section.alt { background: var(--paper-2); }
.section-head { max-width: 62ch; margin-bottom: 2.4rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-top: 0.4rem; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--amber-soft); color: var(--brown); display: grid; place-items: center; }
.card .icon svg { width: 22px; height: 22px; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; margin: 0; }
@media (max-width: 620px) { .facts { grid-template-columns: 1fr; } }
.facts div { border-top: 1px solid var(--line); padding-top: 10px; }
.facts dt { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); font-weight: 700; }
.facts dd { margin: 4px 0 0; font-weight: 500; }

/* Phone mockup */
.phone {
  width: 300px; max-width: 86vw; aspect-ratio: 9 / 19.2; margin: 0 auto; position: relative;
  border-radius: 48px; background: #0e0c0a; padding: 12px;
  box-shadow: 0 40px 80px rgba(60, 30, 5, .28), inset 0 0 0 2px #2b2521;
}
.phone.small { width: 250px; border-radius: 40px; }
.phone::before {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; border-radius: 999px; background: #0e0c0a; z-index: 2;
}
.phone .screen {
  height: 100%; border-radius: 38px; background: linear-gradient(180deg, #fffaf3 0%, #fbeee0 100%);
  padding: 58px 20px 22px; display: flex; flex-direction: column; gap: 12px; overflow: hidden;
}
.phone.small .screen { border-radius: 30px; padding-top: 52px; }
.phone .screen .top { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--ink-muted); font-weight: 500; }
.phone .screen .greet { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; color: var(--brown-deep); line-height: 1.2; }
.phone .screen .chip { align-self: flex-start; font-size: 0.66rem; padding: 5px 10px; border-radius: 999px; background: var(--amber-soft); color: var(--brown); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.phone .screen .reading { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 6px; }
.phone .screen .ref { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--brown-deep); }
.phone .screen .verse { font-family: var(--font-display); font-size: 0.84rem; line-height: 1.5; color: var(--ink); margin: 0; }
.phone .screen .bar { height: 8px; border-radius: 4px; background: #efe2d1; }
.phone .screen .bar.short { width: 60%; }
.phone .screen .play { margin-top: auto; height: 46px; border-radius: 999px; background: var(--brown); color: #fff; display: grid; place-items: center; font-size: 0.8rem; font-weight: 600; }
.phone .screen .tabs { display: flex; justify-content: space-around; padding-top: 6px; }
.phone .screen .tabs i { width: 22px; height: 6px; border-radius: 3px; background: #e3d3bf; }
.phone .screen .tabs i:first-child { background: var(--amber); }

/* Feature list */
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.features li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.features .dot { width: 28px; height: 28px; border-radius: 50%; background: var(--amber-soft); color: var(--brown); display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; margin-top: 2px; }

/* Channel cards */
.channel-card { display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: start; }
.channel-card .avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid var(--amber-soft); }
.channel-card h3 { margin: 0 0 2px; font-size: 1.25rem; }
.channel-card .handle { color: var(--ink-muted); font-size: 0.92rem; margin: 0 0 8px; }
.channel-card .stats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.86rem; color: var(--ink-soft); font-weight: 500; margin: 0 0 10px; }
.channel-card .stats span::before { content: "•"; color: var(--amber); margin-right: 6px; }
.channel-card p { margin-bottom: 12px; }
.channel-card .yt-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--dark); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.channel-card .yt-link:hover { background: #2a2622; color: #fff; }
.channel-card .yt-link svg { width: 18px; height: 18px; fill: #ff0000; background: #fff; border-radius: 4px; padding: 2px; }
@media (max-width: 520px) { .channel-card { grid-template-columns: 1fr; } }

/* Verse quote */
.verse-quote { text-align: center; padding: clamp(40px, 6vw, 72px) 0; }
.verse-quote blockquote { margin: 0 auto; max-width: 30ch; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.3; color: var(--brown-deep); }
.verse-quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 0.95rem; color: var(--ink-muted); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brown-deep), var(--brown)); color: #fff; padding: clamp(56px, 7vw, 96px) 0; text-align: center; }
.cta-band h2 { color: #fff; max-width: 22ch; margin: 0 auto 0.6rem; }
.cta-band h2 em { color: var(--amber); }
.cta-band .lede { color: rgba(255,255,255,0.82); margin: 0 auto 1.4rem; }
.cta-band .actions { justify-content: center; margin-top: 0; }
.cta-band .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.35); }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,0.12); color: #fff; }
.cta-band .small { color: rgba(255,255,255,0.7); margin-top: 1.2rem; }

/* Legal / prose pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.55rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.prose th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); }
.notice { background: var(--amber-soft); border: 1px solid #f0d3a6; border-radius: 14px; padding: 14px 18px; font-size: 0.95rem; }

/* Inner page hero */
.page-hero { padding: clamp(44px, 7vw, 88px) 0 clamp(28px, 4vw, 52px); }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.page-hero + .section { padding-top: clamp(24px, 4vw, 48px); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
address { font-style: normal; line-height: 1.7; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--paper-2); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-body); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--brown-deep); text-decoration: underline; }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.88rem; color: var(--ink-muted); }

/* Utilities */
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .btn-dark { transition: none; } }
