/* Deztinee — three apps for a life of faith.
   Dark and warm, quiet, with one accent per app (the colours the apps' own icons use). */

@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/cormorant-500.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/cormorant-600.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: italic; font-display: swap; src: url('/assets/fonts/cormorant-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Exo 2'; font-weight: 800; font-style: normal; font-display: swap; src: url('/assets/fonts/exo2-800.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/inter-600.woff2') format('woff2'); }

:root {
  --bg: #0b0b0d;
  --bg-alt: #101012;
  --card: #141316;
  --ink: #f3efe9;
  --muted: #b3ab9f;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.2);
  --tint: #e8b866;
  --deep: #1a1410;
  --radius: 20px;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
[data-app='moksham'] { --tint: #f2a04a; --deep: #2a110a; }
[data-app='mahtab'] { --tint: #47c08b; --deep: #0a2a1e; }
[data-app='paradize'] { --tint: #7ca8ff; --deep: #0c1c44; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--tint); }
:focus-visible { outline: 2px solid var(--tint); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.55rem; line-height: 1.15; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; line-height: 1.55; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 680px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #111; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.label, .eyebrow { font: 600 0.74rem/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow { color: var(--tint); }
.label { color: var(--muted); margin-bottom: 10px; }
.ico { width: 24px; height: 24px; }
.ico--btn { width: 18px; height: 18px; flex: none; }

/* ── header and footer ─────────────────────────────────── */
header.site { position: sticky; top: 0; z-index: 20; background: rgba(11, 11, 13, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 66px; }
/* The logo is the PAR2 LABS Deztinee mark and wordmark: the lotus, and DEZTINEE in Exo 2 ExtraBold. The colours of the site are unchanged. */
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #f1f3e6; }
.wordmark .lotus { width: 34px; height: 34px; flex: none; display: block; }
.wordmark__text { font: 800 1.3rem/1 'Exo 2', var(--sans); letter-spacing: 0.05em; text-transform: uppercase; }
.orb { width: 28px; height: 28px; }
.nav { display: flex; gap: 26px; font-size: 0.92rem; }
.nav a { text-decoration: none; color: var(--muted); padding: 6px 0; }
.nav a:hover { color: var(--ink); }
footer.site { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 56px 0 28px; margin-top: 0; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot a:not(.wordmark) { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; font-size: 0.94rem; }
.foot a:not(.wordmark):hover { color: var(--ink); }
.foot .wordmark { margin-bottom: 10px; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ── buttons ───────────────────────────────────────────── */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 600 0.95rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background 0.18s, border-color 0.18s, transform 0.18s; }
.btn:hover { border-color: var(--tint); background: rgba(255, 255, 255, 0.04); }
.btn small { font: 500 0.78rem/1 var(--sans); opacity: 0.7; }
.btn--primary { background: var(--tint); border-color: var(--tint); color: #12100d; }
.btn--primary:hover { background: var(--tint); filter: brightness(1.08); transform: translateY(-1px); }
.btn--block { width: 100%; }
.btn--off { border-style: dashed; color: var(--muted); cursor: default; }
.btn--off:hover { background: transparent; border-color: var(--line-strong); }

/* ── hero ──────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero__text .eyebrow { margin-bottom: 18px; }
.hero__text .lede { margin-top: 22px; font-size: 1.14rem; color: #d9d2c7; max-width: 34em; }
.hero__text .line { margin-top: 12px; font: italic 500 1.6rem/1.25 var(--serif); color: var(--tint); }
.hero--app { padding-top: 72px; }
.hero__art { position: absolute; inset: 0; z-index: 0; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.hero__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 13, 0.35) 0%, var(--bg) 96%), radial-gradient(60% 70% at 78% 40%, color-mix(in srgb, var(--tint) 18%, transparent), transparent 70%); }

.stage { position: relative; min-height: 560px; }
.stage--one { min-height: 0; display: flex; justify-content: center; padding: 8px 0 20px; }
.stage__glow { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: 0.4; z-index: 0; }
.stage__glow--a { background: #f2a04a; left: 18%; top: 4%; }
.stage__glow--b { background: #47c08b; left: -8%; top: 36%; opacity: 0.28; }
.stage__glow--c { background: #7ca8ff; right: -8%; top: 36%; opacity: 0.28; }
[data-app='mahtab'] .stage__glow--a { background: #47c08b; }
[data-app='paradize'] .stage__glow--a { background: #7ca8ff; }
.stage--one .stage__glow--a { left: 20%; top: 12%; width: 60%; }

.phone { margin: 0; position: relative; z-index: 1; border-radius: 12% / 5.6%; border: 7px solid #1d1c20; background: #000; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08); overflow: hidden; }
.phone img { width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; }
.stage > .phone { position: absolute; }
.phone--mid { width: 46%; left: 27%; top: 0; z-index: 3; }
.phone--left { width: 38%; left: 0; top: 11%; transform: rotate(-6deg); z-index: 2; }
.phone--right { width: 38%; right: 0; top: 11%; transform: rotate(6deg); z-index: 2; }
.phone--solo { position: relative !important; width: min(300px, 72%); }

/* ── sections ──────────────────────────────────────────── */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { max-width: 40em; margin-bottom: 44px; }
.section__head .eyebrow { margin-bottom: 14px; }
.section__head h2 { margin-bottom: 14px; }
.note { margin-top: 28px; }

.app-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.app-cards--two { grid-template-columns: repeat(2, 1fr); }
.app-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.app-card:hover { border-color: color-mix(in srgb, var(--tint) 55%, transparent); transform: translateY(-3px); }
.app-card__art { display: block; position: relative; aspect-ratio: 16 / 10; background: var(--deep); }
.app-card__art img { width: 100%; height: 100%; object-fit: cover; }
.app-card__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 19, 22, 0.95)), linear-gradient(135deg, color-mix(in srgb, var(--tint) 22%, transparent), transparent 55%); }
.app-card__body { display: flex; flex-direction: column; gap: 10px; padding: 6px 24px 26px; flex: 1; margin-top: -26px; position: relative; z-index: 1; }
.app-card h3 a { text-decoration: none; }
.glance { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 7px; font-size: 0.93rem; color: #d3ccc1; }
.glance li { padding-left: 20px; position: relative; }
.glance li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--tint); }
.app-card .actions { margin: auto 0 0; padding-top: 22px; }
.app-card .actions .btn { padding: 11px 16px; font-size: 0.88rem; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 24px; }
.feature__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); background: color-mix(in srgb, var(--tint) 15%, transparent); color: var(--tint); margin-bottom: 16px; }
.feature h3 { font-size: 1.32rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

.quotes { padding: 72px 0; }
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.quotes__grid--two { grid-template-columns: repeat(2, 1fr); }
.quote { margin: 0; padding-left: 22px; border-left: 2px solid var(--tint); }
.quote blockquote { margin: 0; font: italic 500 clamp(1.5rem, 2.6vw, 2rem)/1.22 var(--serif); }
.quote figcaption { margin-top: 12px; font-size: 0.82rem; letter-spacing: 0.08em; color: var(--muted); }

.install__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; color: #d3ccc1; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); font: 600 1.15rem/1 var(--serif); color: var(--tint); }
.steps b { color: var(--ink); }
.steps--big li { font-size: 1.05rem; }
.dl-table { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 8px 22px 16px; }
.dl-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dl-row__name { display: grid; gap: 2px; }
.dl-row .btn { padding: 11px 16px; font-size: 0.86rem; white-space: nowrap; }
.dl-table > p { padding-top: 14px; }

.faq__list { display: grid; gap: 0; max-width: 760px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font: 600 1.2rem/1.3 var(--serif); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--sans); color: var(--tint); }
details[open] summary::after { content: '–'; }
details p { padding: 0 0 22px; color: #cfc8bd; max-width: 40em; }

.shots { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; margin: 0 -4px; scrollbar-width: thin; }
.shot { margin: 0; flex: 0 0 min(250px, 68vw); scroll-snap-align: start; }
.shot figcaption { margin-top: 14px; font-size: 0.88rem; color: var(--muted); }

.download { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.download__card { border: 1px solid color-mix(in srgb, var(--tint) 45%, transparent); border-radius: var(--radius); padding: 30px; background: linear-gradient(160deg, color-mix(in srgb, var(--tint) 10%, var(--card)), var(--card) 70%); }
.download__card .eyebrow { margin-bottom: 10px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 22px 0 24px; }
.facts div { border-top: 1px solid var(--line); padding-top: 10px; }
.facts dt { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 500; }
.sum { margin-top: 20px; display: grid; gap: 8px; }
.sum code { font: 500 0.78rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; word-break: break-all; color: #d9d2c7; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.copy { justify-self: start; display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line-strong); color: var(--ink); border-radius: 999px; padding: 7px 14px; font: 500 0.8rem/1 var(--sans); cursor: pointer; }
.copy:hover { border-color: var(--tint); }
.download__steps h3 { margin-bottom: 20px; }
.download__steps .small { margin-top: 22px; }

/* ── small screens ─────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__grid, .install__grid, .download { grid-template-columns: 1fr; }
  .stage { min-height: 0; aspect-ratio: 1 / 1.02; max-width: 520px; margin: 8px auto 0; width: 100%; }
  .app-cards, .quotes__grid { grid-template-columns: 1fr; }
  .app-cards--two { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 620px) {
  .nav a:nth-child(-n + 2) { display: none; }
  .nav { gap: 18px; }
  .wrap { padding: 0 18px; }
  .hero { padding-top: 40px; }
  .foot { grid-template-columns: 1fr; }
  .quotes__grid--two { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .dl-row { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
