/* Flee to Allah: standalone pages (/fleetoallah/ and /fleetoallah/privacy/).
   Plain static files like public/privacy-policy.html, so the look matches the
   app (Andalusian lapis and gold) rather than the site's olive theme. The
   lattice is eight-pointed stars only. */
:root {
  --night: #0B1430;
  --night-2: #12205A;
  --lapis: #1B2A6B;
  --gold: #E2B24A;
  --gold-soft: #F1D48C;
  --gold-deep: #B8862A;
  --cream: #F6EEDC;
  --cream-soft: #CFC6B3;
  --cream-faint: #9A97A6;
  --line: rgba(226, 178, 74, 0.28);
  --panel: rgba(16, 28, 78, 0.55);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--night);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23E2B24A' stroke-opacity='.09' stroke-width='1'%3E%3Cpath d='M40 27L43.8 30.8L49.2 30.8L49.2 36.2L53 40L49.2 43.8L49.2 49.2L43.8 49.2L40 53L36.2 49.2L30.8 49.2L30.8 43.8L27 40L30.8 36.2L30.8 30.8L36.2 30.8Z'/%3E%3Cpath d='M53 40H80M0 40H27M40 0V27M40 53V80'/%3E%3Cpath d='M0 6L6 0M74 0L80 6M80 74L74 80M6 80L0 74'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(ellipse 120% 70% at 50% 0%, var(--lapis) 0%, var(--night-2) 40%, var(--night) 85%);
  background-attachment: scroll;
  background-size: 80px 80px, 100% 100%;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

a { color: var(--gold-soft); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--gold); color: var(--night); padding: 8px 14px; z-index: 10; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Top bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-family: var(--serif); font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.bar nav { display: flex; gap: 18px; font-size: 15px; }
.bar nav a { color: var(--cream-soft); text-decoration: none; }
.bar nav a:hover { color: var(--gold); }

/* Headings and ornaments */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--cream); line-height: 1.15; margin: 0; letter-spacing: 0.005em; }
.eyebrow { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.rule { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px auto; color: var(--gold); }
.rule::before, .rule::after { content: ""; height: 1px; width: 48px; background: linear-gradient(90deg, transparent, var(--gold)); }
.rule::after { transform: scaleX(-1); }
.rule svg { width: 14px; height: 14px; }
.rule.left { justify-content: flex-start; margin-left: 0; }
.rule.left::before { display: none; }

/* Hero */
.hero { text-align: center; padding: 40px 0 0; }
.hero-icon { position: relative; width: 132px; height: 132px; margin: 0 auto 26px; }
.hero-icon img { width: 132px; height: 132px; border-radius: 30px; box-shadow: 0 0 0 1px rgba(226,178,74,.35), 0 18px 50px rgba(0,0,0,.5), 0 0 80px rgba(226,178,74,.22); }
.hero h1 { font-size: clamp(38px, 9vw, 72px); background: linear-gradient(180deg, #FBEFC8 0%, var(--gold) 55%, var(--gold-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 3.6vw, 24px); color: var(--cream-soft); margin: 6px 0 0; }
.hero .lede { max-width: 620px; margin: 22px auto 0; font-size: 18px; color: var(--cream); }
.soon { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 11px 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--gold-soft); font-size: 15px; letter-spacing: 0.02em; }
.soon svg { width: 16px; height: 16px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 0; margin: 22px 0 0; font-size: 14px; color: var(--cream-soft); }
.facts li::before { content: "✦"; color: var(--gold); margin-right: 8px; font-size: 11px; }

.art { margin: 44px auto 0; max-width: 1200px; padding: 0 16px; }
.art img { width: 100%; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.45); }

/* Arch frame used for section intros */
.intro { text-align: center; max-width: 700px; margin: 0 auto; }
.intro h2 { font-size: clamp(30px, 6vw, 46px); }
.intro p { color: var(--cream-soft); margin: 0; }

section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 96px 0; } }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; margin: 0; }

/* Feature rows */
.features { display: grid; gap: 72px; margin-top: 56px; }
.feature { display: grid; gap: 28px; align-items: center; }
.feature .shot { justify-self: center; width: min(280px, 78vw); }
.feature .shot img { width: 100%; border-radius: 30px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 6px rgba(11,20,48,.6); }
.feature h3 { font-size: clamp(26px, 5vw, 36px); }
.feature p { color: var(--cream-soft); margin: 0 0 12px; max-width: 520px; }
.feature .num { font-family: var(--serif); color: var(--gold); font-size: 15px; letter-spacing: .14em; }
@media (min-width: 820px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feature:nth-child(even) .shot { order: 2; }
}

/* Looks list */
.looks { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.looks li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--cream); background: rgba(11,20,48,.5); }
.looks li.free { border-color: var(--gold); color: var(--gold-soft); }

/* Small cards */
.cards { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--panel); }
.card h3 { font-size: 20px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--cream-soft); font-size: 16px; }

/* Questions */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-family: var(--serif); font-size: 20px; color: var(--cream); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; color: var(--gold); font-size: 26px; font-family: var(--sans); font-weight: 300; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 20px; color: var(--cream-soft); }

/* Contact panel */
.contact { text-align: center; max-width: 640px; margin: 0 auto; border: 1px solid var(--line); border-radius: 200px 200px 22px 22px; padding: 64px 22px 40px; background: linear-gradient(180deg, rgba(27,42,107,.7), rgba(11,20,48,.7)); }
.contact h2 { font-size: clamp(28px, 6vw, 40px); }
.contact .mail { display: inline-block; margin-top: 18px; padding: 13px 26px; border-radius: 999px; background: linear-gradient(180deg, var(--gold-soft), var(--gold) 60%, var(--gold-deep)); color: var(--night); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact .mail:hover { filter: brightness(1.06); color: var(--night); }
.contact p { color: var(--cream-soft); }

footer { padding-top: 40px; padding-bottom: 48px; text-align: center; color: var(--cream-faint); font-size: 14px; }
footer a { color: var(--cream-soft); }
footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 10px; }

/* Privacy page */
.policy { max-width: 720px; margin: 0 auto; padding: 40px 0 72px; }
.policy h1 { font-size: clamp(34px, 7vw, 52px); }
.policy .updated { color: var(--gold); font-size: 15px; margin: 8px 0 0; }
.policy h2 { font-size: 24px; margin: 40px 0 10px; color: var(--gold-soft); }
.policy p { margin: 0 0 14px; color: var(--cream); }
.policy .lead { font-size: 19px; }
.policy .back { display: inline-block; margin-top: 36px; }
