@import url('https://fonts.googleapis.com/css2?family=Momo+Trust+Display:wght@600;700&display=swap');
/* Safe Amanat — landing site. Palette matches the app's design tokens. */
:root {
  --teal: #0F6E56;
  --teal-light: #1D9E75;
  --teal-dark: #085041;
  --teal-tint: #E1F5EE;
  --leaf: #5DCAA5;
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --surface-alt: #F1EFE8;
  --ink: #2C2C2A;
  --ink-soft: #5F5E5A;
  --ink-mute: #888780;
  --border: #E3E1D8;
  --amber: #854F0B;
  --amber-bg: #FAEEDA;
  --shadow: 0 1px 2px rgba(15,15,13,.05), 0 8px 30px rgba(15,15,13,.06);
  /* Liquid-glass tokens.
     --glass-blur  → standard backdrop-filter: real refraction via the #lg-distort SVG filter (Chromium/Edge).
     --glass-blur-safari → -webkit- fallback: frosted only (Safari/Firefox ignore SVG-filter refraction). */
  --glass-bg: rgba(255,255,255,.66);
  --glass-bg-strong: rgba(255,255,255,.78);
  --glass-border: rgba(255,255,255,.75);
  /* Frosted glass — clean blur, no displacement, so text and content never distort. */
  --glass-frost: blur(18px) saturate(1.6);
  --glass-blur: blur(18px) saturate(1.6);
  --glass-blur-safari: blur(18px) saturate(1.6);
  --glass-shadow:
    0 8px 30px rgba(15,60,48,.12),
    inset 1.5px 1.5px 1px rgba(255,255,255,.85),
    inset -1.5px -1.5px 1px rgba(255,255,255,.28),
    inset 0 0 0 1px rgba(255,255,255,.10);
  --radius: 18px;
  --maxw: 1080px;
  --font-body: "Inter", "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-head: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --font-brand: "Momo Trust Display", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Gujarati text renders in Noto Serif Gujarati; Latin (brand, store names) keeps its font. */
html[lang="gu"] {
  --font-body: "Inter", "Noto Serif Gujarati", sans-serif;
  --font-head: "Poppins", "Noto Serif Gujarati", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* Soft colour field behind the glass, so frosted panels have something to refract. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46vw 46vw at 12% -6%, rgba(93,202,165,.30), transparent 60%),
    radial-gradient(42vw 42vw at 92% 4%, rgba(29,158,117,.22), transparent 62%),
    radial-gradient(52vw 52vw at 78% 96%, rgba(15,110,86,.18), transparent 60%),
    radial-gradient(40vw 40vw at 6% 88%, rgba(133,79,11,.10), transparent 60%),
    var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: 24px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 .5em; }
h3 { font-size: 1.2rem; margin: 0 0 .35em; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--ink-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--teal); margin: 0 0 .8em; }

/* Skip link (accessibility) */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 12px; font-weight: 600; transition: top .15s ease; }
.skip-link:focus { top: 0; text-decoration: none; outline: 2px solid #fff; outline-offset: 2px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.65); backdrop-filter: var(--glass-frost); -webkit-backdrop-filter: var(--glass-blur-safari); border-bottom: 1px solid var(--glass-border); box-shadow: 0 4px 24px rgba(15,60,48,.06); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { text-decoration: none; opacity: .92; }
.brand img, .brand-logo { height: 48px; width: auto; max-width: 220px; border-radius: 0; flex-shrink: 0; object-fit: contain; display: block; }
.brand-logo-stacked { width: 140px; height: auto; max-width: 100%; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title { font-family: var(--font-brand); font-weight: 700; font-size: 1.25rem; color: var(--ink); letter-spacing: -0.015em; }
.brand-tagline { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; color: var(--teal); letter-spacing: 0.015em; }
.nav a { color: var(--ink-soft); margin-left: 18px; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--teal); text-decoration: none; }
.head-actions { display: flex; align-items: center; gap: 12px; }
.lang-select { appearance: none; -webkit-appearance: none; background: var(--glass-bg); backdrop-filter: var(--glass-frost); -webkit-backdrop-filter: var(--glass-blur-safari); border: 1px solid var(--glass-border); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 500; padding: 8px 30px 8px 14px; border-radius: 999px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235F5E5A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }
.lang-select:hover { border-color: var(--teal); }

/* Hamburger toggle — hidden on desktop, shown on mobile */
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--teal); background: var(--teal); border-radius: 12px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; box-shadow: 0 2px 8px rgba(15,110,86,.25); transition: background .14s ease; }
.nav-toggle:hover { background: var(--teal-dark); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .22s ease, opacity .18s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav .nav-cta { display: none; } /* in-menu CTA: only shown inside the mobile dropdown */

@media (max-width: 860px) {
  .site-head .wrap { position: relative; }
  .nav-toggle { display: inline-flex; }
  .head-actions .head-cta { display: none; } /* remove "Get the app" from the bar on mobile */
  .nav {
    display: flex; position: absolute; top: calc(100% + 10px); left: 16px; right: 16px; z-index: 30;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px;
    background: linear-gradient(160deg, var(--teal-light), var(--teal));
    border: 1px solid rgba(255,255,255,.24); border-radius: 18px;
    box-shadow: 0 20px 50px rgba(8,80,65,.34), inset 0 1px 0 rgba(255,255,255,.22);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a { margin-left: 0; padding: 12px 14px; border-radius: 10px; font-size: 1.02rem; color: #EAF7F1; font-weight: 500; }
  .nav a:hover { background: rgba(255,255,255,.14); color: #fff; text-decoration: none; }
  .nav .nav-cta { display: block; margin-top: 8px; text-align: center; background: #fff; color: var(--teal-dark); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
  .nav .nav-cta:hover { background: #EAF7F1; }
}

/* RTL (Arabic) */
[dir="rtl"] .store-badge .txt { text-align: right; }
[dir="rtl"] .lang-select { padding: 8px 14px 8px 30px; background-position: left 11px center; }
[dir="rtl"] .band-quote cite { text-align: inherit; }

/* Buttons */
.btn { display: inline-block; background: var(--ink); color: #FBFAF7; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-teal { background: var(--teal); }
.btn-ghost { background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur-safari); color: var(--teal-dark); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Sections */
section { padding-block: clamp(52px, 8vw, 92px); }
.section-tint { background: rgba(255,255,255,.42); backdrop-filter: var(--glass-frost); -webkit-backdrop-filter: var(--glass-blur-safari); border-block: 1px solid var(--glass-border); }
.section-teal { background: linear-gradient(160deg, rgba(8,80,65,.92), rgba(15,110,86,.9)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #EAF7F1; }
.section-teal h2, .section-teal h1 { color: #fff; }
.center { text-align: center; }
.narrow { max-width: 720px; margin-inline: auto; }

/* "What is Safe Amanat" — centered, larger title */
#what .wrap { text-align: center; }
#what h2 { font-size: clamp(2.1rem, 4.8vw, 3.2rem); }

/* Hero */
.hero { padding-top: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -140px; right: -100px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(93,202,165,.20), transparent 68%); border-radius: 50%; z-index: 0; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(340px, 80%); filter: drop-shadow(0 20px 50px rgba(15,110,86,.18)); border-radius: 32px; }
/* Family photo as a designed hero element: crisp photo seated on a soft teal accent
   block, with a gentle neutral shadow — reads as intentional, not pasted or faded. */
.hero-figure { position: relative; width: 100%; max-width: 520px; margin: 0 auto; padding: 14px 14px 0 0; }
.hero-figure::before {
  content: ""; position: absolute; top: 0; right: 0; width: 78%; height: 82%;
  background: linear-gradient(150deg, var(--teal-light), var(--leaf));
  border-radius: 26px; z-index: 0;
}
.hero-art .hero-photo {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block;
  border-radius: 22px; filter: none;
  box-shadow: 0 14px 34px rgba(15,15,13,.12); outline: 6px solid var(--bg); outline-offset: 0;
}
.pill { display: inline-block; background: var(--glass-bg-strong); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur-safari); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); color: var(--teal-dark); font-weight: 600; font-size: .85rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur-safari); text-align: center; }
.card .ico { width: 68px; height: 68px; border-radius: 18px; background: rgba(93,202,165,.24); border: 1px solid rgba(255,255,255,.5); color: var(--teal); display: grid; place-items: center; margin: 0 auto 18px; }
.card .ico svg { width: 36px; height: 36px; }
.section-teal .card { background: var(--teal-dark); border: 1px solid rgba(255,255,255,.14); color: #EAF7F1; box-shadow: 0 10px 30px rgba(4,30,24,.22); backdrop-filter: none; -webkit-backdrop-filter: none; }
.section-teal .card .ico { background: rgba(255,255,255,.16); color: #fff; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step .n { counter-increment: step; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); }
.step .n::before { content: counter(step); }

/* Security list */
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.sec-list li { display: flex; gap: 14px; align-items: flex-start; }
.sec-list .tick { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--leaf); color: #06301f; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.note { background: var(--amber-bg); border-left: 4px solid var(--amber); border-radius: 10px; padding: 14px 18px; color: #5a3705; font-size: .95rem; }

/* Full-bleed image band */
.image-band { position: relative; padding-block: clamp(84px, 13vw, 150px);
  background: linear-gradient(90deg, rgba(6,44,37,.86), rgba(6,44,37,.48) 62%, rgba(6,44,37,.22)), var(--img) center/cover no-repeat;
  color: #EAF7F1; }
.band-quote { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.55rem, 3.4vw, 2.5rem); line-height: 1.22; max-width: 640px; color: #fff; margin: 0; text-wrap: balance; }
.band-quote cite { display: block; margin-top: 16px; font-family: var(--font-body); font-style: normal; font-weight: 500; font-size: 1rem; color: #BFE3D6; }

/* By the numbers */
.stats-band { background: rgba(255,255,255,.42); backdrop-filter: var(--glass-frost); -webkit-backdrop-filter: var(--glass-blur-safari); border-block: 1px solid var(--glass-border); }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 34px; }
.stat { background: var(--glass-bg-strong); border: 1px solid var(--glass-border); border-radius: 20px; padding: 30px 28px;
  display: flex; flex-direction: column; box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur-safari); }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.5rem, 6vw, 3.8rem); line-height: 1;
  color: var(--teal); letter-spacing: -.02em; display: flex; align-items: baseline; gap: .08em; }
.stat-num .cur { font-size: .62em; font-weight: 600; }
.stat-num .unit { font-size: .34em; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-light); margin-left: .18em; }
.stat-cap { margin: 16px 0 0; color: var(--ink); font-size: 1.02rem; line-height: 1.5; }
.stat-src { margin: 14px 0 0; font-size: .82rem; line-height: 1.45; color: var(--ink-soft); }
.stat-src a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.stats-foot { margin-top: 30px; font-size: 1.08rem; line-height: 1.6; color: var(--ink); max-width: 760px; margin-inline: 0; }
@media (max-width: 640px) { .stat-grid { grid-template-columns: 1fr; } }

/* In the news — external resource links (open on YouTube; no embed) */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.news-card { display: flex; align-items: center; gap: 14px; background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 18px 18px; text-align: start; box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur-safari); transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease; }
.news-card:hover { border-color: var(--leaf); box-shadow: 0 10px 26px rgba(6,44,37,.12); transform: translateY(-2px); }
.news-ico { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--teal); color: #fff;
  display: grid; place-items: center; }
.news-ico svg { width: 20px; height: 20px; }
.news-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.news-title { font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.3; color: var(--ink); }
.news-src { font-size: .78rem; color: var(--ink-soft); }
.news-arrow { flex: none; margin-inline-start: auto; color: var(--ink-soft); }
.news-arrow svg { width: 17px; height: 17px; display: block; }
[dir="rtl"] .news-arrow svg { transform: scaleX(-1); }
.news-note { margin-top: 20px; font-size: .84rem; color: var(--ink-soft); }
@media (max-width: 860px) { .news-grid { grid-template-columns: 1fr; } }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.faq-item { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 14px; padding: 4px 20px; box-shadow: var(--glass-shadow); }
.faq-item summary { list-style: none; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: var(--ink); padding: 16px 34px 16px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 11px; height: 11px; margin-top: -7px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform .2s ease; }
[dir="rtl"] .faq-item summary { padding: 16px 0 16px 34px; }
[dir="rtl"] .faq-item summary::after { right: auto; left: 2px; }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p { margin: 0 0 18px; color: var(--ink-soft); line-height: 1.6; }

/* Pricing */
.price-toggle { display: inline-flex; gap: 4px; background: rgba(255,255,255,.6); border: 1px solid var(--glass-border); border-radius: 999px; padding: 4px; margin-top: 26px; }
.price-toggle-btn { border: none; background: transparent; color: var(--ink-soft); font: inherit; font-weight: 600; font-size: .9rem; padding: 8px 18px; border-radius: 999px; cursor: pointer; transition: background .14s ease, color .14s ease; }
.price-toggle-btn.active { background: var(--teal); color: #fff; }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 22px; max-width: 720px; }
.price-card { position: relative; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 20px; padding: 30px 28px; box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur-safari); display: flex; flex-direction: column; }
.price-card.featured { border: 1.5px solid var(--teal); box-shadow: 0 14px 40px rgba(15,110,86,.18); }
.price-card h3 { margin: 0 0 4px; font-size: 1.2rem; }
.price-card .price { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; color: var(--teal); margin: 6px 0 2px; line-height: 1; }
.price-card .price small { font-family: var(--font-body); font-weight: 500; font-size: .9rem; color: var(--ink-soft); }
.price-card .price-desc { color: var(--ink-soft); font-size: .96rem; margin: 10px 0 22px; }
.price-card .btn { margin-top: auto; text-align: center; }
.price-badge { position: absolute; top: -12px; right: 20px; background: var(--teal); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
[dir="rtl"] .price-badge { right: auto; left: 20px; }
.price-note { margin-top: 22px; font-size: .84rem; color: var(--ink-soft); max-width: 660px; }
.price-features { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 13px; max-width: 640px; }
.price-features li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.price-features .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--teal-tint); color: var(--teal); display: grid; place-items: center; margin-top: 1px; }
.price-features .tick svg { width: 14px; height: 14px; }
@media (max-width: 640px) { .price-grid { grid-template-columns: 1fr; } }

/* Reflections (writing) */
.post-list { display: grid; gap: 18px; margin-top: 34px; max-width: 760px; }
.post-card { display: block; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 18px; padding: 24px 28px; box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur-safari); transition: transform .14s ease, box-shadow .14s ease; }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(6,44,37,.10); text-decoration: none; }
.post-meta { font-size: .8rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .07em; }
.post-card h3 { margin: 8px 0 8px; font-size: 1.3rem; color: var(--ink); }
.post-card p { margin: 0; color: var(--ink-soft); }
.post-card .more { display: inline-block; margin-top: 14px; color: var(--teal); font-weight: 600; }
.article { max-width: 700px; margin-inline: auto; }
.article h1 { margin-top: 10px; }
.article p { font-size: 1.08rem; line-height: 1.78; }
.article p.lead { color: var(--ink-soft); }
.article blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--leaf); font-family: var(--font-head); font-size: 1.2rem; font-style: italic; color: var(--ink); }
[dir="rtl"] .article blockquote { border-left: none; border-right: 3px solid var(--leaf); padding: 4px 22px 4px 0; }
.article .lead { font-size: 1.2rem; }

/* Share row */
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); }
.share .share-label { font-weight: 600; color: var(--ink-soft); font-size: .92rem; margin-inline-end: 4px; }
.share a, .share button { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-alt); border: 1px solid var(--border); color: var(--ink); cursor: pointer; transition: background .14s ease, color .14s ease, transform .14s ease; }
.share a:hover, .share button:hover { background: var(--teal); color: #fff; border-color: var(--teal); transform: translateY(-2px); }
.share svg { width: 18px; height: 18px; }
.share .copied { position: relative; }
.share-toast { font-size: .85rem; color: var(--teal); font-weight: 600; }

/* More reflections */
.more-reflections { margin-top: 56px; }
.more-reflections h2 { font-size: 1.3rem; }
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
@media (max-width: 640px) { .more-grid { grid-template-columns: 1fr; } }

/* Footer social icons */
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #EAF7F1; transition: background .14s ease, transform .14s ease; }
.foot-social a:hover { background: var(--teal); transform: translateY(-2px); }
.foot-social svg { width: 18px; height: 18px; }

/* Liquid-glass specular sheen — a soft top glare that reads as light on wet glass. */
.card, .stat, .news-card { position: relative; overflow: hidden; isolation: isolate; }
.card::after, .stat::after, .news-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4;
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0) 6%);
}
.section-teal .card::after { content: none; } /* solid cards on the teal section — no glass sheen */
@media (prefers-reduced-transparency: reduce) {
  .card, .stat, .news-card, .btn-ghost, .pill, .lang-select, .section-tint, .stats-band, .site-head {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: var(--surface);
  }
  .site-head { background: rgba(251,250,247,.98); }
  .section-tint, .stats-band { background: var(--surface-alt); }
  .card::after, .stat::after, .news-card::after { display: none; }
}

/* Mission */
.mission-quote { font-family: var(--font-head); font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.3; }

/* App download badges */
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.store-badge { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 14px; min-width: 210px; transition: transform .12s ease, box-shadow .12s ease; }
.store-badge:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.store-badge svg { width: 26px; height: 26px; flex: 0 0 auto; }
.store-badge .txt { text-align: left; line-height: 1.1; }
.store-badge .l1 { display: block; font-size: .66rem; opacity: .82; letter-spacing: .04em; text-transform: uppercase; }
.store-badge.apk-badge { background: linear-gradient(135deg, var(--teal-dark), var(--teal)); border: 1px solid rgba(93,202,165,.35); }
.store-badge.apk-badge:hover { background: linear-gradient(135deg, var(--teal), var(--teal-light)); }
.soon { margin-top: 16px; color: var(--ink-mute); font-size: .9rem; }

/* ── Interactive Discovery Readiness Calculator ── */
.readiness-container {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 32px;
}
.readiness-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ready-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all .2s ease;
  user-select: none;
}
.ready-item:hover {
  border-color: var(--teal-light);
  transform: translateY(-1px);
}
.ready-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.ready-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .2s ease;
  background: var(--bg);
}
.ready-checkbox svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  opacity: 0;
  transform: scale(0.6);
  transition: all .15s ease;
}
.ready-item input:checked ~ .ready-checkbox {
  background: var(--teal);
  border-color: var(--teal);
}
.ready-item input:checked ~ .ready-checkbox svg {
  opacity: 1;
  transform: scale(1);
}
.ready-item.active {
  border-color: var(--teal);
  background: var(--teal-tint);
}
.ready-item .ready-label {
  display: flex;
  flex-direction: column;
}
.ready-item .ready-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.ready-item .ready-desc {
  font-size: .78rem;
  color: var(--ink-soft);
  line-height: 1.25;
  margin-top: 2px;
}

/* Outcome insight card */
.readiness-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}
.readiness-card .meter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.readiness-card .meter-title {
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  color: var(--ink-soft);
}
.readiness-card .meter-count {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal);
}
.readiness-card .meter-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--surface-alt);
  overflow: hidden;
  margin-bottom: 20px;
}
.readiness-card .meter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--leaf), var(--teal));
  border-radius: 999px;
  transition: width .3s ease, background .3s ease;
}
.readiness-card .hazard-box {
  background: var(--surface-alt);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
}
.readiness-card .hazard-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(15,110,86,.12);
  color: var(--teal-dark);
  margin-bottom: 8px;
}
.readiness-card .hazard-tag.warn {
  background: var(--amber-bg);
  color: var(--amber);
}
.readiness-card .hazard-tag.danger {
  background: #FCE8E6;
  color: #C5221F;
}
.readiness-card .hazard-time {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.readiness-card .hazard-desc {
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0;
}
.readiness-card .amanat-sol {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-bottom: 22px;
}
.readiness-card .amanat-sol h4 {
  font-size: .95rem;
  color: var(--teal-dark);
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.readiness-card .amanat-sol p {
  font-size: .85rem;
  color: var(--ink-soft);
  line-height: 1.4;
  margin: 0;
}
@media (max-width: 900px) {
  .readiness-container { grid-template-columns: 1fr; }
  .readiness-card { position: static; }
}
@media (max-width: 580px) {
  .readiness-checklist { grid-template-columns: 1fr; }
}

/* Footer */
.site-foot { background: var(--ink); color: #C9C7C0; padding-block: 58px 34px; font-size: .92rem; }
.site-foot a { color: #C9C7C0; transition: color .12s ease; }
.site-foot a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 44px; align-items: start; }
.foot-brand .brand { display: inline-flex; align-items: center; text-decoration: none; }
.foot-brand .brand img, .brand-logo-foot { height: 44px; width: auto; max-width: 210px; border-radius: 0; object-fit: contain; display: block; }
.foot-tag { margin: 15px 0 0; color: #9C9A93; max-width: 300px; line-height: 1.6; font-size: .88rem; }
.foot-col { display: flex; flex-direction: column; gap: 11px; }
.foot-col h4 { margin: 0 0 3px; color: #fff; font-family: var(--font-head); font-size: .74rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.foot-col a { width: fit-content; }
.foot-col a.ci { display: inline-flex; align-items: center; gap: 9px; }
.foot-col a.ci svg { width: 15px; height: 15px; flex: none; color: var(--leaf); }
[dir="rtl"] .foot-col a { align-self: flex-end; }
.foot-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.disclaimer { color: var(--ink-mute); font-size: .82rem; line-height: 1.6; max-width: 900px; margin: 0; }
@media (max-width: 780px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 440px) { .foot-grid { grid-template-columns: 1fr; } }

/* Legal pages */
.legal { max-width: 760px; margin-inline: auto; }
.legal .updated { color: var(--ink-mute); font-size: .9rem; margin-top: -.4em; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2em; display: grid; gap: 8px; }
.legal a { font-weight: 600; }
.legal .toc { background: var(--surface-alt); border-radius: 12px; padding: 16px 20px; margin: 20px 0 28px; }
.legal .toc ul { list-style: none; padding: 0; grid-template-columns: repeat(2,1fr); gap: 6px 20px; }

/* Case study page */
.story { max-width: 760px; margin-inline: auto; }
.story-photo { width: 100%; border-radius: 20px; box-shadow: var(--shadow); margin-bottom: 26px; display: block; }
.story p { font-size: 1.08rem; }
.story blockquote { border-left: 4px solid var(--teal); margin: 24px 0; padding: 6px 22px; font-family: var(--font-head); font-size: 1.3rem; color: var(--teal-dark); }
.tag { display: inline-block; background: var(--surface-alt); color: var(--ink-soft); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }

/* ── Scroll animations — reveal on scroll (IntersectionObserver, app.js) ──
   Content is visible by default; the hidden pre-reveal state applies ONLY when JS
   is confirmed running (html.js), so it can never get stuck hidden. */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--teal), var(--leaf)); width: 0; }

@media (prefers-reduced-motion: no-preference) {
  /* Hero entrance on load (time-based) */
  .hero .pill, .hero h1, .hero .lead, .hero .btn-row, .hero-figure { animation: heroIn .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero .pill { animation-delay: .02s; } .hero h1 { animation-delay: .08s; }
  .hero .lead { animation-delay: .16s; } .hero .btn-row { animation-delay: .24s; } .hero-figure { animation-delay: .12s; }
  @keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

  /* Reveal-on-scroll: opacity-only (compositor-safe), hidden only once JS marks the page ready */
  html.js .reveal { opacity: 0; transition: opacity .7s ease; transition-delay: var(--reveal-delay, 0s); }
  html.js .reveal.in { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
}

/* ── Sticky overlap: "How it works" pins while the teal Security section
   scrolls up and over it with a rounded top edge ── */
.overlap-stack { position: relative; }
.overlap-stack > #how { position: sticky; top: 0; z-index: 1; }
.overlap-stack > #security {
  position: relative; z-index: 2;
  border-radius: 44px 44px 0 0;
  box-shadow: 0 -30px 70px rgba(8,80,65,.30);
}
@media (prefers-reduced-motion: reduce) { .overlap-stack > #how { position: static; } }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-art { order: -1; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .btn-row { justify-content: center; }
}
