/* Siratum website. Tokens come from the app (lib/app/theme/app_colors.dart, app_spacing.dart); the page walks
   through one day of prayer: dawn (hero), morning (lock), afternoon (garden), the letter, evening (dhikr), night. */

@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap;
  unicode-range: U+0000-024F, U+0259, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-cyrillic.woff2") format("woff2"); font-weight: 400 600; font-display: swap; unicode-range: U+0400-04FF; }
@font-face { font-family: "Amiri Quran"; src: url("/assets/fonts/amiri-quran.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Siratum Signature"; src: url("/assets/fonts/signature.woff2") format("woff2"); font-display: swap; }

:root {
  --emerald: #0F3822;
  --emerald-2: #1B4E32;
  --emerald-deep: #0A2717;
  --gold: #C5A358;
  --gold-text: #8A6A22;
  --gold-soft: #EADCB4;
  --night: #0B101D;
  --slate: #1A2234;
  --cream: #F7F5EE;
  --paper: #FFFDF8;
  --muted: #6E6E73;
  --line: rgba(15, 56, 34, .12);
  --ok: #059669;
  --danger: #D94A4A;

  --ff-display: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-quran: "Amiri Quran", "Geeza Pro", "Noto Naskh Arabic", serif;

  --wrap: 1180px;
  --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --r-xl: 40px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 68px;
}

.lang-ar {
  --ff-display: "SF Arabic Rounded", "SF Arabic", "Geeza Pro", "Noto Kufi Arabic", "Noto Naskh Arabic", "Nunito", system-ui, sans-serif;
  --ff-body: "SF Arabic", "Geeza Pro", "Noto Naskh Arabic", "Segoe UI", Tahoma, "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--ff-body); color: var(--slate); background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--ff-display); color: var(--emerald); margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(44px, 6.2vw, 86px); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-weight: 800; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -0.025em; }
h3 { font-weight: 800; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.18; letter-spacing: -0.015em; }
p { margin: 0; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { letter-spacing: 0; line-height: 1.25; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--slate); max-width: 34em; text-wrap: pretty; }
.kicker { font: 800 13px/1 var(--ff-display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; }
.lang-ar .kicker, .lang-ur .kicker { letter-spacing: 0; text-transform: none; font-size: 15px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--emerald); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* The Siratum logo is the app icon (the voxel tree), with iOS-like rounded corners. */
.logo { display: block; flex: none; aspect-ratio: 1; height: auto; border-radius: 23%; }

/* ------------------------------------------------------------------ nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.nav.is-scrolled, .nav.is-solid { background: rgba(247, 245, 238, .82); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav-row { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--emerald); }
.brand .logo { width: 36px; box-shadow: 0 2px 6px rgba(15, 56, 34, .18), 0 0 0 .5px rgba(15, 56, 34, .12); }
.brand-name { font: 800 23px/1 "Nunito", var(--ff-display); letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 26px; margin-inline-start: auto; }
.nav-links a { font: 700 15px/1 var(--ff-display); color: var(--slate); text-decoration: none; opacity: .78; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-end { display: flex; align-items: center; gap: 10px; }
.nav-links + .nav-end { margin-inline-start: 8px; }
.nav-cta { font: 800 15px/1 var(--ff-display); text-decoration: none; color: var(--cream); background: var(--emerald); padding: 12px 18px; border-radius: 999px; transition: transform .2s var(--ease), background .2s; white-space: nowrap; }
.nav-cta:hover { background: var(--emerald-2); transform: translateY(-1px); }
.langs { position: relative; }
.langs summary { list-style: none; display: flex; align-items: center; gap: 7px; padding: 10px 12px; border-radius: 999px; font: 700 14px/1 var(--ff-display); color: var(--slate); cursor: pointer; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { background: rgba(15, 56, 34, .07); }
.langs ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; min-width: 210px; background: var(--paper); border-radius: 18px; box-shadow: 0 18px 50px rgba(11, 16, 29, .16), 0 0 0 1px var(--line); }
.langs li a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; font-size: 15px; }
.langs li a:hover { background: rgba(15, 56, 34, .06); }
.langs li a[aria-current] { color: var(--emerald); font-weight: 600; background: rgba(15, 56, 34, .08); }


/* ------------------------------------------------------------------ skies */
.sky { position: relative; isolation: isolate; overflow: hidden; }
.sky-dawn { background: linear-gradient(180deg, #FEDEC1 0%, #FDE2C8 22%, #FBE9D5 46%, #F4ECE3 72%, var(--cream) 100%); }
.sky-day { background: radial-gradient(70% 50% at 50% 0%, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #E9EFEE 0%, #F1F3EF 45%, var(--cream) 100%); }
.sky-night { background: radial-gradient(60% 55% at 30% 45%, rgba(197, 163, 88, .16), transparent 70%), linear-gradient(180deg, #0B101D 0%, #111B2E 55%, #16233A 100%); color: var(--cream); }

/* ------------------------------------------------------------------ hero */
.hero { padding: calc(var(--nav-h) + 56px) 0 40px; min-height: min(100svh, 980px); display: flex; flex-direction: column; }
.rays { position: absolute; inset: -20% -10% auto auto; width: 75%; height: 120%; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 200deg at 85% 0%, rgba(255, 255, 255, .0) 0deg 7deg, rgba(255, 255, 255, .55) 7deg 9deg, rgba(255, 255, 255, 0) 9deg 16deg);
  -webkit-mask: radial-gradient(70% 60% at 85% 0%, #000 0%, transparent 75%); mask: radial-gradient(70% 60% at 85% 0%, #000 0%, transparent 75%);
  animation: rays 24s ease-in-out infinite alternate; opacity: .7; }
[dir="rtl"] .rays { inset: -20% auto auto -10%; transform: scaleX(-1); }
@keyframes rays { to { transform: rotate(3deg) translateY(1.5%); opacity: .45; } }
[dir="rtl"] .rays { animation-name: rays-rtl; }
@keyframes rays-rtl { from { transform: scaleX(-1); } to { transform: scaleX(-1) rotate(3deg) translateY(1.5%); opacity: .45; } }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 24px; flex: 1; }
.hero-copy h1 { margin-bottom: 26px; }
.hero-copy .lead { font-size: clamp(18px, 1.65vw, 22px); }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
.badge { display: inline-block; line-height: 0; border-radius: 12px; transition: transform .25s var(--ease), box-shadow .25s; }
.badge img { height: 54px; width: auto; }
.badge:hover { transform: translateY(-2px); }
.hero-note { font: 700 15px/1.3 var(--ff-display); color: var(--emerald-2); display: inline-flex; align-items: center; gap: 8px; }
.hero-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(5, 150, 105, .15); }
.hero-stage { position: relative; width: min(100%, 560px); aspect-ratio: 320 / 450; justify-self: center; margin-block: -40px -10px; }
.hero-stage .isle { animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-1.6%); } }
@keyframes drift { to { transform: translateX(3%); } }

.tiles { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; z-index: 3; pointer-events: none; }
.tile { position: absolute; left: var(--x); top: var(--y); width: clamp(48px, 5.4vw, 66px); aspect-ratio: 1; border-radius: 23%; display: grid; place-items: center;
  transform: translate(-50%, -50%) rotate(var(--r)); box-shadow: 0 14px 28px rgba(60, 30, 10, .18), inset 0 1px 0 rgba(255, 255, 255, .35);
  animation: bob 6.5s ease-in-out var(--d) infinite; }
.tile svg { width: 56%; height: 56%; }
@keyframes bob { 50% { transform: translate(-50%, -62%) rotate(calc(var(--r) * -0.6)); } }
i.padlock { position: absolute; right: -10%; bottom: -10%; width: 42%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(180deg, #E6C77C, var(--gold)); box-shadow: 0 3px 8px rgba(80, 50, 0, .3), 0 0 0 2px #fff; }
i.padlock::before { content: ""; position: absolute; left: 30%; top: 22%; width: 40%; height: 34%; border: 2.4px solid #5b4310; border-bottom: 0; border-radius: 40% 40% 0 0; box-sizing: border-box; }
i.padlock::after { content: ""; position: absolute; left: 24%; top: 46%; width: 52%; height: 36%; border-radius: 3px; background: #5b4310; }
.t-camera { background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); }
.t-play { background: linear-gradient(180deg, #FF4E45, #E1251B); }
.t-chat { background: linear-gradient(180deg, #5EC8F8, #2E9BEA); }
.t-music { background: linear-gradient(180deg, #2A2F45, #11131D); }
.t-game { background: linear-gradient(180deg, #A267FF, #7B3FE4); }
.t-shop { background: linear-gradient(180deg, #FFB648, #FF8A00); }
.t-photo { background: linear-gradient(180deg, #FFD54F, #FF9F0A); }
.t-news { background: linear-gradient(180deg, #FF6B7D, #E53950); }
.t-phone { background: linear-gradient(180deg, #65DD6B, #2FB540); }
.t-mail { background: linear-gradient(180deg, #4FA3FF, #1D6EF5); }
.t-siratum { background: var(--cream); color: var(--emerald); }

.verse { margin: 12px auto 0; text-align: center; max-width: 760px; padding: 26px 0 0; position: relative; z-index: 4; }
.verse::before { content: ""; display: block; width: 120px; height: 12px; margin: 0 auto 18px;
  background: linear-gradient(var(--gold), var(--gold)) center / 100% 1px no-repeat, linear-gradient(45deg, transparent 40%, var(--gold) 40% 60%, transparent 60%) center / 10px 10px no-repeat; opacity: .8; }
.verse blockquote { margin: 0; }
.ayah { font: 400 clamp(26px, 3vw, 36px)/1.9 var(--ff-quran); color: var(--emerald); }
.meaning { font: 500 italic clamp(16px, 1.4vw, 19px)/1.55 var(--ff-display); color: var(--slate); margin-top: 6px; }
.verse figcaption { font: 800 12px/1 var(--ff-display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-top: 14px; }
.lang-ar .verse figcaption { letter-spacing: 0; font-size: 14px; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 34px auto 0; color: var(--emerald-2); text-decoration: none; font: 700 13px/1 var(--ff-display); opacity: .75; }
.scroll-cue svg { animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(5px); } }

/* ------------------------------------------------------------------ the island (geometry in island.css) */
.isle { position: absolute; inset: 0; }
.isle > span, .isle > canvas { position: absolute; display: block; }
.isle .ground { transform-origin: 50% 100%; transition: transform 1.2s var(--ease), top 1.2s var(--ease); z-index: 1; }
.isle .ground img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 1.4s var(--ease); }
.isle .ground .arid { opacity: 0; }
.isle[data-count="0"] .ground .arid { opacity: 1; }
.isle[data-count="0"] .ground .lush { opacity: 0; }
.isle .ground-front { z-index: 3; transition: transform 1.2s var(--ease), top 1.2s var(--ease), opacity .5s; }
.isle[data-count="0"] .ground-front { opacity: 0; }
/* water shimmer down the waterfall (lush only) */
.isle .ground-back::after { content: ""; position: absolute; left: 32%; width: 8%; top: 62%; height: 33%; border-radius: 30% 30% 45% 45%;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0) 0 9px, rgba(255, 255, 255, .55) 9px 11px); background-size: 100% 40px;
  mix-blend-mode: screen; opacity: .35; animation: fall 1.4s linear infinite; transition: opacity 1s; }
.isle[data-count="0"] .ground-back::after { opacity: 0; }
@keyframes fall { to { background-position: 0 40px; } }
.isle .tree { z-index: 2; opacity: 0; transform: scale(.7) translateY(6%); transform-origin: 50% 100%; transition: opacity .6s var(--ease), transform 1s var(--spring); }
.isle .tree img { width: 100%; height: 100%; transform-origin: 50% 100%; animation: sway 12s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-.9deg); } 50% { transform: rotate(1.1deg) skewX(-.6deg); } }
.isle[data-count="1"] .tree-1, .isle[data-count="2"] .tree-2, .isle[data-count="3"] .tree-3, .isle[data-count="4"] .tree-4, .isle[data-count="5"] .tree-5 { opacity: 1; transform: none; }

/* the app's fog (OasisFogPainter, drawn by app.js), on canvases a little larger than the stage */
.fog { left: -25%; top: -10%; width: 150%; height: 145%; pointer-events: none;
  /* The fog never ends on a hard line: every edge of the canvas fades out. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 72%, transparent 100%), linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 72%, transparent 100%), linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-composite: intersect; }
.isle .fog-back, .mstage .fog-back { z-index: 0; }
.isle .fog-front { z-index: 4; }
.mstage .fog-front { z-index: 100; }

/* the month island (oasis_month_view.dart): one cube per day, the day's tree on it */
.mstage { position: relative; width: 100%; aspect-ratio: 480 / 400; container-type: inline-size; }
.mstage > * { position: absolute; display: block; }
.mcube img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mcube .grass { opacity: 1; transition: opacity .9s var(--ease); transition-delay: calc(1.2s + var(--i) * 140ms); }
.mnum { display: grid; place-items: center; font: 800 calc(10.5 / 480 * 100cqw) / 1 "Nunito", var(--ff-display); color: rgba(255, 255, 255, .95);
  text-shadow: 0 0 1.2px rgba(0, 0, 0, .85), 0 1px 2.5px rgba(0, 0, 0, .75), 0 1.5px 4px rgba(0, 0, 0, .5); pointer-events: none; }
.mshade { border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 60, 20, .32), rgba(40, 60, 20, 0)); transition: opacity .8s var(--ease) calc(1.25s + var(--i) * 140ms); }
.mtree { transform-origin: 50% 88%; transition: transform .9s var(--spring) calc(1.25s + var(--i) * 140ms), opacity .4s linear calc(1.25s + var(--i) * 140ms); }
.mtree img { width: 100%; height: 100%; transform-origin: 50% 90%; animation: sway calc(10s + var(--sway) * 1s) ease-in-out infinite; animation-delay: calc(var(--sway) * -1.3s); }
.mcube, .mnum { transition: transform .8s var(--spring), opacity .6s var(--ease); transition-delay: calc(var(--d) * 70ms); }
/* before it scrolls into view: the cubes wait above, the days are still dry */
.js .mstage:not(.is-grown) .mcube, .js .mstage:not(.is-grown) .mnum { opacity: 0; transform: translateY(-14%) scale(.5); }
.js .mstage:not(.is-grown) .mcube .grass { opacity: 0; }
.js .mstage:not(.is-grown) .mtree { opacity: 0; transform: scale(.2); }
.js .mstage:not(.is-grown) .mshade { opacity: 0; }

/* ------------------------------------------------------------------ sections */
section { position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .lead { margin: 18px auto 0; }

/* lock */
.lock { padding: 120px 0; background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M32 6l7.5 18.5L58 32l-18.5 7.5L32 58l-7.5-18.5L6 32l18.5-7.5z' fill='none' stroke='%230F3822' stroke-opacity='.05' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 64px 64px,
  var(--cream); }
.lock-grid { display: grid; grid-template-columns: 1fr 420px; gap: 72px; align-items: center; }
.lock-copy h2 { margin-bottom: 20px; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 8px; }
.steps li { display: flex; gap: 18px; padding: 16px 18px; border-radius: var(--r-md); transition: background .5s var(--ease), box-shadow .5s var(--ease); }
.steps li.is-active { background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 10px 30px rgba(15, 56, 34, .07); }
.step-n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 15px/1 var(--ff-display); color: var(--emerald); box-shadow: inset 0 0 0 2px rgba(15, 56, 34, .2); transition: all .4s; }
.steps li.is-active .step-n { background: var(--emerald); color: var(--cream); box-shadow: 0 0 0 4px rgba(197, 163, 88, .35); }
.steps li.is-done .step-n { background: var(--ok); color: #fff; box-shadow: none; }
.steps h3 { font-size: 19px; margin: 5px 0 4px; }
.steps p { color: var(--muted); font-size: 16px; }
.snooze-note { display: flex; gap: 16px; margin-top: 28px; padding: 20px 22px; border-radius: var(--r-md); border: 1px dashed rgba(15, 56, 34, .22); color: var(--emerald-2); }
.snooze-note svg { flex: none; margin-top: 3px; }
.snooze-note h3 { font-size: 17px; margin-bottom: 4px; }
.snooze-note p { color: var(--muted); font-size: 15.5px; }

/* phones */
.phone { --w: 300px; width: var(--w); aspect-ratio: 620 / 1347; padding: calc(var(--w) * .035); border-radius: calc(var(--w) * .16); margin: 0;
  background: linear-gradient(145deg, #2B2E35, #0E0F12 60%); box-shadow: 0 0 0 1.5px #3a3d44 inset, 0 40px 80px -20px rgba(11, 16, 29, .35), 0 18px 36px -18px rgba(11, 16, 29, .3); position: relative; flex: none; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .125); overflow: hidden; background: #fff; isolation: isolate; }
.phone.shot img { width: 100%; height: 100%; object-fit: cover; }

/* the demo phone */
.demo { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.demo .phone { --w: min(340px, 82vw); }
.demo-label { font: 800 13px/1 var(--ff-display); color: var(--emerald-2); display: flex; align-items: center; gap: 9px; letter-spacing: .02em; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(197, 163, 88, .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(197, 163, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(197, 163, 88, 0); } }
.status { position: absolute; inset: 0 0 auto; height: 9.5%; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 0 9% 0 10%; font: 600 13px/1 -apple-system, var(--ff-body); color: var(--night); transition: color .4s; }
.island-pill { position: absolute; left: 50%; top: 32%; width: 31%; height: 30%; background: #000; border-radius: 99px; transform: translateX(-50%); }
.status-icons { display: flex; gap: 4px; align-items: center; }
.status-icons i { width: 15px; height: 9px; border-radius: 2px; background: currentColor; opacity: .9; }
.status-icons i:nth-child(1) { width: 14px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.status-icons i:nth-child(2) { width: 13px; border-radius: 50% 50% 0 0; clip-path: polygon(50% 100%, 0 20%, 100% 20%); }
.status-icons i:nth-child(3) { width: 22px; border-radius: 3px; background: transparent; box-shadow: inset 0 0 0 1.4px currentColor; position: relative; }
.status-icons i:nth-child(3)::after { content: ""; position: absolute; inset: 2.5px 6px 2.5px 2.5px; background: currentColor; border-radius: 1px; }
.home-screen { position: absolute; inset: 0; padding: 16% 7% 6%; display: flex; flex-direction: column; gap: 7%;
  background: radial-gradient(90% 60% at 80% 10%, rgba(254, 222, 193, .95), transparent 60%), radial-gradient(90% 60% at 10% 90%, rgba(137, 218, 89, .28), transparent 60%), linear-gradient(170deg, #F6E3CF, #E9E3D3 50%, #D7E2D2); }
.w-next { display: flex; align-items: center; justify-content: space-between; padding: 6% 7%; border-radius: 22px; background: rgba(255, 252, 245, .9); box-shadow: 0 6px 18px rgba(60, 40, 10, .1); }
.w-next div { display: flex; flex-direction: column; font-family: var(--ff-display); }
.w-label { font-size: 11px; font-weight: 700; color: var(--gold-text); }
.w-next b { font-size: 22px; font-weight: 800; color: var(--emerald); line-height: 1.1; }
.w-time { font-size: 13px; font-weight: 700; color: var(--slate); }
.w-next img { height: 62px; width: auto; }
.app-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 9%; }
.app-grid li { display: flex; justify-content: center; }
.app { position: relative; width: 100%; aspect-ratio: 1; border-radius: 24%; border: 0; display: grid; place-items: center; padding: 0; box-shadow: 0 4px 10px rgba(30, 20, 10, .14); transition: filter .5s, transform .2s; }
.app svg { width: 56%; height: 56%; }
.t-siratum { overflow: hidden; }
.t-siratum .logo { width: 100%; border-radius: 0; }
.app i.padlock { opacity: 0; transform: scale(.4); transition: opacity .4s var(--ease), transform .5s var(--spring); }
.dock { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9%; padding: 5% 12%; border-radius: 26px; background: rgba(255, 255, 255, .42); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tap-hint { position: absolute; left: 7%; top: 50.5%; transform: translateY(-50%); font: 800 12px/1 var(--ff-display); color: #fff; background: var(--emerald); padding: 8px 11px; border-radius: 99px; opacity: 0; transition: opacity .4s; pointer-events: none; white-space: nowrap; }
.tap-hint::before { content: ""; position: absolute; left: 18px; top: -5px; width: 10px; height: 10px; background: var(--emerald); transform: rotate(45deg); }
[dir="rtl"] .tap-hint { left: auto; right: 7%; }
[dir="rtl"] .tap-hint::before { left: auto; right: 18px; }
.notif { position: absolute; left: 4%; right: 4%; top: 6.5%; z-index: 15; display: flex; gap: 10px; padding: 11px 12px; border-radius: 20px; background: rgba(250, 250, 250, .82);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 10px 30px rgba(0, 0, 0, .14); transform: translateY(-140%); opacity: 0; transition: transform .7s var(--spring), opacity .4s; }
.notif-icon { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--cream); display: grid; place-items: center; color: var(--emerald); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.notif-icon { overflow: hidden; }
.notif-icon .logo { width: 100%; border-radius: 0; }
.notif-text { display: grid; grid-template-columns: 1fr auto; gap: 1px 8px; font: 400 12.5px/1.3 -apple-system, var(--ff-body); color: #111; min-width: 0; }
.notif-text b { font-weight: 600; font-size: 12px; color: #555; }
.notif-text small { font-size: 11px; color: #888; }
.notif-text strong { grid-column: 1 / -1; font-weight: 600; font-size: 13px; }
.notif-text > span { grid-column: 1 / -1; }

.shield { position: absolute; inset: 0; z-index: 12; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 11% 0;
  background: rgba(15, 56, 34, .9); -webkit-backdrop-filter: blur(24px) saturate(1.2); backdrop-filter: blur(24px) saturate(1.2); color: var(--cream);
  opacity: 0; pointer-events: none; transition: opacity .55s var(--ease); }
.shield .moon { margin-bottom: 14px; transform: scale(.7); transition: transform .8s var(--spring); }
.shield-title { font: 700 21px/1.2 -apple-system, var(--ff-display); color: var(--gold); }
.shield-sub { font: 400 14.5px/1.45 -apple-system, var(--ff-body); color: rgba(247, 245, 238, .92); margin-top: 8px; }
.shield-actions { position: absolute; left: 6%; right: 6%; bottom: 5%; display: grid; gap: 4px; }
.shield-primary { border: 0; border-radius: 15px; padding: 15px; background: var(--gold); color: var(--night); font: 600 16px/1 -apple-system, var(--ff-body); transition: transform .15s, filter .2s; }
.shield-primary:hover { filter: brightness(1.06); }
.shield-primary:active { transform: scale(.98); }
.shield-secondary { border: 0; background: none; padding: 13px; color: #FF6B5E; font: 500 16px/1 -apple-system, var(--ff-body); }

.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 14; background: #fff; border-radius: 30px 30px 0 0; padding: 26px 8% 9%; text-align: center; box-shadow: 0 -10px 40px rgba(0, 0, 0, .12);
  transform: translateY(105%); transition: transform .6s var(--spring); }
.sheet::before { content: ""; display: block; width: 38px; height: 5px; border-radius: 9px; background: #DADADF; margin: -12px auto 16px; }
.sheet-title { font: 800 21px/1.2 var(--ff-display); color: var(--night); }
.sheet-sub { font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 8px; }
.sheet-status { font-size: 13px; color: var(--muted); margin-top: 3px; }
.chips { display: flex; gap: 8px; justify-content: center; margin: 20px 0 8px; flex-wrap: wrap; }
.chips button { border: 0; background: rgba(15, 56, 34, .08); color: var(--emerald); font: 700 15px/1 var(--ff-display); padding: 13px 16px; border-radius: 14px; }
.chips button:hover { background: rgba(15, 56, 34, .14); }
.sheet-link { border: 0; background: none; color: var(--emerald-2); font: 600 14px/1 var(--ff-body); padding: 12px; }
.orbs { display: flex; justify-content: center; gap: 18px; margin: 18px 0 4px; }
.orb { border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.orb i { width: 46px; height: 46px; border-radius: 50%; box-shadow: inset -6px -8px 12px rgba(0, 0, 0, .18), inset 6px 6px 10px rgba(255, 255, 255, .5), 0 6px 14px rgba(0, 0, 0, .12); }
.orb span { font: 700 12px/1 var(--ff-display); padding: 6px 10px; border-radius: 99px; }
.orb-on i { background: radial-gradient(circle at 35% 30%, #7EE0C1, #13A47D 60%, #0B7A5D); }
.orb-on span { color: #0B7A5D; background: #E3F6EF; box-shadow: inset 0 0 0 1px #9BDCC6; }
.orb-qada i { background: radial-gradient(circle at 35% 30%, #FFD48A, #F0A23A 60%, #C97A12); }
.orb-qada span { color: #A2610C; background: #FDF0DD; }
.orb-missed i { background: radial-gradient(circle at 35% 30%, #FF9AAE, #E5466A 60%, #B92649); }
.orb-missed span { color: #B92649; background: #FCE6EC; }
.orb-on { animation: nudge 2.2s ease-in-out infinite; }
.orb-on:hover i { transform: scale(1.06); }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-4px); } 90% { transform: translateY(0); } }
.mini-island { position: relative; width: 46%; margin: 0 auto; aspect-ratio: 320 / 414; overflow: hidden; }
.mini-island .isle { inset: auto 0 0; height: 108.7%; }
.sheet-hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.pill-gold { border: 0; margin-top: 20px; width: 100%; padding: 15px; border-radius: 16px; background: var(--emerald); color: var(--cream); font: 800 16px/1 var(--ff-display); }
.done-sheet .sheet-title { color: var(--emerald); }
.toast { position: absolute; left: 50%; top: 8%; z-index: 16; transform: translate(-50%, -30px); opacity: 0; display: flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 99px;
  background: var(--emerald); color: var(--cream); font: 700 13px/1.2 var(--ff-display); box-shadow: 0 10px 24px rgba(15, 56, 34, .3); transition: transform .6s var(--spring), opacity .35s; width: max-content; max-width: 88%; }
.toast-snoozed { display: none; }
.replay { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; color: var(--emerald-2); font: 700 14px/1 var(--ff-display); padding: 10px 14px; border-radius: 99px; opacity: 0; transition: opacity .4s, background .2s; }
.replay:hover { background: rgba(15, 56, 34, .07); }

/* demo states */
.demo:not([data-state="idle"]) .notif { transform: none; opacity: 1; }
.demo[data-state="locked"] .app i.padlock, .demo[data-state="shield"] .app i.padlock, .demo[data-state="snooze"] .app i.padlock, .demo[data-state="mark"] .app i.padlock, .demo[data-state="done"] .app i.padlock { opacity: 1; transform: none; }
.demo[data-state="locked"] .app-grid .app { filter: saturate(.85) brightness(.97); }
.demo[data-state="locked"] .tap-hint { opacity: 1; animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 50% { transform: translateY(calc(-50% - 4px)); } }
.demo[data-state="locked"] .app-grid li:nth-child(5) .app { animation: tapme 1.6s ease-in-out infinite; }
@keyframes tapme { 50% { transform: scale(1.06); } }
.demo[data-state="shield"] .shield, .demo[data-state="snooze"] .shield { opacity: 1; pointer-events: auto; }
.demo[data-state="shield"] .shield .moon { transform: none; }
.demo[data-state="shield"] .status, .demo[data-state="snooze"] .status { color: var(--cream); }
.demo[data-state="snooze"] .snooze-sheet, .demo[data-state="mark"] .mark-sheet, .demo[data-state="done"] .done-sheet { transform: none; }
.demo[data-state="shield"] .notif, .demo[data-state="snooze"] .notif, .demo[data-state="mark"] .notif, .demo[data-state="done"] .notif, .demo[data-state="unlocked"] .notif, .demo[data-state="snoozed"] .notif { transform: translateY(-140%); opacity: 0; }
.demo[data-state="unlocked"] .toast, .demo[data-state="snoozed"] .toast { transform: translate(-50%, 0); opacity: 1; }
.demo[data-state="snoozed"] .toast-unlocked { display: none; }
.demo[data-state="snoozed"] .toast-snoozed { display: inline; }
.demo[data-state="unlocked"] .replay, .demo[data-state="snoozed"] .replay { opacity: 1; }
.demo[data-state="locked"] .app-grid .app, .demo[data-state="unlocked"] .app-grid .app { cursor: pointer; }
.demo[data-state="unlocked"] .app-grid .app { animation: free .7s var(--spring) both; animation-delay: calc(var(--k, 0) * 40ms); }
@keyframes free { 0% { transform: scale(.9); } 100% { transform: none; } }

/* garden */
.garden { padding: 120px 0 130px; }
.garden .section-head { margin-bottom: 0; }
.garden-play { margin-top: -10px; }
.garden-play { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.garden-stage { --hole-x: 50%; --hole-y: 60%; position: relative; width: min(100%, 500px); aspect-ratio: 320 / 450; justify-self: center; }
.garden-stage .glow { position: absolute; left: 50%; top: 22%; width: 90%; aspect-ratio: 1; transform: translate(-50%, -20%) scale(.6); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 214, 120, .75), rgba(255, 214, 120, 0)); opacity: 0; transition: opacity 1.2s, transform 1.4s var(--ease); }
.garden-play[data-count="5"] .glow { opacity: 1; transform: translate(-50%, -20%) scale(1); }
.drop { position: absolute; left: var(--hole-x); top: 0; width: 22px; height: 30px; margin-left: -11px; z-index: 6; opacity: 0; pointer-events: none;
  background: radial-gradient(circle at 35% 62%, #E8FBFF 0 18%, #7FD8F2 45%, #2BA6D8 100%); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; clip-path: path("M11 0 C11 0 22 14 22 19 A11 11 0 0 1 0 19 C0 14 11 0 11 0Z"); }
.drop.is-falling { animation: drop .75s cubic-bezier(.55, 0, .9, .45) forwards; }
@keyframes drop { 0% { top: 2%; opacity: 0; transform: scale(.6); } 15% { opacity: 1; transform: none; } 100% { top: calc(var(--hole-y) - 34px); opacity: 1; } }
.splash { position: absolute; left: var(--hole-x); top: var(--hole-y); width: 70px; height: 22px; margin: -14px 0 0 -35px; border-radius: 50%; border: 2px solid rgba(160, 230, 250, .9); opacity: 0; z-index: 6; pointer-events: none; }
.splash.is-on { animation: splash .7s ease-out forwards; }
@keyframes splash { 0% { opacity: 1; transform: scale(.2); } 100% { opacity: 0; transform: scale(1.6); } }
.sparkles { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.sparkles i { position: absolute; left: calc(30% + var(--i) * 3%); top: 40%; width: 6px; height: 6px; border-radius: 50%; background: #FFE29A; box-shadow: 0 0 10px 2px rgba(255, 210, 110, .8); opacity: 0; }
.garden-play[data-count="5"] .sparkles i { animation: rise 3.4s ease-out calc(var(--i) * .22s) infinite; }
@keyframes rise { 0% { opacity: 0; transform: translateY(40px) scale(.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-120px) translateX(calc((var(--i) - 7) * 4px)) scale(1); } }
.capsules { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.capsule { border: 0; background: var(--paper); border-radius: 18px; padding: 16px 6px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; box-shadow: 0 0 0 1px var(--line), 0 6px 18px rgba(15, 56, 34, .05);
  transition: transform .25s var(--spring), box-shadow .3s, background .3s; }
.capsule:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(15, 56, 34, .2), 0 12px 24px rgba(15, 56, 34, .08); }
.capsule .ring { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: transparent; box-shadow: inset 0 0 0 2px rgba(15, 56, 34, .2); transition: all .35s var(--spring); }
.capsule .pname { font: 800 14.5px/1.1 var(--ff-display); color: var(--slate); }
.capsule[aria-pressed="true"] { background: #F0FAF5; box-shadow: 0 0 0 1.5px rgba(5, 150, 105, .45), 0 8px 20px rgba(5, 150, 105, .1); }
.capsule[aria-pressed="true"] .ring { background: var(--ok); color: #fff; box-shadow: 0 0 0 4px rgba(5, 150, 105, .16); }
.capsule[aria-pressed="true"] .pname { color: var(--emerald); }
.tier { margin-top: 28px; min-height: 170px; position: relative; }
.tier-card { padding: 26px 28px; border-radius: var(--r-lg); background: var(--paper); box-shadow: 0 0 0 1px var(--line); animation: card-in .6s var(--ease); }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } }
.tier-card h3 { margin: 12px 0 8px; }
.tier-card p { color: var(--muted); }
.tier-badge { display: inline-block; font: 800 12px/1 var(--ff-display); color: var(--emerald-2); background: rgba(15, 56, 34, .07); padding: 7px 11px; border-radius: 99px; }
.tier-badge.gold { background: linear-gradient(180deg, #F3E2B0, #E2C778); color: #5b4310; }
.tier-full { background: linear-gradient(180deg, #FFFBEF, #FFF5DC); box-shadow: 0 0 0 1px rgba(197, 163, 88, .45), 0 20px 50px rgba(197, 163, 88, .22); }
.garden-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding: 0 6px; }
.count { font: 800 15px/1 var(--ff-display); color: var(--emerald-2); }
.reset { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; color: var(--muted); font: 700 14px/1 var(--ff-display); padding: 9px 12px; border-radius: 99px; }
.reset:hover { background: rgba(15, 56, 34, .06); color: var(--emerald); }

/* month + year */
.seasons { padding: 40px 0 120px; background: linear-gradient(180deg, var(--cream), #F5F0E6); }
.month { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.month-art { position: relative; }
.month-copy h2, .year-copy h2 { margin-bottom: 18px; }
.year { display: grid; grid-template-columns: 1fr auto; gap: 72px; align-items: center; margin-top: 130px; padding: 56px 72px; border-radius: var(--r-xl); background: linear-gradient(135deg, #FDE7D1, #F7EFE3 55%, #EEF1E7); }
.year .phone { --w: 270px; margin-block: -110px -90px; margin-inline-end: 20px; transform: rotate(4deg); }
[dir="rtl"] .year .phone { transform: rotate(-4deg); }
.pro-tag { display: inline-flex; align-items: center; margin-top: 22px; font: 800 13px/1 var(--ff-display); color: #5b4310; background: linear-gradient(180deg, #F3E2B0, #E2C778); padding: 9px 14px; border-radius: 99px; }

/* story */
.story { padding: 130px 0; background: radial-gradient(60% 50% at 15% 20%, rgba(197, 163, 88, .16), transparent 70%), linear-gradient(180deg, #F5F0E6, #F7F3EA); }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.story-head { position: sticky; top: calc(var(--nav-h) + 60px); }
.sprout { position: relative; width: 230px; aspect-ratio: 320 / 360; margin-top: 26px; overflow: hidden; }
.sprout .isle { inset: auto 0 0; height: 125%; }
.letter { position: relative; background: var(--paper); padding: 56px 60px 48px; border-radius: 6px; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 30px 60px -30px rgba(80, 60, 20, .25), 0 0 0 1px rgba(138, 106, 34, .14);
  font: 400 18.5px/1.75 var(--ff-display); color: #2A2A2A; }
.letter::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(197, 163, 88, .35); border-radius: 3px; pointer-events: none; }
.letter p + p { margin-top: 1.05em; }
.letter .greeting { font-weight: 800; color: var(--emerald); font-size: 22px; }
.letter footer { margin-top: 36px; display: flex; flex-direction: column; gap: 2px; }
.signature { font: 400 64px/1 "Siratum Signature", var(--ff-display); color: var(--emerald); }
.lang-ar .signature, .lang-ru .signature { font: 800 34px/1.3 var(--ff-display); }
.role { font: 700 14px/1.3 var(--ff-display); color: var(--muted); }

/* features */
.features { padding: 130px 0 70px; }
.chapter { display: grid; grid-template-columns: auto 1fr; gap: 80px; align-items: center; margin: 0 auto 120px; max-width: 980px; }
.chapter.flip { grid-template-columns: 1fr auto; }
.chapter.flip .phone { order: 2; }
.chapter-copy h3 { font-size: clamp(30px, 3.2vw, 42px); margin-bottom: 18px; }
.chapter-copy > p:not(.kicker) { font-size: 18px; color: var(--slate); max-width: 30em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-inline-start: 34px; font-size: 17px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: rgba(197, 163, 88, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%238A6A22' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 980px; margin: 0 auto 120px; }
.pair-item { padding: 56px 48px 44px; border-radius: var(--r-xl); background: linear-gradient(180deg, #FBF1E6, #F6F1E8); overflow: hidden; }
.pair-item:nth-child(2) { background: linear-gradient(180deg, #FCE9EC, #F7EFEC); }
.pair-item .phone { --w: 230px; margin: 0 auto 40px; }
.pair-item .tilt-l { transform: rotate(-3deg); }
.pair-item .tilt-r { transform: rotate(3deg); }
.pair-item h3 { margin-bottom: 10px; }
.pair-item p:not(.kicker) { color: var(--slate); }

.dhikr-band { background: radial-gradient(60% 70% at 80% 30%, rgba(197, 163, 88, .18), transparent 60%), linear-gradient(160deg, #0F3822, #0A2717 70%); color: var(--cream); padding: 120px 0; margin-bottom: 120px; overflow: hidden; }
.dhikr-band .chapter { margin-bottom: 0; }
.dhikr-band h3 { color: var(--cream); }
.dhikr-band .kicker { color: var(--gold); }
.dhikr-band .chapter-copy > p:not(.kicker) { color: rgba(247, 245, 238, .85); }
.tasbih { position: relative; width: 210px; aspect-ratio: 1; margin-top: 40px; border: 0; padding: 0; background: radial-gradient(closest-side, rgba(197, 163, 88, .12), transparent); border-radius: 50%; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.tasbih .ring { position: absolute; inset: 0; }
.tasbih i { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; transform: rotate(calc(var(--i) * 10.9deg + 180deg)) translateY(-92px);
  background: radial-gradient(circle at 35% 30%, #4E7F63, #24563A 60%, #163A26); box-shadow: 0 2px 4px rgba(0, 0, 0, .35); transition: background .25s, transform .3s var(--spring); }
.tasbih i.on { background: radial-gradient(circle at 35% 30%, #F8E7B4, var(--gold) 55%, #8A6A22); }
.tasbih i.now { transform: rotate(calc(var(--i) * 10.9deg + 180deg)) translateY(-98px) scale(1.25); }
.tcount { display: flex; flex-direction: column; align-items: center; font-family: var(--ff-display); color: var(--cream); pointer-events: none; }
.tcount b { font-size: 48px; font-weight: 800; line-height: 1; }
.tcount small { font-size: 14px; color: rgba(247, 245, 238, .6); margin-top: 4px; }
.tasbih.is-full { box-shadow: 0 0 60px rgba(197, 163, 88, .35); }
.tasbih:active .tcount b { transform: scale(.96); }
.tasbih-hint { margin-top: 14px; font: 700 13px/1 var(--ff-display); color: rgba(247, 245, 238, .55); }
[dir="rtl"] .tasbih i { transform: rotate(calc(var(--i) * -10.9deg + 180deg)) translateY(-92px); }
[dir="rtl"] .tasbih i.now { transform: rotate(calc(var(--i) * -10.9deg + 180deg)) translateY(-98px) scale(1.25); }

.more { list-style: none; margin: 0 auto 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 980px; border-top: 1px solid var(--line); }
.more li { padding: 34px 28px 10px; }
.more li + li { border-inline-start: 1px solid var(--line); }
.more-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(15, 56, 34, .07); color: var(--emerald); margin-bottom: 16px; }
.more h3 { font-size: 20px; margin-bottom: 6px; }
.more p { color: var(--muted); font-size: 16px; }

/* plans */
.plans { padding: 60px 0 120px; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 980px; margin: 0 auto; }
.plan { padding: 44px 44px 40px; border-radius: var(--r-xl); box-shadow: 0 0 0 1px var(--line); background: var(--paper); }
.plan h3 { margin-bottom: 26px; display: flex; align-items: center; gap: 10px; }
.plan-pro { background: radial-gradient(70% 60% at 100% 0%, rgba(197, 163, 88, .25), transparent 60%), linear-gradient(165deg, #12432A, #0A2717); box-shadow: 0 30px 60px -30px rgba(10, 39, 23, .6); color: var(--cream); }
.plan-pro h3 { color: var(--gold); }
.plan-pro .logo { width: 34px; box-shadow: 0 0 0 1px rgba(197, 163, 88, .45); }
.plan-pro .ticks li::before { background-color: rgba(197, 163, 88, .22); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23E2C778' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(247, 245, 238, .14); font-size: 14.5px; color: rgba(247, 245, 238, .7); }

/* faq */
.faq { padding: 40px 0 140px; }
.faq-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; max-width: 1060px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font: 800 19px/1.35 var(--ff-display); color: var(--emerald); }
.faq-list summary::-webkit-details-marker { display: none; }
.plus { flex: none; width: 28px; height: 28px; border-radius: 50%; position: relative; box-shadow: inset 0 0 0 1.5px rgba(15, 56, 34, .25); transition: transform .35s var(--ease), background .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--emerald); border-radius: 2px; transition: transform .35s var(--ease); }
.plus::after { transform: rotate(90deg); }
details[open] .plus { transform: rotate(180deg); background: rgba(15, 56, 34, .06); }
details[open] .plus::after { transform: rotate(0deg); }
.faq-list details p { padding: 0 48px 26px 0; color: var(--slate); }
[dir="rtl"] .faq-list details p { padding: 0 0 26px 48px; }

/* night cta */
.cta { padding: 110px 0 120px; }
.stars { position: absolute; inset: 0; z-index: -1; opacity: .9;
  background-image: radial-gradient(1.2px 1.2px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 42%, #fff, transparent), radial-gradient(1.4px 1.4px at 46% 12%, #fff, transparent),
    radial-gradient(1px 1px at 62% 30%, #fff, transparent), radial-gradient(1.6px 1.6px at 78% 16%, #fff, transparent), radial-gradient(1px 1px at 90% 48%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 8% 70%, #fff, transparent), radial-gradient(1px 1px at 36% 82%, #fff, transparent), radial-gradient(1.3px 1.3px at 56% 64%, #fff, transparent),
    radial-gradient(1px 1px at 70% 86%, #fff, transparent), radial-gradient(1.2px 1.2px at 94% 80%, #fff, transparent), radial-gradient(1px 1px at 20% 34%, #fff, transparent);
  background-size: 520px 420px; animation: twinkle 7s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .45; } }
.cta::before { content: ""; position: absolute; right: 9%; top: 11%; width: 110px; height: 110px; opacity: .95; filter: drop-shadow(0 0 30px rgba(243, 230, 194, .35));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23EFE0B4' d='M14.5 2.6a9.6 9.6 0 1 0 6.9 14.6A8 8 0 0 1 14.5 2.6Z'/%3E%3Cpath fill='%23EFE0B4' d='m18.6 4.2.6 1.6 1.6.6-1.6.6-.6 1.6-.6-1.6-1.6-.6 1.6-.6Zm-3 4.5.4 1 1 .4-1 .4-.4 1-.4-1-1-.4 1-.4Z'/%3E%3C/svg%3E") center / contain no-repeat; }
[dir="rtl"] .cta::before { right: auto; left: 9%; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.cta-stage { position: relative; width: min(100%, 440px); aspect-ratio: 320 / 450; justify-self: center; }
.cta-stage .isle { filter: brightness(.78) saturate(.9) hue-rotate(-6deg); }
.cta-stage::before { content: ""; position: absolute; left: 50%; top: 30%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -40%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 210, 120, .4), transparent); }
.cta-copy h2 { color: var(--cream); margin-bottom: 18px; }
.cta-copy .kicker { color: var(--gold); }
.cta-copy .lead { color: rgba(247, 245, 238, .85); margin-bottom: 34px; }

/* footer */
.footer { padding: 44px 0 40px; background: var(--cream); border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; font: 700 15px/1 var(--ff-display); color: var(--slate); opacity: .8; }
.footer nav a:hover { opacity: 1; }
.footer-small { margin-top: 22px; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* privacy page: the policy lives at legal.kozmonos.com and comes in through an iframe (embed mode has no padding
   or ground of its own: the card gives both) */
.doc-page { background: var(--cream); }
.doc-hero { padding: calc(var(--nav-h) + 64px) 0 120px; }
.doc-hero-inner { max-width: 880px; }
.doc-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 30px; font: 700 14px/1 var(--ff-display); color: var(--emerald-2); text-decoration: none; padding: 8px 12px 8px 8px; border-radius: 99px; background: rgba(255, 255, 255, .55); }
.doc-back:hover { background: rgba(255, 255, 255, .85); }
.doc-hero h1 { font-size: clamp(40px, 5.4vw, 64px); }
.doc-sub { color: var(--slate); margin-top: 14px; font-size: 18px; max-width: 36em; }
.doc-wrap { max-width: 880px; margin-top: -84px; padding-bottom: 100px; position: relative; z-index: 1; }
.doc-card { background: var(--paper); border-radius: var(--r-xl); padding: clamp(26px, 5vw, 64px) clamp(22px, 5.5vw, 72px); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(80, 60, 20, .25); }
.policy-frame { display: block; width: 100%; height: 3200px; border: 0; background: transparent; color-scheme: light; }
.doc-contact { text-align: center; margin-top: 30px; color: var(--muted); font-size: 15px; }
.doc-contact a { color: var(--emerald); font-weight: 600; }
.footer nav a[aria-current] { opacity: 1; color: var(--emerald); }

/* reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-end { margin-inline-start: auto; }
  .lock-grid { grid-template-columns: 1fr; gap: 56px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-head { position: static; }
  .chapter, .chapter.flip { gap: 48px; }
}
@media (max-width: 860px) {
  :root { --nav-h: 60px; }
  body { font-size: 16.5px; }
  .hero { padding-top: calc(var(--nav-h) + 36px); }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-stage { width: min(100%, 420px); margin: -10px auto -30px; }
  .garden-play, .month, .cta-grid, .faq-wrap, .plan-grid, .pair { grid-template-columns: 1fr; }
  .garden-play { gap: 10px; }
  .garden-stage { width: min(100%, 400px); }
  .chapter, .chapter.flip { grid-template-columns: 1fr; justify-items: center; text-align: start; gap: 40px; margin-bottom: 90px; }
  .chapter.flip .phone { order: 0; }
  .chapter .phone { --w: 250px; }
  .year { grid-template-columns: 1fr; padding: 44px 28px 0; gap: 40px; }
  .year .phone { margin: 0 auto -120px; --w: 240px; }
  .more { grid-template-columns: 1fr; }
  .more li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
  .letter { padding: 40px 28px 36px; font-size: 17.5px; }
  .faq-wrap { gap: 10px; }
  .cta-copy { text-align: center; }
  .cta-copy .lead { margin-inline: auto; }
  .cta::before { width: 64px; height: 64px; }
  .capsules { gap: 6px; }
  .capsule { padding: 13px 2px 11px; border-radius: 14px; }
  .capsule .pname { font-size: 12.5px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 36px); }
  .nav-cta { display: none; }
  .langs summary span { display: none; }
  .pair-item { padding: 40px 24px 32px; }
  .plan { padding: 34px 26px; }
  .faq-list details p { padding-inline-end: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
