/* HishabRakhi website. No external fonts, scripts or trackers: the site itself collects nothing. */
:root {
  --teal: #14b8a6;
  --teal-deep: #0f766e;
  --teal-dark: #115e59;
  --teal-soft: #ccfbf1;
  --ink: #0f172a;
  --muted: #475569;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --radius: 20px;
  --font: 'Avenir Next', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans Bengali', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e2e8f0;
    --muted: #94a3b8;
    --bg: #020817;
    --card: #0f172a;
    --border: #1e293b;
    --teal-soft: rgba(20, 184, 166, 0.14);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* height: auto keeps the aspect ratio when the width/height attributes don't match the displayed size. */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
@media (prefers-color-scheme: dark) { a { color: var(--teal); } }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 20px; }
.brand img { width: 36px; height: 36px; }
.brand span { color: var(--teal); }
.nav { display: flex; gap: 20px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--teal); }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* Hero */
.hero {
  background: linear-gradient(160deg, #2dd4bf 0%, var(--teal) 35%, var(--teal-dark) 100%);
  color: #fff;
  overflow: hidden;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  padding-block: 72px;
}
.eyebrow { display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: .04em; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.18); }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; margin: 18px 0 8px; font-weight: 800; }
.hero .bn { font-size: clamp(22px, 3vw, 30px); font-weight: 700; opacity: .95; margin: 0 0 16px; }
.hero p.lead { font-size: 19px; max-width: 520px; color: #e6fffb; margin: 0 0 28px; }
/* The whole phone sits inside the hero; nothing is clipped at the section edge. */
.hero .phone { justify-self: center; width: 300px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-block: 48px 56px; }
  .hero p.lead { margin-inline: auto; }
  .store-buttons { justify-content: center; }
  .hero .phone { width: min(280px, 78%); }
}

.store-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 14px; text-decoration: none; font-weight: 700;
  background: #0b1416; color: #fff; border: 1px solid rgba(255,255,255,.15);
}
.store-btn small { display: block; font-weight: 500; font-size: 11px; opacity: .8; line-height: 1.1; }
.store-btn.soon { background: rgba(255,255,255,.14); cursor: default; }
.store-btn svg { width: 24px; height: 24px; flex: none; }

/* Phone frame */
.phone {
  width: 320px; padding: 10px; border-radius: 44px; background: #0b0d10;
  box-shadow: 0 30px 60px rgba(4, 40, 36, .35), inset 0 0 0 2px #22262c;
  position: relative;
}
.phone::before {
  content: ''; position: absolute; top: 20px; left: 50%; width: 12px; height: 12px;
  margin-left: -6px; border-radius: 50%; background: #000; z-index: 2;
}
.phone img { border-radius: 34px; width: 100%; padding-top: 30px; background: #f1f5f9; }

/* Sections */
section { padding-block: 88px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 12px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.feature .icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal-deep); margin-bottom: 14px;
}
@media (prefers-color-scheme: dark) { .feature .icon { color: var(--teal); } }
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Screenshot strip */
.gallery-section { background: var(--card); border-block: 1px solid var(--border); }
/* A grid, not a sideways strip, so no phone is ever cut off at the edge. */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }
.gallery figure { margin: 0; text-align: center; }
.gallery .phone { width: 100%; max-width: 240px; margin-inline: auto; padding: 7px; border-radius: 34px; box-shadow: 0 16px 32px rgba(15, 23, 42, .18); }
.gallery .phone::before { top: 14px; width: 9px; height: 9px; margin-left: -4.5px; }
.gallery .phone img { border-radius: 27px; padding-top: 22px; }
.gallery figcaption { margin-top: 14px; font-weight: 700; font-size: 15px; }
@media (max-width: 640px) {
  .gallery .phone { padding: 5px; border-radius: 24px; }
  .gallery .phone::before { top: 10px; width: 7px; height: 7px; margin-left: -3.5px; }
  .gallery .phone img { border-radius: 19px; padding-top: 16px; }
  .gallery figcaption { font-size: 13px; }
}

/* Privacy promise */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .promise { grid-template-columns: 1fr; } }
.promise div { border-left: 4px solid var(--teal); padding: 4px 0 4px 18px; }
.promise h3 { margin: 0 0 4px; font-size: 18px; }
.promise p { margin: 0; color: var(--muted); }

/* Call to action */
.cta { text-align: center; background: linear-gradient(160deg, var(--teal), var(--teal-dark)); color: #fff; border-radius: 28px; padding: 56px 24px; }
.cta h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 10px; }
.cta p { margin: 0 0 24px; color: #e6fffb; font-size: 18px; }
.cta .store-buttons { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding-block: 32px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); }

/* Policy page */
.policy { max-width: 760px; margin: 0 auto; padding-block: 56px 88px; }
.policy h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 6px; line-height: 1.15; }
.policy .meta { color: var(--muted); margin: 0 0 32px; }
.policy .summary { background: var(--teal-soft); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 36px; }
.policy .summary p { margin: 0; }
.policy .summary ul { margin: 10px 0 0; padding-left: 20px; }
.policy h2 { font-size: 22px; margin: 36px 0 10px; }
.policy h3 { font-size: 17px; margin: 22px 0 6px; }
.policy p, .policy li { color: var(--muted); }
.policy strong { color: var(--ink); }
.policy table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.policy th, .policy td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.policy th { color: var(--ink); }
.policy td { color: var(--muted); }
@media (max-width: 600px) {
  .policy table, .policy thead, .policy tbody, .policy tr, .policy th, .policy td { display: block; }
  .policy thead { display: none; }
  .policy tr { border-bottom: 1px solid var(--border); padding: 8px 0; }
  .policy td { border: 0; padding: 2px 0; }
  .policy td:first-child { color: var(--ink); font-weight: 700; }
}
