/* Kibarona site. White page, one deep-green ink, product photos on soft neutral tiles.
   Mobile-first, RTL. Components: .btn, .tile, .room, .search, .chip, .block. */
/* IBM Plex Sans Arabic (SIL Open Font License), served from this site. */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/plex-arabic-arabic-400.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/plex-arabic-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/plex-arabic-arabic-500.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/plex-arabic-latin-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/plex-arabic-arabic-600.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/plex-arabic-latin-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/plex-arabic-arabic-700.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/plex-arabic-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #FFFFFF;
  --tile: #F3F5EF;
  --tile-hover: #EAEEE4;
  --ink: #0C2F27;
  --ink-2: #44574F;
  --ink-3: #5F6F68;
  --line: #E2E7DC;
  --brand: #0E392F;
  --brand-2: #155545;
  --lime: #9FC244;
  --lime-soft: #E9F5C6;
  --cream: #F5FCE3;
  --lime-light: #E1FF83;
  --orange: #FFA436;
  --danger: #B3261E;
  --gutter: 20px;
  --r-tile: 28px;
  --font: 'IBM Plex Sans Arabic', 'SF Arabic', 'Geeza Pro', Tahoma, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.75; color: var(--ink); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nw { white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -80px; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 30; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow > * { max-width: 720px; }
.fine { font-size: 14.5px; color: var(--ink-3); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 8px 26px; border: 1.5px solid var(--brand); border-radius: 999px; background: var(--brand); color: #fff; font: inherit; font-size: 17px; font-weight: 600; line-height: 1.4; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.ghost { background: transparent; color: var(--brand); border-color: #B9C6B5; }
.btn.ghost:hover { background: var(--tile); border-color: var(--brand); }
.btn.small { min-height: 44px; padding-inline: 18px; font-size: 15.5px; }
.btn.lime { background: var(--lime); border-color: var(--lime); color: var(--brand); }
.btn.lime:hover { background: #B2D35A; border-color: #B2D35A; }
.btn.on-dark { background: var(--cream); color: var(--brand); border-color: var(--cream); }
.btn.on-dark:hover { background: #fff; border-color: #fff; }
.btn.copied { background: var(--lime-soft); border-color: var(--lime); color: var(--brand); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(12, 47, 39, .08); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 30px; width: auto; }
.site-header nav { display: flex; align-items: center; gap: 4px; }
.nav-link { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding-inline: 12px; border-radius: 999px; font-size: 16px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.nav-link:hover, .nav-link[aria-current] { color: var(--ink); background: var(--tile); }
.nav-link.wide { display: none; }
.site-header .btn { margin-inline-start: 8px; white-space: nowrap; }
@media (max-width: 419px) { .site-header .bar { gap: 6px; } .site-header nav { gap: 0; } .nav-link { padding-inline: 8px; font-size: 15px; } .site-header .btn { margin-inline-start: 4px; padding-inline: 14px; font-size: 15px; } .brand img { height: 26px; } }
@media (min-width: 720px) { .nav-link.wide { display: inline-flex; } .brand img { height: 32px; } }

/* Breadcrumb and page heads */
.crumb { display: flex; align-items: center; gap: 8px; padding-top: 14px; font-size: 15px; color: var(--ink-3); }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.crumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.page-head { padding-top: 8px; padding-bottom: 28px; }
.page-head h1 { font-size: clamp(36px, 7vw, 60px); line-height: 1.25; font-weight: 700; }
.page-head p { margin-top: 10px; font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 34em; }
.page-head.has-art { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.head-art { position: relative; flex: none; width: clamp(104px, 22vw, 230px); aspect-ratio: 1.2; }
.head-art .poly { position: absolute; inset: 0; width: 100%; height: 100%; }
.head-art img { position: absolute; inset: 14% 24%; width: 52%; height: 72%; object-fit: contain; mix-blend-mode: multiply; }
.page-head .fine { font-size: 14.5px; color: var(--ink-3); }

/* Brand polygons: a light patch behind a product. Colour comes from --poly. */
.poly { stroke: none; fill: var(--poly, var(--cream)); }
.acc-green { --poly: #E1FF83; } .acc-orange { --poly: #FFDDAB; } .acc-cyan { --poly: #BDF3F1; } .acc-purple { --poly: #E2D0FF; }

/* Home hero: deep green, like the brand's posts */
.hero { position: relative; overflow: hidden; background: var(--brand); color: var(--cream); }
.hero-facet { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 44%; stroke: none; fill: var(--brand-2); }
.hero-in { position: relative; display: grid; gap: 36px; padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(44px, 7vw, 88px); }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.4; font-weight: 700; }
.hero .hl { display: inline; padding: 0 .22em; background: var(--brand-2); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-text > p { margin-top: 16px; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.7; color: #E6F2D6; max-width: 28em; }
.hero .search { margin-top: 26px; width: 100%; max-width: 540px; }
.hero .search input { background: var(--cream); }
.hero .search input:hover { background: #fff; }
.hero .search input:focus { box-shadow: 0 0 0 4px rgba(159, 194, 68, .55); }
.hero-art { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1.12; margin-inline: auto; }
.hero-art .poly.main { position: absolute; inset: 4% 0 0 6%; width: 94%; height: 96%; }
.hero-art .poly.line { position: absolute; inset: 0 8% 6% 0; width: 92%; height: 94%; fill: none; stroke: var(--orange); stroke-width: 5; }
.hero-art img.main { position: absolute; inset: 15% 27% 13%; width: 46%; height: 72%; object-fit: contain; }
.hero-art .sat { position: absolute; }
.hero-art .sat .poly { position: absolute; inset: 0; width: 100%; height: 100%; --poly: #fff; }
.hero-art .sat img { position: absolute; inset: 27%; width: 46%; height: 46%; object-fit: contain; }
.hero-art .s1 { inset-inline-start: 0; bottom: 2%; width: 34%; aspect-ratio: 1.2; }
.hero-art .s2 { inset-inline-end: 0; top: 0; width: 28%; aspect-ratio: 1; }
@media (max-width: 859px) { .hero-art { max-width: 360px; } }
@media (min-width: 860px) { .hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 48px; } }

/* Page hero: forms and the about page */
.page-hero { position: relative; overflow: hidden; margin-top: 4px; background: var(--brand); color: var(--cream); }
.ph-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: clamp(30px, 6vw, 64px); }
.page-hero h1 { font-size: clamp(32px, 5.6vw, 56px); line-height: 1.3; font-weight: 700; }
.page-hero p { margin-top: 10px; font-size: clamp(18px, 2.2vw, 21px); color: #E6F2D6; max-width: 30em; }
.page-hero .fine { font-size: 14.5px; color: #C9DDBF; }
.ph-art { position: relative; flex: none; width: clamp(92px, 20vw, 210px); aspect-ratio: 1.15; }
.ph-art .poly { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-art .ico { position: absolute; inset: 30%; width: 40%; height: 40%; color: var(--brand); stroke-width: 2.2; }
.ph-art img { position: absolute; inset: 15% 25%; width: 50%; height: 70%; object-fit: contain; mix-blend-mode: multiply; }
.ph-art.cover { aspect-ratio: 1; }
.ph-art.cover img { inset: 6% 30% -30%; width: 40%; height: auto; mix-blend-mode: normal; border-radius: 10px; transform: rotate(5deg); box-shadow: 0 10px 24px rgba(12, 47, 39, .25); }
.ph-art.cover { overflow: visible; }

/* Home: "what became hard?" Each difficulty opens the tool that answers it. */
.needs { background: var(--cream); padding-block: clamp(44px, 7vw, 80px); }
.needs h2 { font-size: clamp(30px, 5vw, 50px); line-height: 1.3; font-weight: 700; }
.needs-lead { margin-top: 6px; font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); }
.needs .challenges { margin-top: 26px; }
.challenges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.challenge { display: flex; flex-direction: column; height: 100%; padding: 14px 14px 12px; border-radius: 24px; background: #fff; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.ch-page .challenge { background: var(--tile); }
.challenge:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(12, 47, 39, .1); }
.ch-art { position: relative; display: block; height: 112px; margin-bottom: 12px; }
.ch-art .poly { position: absolute; inset: 0; width: 100%; height: 100%; }
.ch-art img { position: absolute; top: 20%; width: 34%; height: 60%; object-fit: contain; mix-blend-mode: multiply; }
.ch-art img:nth-of-type(1) { inset-inline-start: 33%; top: 12%; height: 70%; z-index: 1; }
.ch-art img:nth-of-type(2) { inset-inline-start: 6%; top: 34%; height: 50%; }
.ch-art img:nth-of-type(3) { inset-inline-end: 6%; top: 34%; height: 50%; }
.challenge strong { font-size: clamp(18px, 2.2vw, 23px); line-height: 1.45; font-weight: 700; }
.ch-lead { margin-top: 2px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.ch-count { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; font-size: 14.5px; font-weight: 600; }
.ch-count svg { width: 22px; height: 22px; }
@media (max-width: 479px) { .ch-lead { display: none; } .ch-art { height: 92px; } }
@media (min-width: 720px) { .challenges { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .challenge { padding: 22px 22px 18px; border-radius: var(--r-tile); } .ch-art { height: 160px; margin-bottom: 16px; } }
@media (min-width: 1100px) { .challenges { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } .challenge { padding: 16px 16px 14px; } .ch-art { height: 124px; margin-bottom: 12px; } .challenge strong { font-size: 19px; } .ch-lead { font-size: 14.5px; } }
.ch-page, .ch-tools { padding-top: clamp(28px, 5vw, 56px); }
.ch-tools .disclaimer { max-width: 56em; margin-top: 40px; }
.helps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 15.5px; color: var(--ink-2); }
.helps a { display: inline-flex; align-items: center; min-height: 40px; padding-inline: 16px; border-radius: 999px; background: var(--lime-light); color: var(--brand); font-weight: 600; text-decoration: none; }
.helps a:hover { background: var(--lime); }

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.wrap.hero-actions { justify-content: flex-start; padding-bottom: 56px; }
@media (max-width: 479px) { .hero-actions { width: 100%; flex-direction: column; } .hero-actions .btn { width: 100%; } }

/* Search */
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; inset-inline-start: 20px; width: 22px; height: 22px; color: var(--ink-3); pointer-events: none; }
.search input { width: 100%; height: 60px; padding-inline: 54px 20px; border: 1.5px solid transparent; border-radius: 999px; background: var(--tile); font: inherit; font-size: 17px; color: var(--ink); transition: background .15s, border-color .15s; }
.search input::placeholder { color: var(--ink-3); }
.search input:hover { background: var(--tile-hover); }
.search input:focus { outline: 0; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--lime-soft); }

/* Blocks */
.block { padding-top: clamp(40px, 7vw, 80px); }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.block-head h2 { font-size: clamp(28px, 4.6vw, 44px); line-height: 1.3; font-weight: 700; }
.block-head p { margin-top: 2px; font-size: 17px; color: var(--ink-2); }
.block-head .more { flex: none; display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 500; text-underline-offset: 5px; }

/* Product tile: the one card used everywhere */
.tile { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.tile-img { position: relative; display: block; aspect-ratio: 1 / 1; margin-bottom: 14px; border-radius: var(--r-tile); background: var(--tile); overflow: hidden; transition: background .2s; }
.tile-img img { position: absolute; inset: 13%; width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.tile:hover .tile-img { background: var(--tile-hover); }
.tile:hover .tile-img img { transform: scale(1.05); }
.tile strong { font-size: 17px; line-height: 1.5; font-weight: 600; }
.tile .sub { margin-top: 2px; font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.tile .where { font-size: 13.5px; line-height: 1.6; font-weight: 500; color: var(--ink-3); }
.tile .where::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 8px; border-radius: 1.5px; background: var(--lime); transform: rotate(45deg); vertical-align: 1px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
@media (min-width: 720px) { .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; } }
@media (min-width: 1000px) { .tool-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 479px) { .tile strong { font-size: 16px; } .tile .sub { font-size: 14px; } .tile-img { border-radius: 22px; margin-bottom: 10px; } }

/* Carousel (daily picks, related tools) */
.picks-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))) 12px; scroll-padding-inline: max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); scrollbar-width: none; }
.picks-track::-webkit-scrollbar { display: none; }
.pick { flex: 0 0 min(66vw, 264px); scroll-snap-align: start; }
.picks-nav { display: none; gap: 8px; flex: none; }
.picks-nav button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--tile); color: var(--ink); cursor: pointer; }
.picks-nav button:hover { background: var(--tile-hover); }
.picks-nav svg { width: 20px; height: 20px; }
@media (min-width: 720px) { .picks-nav:not([hidden]) { display: flex; } }

/* Rooms */
.rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.room { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 230px; padding: 18px 18px 0; border-radius: var(--r-tile); background: var(--tile); text-decoration: none; overflow: hidden; transition: background .2s; }
.room:hover { background: var(--tile-hover); }
.room-text { display: flex; flex-direction: column; }
.room strong { font-size: clamp(19px, 2.6vw, 26px); line-height: 1.4; font-weight: 700; }
.room-text span { font-size: 14.5px; color: var(--ink-3); }
.room-art { position: relative; display: block; height: 140px; margin: auto 0 12px; }
.room-art .poly { position: absolute; inset: 0; width: 100%; height: 100%; }
.room-art img { position: absolute; inset: 13% 22%; width: 56%; height: 74%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.room:hover .room-art img { transform: scale(1.06); }
.room.all { justify-content: space-between; padding-bottom: 18px; background: var(--brand); color: #fff; }
.room.all:hover { background: var(--brand-2); }
.room.all .room-text span { color: #C9D8C6; }
.room.all svg { width: 32px; height: 32px; align-self: flex-end; color: var(--lime); }
@media (min-width: 720px) { .rooms { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } .room { min-height: 300px; padding: 24px 24px 0; } .room-art { height: 190px; margin-bottom: 16px; } .room.all { padding-bottom: 24px; } }

/* Guide download band */
.guide-band { margin-top: clamp(48px, 8vw, 96px); }
.guide-band { display: grid; gap: 8px; }
.guide-band > * { grid-column: 1; }
.gb-text { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px 24px 8px; border-radius: var(--r-tile) var(--r-tile) 0 0; background: var(--lime-light); }
.gb-text h2 { font-size: clamp(28px, 4.6vw, 44px); line-height: 1.3; font-weight: 700; }
.gb-text p { color: var(--ink); max-width: 26em; }
.gb-text .btn { margin-top: 6px; }
.gb-text .fine { color: var(--ink); }
.gb-art { position: relative; height: 300px; margin-top: -8px; border-radius: 0 0 var(--r-tile) var(--r-tile); background: var(--lime-light); overflow: hidden; }
.gb-art img { position: absolute; top: 28px; width: 190px; border-radius: 22px; box-shadow: 0 18px 40px rgba(12, 47, 39, .18); }
.gb-art .p1 { inset-inline-start: calc(50% - 150px); transform: rotate(4deg); }
.gb-art .p2 { inset-inline-start: calc(50% - 30px); top: 52px; transform: rotate(-5deg); }
@media (min-width: 800px) {
  .guide-band { grid-template-columns: 1.1fr 1fr; gap: 0; }
  .guide-band > .gb-art { grid-column: 2; }
  .gb-text { justify-content: center; padding: 56px; border-radius: 0 var(--r-tile) var(--r-tile) 0; }
  .gb-art { height: 420px; margin-top: 0; border-radius: var(--r-tile) 0 0 var(--r-tile); }
  .gb-art img { width: 240px; top: 48px; }
  .gb-art .p1 { inset-inline-start: calc(50% - 200px); }
  .gb-art .p2 { inset-inline-start: calc(50% - 40px); top: 80px; }
}

/* Community */
.community { display: grid; gap: 14px; }
@media (min-width: 720px) { .community { grid-template-columns: 1fr 1fr; gap: 20px; } }
.comm { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 24px; border-radius: var(--r-tile); background: var(--tile); text-decoration: none; transition: background .2s; }
.comm:hover { background: var(--tile-hover); }
.comm strong { font-size: 22px; line-height: 1.5; font-weight: 700; }
.comm span { color: var(--ink-2); }
.comm em { margin-top: 16px; font-style: normal; font-size: 17px; font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--lime); }

/* Room page */
.groups section + section { margin-top: clamp(40px, 6vw, 64px); }
.groups h2 { margin-bottom: 18px; font-size: clamp(22px, 3vw, 28px); line-height: 1.4; font-weight: 700; }
.next-room { display: flex; align-items: center; gap: 16px; margin-top: clamp(48px, 7vw, 80px); padding: 18px 24px; border-radius: var(--r-tile); background: var(--tile); text-decoration: none; transition: background .2s; }
.next-room:hover { background: var(--tile-hover); }
.next-room .txt { display: flex; flex-direction: column; flex: 1; }
.next-room .txt span { font-size: 15px; color: var(--ink-3); }
.next-room strong { font-size: clamp(22px, 3vw, 30px); line-height: 1.4; font-weight: 700; }
.next-room img { width: 84px; height: 84px; object-fit: contain; mix-blend-mode: multiply; }
.next-room .chev { width: 26px; height: 26px; flex: none; }

/* Tool page */
.tool-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 4px; }
.tool-body { min-width: 0; }
.tool .photo { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-tile); background: var(--tile); }
.tool .photo .poly { position: absolute; inset: 5%; width: 90%; height: 90%; }
.tool .photo img { position: absolute; inset: 17%; width: 66%; height: 66%; object-fit: contain; mix-blend-mode: multiply; }
.tool h1 { font-size: clamp(32px, 5.4vw, 52px); line-height: 1.3; font-weight: 700; }
.tool .en { font-size: 16px; color: var(--ink-3); text-align: right; }
.tool .tagline { margin-top: 18px; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.6; font-weight: 600; }
.tool .description { margin-top: 10px; color: var(--ink-2); }
.tool h2 { margin: 36px 0 10px; font-size: 22px; line-height: 1.5; font-weight: 700; }
.features li { display: flex; align-items: flex-start; gap: 12px; padding-block: 12px; border-top: 1px solid var(--line); }
.features li:last-child { border-bottom: 1px solid var(--line); }
.features svg { width: 22px; height: 22px; margin-top: 5px; flex: none; color: var(--lime); stroke-width: 2.6; }
.ask { margin-top: 36px; padding: 24px; border-radius: 24px; background: var(--tile); }
.tool .ask h2 { margin: 0 0 8px; font-size: 16px; font-weight: 500; color: var(--ink-3); }
.ask .ar { font-size: 22px; line-height: 1.5; font-weight: 700; }
.ask .where { margin-top: 10px; font-size: 16px; color: var(--ink-2); }
.stores, .tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tool-actions .btn { min-height: 48px; font-size: 16px; }
.disclaimer { margin-top: 24px; font-size: 14px; line-height: 1.7; color: var(--ink-3); }
@media (max-width: 479px) { .stores .btn, .tool-actions .btn { flex: 1 1 100%; } }
@media (min-width: 860px) {
  .tool-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .tool .photo { position: sticky; top: 88px; }
}

/* All tools */
.tools-controls { display: flex; flex-direction: column; gap: 16px; padding-bottom: 24px; }
.tools-controls .search { max-width: 620px; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .chips { flex-wrap: wrap; overflow: visible; } }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding-inline: 18px; border-radius: 999px; background: var(--tile); text-decoration: none; font-size: 16px; font-weight: 500; color: var(--ink-2); }
.chip:hover { background: var(--tile-hover); }
.chip[aria-current] { background: var(--brand); color: #fff; }
.result-count { font-size: 15.5px; color: var(--ink-3); min-height: 1.75em; }
.empty { padding: 32px 0 48px; color: var(--ink-2); }

/* Guide prose */
.prose { padding-bottom: 16px; }
.prose section { margin-bottom: 44px; }
.prose h2 { margin-bottom: 10px; font-size: clamp(24px, 3vw, 30px); line-height: 1.4; font-weight: 700; }
.prose p { margin-bottom: 14px; }
.prose a { text-underline-offset: 5px; }
.prose .big { font-size: 21px; font-weight: 600; }
.prose .basmala { font-weight: 600; }
.prose .cite { font-size: 15px; color: var(--ink-3); }
.about-intro { padding-top: clamp(32px, 6vw, 64px); }
.about-intro .basmala { font-weight: 600; color: var(--ink-2); }
.about-intro .lead { margin-top: 12px; font-size: clamp(20px, 2.6vw, 27px); line-height: 1.8; font-weight: 500; max-width: 34em; }
.band { margin-block: clamp(40px, 7vw, 72px); padding-block: clamp(36px, 6vw, 64px); background: var(--cream); }
.band h2 { margin-bottom: 20px; font-size: clamp(26px, 4vw, 38px); line-height: 1.3; font-weight: 700; }
.goals, .team { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.goals li, .team li { padding: 22px; border-radius: 22px; background: #fff; }
.goals li::before { content: ""; display: block; width: 16px; height: 16px; margin: 4px 4px 16px; border-radius: 3px; background: var(--lime); transform: rotate(45deg); }
.goals strong { display: block; font-size: 20px; line-height: 1.5; font-weight: 700; }
.goals span { color: var(--ink-2); }
.team strong { display: block; font-size: 19px; }
.team span { font-size: 15.5px; color: var(--ink-2); }
.thanks { margin-top: 36px; max-width: 720px; }
.thanks h3 { margin-bottom: 8px; font-size: 22px; line-height: 1.5; font-weight: 700; }
.thanks p { margin-bottom: 12px; }
.adl { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.adl a { display: flex; align-items: center; gap: 16px; height: 100%; padding: 16px 18px; border-radius: 22px; background: var(--tile); text-decoration: none; transition: background .2s; }
.adl a:hover { background: var(--tile-hover); }
.adl-art { position: relative; flex: 0 0 104px; height: 92px; }
.adl-art .poly { position: absolute; inset: 0; width: 100%; height: 100%; }
.adl-art img { position: absolute; inset: 14% 24%; width: 52%; height: 72%; object-fit: contain; mix-blend-mode: multiply; }
.adl-text { display: flex; flex-direction: column; min-width: 0; }
.adl-text strong { font-size: 19px; line-height: 1.5; }
.adl-text span { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.adl-text em { margin-top: 4px; font-style: normal; font-size: 14px; font-weight: 600; }
.about-note { margin-top: clamp(32px, 5vw, 56px); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.prose .contact-actions a { text-decoration: none; }
.sources li { padding-block: 6px; border-bottom: 1px solid var(--line); }
.note { padding: 22px 24px; border-radius: 20px; background: var(--tile); font-size: 16px; border-inline-start: 0; }
.prose .note h2 { font-size: 19px; }
.prose ul:not([class]) li { padding-block: 4px; }

/* Forms */
.form-layout { display: grid; gap: 32px; padding-top: clamp(28px, 5vw, 56px); }
.form-main { min-width: 0; }
.form-aside { padding: 26px 24px; border-radius: var(--r-tile); background: var(--cream); }
.form-aside h2 { font-size: 22px; line-height: 1.5; font-weight: 700; }
.form-aside .fine { margin-top: 18px; color: var(--ink-2); }
.points { display: grid; gap: 18px; margin-top: 16px; }
.points li { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; }
.points li::before { content: ""; grid-row: span 2; width: 14px; height: 14px; margin: 9px 12px 0; border-radius: 2.5px; background: var(--lime); transform: rotate(45deg); }
.points strong { font-size: 17.5px; line-height: 1.6; font-weight: 700; }
.points span { grid-column: 2; font-size: 16px; color: var(--ink-2); }
@media (min-width: 900px) { .form-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; } .form-aside { position: sticky; top: 88px; padding: 32px; } }
.kb-form { display: flex; flex-direction: column; gap: 24px; padding-bottom: 24px; }
.kb-form .f { display: flex; flex-direction: column; gap: 6px; }
.kb-form label { font-size: 17px; font-weight: 600; }
.kb-form .req, .kb-form .opt { margin-inline-start: 8px; padding: 2px 10px; border-radius: 999px; background: var(--tile); font-size: 13px; font-weight: 500; color: var(--ink-2); vertical-align: 2px; }
.kb-form .req { background: var(--lime-light); color: var(--brand); }
.kb-form .hint { font-size: 15px; color: var(--ink-3); }
.kb-form input[type="text"], .kb-form input[type="url"], .kb-form textarea, .kb-form select { width: 100%; min-height: 58px; padding: 13px 18px; border: 1.5px solid #BFCAB6; border-radius: 16px; background: #fff; font: inherit; color: var(--ink); transition: background .15s, border-color .15s; }
.kb-form textarea { resize: vertical; line-height: 1.75; }
.kb-form input:hover, .kb-form textarea:hover, .kb-form select:hover { border-color: var(--brand); }
.kb-form input[type="file"] { min-height: 44px; padding: 14px; border: 1.5px dashed #BFCAB6; border-radius: 16px; font: inherit; font-size: 15.5px; color: var(--ink-2); }
.kb-form input[type="file"]::file-selector-button { margin-inline-end: 14px; padding: 10px 20px; border: 1.5px solid var(--brand); border-radius: 999px; background: #fff; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; }
.file-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px; border: 1.5px dashed #BFCAB6; border-radius: 16px; cursor: pointer; }
.file-pick:hover { border-color: var(--brand); }
.file-pick:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--lime-soft); }
.file-pick .file-name { font-size: 15.5px; font-weight: 400; color: var(--ink-2); overflow-wrap: anywhere; }
.kb-form .check { padding: 16px 18px; border-radius: 16px; background: var(--tile); }
.kb-form input:focus, .kb-form textarea:focus, .kb-form select:focus { outline: 0; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--lime-soft); }
.kb-form [aria-invalid="true"] { border-color: var(--danger); }
.kb-form .check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; font-size: 16.5px; font-weight: 400; cursor: pointer; }
.kb-form .check input { width: 22px; height: 22px; margin-top: 5px; accent-color: var(--brand); flex: none; }
.kb-form .hp { position: absolute; inset-inline-start: -9999px; }
.kb-form .btn { align-self: flex-start; min-height: 56px; padding-inline: 36px; font-size: 18px; }
@media (max-width: 479px) { .kb-form .btn { align-self: stretch; } }
.form-msg { padding: 14px 18px; border-radius: 16px; background: #FDECEA; color: #7A1C16; font-size: 16px; }
.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px 24px; border-radius: var(--r-tile); background: var(--lime-light); }
.form-done h2 { font-size: 26px; line-height: 1.4; }
.form-done:focus { outline: 0; }
.voices { padding-top: clamp(28px, 5vw, 56px); }
.voices ul { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.voices h2 { margin-bottom: 14px; font-size: 26px; }
.voices ul { display: grid; gap: 12px; }
.voices blockquote { height: 100%; padding: 22px 24px; border-radius: 22px; background: var(--cream); }
.voices footer { margin-top: 10px; font-size: 15px; font-weight: 600; }
.voices footer span { font-weight: 400; color: var(--ink-3); }

/* Footer */
.site-footer { margin-top: clamp(56px, 9vw, 112px); background: var(--brand); color: #C9D8C6; font-size: 16px; }
.site-footer a { color: #fff; text-underline-offset: 5px; text-decoration-color: rgba(255, 255, 255, .35); }
.site-footer a:hover { text-decoration-color: var(--lime); }
.foot-inner { display: grid; gap: 36px; max-width: 1120px; margin-inline: auto; padding: 48px var(--gutter) 32px; }
@media (min-width: 760px) { .foot-inner { grid-template-columns: 1.5fr 1fr; gap: 80px; padding-top: 64px; } }
.foot-logo { height: 36px; width: auto; margin-bottom: 16px; }
.foot-about p { max-width: 30em; margin-bottom: 10px; }
.foot-team strong { color: #fff; font-weight: 600; }
.foot-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.foot-contact h2 { margin-bottom: 4px; font-size: 17px; line-height: 1.6; font-weight: 700; color: #fff; }
.foot-contact li a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.waqf { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
.waqf img { width: 44px; flex: none; }
.waqf p { font-size: 14.5px; line-height: 1.6; }
.foot-legal { max-width: 1120px; margin-inline: auto; padding: 20px var(--gutter) 32px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; line-height: 1.7; color: #A5B8A3; }
.foot-legal p { max-width: 56em; margin-bottom: 6px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .site-header, .site-footer, .tool-actions, .related, .skip, .picks, .guide-band, .crumb, .stores { display: none !important; }
  .photo, .ask { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page { size: A4; margin: 14mm; }
}
