/* noto-serif-bengali-bengali-wght-normal */
@font-face {
  font-family: 'Noto Serif Bengali Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/noto-bn-bengali-wght-normal.8ae8a8ce3e7a.woff2) format('woff2-variations');
  unicode-range: U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+20B9,U+25CC,U+A8F1;
}

/* noto-serif-bengali-latin-ext-wght-normal */
@font-face {
  font-family: 'Noto Serif Bengali Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/noto-bn-latin-ext-wght-normal.b400a793b275.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* noto-serif-bengali-latin-wght-normal */
@font-face {
  font-family: 'Noto Serif Bengali Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/noto-bn-latin-wght-normal.6b52f9bb0776.woff2) format('woff2-variations');
  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;
}
/*
 * chakrisuchi.com, light colours only (the owner's choice, 2026-11-22): the same light palette
 * as the app and the staff panel (web/admin/src/styles.css); brand yellow appears only in the
 * logo and the "coming soon" dot (brand/README.md).
 * scripts/build-site.ts puts the font's @font-face rules in front of this file.
 */
:root {
  color-scheme: light;
  --bg: #f7f6f8;
  --surface: #ffffff;
  --surface-alt: #efedf2;
  --text: #1d1b21;
  --muted: #5d5866;
  --border: #dcd9e1;
  --ink: #2e2b33;
  --on-ink: #ffffff;
  --accent: #f5c518;
  --note-bg: #fdf3d8;
  --note-line: #c99a1e;
  --danger: #b42318;
  --danger-soft: #fde4e1;
  --shots-bg: #2e2b33;
  --radius: 16px;
  --font:
    'Noto Serif Bengali Variable', 'Noto Serif Bengali', 'Noto Sans Bengali', 'Nirmala UI', serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.35;
}

p {
  margin: 0 0 1em;
}

:target {
  scroll-margin-top: 16px;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 20px;
}

.wrap.narrow {
  max-width: 780px;
}

.muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 10;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--on-ink);
}

.skip:focus {
  top: 12px;
}

/* Header */

.top {
  border-bottom: 1px solid var(--border);
}

.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

.top-nav a {
  display: inline-block;
  padding: 10px 2px;
  color: var(--muted);
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a[aria-current] {
  color: var(--text);
  text-decoration: underline;
}

/* Hero */

.hero {
  padding: 44px 0 40px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 2px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 7.4vw, 3.5rem);
  line-height: 1.25;
  margin-bottom: 0.45em;
}

.lead {
  max-width: 36em;
  color: var(--muted);
  font-size: 1.15rem;
}

.cta {
  margin: 28px 0 22px;
}

.btn,
.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin: 0;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 600;
}

.btn {
  background: var(--ink);
  color: var(--on-ink);
  text-decoration: none;
}

.soon {
  border: 1.5px dashed var(--border);
  background: var(--surface);
}

.soon::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.pills li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pills li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Screenshots: the Play Store images, on their own dark background */

.shots {
  padding: 28px 0;
  background: var(--shots-bg);
}

.shots .wrap {
  padding-inline: 0;
}

.shot-row {
  display: grid;
  grid-auto-columns: min(68%, 260px);
  grid-auto-flow: column;
  gap: 14px;
  margin: 0;
  padding: 0 20px 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  list-style: none;
}

.shot-row li {
  scroll-snap-align: start;
}

.shot-row img {
  width: 100%;
  border-radius: 14px;
}

@media (min-width: 900px) {
  .shot-row {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
  }
}

/* Sections */

.band {
  padding: 56px 0;
}

.band.alt {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.band h2,
.doc h2 {
  font-size: clamp(1.5rem, 4.6vw, 2rem);
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
}

.feature h3 {
  margin-bottom: 0.3em;
  font-size: 1.12rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.checks {
  display: grid;
  gap: 12px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checks .icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 0.32em;
}

.more {
  font-weight: 600;
}

.callout {
  margin: 26px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--note-line);
  border-radius: 0 12px 12px 0;
  background: var(--note-bg);
}

.callout p {
  margin: 0;
}

/* Footer */

.foot {
  padding: 40px 0 32px;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

.foot-grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 720px) {
  .foot-grid {
    grid-template-columns: 1fr auto;
  }
}

.foot-name {
  margin-bottom: 0.2em;
  font-size: 1.1rem;
  font-weight: 700;
}

.foot-links {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-links a {
  display: inline-block;
  padding: 4px 0;
  text-decoration: none;
}

.foot-links a:hover {
  text-decoration: underline;
}

.fine {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

/* Policy pages */

.doc {
  padding-top: 40px;
  padding-bottom: 56px;
}

.doc-head {
  margin-bottom: 28px;
}

.doc h1 {
  font-size: clamp(1.9rem, 6.4vw, 2.6rem);
}

.doc .sub {
  display: block;
  margin-top: 0.15em;
  color: var(--muted);
  font-size: 0.5em;
  font-weight: 500;
}

.langs {
  display: flex;
  gap: 8px;
}

.langs a {
  padding: 4px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  text-decoration: none;
}

.langs a:hover {
  border-color: var(--muted);
}

.policy + .policy {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.policy h3 {
  margin-top: 1.8em;
  font-size: 1.15rem;
}

.policy ul,
.policy ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

.policy li {
  margin-bottom: 0.45em;
}

.policy code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface-alt);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Contact form (web/site/contact.ts) */

.form {
  display: grid;
  gap: 20px;
  margin: 28px 0 20px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 600;
}

.field .opt {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 1px;
  border-color: var(--ink);
}

.field [aria-invalid='true'] {
  border-color: var(--danger);
}

.hint {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.field-err {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--danger);
}

.form-alert {
  padding: 14px 18px;
  border-left: 4px solid var(--danger);
  border-radius: 0 12px 12px 0;
  background: var(--danger-soft);
}

.form-alert p {
  margin: 0;
  font-weight: 600;
}

.form-alert ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.form-alert a {
  color: var(--text);
}

.form .btn {
  justify-self: start;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* The honeypot: off screen for people, still in the form for bots. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fine-print {
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  .form {
    padding: 18px 16px;
  }

  .form .btn {
    justify-self: stretch;
    justify-content: center;
  }
}
