/* Linoor website. Colours follow the app palette; text colours meet WCAG AA on their backgrounds.
   No JavaScript: motion uses CSS only and is switched off for visitors who prefer reduced motion. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Amiri Linoor";
  src: url("../fonts/amiri-linoor.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #f6f1e8;
  --cream-2: #efe6d8;
  --ink: #2a211b;
  --muted: #6b5f53;
  --gold-text: #7a5f30;
  --gold: #b08d57;
  --night: #141210;
  --night-2: #1e1a16;
  --night-3: #2a241e;
  --night-ink: #f3ead9;
  --night-muted: #a79c8e;
  --gold-light: #c9a66b;
  --gold-bright: #e2c48c;
  --line: rgba(176, 141, 87, 0.35);
  --line-dark: rgba(201, 166, 107, 0.22);
  --radius: 22px;
  --wrap: 1200px;
  --gutter: 16px;
  --header: 68px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gold-gradient: linear-gradient(100deg, #b08d57 0%, #e2c48c 45%, #c9a66b 70%, #f3dcae 100%);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 450;
  overflow-x: hidden;
  padding-top: calc(var(--header) + 1px);
}

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }

a { color: var(--gold-text); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }

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

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--gold-light); color: var(--night); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; color: var(--night); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-text); margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 36em; }
.small { font-size: 0.9375rem; color: var(--muted); }
.gold-text {
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}


/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 24px;
  border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn.btn-primary { background: var(--ink); color: var(--cream); }
.btn.btn-primary:hover { background: var(--night-2); color: var(--cream); }
.btn.btn-secondary { border-color: var(--gold); color: var(--ink); }
.btn.btn-secondary:hover { background: var(--cream-2); color: var(--ink); }
.btn.btn-gold { background: var(--gold-light); color: var(--night); }
.btn.btn-gold:hover { background: var(--gold-bright); color: var(--night); }
.btn.btn-ghost { border-color: rgba(201, 166, 107, 0.55); color: var(--night-ink); }
.btn.btn-ghost:hover { background: var(--night-3); color: var(--night-ink); }

/* Sections */
section { padding: 56px 0; }
@media (min-width: 960px) { section { padding: 80px 0; } }
.section-head { max-width: 46em; margin-bottom: 32px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.alt { background: var(--cream-2); }
.dark { background: var(--night); color: var(--night-ink); }
.dark .eyebrow { color: var(--gold-light); }
.dark .lead, .dark .small, .dark .muted { color: var(--night-muted); }
.dark a { color: var(--gold-light); }
.dark a:hover { color: var(--night-ink); }

/* Geometric pattern, faded towards the edges */
.pattern { position: relative; isolation: isolate; overflow: hidden; }
.pattern::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/pattern.svg") repeat; background-size: 96px 96px; opacity: 0.13;
  -webkit-mask-image: radial-gradient(ellipse at 70% 35%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 35%, #000 0%, transparent 70%);
}
.pattern.center-glow::before {
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 65%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 65%);
}
.glow::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 900px; height: 900px; right: -300px; top: -280px;
  background: radial-gradient(circle, rgba(201, 166, 107, 0.2) 0%, rgba(201, 166, 107, 0) 60%);
}

/* Facts under the hero */
.facts {
  list-style: none; margin: 48px 0 0; padding: 28px 0 36px; display: grid; gap: 24px 32px;
  border-top: 1px solid var(--line-dark);
}
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .facts { grid-template-columns: repeat(4, 1fr); padding: 32px 0 40px; } }
.facts li { display: flex; gap: 14px; align-items: flex-start; color: var(--night-ink); font-weight: 700; line-height: 1.4; }
.facts li span { display: block; font-weight: 450; color: var(--night-muted); font-size: 0.9375rem; margin-top: 3px; }
.icon { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--night-3); color: var(--gold-light); border: 1px solid var(--line-dark); }
.icon svg { width: 22px; height: 22px; }

.figure { margin: 0; }
.figure img { border-radius: var(--radius); box-shadow: 0 30px 70px -34px rgba(42, 33, 27, 0.5); }
.figure figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }
.dark .figure figcaption { color: var(--night-muted); }
.dark .figure img { box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85); border: 1px solid var(--line-dark); }

/* Ornament: an eight-pointed star, as in Islamic geometric patterns */
.star {
  display: inline-block; width: 18px; height: 18px; background: var(--gold); flex: none;
  clip-path: polygon(50% 0, 61% 26%, 85% 15%, 74% 39%, 100% 50%, 74% 61%, 85% 85%, 61% 74%, 50% 100%, 39% 74%, 15% 85%, 26% 61%, 0 50%, 26% 39%, 15% 15%, 39% 26%);
}
.dark .star { background: var(--gold-light); }

/* Image and text side by side, alternating */
.rows { display: grid; gap: 56px; }
@media (min-width: 900px) { .rows { gap: 88px; } }
.row { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) {
  .row { grid-template-columns: 7fr 5fr; gap: 64px; }
  .row-flip { grid-template-columns: 5fr 7fr; }
  .row-flip .figure { order: 2; }
}
.row-text h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 500; margin-bottom: 0.4em; }
.row-text p { color: var(--muted); font-size: 1.0625rem; margin: 0; max-width: 30em; }
.row-text .icon { background: var(--cream); color: var(--gold-text); border-color: var(--line); margin-bottom: 18px; }
.rows-note { margin: 40px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }

/* Extra options under the layout switcher */
.more-options { max-width: 46em; margin: 40px auto 0; padding: 22px 26px; border: 1px dashed rgba(201, 166, 107, 0.45); border-radius: var(--radius); text-align: center; }
.more-options h3 { font-size: 1.2rem; margin-bottom: 0.3em; }
.more-options p { color: var(--night-muted); margin: 0; }

/* Feature list */
.features { display: grid; gap: 0 40px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 720px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(3, 1fr); } }
.features li { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.features li .star { margin-top: 5px; width: 14px; height: 14px; }
.features h3 { font-size: 1.125rem; margin-bottom: 0.25em; }
.features p { margin: 0; color: var(--muted); font-size: 1rem; }

/* How it works */
.how { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: how; }
@media (min-width: 860px) { .how { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.how li { position: relative; padding: 22px 0 0; border-top: 1px solid var(--line); counter-increment: how; }
.how li::before {
  content: counter(how); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 16px;
  font-family: var(--display); font-size: 1.4rem; font-weight: 600; color: var(--night); background: var(--gold-gradient);
}
.how p { color: var(--muted); margin: 0; }

/* Phone section */
.split { display: grid; gap: 32px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 22px 66px; counter-increment: step; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 52px; bottom: 6px; width: 1px; background: var(--line-dark); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--gold-light); color: var(--gold-light); display: grid; place-items: center;
  font-family: var(--display); font-size: 1.25rem; font-weight: 600;
}
.steps h3 { margin-bottom: 0.25em; }
.steps p { color: var(--night-muted); margin: 0; }
.note { border-left: 2px solid var(--gold-light); padding: 4px 0 4px 16px; color: var(--night-muted); margin-top: 8px; }
/* The phone page in a simple phone frame */
.phone { margin: 0 auto; width: min(320px, 82vw); }
.phone-body {
  padding: 12px; border-radius: 46px; background: linear-gradient(150deg, #3a332c, #15120f 60%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
.phone-body img { border-radius: 34px; width: 100%; }
.phone figcaption { margin-top: 16px; text-align: center; font-size: 0.875rem; color: var(--night-muted); }
@media (min-width: 960px) { .phone-split { grid-template-columns: 7fr 5fr; align-items: center; } .phone-split .steps { margin-top: 32px; } }
@media (max-width: 959px) { .phone-split .steps { margin-top: 28px; } }

/* Checks */
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 14px; }
.checks .star { margin-top: 6px; width: 14px; height: 14px; }

/* About */
.about { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .about { grid-template-columns: 2fr 3fr; gap: 56px; } }
.about img { border-radius: 30px; max-width: 320px; width: 100%; margin: 0 auto; box-shadow: 0 30px 70px -30px rgba(42, 33, 27, 0.6); }
.arabic-inline { font-family: "Amiri Linoor", "Amiri", serif; font-size: 1.35em; color: var(--gold-text); }
.honorific { font-family: "Amiri Linoor", "Amiri", serif; font-size: 2.1em; line-height: 0; vertical-align: -0.12em; color: var(--gold-text); }
.quote {
  font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; font-style: italic;
  margin: 0 0 1em; padding-left: 20px; border-left: 2px solid var(--gold);
}
.quote p { margin: 0; }
.quote cite { display: block; margin-top: 10px; font-family: var(--body); font-size: 0.9375rem; font-style: normal; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 4fr 7fr; gap: 56px; } }
.faq-grid .section-head { margin-bottom: 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 48px 18px 0; position: relative;
  font-family: var(--display); font-size: 1.2rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  font-family: var(--body); font-size: 1.2rem; line-height: 1; color: var(--gold-text); font-weight: 400;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 0 0 18px; max-width: 40em; }

/* Contact: a separate route for the sales notification and for questions */
.contact h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.contact-grid { display: grid; gap: 20px; max-width: 980px; margin: 0 auto; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 3fr 2fr; gap: 24px; } }
.contact-card {
  display: flex; flex-direction: column; align-items: flex-start; padding: 28px;
  background: var(--night-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
}
.contact-main { background: linear-gradient(160deg, var(--night-3), var(--night-2)); border-color: rgba(201, 166, 107, 0.5); }
.contact-card .icon { margin-bottom: 16px; }
.contact-card p { color: var(--night-muted); margin: 0 0 20px; }
.contact-card .btn { margin-top: auto; text-align: center; }
.mini-steps { margin: 0 0 26px; padding-left: 1.3em; color: var(--night-muted); display: grid; gap: 8px; }
.mini-steps li::marker { color: var(--gold-light); font-weight: 700; }
.contact-note { max-width: 42em; margin: 24px auto 0; text-align: center; }

/* Footer */
.site-footer { background: var(--night-2); color: var(--night-muted); padding: 48px 0 32px; font-size: 0.9375rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.site-footer a { color: var(--night-ink); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { max-width: 26em; margin: 0; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.footer-bottom p { margin: 0; }

/* Text pages (privacy, 404) */
.doc { max-width: 48em; padding-top: 64px; padding-bottom: 96px; }
.doc h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); }
.doc h2 { font-size: 1.6rem; margin-top: 2.2em; }
.doc h3 { font-size: 1.2rem; margin-top: 1.6em; }
.doc ul { padding-left: 1.25em; }
.doc li { margin-bottom: 0.4em; }
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--line); border-radius: 14px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc tr:last-child td { border-bottom: 0; }
.doc th { background: var(--cream-2); font-weight: 700; }

/* Marks text that must be filled in before the site goes live. tools/check_site.py refuses to pass while any remain. */
.todo { background: #ffe08a; color: #3a2a00; padding: 2px 6px; border-radius: 4px; font-weight: 700; }

/* Clickable demo: a render of the device with real screenshots laid exactly over its panel.
   Works without JavaScript: each screen has a radio button, and the tabs and the hotspots on the
   screen are labels for those radio buttons. Arrow keys move between screens. */
.demo { position: relative; max-width: 980px; margin: 0 auto; }
.demo-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.device { position: relative; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55)); }
.device-frame { width: 100%; }
/* The active area of the panel inside the render (from SCREENRECT in device_render.py, shot=demo). */
.device-screen { position: absolute; left: 9.227%; top: 12.33%; width: 81.546%; height: 71.952%; overflow: hidden; background: #050505; }
.demo-scr {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
/* A faint reflection on the glass */
.glare {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 32%, rgba(255, 255, 255, 0) 33%, rgba(255, 255, 255, 0) 100%);
}
.hot { position: absolute; display: none; z-index: 2; cursor: pointer; border-radius: 14px; }
.hot:hover { background: rgba(226, 196, 140, 0.16); box-shadow: inset 0 0 0 2px rgba(226, 196, 140, 0.7); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.demo-title {
  font-family: var(--body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-light); text-align: center; margin: 0 0 18px;
}
.demo-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 34px auto 0; max-width: 980px; }
.demo-tabs label {
  cursor: pointer; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(201, 166, 107, 0.45);
  color: var(--night-ink); font-weight: 700; font-size: 0.9375rem; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.demo-tabs label:hover { background: var(--night-3); }
.demo-caps { min-height: 3.4em; margin: 22px auto 0; max-width: 40em; text-align: center; }
.cap { display: none; margin: 0; color: var(--night-muted); font-size: 1.0625rem; }
.demo-note { text-align: center; margin: 18px auto 0; max-width: 46em; }
@media (max-width: 640px) {
  .device { margin: 0 calc(var(--gutter) * -1 + 4px); }
  .demo-tabs { gap: 6px; margin-top: 24px; }
  .demo-tabs label { padding: 7px 12px; font-size: 0.875rem; }
  .cap { font-size: 1rem; }
}
/* Hotspot positions on the screen, in percent of the 1280 x 800 screen. Generated by gen_demo.py. */
.hot-start-0 { left: 72.5%; top: 2.5%; width: 5.312%; height: 10.5%; }
.hot-start-1 { left: 77.812%; top: 2.5%; width: 5.312%; height: 10.5%; }
.hot-start-2 { left: 88.594%; top: 2.5%; width: 5.938%; height: 10.5%; }
.hot-adhan-0 { left: 46.562%; top: 71.5%; width: 6.875%; height: 7.5%; }
.hot-quran-0 { left: 1.875%; top: 2%; width: 4.375%; height: 7.25%; }
.hot-quran-1 { left: 2.188%; top: 18.75%; width: 23.594%; height: 7.75%; }
.hot-surah-0 { left: 1.875%; top: 2%; width: 4.375%; height: 7.25%; }
.hot-adhkar-0 { left: 1.875%; top: 2%; width: 4.375%; height: 7.25%; }
.hot-tasbih-0 { left: 1.875%; top: 2%; width: 4.375%; height: 7.25%; }
.hot-qibla-0 { left: 1.875%; top: 2%; width: 4.375%; height: 7.25%; }
.hot-kalender-0 { left: 1.875%; top: 2%; width: 4.375%; height: 7.25%; }
.hot-instellingen-0 { left: 1.875%; top: 2%; width: 4.375%; height: 7.25%; }
.hot-instellingen-1 { left: 2.188%; top: 23.25%; width: 47.344%; height: 11.25%; }
.hot-instellingen-adhan-0 { left: 1.875%; top: 2%; width: 4.375%; height: 7.25%; }
/* The checked radio decides which screen, hotspots, tab and caption are shown. */
#d-start:checked ~ .device .scr-start,
#d-adhan:checked ~ .device .scr-adhan,
#d-quran:checked ~ .device .scr-quran,
#d-surah:checked ~ .device .scr-surah,
#d-adhkar:checked ~ .device .scr-adhkar,
#d-tasbih:checked ~ .device .scr-tasbih,
#d-qibla:checked ~ .device .scr-qibla,
#d-kalender:checked ~ .device .scr-kalender,
#d-instellingen:checked ~ .device .scr-instellingen,
#d-instellingen-adhan:checked ~ .device .scr-instellingen-adhan,
#d-nachtklok:checked ~ .device .scr-nachtklok { opacity: 1; visibility: visible; transition-delay: 0s; }
#d-start:checked ~ .device .hot-start,
#d-adhan:checked ~ .device .hot-adhan,
#d-quran:checked ~ .device .hot-quran,
#d-surah:checked ~ .device .hot-surah,
#d-adhkar:checked ~ .device .hot-adhkar,
#d-tasbih:checked ~ .device .hot-tasbih,
#d-qibla:checked ~ .device .hot-qibla,
#d-kalender:checked ~ .device .hot-kalender,
#d-instellingen:checked ~ .device .hot-instellingen,
#d-instellingen-adhan:checked ~ .device .hot-instellingen-adhan { display: block; }
#d-start:checked ~ .demo-caps .cap-start,
#d-adhan:checked ~ .demo-caps .cap-adhan,
#d-quran:checked ~ .demo-caps .cap-quran,
#d-surah:checked ~ .demo-caps .cap-surah,
#d-adhkar:checked ~ .demo-caps .cap-adhkar,
#d-tasbih:checked ~ .demo-caps .cap-tasbih,
#d-qibla:checked ~ .demo-caps .cap-qibla,
#d-kalender:checked ~ .demo-caps .cap-kalender,
#d-instellingen:checked ~ .demo-caps .cap-instellingen,
#d-instellingen-adhan:checked ~ .demo-caps .cap-instellingen-adhan,
#d-nachtklok:checked ~ .demo-caps .cap-nachtklok { display: block; }
#d-start:checked ~ .demo-tabs [for="d-start"],
#d-adhan:checked ~ .demo-tabs [for="d-adhan"],
#d-quran:checked ~ .demo-tabs [for="d-quran"],
#d-surah:checked ~ .demo-tabs [for="d-surah"],
#d-adhkar:checked ~ .demo-tabs [for="d-adhkar"],
#d-tasbih:checked ~ .demo-tabs [for="d-tasbih"],
#d-qibla:checked ~ .demo-tabs [for="d-qibla"],
#d-kalender:checked ~ .demo-tabs [for="d-kalender"],
#d-instellingen:checked ~ .demo-tabs [for="d-instellingen"],
#d-instellingen-adhan:checked ~ .demo-tabs [for="d-instellingen-adhan"],
#d-nachtklok:checked ~ .demo-tabs [for="d-nachtklok"] { background: var(--gold-light); color: var(--night); border-color: var(--gold-light); }
#d-start:focus-visible ~ .demo-tabs [for="d-start"],
#d-adhan:focus-visible ~ .demo-tabs [for="d-adhan"],
#d-quran:focus-visible ~ .demo-tabs [for="d-quran"],
#d-surah:focus-visible ~ .demo-tabs [for="d-surah"],
#d-adhkar:focus-visible ~ .demo-tabs [for="d-adhkar"],
#d-tasbih:focus-visible ~ .demo-tabs [for="d-tasbih"],
#d-qibla:focus-visible ~ .demo-tabs [for="d-qibla"],
#d-kalender:focus-visible ~ .demo-tabs [for="d-kalender"],
#d-instellingen:focus-visible ~ .demo-tabs [for="d-instellingen"],
#d-instellingen-adhan:focus-visible ~ .demo-tabs [for="d-instellingen-adhan"],
#d-nachtklok:focus-visible ~ .demo-tabs [for="d-nachtklok"] { outline: 3px solid var(--gold-bright); outline-offset: 3px; }
/* Layout switcher: the same device, a second group of radio buttons */
#i-glass:checked ~ .device .lay-glass,
#i-focus:checked ~ .device .lay-focus,
#i-dashboard:checked ~ .device .lay-dashboard,
#i-minimal:checked ~ .device .lay-minimal,
#i-ambient:checked ~ .device .lay-ambient { opacity: 1; visibility: visible; transition-delay: 0s; }
#i-glass:checked ~ .demo-caps .lcap-glass,
#i-focus:checked ~ .demo-caps .lcap-focus,
#i-dashboard:checked ~ .demo-caps .lcap-dashboard,
#i-minimal:checked ~ .demo-caps .lcap-minimal,
#i-ambient:checked ~ .demo-caps .lcap-ambient { display: block; }
#i-glass:checked ~ .demo-tabs [for="i-glass"],
#i-focus:checked ~ .demo-tabs [for="i-focus"],
#i-dashboard:checked ~ .demo-tabs [for="i-dashboard"],
#i-minimal:checked ~ .demo-tabs [for="i-minimal"],
#i-ambient:checked ~ .demo-tabs [for="i-ambient"] { background: var(--gold-light); color: var(--night); border-color: var(--gold-light); }
#i-glass:focus-visible ~ .demo-tabs [for="i-glass"],
#i-focus:focus-visible ~ .demo-tabs [for="i-focus"],
#i-dashboard:focus-visible ~ .demo-tabs [for="i-dashboard"],
#i-minimal:focus-visible ~ .demo-tabs [for="i-minimal"],
#i-ambient:focus-visible ~ .demo-tabs [for="i-ambient"] { outline: 3px solid var(--gold-bright); outline-offset: 3px; }

/* Warm paper and a softly lit product stage. */
:root {
  --cream: #f8f4ec;
  --cream-2: #f0e9dd;
  --night: #151413;
  --night-2: #20201d;
  --night-3: #2b2822;
  --night-muted: #c6baaa;
  --gold-text: #735629;
  --gold-light: #e4c28a;
  --wrap: 1272px;
  --gutter: clamp(16px, 4vw, 56px);
  --header: 65px;
}
body { padding-top: 0; overflow-x: visible; font-size: .96rem; }
h1, h2 { letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.24rem; }
.lead { font-size: clamp(1rem, 1.35vw, 1.14rem); }
section { padding: clamp(34px, 5vw, 70px) 0; }
.section-head { margin-bottom: 24px; }
.eyebrow { font-size: .72rem; margin-bottom: .85rem; }
.skip { position: fixed; }
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 20;
  background: rgba(21, 20, 19, .94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap {
  min-height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}
.brand { display: inline-flex; gap: 9px; align-items: baseline; text-decoration: none; color: var(--night-ink); }
.brand:hover { color: white; }
.brand-name { font: 600 1.7rem var(--display); letter-spacing: -.04em; }
.brand-ar { font: 1.34rem "Amiri Linoor", serif; color: var(--gold-light); }
.nav { display: flex; justify-content: center; gap: clamp(2px, 1.5vw, 20px); }
.nav a, .nav-cta { text-decoration: none; font-size: .86rem; font-weight: 750; padding: 8px; }
.nav a { color: var(--night-ink); }
.nav a:hover, .nav a[aria-current] { color: var(--gold-light); }
.nav-cta { color: var(--gold-light); border: 1px solid #846d48; border-radius: 999px; padding-inline: 16px; }
.nav-cta:hover { color: var(--night); background: var(--gold-light); }
.buttons { margin: 22px 0 15px; gap: 8px; }
.btn { min-height: 44px; padding: 9px 16px; font-size: .87rem; }
.hero {
  text-align: left;
  padding: clamp(22px, 4.5vw, 62px) 0 22px;
  background: radial-gradient(ellipse at 75% 26%, #49402f 0, #23221d 35%, var(--night) 73%);
}
.hero.pattern::before { opacity: .14; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 16px 30px; }
.hero-copy { max-width: 39rem; min-width: 0; }
.hero h1 { font-size: clamp(2.55rem, 5.2vw, 5.15rem); line-height: .99; margin-bottom: .3em; text-wrap: initial; }
.hero .lead { margin: 0; }
.hero-note { display: flex; align-items: baseline; gap: 8px; margin: 0; color: var(--night-muted); font-size: .79rem; }
.hero-note .dot { flex: 0 0 7px; height: 7px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 12px #e4c28a66; }
.demo { min-width: 0; width: 100%; }
.hero-demo {
  position: relative;
  padding: 14px 12px 12px;
  border: 1px solid #e4c28a44;
  border-radius: 22px;
  background: radial-gradient(ellipse at 50% 27%, #d9b47834, #19181599 70%);
  box-shadow: inset 0 1px #ffefd719, 0 16px 50px #100f0d50;
}
.demo-title { margin: 0; text-align: left; letter-spacing: .1em; }
.demo-title::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 2px 2px; background: var(--gold-light); border-radius: 50%; }
.device { margin: 0; filter: drop-shadow(0 13px 15px #08070680); }
.demo-tabs { gap: 5px; margin: 0 auto; justify-content: center; }
.demo-tabs label { padding: 5px 9px; font-size: .73rem; min-height: 30px; display: inline-flex; align-items: center; }
.demo-caps { min-height: 4.6em; margin: 10px auto 0; font-size: .79rem; align-content: center; }
.cap { font-size: inherit; }
.demo-note { font-size: .73rem; margin: 0; max-width: none; }
.hero-grid > .demo-note { grid-column: 1 / -1; text-align: right; }
.facts {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line-dark);
  background: #ffffff07;
  border-radius: 16px;
  margin: 0;
  padding: 12px;
  gap: 12px;
}
.facts li { font-size: .83rem; gap: 8px; min-width: 0; }
.facts li .icon { width: 26px; height: 26px; flex-basis: 26px; }
.facts li div span { font-size: .73rem; }
.row, .row.row-flip {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
  overflow: hidden;
}
.rows { gap: 12px; }
.row .figure { margin: 0; order: 0; }
.row .figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; box-shadow: none; }
.row-text { padding: 15px 17px; }
.row-text .icon, .contact-card .icon { display: none; }
.row-text p { margin: 0; font-size: .88rem; }
.setup { padding-top: 26px; }
.how { gap: 10px; }
.how li { padding: 10px 0 0; }
.how li::before { float: left; width: 27px; height: 27px; margin: 0 9px 3px 0; font-size: 1rem; }
.how li h3 { padding-top: 2px; }
.how p { font-size: .88rem; }
#indelingen { background: radial-gradient(ellipse at 75% 42%, #3b3226, var(--night) 66%); }
#indelingen .wrap { display: grid; align-items: center; gap: 12px 40px; }
#indelingen .section-head { margin: 0; text-align: left; }
#indelingen .section-head .eyebrow::after { display: none; }
#indelingen .section-head .lead { margin: 0; }
.demo-layouts { max-width: 610px; }
.more-options { max-width: none; margin: 0; padding: 12px 0 0; text-align: left; }
.more-options p { margin-bottom: 0; font-size: .88rem; }
.features { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 7px; }
.features > li { display: block; padding: 0; border: 1px solid var(--line); background: #fffcf5; border-radius: 12px; }
.features summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  min-height: 43px;
  cursor: pointer;
  list-style: none;
  font-weight: 750;
}
.features summary::-webkit-details-marker { display: none; }
.features summary::after { content: "+"; color: var(--gold-text); font-size: 1.12rem; }
.features details[open] summary::after { content: "−"; }
.features details p { padding: 0 13px 10px; font-size: .86rem; }
#telefoon { background: linear-gradient(120deg, #24231f, var(--night)); }
.split { gap: 18px 34px; }
.phone { width: min(215px, 62vw); }
.phone-body { padding: 6px; border-radius: 24px; }
.phone-body img { border-radius: 19px; }
.phone figcaption { font-size: .77rem; margin-top: 10px; }
.steps li { padding: 0 0 12px 42px; }
.steps li::before { width: 30px; height: 30px; font-size: 1rem; }
.steps li:not(:last-child)::after { left: 15px; top: 34px; }
.steps p, .note { font-size: .87rem; }
.checks { gap: 7px; margin-bottom: 16px; font-size: .91rem; }
.about { gap: 18px 36px; }
.about img { max-width: 250px; width: 62%; }
.about p:last-child { margin-bottom: 0; }
.faq summary { padding-block: 12px; }
.contact { background: radial-gradient(ellipse at 28% 100%, #382f22, var(--night) 70%); }
.contact-grid { max-width: none; gap: 12px; }
.contact-card { padding: 17px; }
.mini-steps { font-size: .88rem; margin-bottom: 14px; gap: 4px; }
.contact-note { margin-top: 14px; font-size: .79rem; }
.site-footer { padding-block: 26px 18px; }
.footer-bottom { margin-top: 21px; padding-top: 13px; font-size: .78rem; }
.doc { padding-top: 36px; padding-bottom: 55px; }
.doc td, .doc th { overflow-wrap: anywhere; }

@media (min-width: 620px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phone-split { grid-template-columns: minmax(0, 1fr) minmax(0, 230px); align-items: center; }
}
@media (min-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 15px; }
  .rows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #indelingen .wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
  #indelingen .demo-layouts { grid-column: 2; grid-row: 1 / 3; }
  #indelingen .more-options { grid-column: 1; grid-row: 2; align-self: start; }
  #indelingen .demo-note { grid-column: 2; grid-row: 3; }
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); }
  .about img { width: 100%; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 1000px) {
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-demo { padding: 15px 20px; }
  .demo-tabs label { padding: 5px 10px; font-size: .76rem; }
}
@media (max-width: 759px) {
  :root { --header: 90px; }
  .site-header .wrap { grid-template-columns: 1fr auto; gap: 0; grid-template-rows: 49px 40px; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 0; border-top: 1px solid var(--line-dark); }
  .nav a { font-size: .75rem; padding: 8px 3px; }
  .nav-long { display: none; }
  .nav-cta { grid-column: 2; grid-row: 1; font-size: .75rem; padding-block: 5px; }
  .hero-grid > .demo-note { text-align: left; }
  .hero-copy { max-width: 30rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-demo { animation: enter .55s ease-out both; }
  .hero-demo { animation-delay: .08s; }
  @keyframes enter { from { opacity: 0; translate: 0 8px; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover { transform: none; }
}
@media print {
  .site-header { position: static; }
  .dark { print-color-adjust: exact; }
}


.features > .feature-description { padding: 14px 16px; }
.feature-description h3 { margin-bottom: 5px; }
.feature-description p { font-size: .9rem; }
@media (min-width: 760px) {
  .hero .hero-grid { max-width: 1420px; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .hero .hero-demo { padding: 10px; }
}
@media (max-width: 759px) {
  .site-header .nav { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; min-width: 0; }
  .site-header .nav a { padding-inline: 1px; }
  .hero .hero-demo { width: calc(100% + 20px); margin-inline: -10px; padding: 8px; }
}
/* A last feature alone on its row spans the full width, so the grid ends evenly. */
@media (min-width: 1000px) {
  .features > li:nth-child(3n+1):last-child { grid-column: 1 / -1; }
}
