/*
Theme Name: The Companion
Theme URI: https://thecompanionapp.com
Author: Little Red Jet
Author URI: https://littleredjet.com
Description: A calm, ad-free landing page theme for The Companion — an Islamic companion app for the Qurʾān, prayer, qibla, duʿāʾ, hadith and a cited AI assistant. Includes a one-page front page and a Privacy Policy page template. Set your App Store / Google Play links and contact email in Appearance → Customize → The Companion.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-companion
Tags: landing-page, one-column, custom-colors, full-width-template
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --bg: #F7F4EE;
  --bg-2: #EFE9DC;
  --paper: #FDFBF6;
  --ink: #1A2620;
  --ink-2: #3C4843;
  --ink-3: #6E776F;
  --ink-4: #9AA39B;
  --emerald: #0F4D3A;
  --emerald-2: #1F6F4E;
  --emerald-deep: #082E22;
  --emerald-soft: #D7E4D9;
  --gold: #B08A3E;
  --gold-soft: #E8D9B0;
  --gold-deep: #8B6B2E;
  --red: #B84A3E;
  --line: rgba(26, 38, 32, 0.08);
  --line-2: rgba(26, 38, 32, 0.14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
em { font-style: italic; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--emerald); display: grid; place-items: center; flex-shrink: 0; }
.brand-name { font-family: 'Fraunces', serif; font-size: 20px; letter-spacing: -0.01em; }
.brand-name em { color: var(--emerald); }
.brand-name .the { font-style: italic; color: var(--gold-deep); font-size: 14px; margin-right: 3px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14px; color: var(--ink-2); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--emerald); }
.nav-links a.nav-cta { background: var(--emerald); color: var(--gold-soft); padding: 10px 20px; border-radius: 100px; font-size: 13px; font-weight: 600; }
.nav-links a.nav-cta:hover { background: var(--emerald-2); color: var(--paper); }
@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: 80px 0 90px; }
.hero::before {
  content: ""; position: absolute; top: -180px; right: -160px; width: 560px; height: 560px;
  border-radius: 50%; background: radial-gradient(circle, rgba(176,138,62,0.16), transparent 65%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; bottom: -220px; left: -180px; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle, rgba(15,77,58,0.08), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 0.86fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--emerald); font-weight: 700; margin-bottom: 22px;
  background: var(--emerald-soft); padding: 7px 14px; border-radius: 100px;
}
.hero h1 {
  font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--emerald); }
.hero .lead { font-size: 18px; color: var(--ink-2); max-width: 480px; margin-bottom: 18px; line-height: 1.6; }
.hero .ar-bismillah { font-family: 'Amiri', serif; font-size: 26px; color: var(--gold-deep); direction: rtl; margin-bottom: 30px; }
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 11px; background: var(--ink); color: var(--paper);
  padding: 11px 20px 11px 18px; border-radius: 14px; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 22px -10px rgba(26,38,32,0.5);
}
.badge:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(26,38,32,0.55); }
.badge .b-sub { font-size: 10px; opacity: 0.78; letter-spacing: 0.04em; }
.badge .b-main { font-family: 'Fraunces', serif; font-size: 18px; line-height: 1.1; margin-top: 1px; }
.badge svg { flex-shrink: 0; }
.hero-note { font-size: 13px; color: var(--ink-3); margin-top: 18px; display: flex; align-items: center; gap: 8px; }
.hero-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero-phone-stage { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-phone-stage::before {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(215,228,217,0.7), transparent 68%); z-index: 0;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 50px; }
  .hero .lead, .eyebrow { margin-left: auto; margin-right: auto; }
  .store-badges, .hero-note { justify-content: center; }
  .hero-phone-stage { order: 2; }
}

/* ============================================================
   PHONE MOCKUP
   ============================================================ */
.phone {
  width: 300px; height: 650px; background: #0B1712; border-radius: 44px; padding: 9px;
  box-shadow: 0 50px 90px -30px rgba(8,46,34,0.55), 0 24px 48px -16px rgba(0,0,0,0.3);
  position: relative; flex-shrink: 0; z-index: 1;
}
.phone::before { content: ""; position: absolute; top: 19px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #0B1712; border-radius: 14px; z-index: 10; }
.screen { width: 100%; height: 100%; background: var(--paper); border-radius: 36px; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.status { padding: 15px 28px 6px; display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--ink); flex-shrink: 0; }
.status.light { color: #fff; }
.status .dots { letter-spacing: 2px; }

.scr-prayer { flex: 1; overflow: hidden; }
.prayer-hero { background: linear-gradient(160deg, #0a2e22 0%, #0F4D3A 100%); color: var(--paper); padding: 22px 22px 26px; position: relative; overflow: hidden; }
.prayer-hero::before { content: ""; position: absolute; top: -50px; right: -50px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(176,138,62,0.25), transparent 70%); }
.prayer-hero .loc { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 9px; font-weight: 600; }
.prayer-hero .next-lbl { font-family: 'Fraunces', serif; font-style: italic; font-size: 13px; color: rgba(232,217,176,0.8); margin-bottom: 5px; }
.prayer-hero .next-name { font-family: 'Fraunces', serif; font-size: 38px; font-weight: 300; letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px; }
.prayer-hero .next-name em { font-style: italic; color: var(--gold-soft); }
.prayer-hero .next-time { font-family: 'Fraunces', serif; font-style: italic; font-size: 19px; color: var(--gold-soft); }
.prayer-hero .countdown { margin-top: 12px; font-size: 12px; color: rgba(232,217,176,0.85); }
.prayer-hero .countdown strong { color: var(--gold-soft); font-weight: 600; }
.prayer-schedule { padding: 14px 22px; }
.prayer-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.prayer-row.active { border-left: 3px solid var(--gold); padding-left: 10px; margin-left: -10px; background: rgba(176,138,62,0.05); border-radius: 0 8px 8px 0; }
.prayer-row .p-ic { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); color: var(--emerald); display: grid; place-items: center; font-family: 'Fraunces', serif; font-style: italic; font-size: 12px; flex-shrink: 0; }
.prayer-row .p-name { flex: 1; font-family: 'Fraunces', serif; font-size: 15px; }
.prayer-row .p-time { font-family: 'Fraunces', serif; font-size: 15px; color: var(--ink-2); }
.prayer-row.active .p-time { color: var(--gold-deep); font-weight: 500; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 30px 0; }
.trust-item { flex: 1; min-width: 150px; text-align: center; }
.trust-item .num { font-family: 'Fraunces', serif; font-size: 34px; color: var(--emerald); font-weight: 400; letter-spacing: -0.02em; }
.trust-item .num em { font-style: italic; color: var(--gold); }
.trust-item .lbl { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-top: 4px; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-head .tag { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 16px; }
.section-head h2 { font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 16px; }
.section-head h2 em { font-style: italic; color: var(--emerald); }
.section-head p { font-size: 17px; color: var(--ink-2); line-height: 1.6; }

/* ============================================================
   FEATURE GRID
   ============================================================ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -28px rgba(15,77,58,0.35); border-color: var(--line-2); }
.feature .f-ic {
  width: 52px; height: 52px; border-radius: 15px; background: var(--emerald-soft); color: var(--emerald);
  display: grid; place-items: center; margin-bottom: 20px; font-family: 'Amiri', serif; font-size: 24px;
}
.feature.gold .f-ic { background: var(--gold-soft); color: var(--gold-deep); }
.feature h3 { font-family: 'Fraunces', serif; font-size: 21px; font-weight: 500; margin-bottom: 9px; letter-spacing: -0.01em; }
.feature h3 em { font-style: italic; color: var(--emerald); }
.feature p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 880px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ============================================================
   SHOWCASE
   ============================================================ */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase + .showcase { margin-top: 110px; }
.showcase.reverse .sc-text { order: 2; }
.sc-text .tag { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 16px; }
.sc-text h2 { font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 18px; }
.sc-text h2 em { font-style: italic; color: var(--emerald); }
.sc-text p { font-size: 16.5px; color: var(--ink-2); line-height: 1.65; margin-bottom: 16px; }
.sc-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 13px; }
.sc-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.sc-list .ck { width: 22px; height: 22px; border-radius: 50%; background: var(--emerald); color: var(--gold-soft); display: grid; place-items: center; flex-shrink: 0; font-size: 12px; font-weight: 700; margin-top: 1px; }
.sc-stage { display: flex; justify-content: center; position: relative; }
.sc-stage::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,217,176,0.5), transparent 68%); z-index: 0;
}
@media (max-width: 880px) {
  .showcase { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .showcase.reverse .sc-text { order: 0; }
  .sc-list { text-align: left; max-width: 360px; margin-left: auto; margin-right: auto; }
}

/* embedded mini screens */
.home { flex: 1; padding: 6px 16px 16px; overflow: hidden; }
.home-greet { padding: 12px 2px 14px; }
.home-greet .salam { font-family: 'Amiri', serif; font-size: 15px; color: var(--emerald); direction: rtl; margin-bottom: 3px; }
.home-greet .name { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 400; }
.home-greet .name em { font-style: italic; color: var(--emerald); }
.prayer-card { background: linear-gradient(135deg, var(--emerald-deep), var(--emerald)); color: var(--paper); border-radius: 16px; padding: 16px; margin-bottom: 13px; position: relative; overflow: hidden; }
.prayer-card::before { content: ""; position: absolute; top: -30px; right: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(176,138,62,0.3), transparent 70%); }
.prayer-card .lbl { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.6; margin-bottom: 8px; font-weight: 600; }
.prayer-card .n-name { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 400; letter-spacing: -0.015em; }
.prayer-card .n-name em { font-style: italic; color: var(--gold-soft); }
.prayer-card .n-time { font-family: 'Fraunces', serif; font-style: italic; font-size: 15px; color: var(--gold-soft); margin-top: 3px; }
.ai-search { background: var(--paper); border: 1px solid var(--line-2); border-radius: 13px; padding: 11px 13px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ai-search .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--emerald); color: var(--gold-soft); display: grid; place-items: center; font-family: 'Amiri', serif; font-size: 10px; flex-shrink: 0; }
.ai-search .txt { flex: 1; font-size: 11.5px; color: var(--ink-3); }
.ai-search .txt strong { color: var(--ink); font-weight: 600; }
.verse-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.verse-card .vtag { font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 600; }
.verse-card .ar { font-family: 'Amiri', serif; font-size: 17px; direction: rtl; line-height: 1.9; color: var(--ink); margin-bottom: 6px; }
.verse-card .tr { font-family: 'Fraunces', serif; font-style: italic; font-size: 11.5px; color: var(--ink-2); line-height: 1.5; margin-bottom: 6px; }
.verse-card .ref { font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--emerald); font-weight: 600; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.quick-btn { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 11px 3px; text-align: center; font-size: 8.5px; color: var(--ink-2); letter-spacing: 0.04em; font-weight: 500; }
.quick-btn .q-ic { font-family: 'Fraunces', serif; font-style: italic; font-size: 16px; color: var(--emerald); margin-bottom: 3px; line-height: 1; }

.scr-ai { flex: 1; padding: 14px 16px; overflow: hidden; display: flex; flex-direction: column; }
.ai-top { text-align: center; padding: 6px 0 16px; }
.ai-top .tag { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--emerald); font-weight: 700; margin-bottom: 7px; }
.ai-top h4 { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }
.ai-top h4 em { font-style: italic; color: var(--emerald); }
.q-bubble { background: var(--emerald); color: var(--paper); padding: 11px 13px; border-radius: 15px 15px 4px 15px; font-size: 12px; line-height: 1.5; margin-left: 34px; margin-bottom: 14px; }
.a-header { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.a-header .adot { width: 24px; height: 24px; border-radius: 50%; background: var(--emerald); color: var(--gold-soft); display: grid; place-items: center; font-family: 'Amiri', serif; font-size: 11px; }
.a-header .nm { font-family: 'Fraunces', serif; font-style: italic; font-size: 12px; color: var(--emerald); }
.a-header .badge2 { font-size: 8px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); background: var(--gold-soft); padding: 3px 7px; border-radius: 100px; font-weight: 700; }
.a-body { font-family: 'Fraunces', serif; font-size: 13px; line-height: 1.55; color: var(--ink); margin-bottom: 12px; }
.evidence-card { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 11px; padding: 12px 13px; }
.evidence-card .e-type { font-size: 8px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.evidence-card .ar { font-family: 'Amiri', serif; font-size: 15px; line-height: 1.9; direction: rtl; margin-bottom: 6px; }
.evidence-card .src { font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--emerald); font-weight: 600; }

/* ============================================================
   VALUES
   ============================================================ */
.values { background: linear-gradient(165deg, #0a2e22 0%, var(--emerald) 55%, var(--emerald-2) 100%); color: var(--paper); position: relative; overflow: hidden; }
.values::before { content: ""; position: absolute; top: -120px; right: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(176,138,62,0.22), transparent 65%); }
.values .section-head h2 { color: var(--paper); }
.values .section-head h2 em { color: var(--gold-soft); }
.values .section-head .tag { color: var(--gold-soft); }
.values .section-head p { color: rgba(247,244,238,0.78); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 1; }
.value-card { background: rgba(253,251,246,0.06); border: 1px solid rgba(232,217,176,0.18); border-radius: 20px; padding: 28px 24px; }
.value-card .v-ic { font-family: 'Fraunces', serif; font-style: italic; font-size: 26px; color: var(--gold-soft); margin-bottom: 14px; }
.value-card h3 { font-family: 'Fraunces', serif; font-size: 19px; font-weight: 500; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: rgba(247,244,238,0.74); line-height: 1.6; }
@media (max-width: 760px) { .values-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CTA
   ============================================================ */
.cta { text-align: center; padding: 110px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 700px; height: 700px; max-width: 120vw; border-radius: 50%; background: radial-gradient(circle, rgba(215,228,217,0.6), transparent 62%); pointer-events: none; }
.cta-mark { width: 72px; height: 72px; border-radius: 20px; background: var(--emerald); display: grid; place-items: center; margin: 0 auto 28px; position: relative; z-index: 1; box-shadow: 0 16px 36px -14px rgba(15,77,58,0.5); }
.cta h2 { font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 16px; position: relative; z-index: 1; }
.cta h2 em { font-style: italic; color: var(--emerald); }
.cta p { font-size: 18px; color: var(--ink-2); max-width: 460px; margin: 0 auto 32px; position: relative; z-index: 1; }
.cta .store-badges { justify-content: center; position: relative; z-index: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--emerald-deep); color: rgba(247,244,238,0.7); padding: 56px 0 36px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(232,217,176,0.14); }
.footer-brand { max-width: 320px; }
.footer-brand .brand-mark { background: rgba(232,217,176,0.12); }
.footer-brand .brand-name { color: var(--paper); }
.footer-brand .brand-name em { color: var(--gold-soft); }
.footer-brand .brand-name .the { color: var(--gold-soft); }
.footer-brand p { font-size: 13.5px; line-height: 1.6; margin-top: 14px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5 { font-family: 'Fraunces', serif; font-style: italic; font-size: 14px; color: var(--gold-soft); margin-bottom: 14px; font-weight: 500; }
.footer-col a { display: block; font-size: 13.5px; color: rgba(247,244,238,0.7); margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: 12.5px; color: rgba(247,244,238,0.5); }
.footer-bottom a { color: rgba(247,244,238,0.75); }
.footer-bottom a:hover { color: var(--paper); }
.footer-bottom .ar { font-family: 'Amiri', serif; font-size: 15px; color: var(--gold-soft); direction: rtl; }

/* ============================================================
   PRIVACY / DOCUMENT PAGES
   ============================================================ */
.doc-wrap { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.doc-hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.doc-hero::before { content: ""; position: absolute; top: -160px; right: -140px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(176,138,62,0.13), transparent 65%); pointer-events: none; }
.doc-hero .doc-wrap { position: relative; z-index: 1; }
.doc-hero .tag { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 16px; }
.doc-hero h1 { font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(38px, 6vw, 56px); line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 16px; }
.doc-hero h1 em { font-style: italic; color: var(--emerald); }
.doc-hero .updated { font-size: 13px; color: var(--ink-3); }

.tldr { background: linear-gradient(160deg, var(--emerald), var(--emerald-2)); color: var(--paper); border-radius: 22px; padding: 30px 30px; margin: 8px 0 44px; position: relative; overflow: hidden; }
.tldr::before { content: ""; position: absolute; top: -50px; right: -50px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(176,138,62,0.28), transparent 70%); }
.tldr h2 { font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; font-size: 22px; color: var(--gold-soft); margin-bottom: 14px; position: relative; z-index: 1; }
.tldr ul { list-style: none; display: flex; flex-direction: column; gap: 11px; position: relative; z-index: 1; }
.doc-body .tldr ul li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: rgba(247,244,238,0.95); padding-left: 0; }
.doc-body .tldr ul li::before { content: none; }
.tldr .ck { width: 22px; height: 22px; border-radius: 50%; background: rgba(232,217,176,0.18); color: var(--gold-soft); display: grid; place-items: center; flex-shrink: 0; font-size: 12px; font-weight: 700; margin-top: 1px; }

.doc-body { padding-bottom: 80px; }
.doc-body section { margin-bottom: 36px; }
.doc-body h2 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 24px; letter-spacing: -0.015em; margin-bottom: 12px; }
.doc-body h2 .n { font-style: italic; color: var(--gold); font-size: 18px; margin-right: 8px; }
.doc-body p { font-size: 16px; color: var(--ink-2); line-height: 1.7; margin-bottom: 12px; }
.doc-body a { color: var(--emerald); }
.doc-body a:hover { text-decoration: underline; }
.doc-body ul { margin: 4px 0 12px; padding-left: 4px; list-style: none; }
.doc-body ul li { font-size: 16px; color: var(--ink-2); line-height: 1.65; margin-bottom: 9px; padding-left: 22px; position: relative; }
.doc-body ul li::before { content: "·"; position: absolute; left: 6px; top: -1px; color: var(--gold); font-weight: 700; font-size: 20px; }
.doc-body strong { color: var(--ink); font-weight: 600; }
.doc-body .rule { height: 1px; background: var(--line); margin: 8px 0 36px; border: none; }

.contact-card { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 16px; padding: 24px 26px; }
.contact-card h2 { margin-bottom: 8px; }
.contact-card p { margin-bottom: 6px; }
.contact-card .email { font-family: 'Fraunces', serif; font-size: 18px; }
.contact-card a { color: var(--emerald); }
