/* Styles for the static SEO pages. The build appends the @font-face rules of the app bundle (vite.config.ts).
 * Token values are copied from src/styles/tokens.css, which these plain pages cannot import. */
:root {
  --shelf: #ece9e3;
  --strip: #ffffff;
  --shelf-deep: #e0dcd3;
  --line: #d7d2c8;
  --edge: #7a756b;
  --ink: #151515;
  --ink-2: #55514a;
  --tag-yellow: #ffd43b;
  --tag-yellow-deep: #f2c200;
  --r-tag: 10px;
  --r-control: 8px;
  --font-body: 'Barlow', 'Hind Siliguri', system-ui, sans-serif;
  --font-display: 'Barlow Condensed', 'Hind Siliguri', 'Barlow', system-ui, sans-serif;
  --page-pad: 24px;
  color-scheme: light;
}

@media (max-width: 599px) {
  :root { --page-pad: 16px; }
}

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

body {
  margin: 0;
  background: var(--shelf);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:lang(bn) { font-family: 'Hind Siliguri', var(--font-body); line-height: 1.75; }
:lang(bn) :is(h1, h2, h3, .button) { font-family: 'Hind Siliguri', var(--font-display); letter-spacing: 0; text-transform: none; }

a { color: var(--ink); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--tag-yellow); color: var(--ink); padding: 12px 16px;
  border-radius: var(--r-control); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Same look as the app's top bar and wordmark (src/app/layout.css): a white strip with the 4px shelf lip. */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--strip); border-bottom: 4px solid var(--line); }
.topbar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 8px var(--page-pad); }
.topbar__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-inline-start: 12px; }
.lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; margin-inline-start: auto; font-weight: 600; }

.wordmark {
  position: relative; display: inline-flex; align-items: center; min-height: 40px; flex: none;
  padding: 0 12px 0 32px; background: var(--tag-yellow); border: 1.5px solid var(--ink); border-radius: var(--r-tag);
  color: var(--ink); text-decoration: none;
}
.wordmark__hole { position: absolute; inset-inline-start: 10px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--strip); border: 1.5px solid var(--ink); }
.wordmark__text { font-family: 'Barlow Condensed', var(--font-display); font-weight: 800; font-size: 1.625rem; line-height: 1; letter-spacing: 0.005em; padding-bottom: 2px; }

.navlink {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  border: 1.5px solid transparent; border-radius: var(--r-control); color: var(--ink); font-weight: 600; text-decoration: none;
}
.navlink:hover { background: var(--shelf-deep); }

/* Phone: brand on its own line, the links wrap underneath; no menu script needed. */
@media (max-width: 600px) {
  .topbar__nav { flex: 1 0 100%; margin-inline-start: -12px; gap: 0 2px; }
  .navlink { padding: 0 10px; }
}

main { width: 100%; max-width: 46rem; margin: 0 auto; padding: 24px var(--page-pad) 48px; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 0.9375rem; color: var(--ink-2); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--edge); }
.crumbs a { color: var(--ink-2); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.25rem); font-weight: 800; letter-spacing: -0.01em; overflow-wrap: anywhere; }
h2 { font-size: 1.625rem; margin: 40px 0 12px; }
h3 { font-size: 1.25rem; margin: 0 0 4px; }
:lang(bn) h1 { line-height: 1.3; }
:lang(bn) :is(h2, h3) { line-height: 1.4; }

p { margin: 0 0 12px; max-width: 68ch; overflow-wrap: anywhere; }
.intro { font-size: 1.1875rem; margin-top: 16px; }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 24px 0 8px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  background: var(--tag-yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--r-control);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}
.button:hover { background: var(--tag-yellow-deep); }
.note { margin: 0; color: var(--ink-2); font-size: 0.9375rem; }

.steps, .related { margin: 0; padding-left: 1.4em; max-width: 68ch; }
.steps li, .related li { margin-bottom: 8px; padding-left: 4px; }

.qa {
  margin: 0 0 12px;
  padding: 16px;
  background: var(--strip);
  border: 1px solid var(--line);
  border-radius: var(--r-tag);
}
.qa p { margin: 0; }

.footer { display: flex; flex-direction: column; gap: 16px; padding: 24px var(--page-pad) 40px; background: var(--strip); border-block: 1px solid var(--line); border-bottom-width: 4px; }
.footer__row { display: flex; flex-direction: column; gap: 16px; }
.footer__brand { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer p { margin: 0; }
.muted { color: var(--ink-2); }
.footer__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; }
.footer__head { flex: 1 0 100%; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.footer__legal { font-size: 0.9375rem; max-width: 68ch; padding-top: 12px; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .footer__row { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 48px; }
  .footer__nav { flex: 1; justify-content: flex-end; max-width: 640px; }
  .footer__head { flex-basis: 100%; text-align: end; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

@font-face{font-family:Barlow;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/barlow-latin-400-normal-2a8b3e3e.woff2)format("woff2"),url(/assets/barlow-latin-400-normal-1fb00c62.woff)format("woff")}
@font-face{font-family:Barlow;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/barlow-latin-500-normal-4f00e7de.woff2)format("woff2"),url(/assets/barlow-latin-500-normal-b587c84c.woff)format("woff")}
@font-face{font-family:Barlow;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/barlow-latin-600-normal-c82eab6b.woff2)format("woff2"),url(/assets/barlow-latin-600-normal-8dc1f3d6.woff)format("woff")}
@font-face{font-family:Barlow;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/barlow-latin-700-normal-0f69c4c4.woff2)format("woff2"),url(/assets/barlow-latin-700-normal-3ffd2193.woff)format("woff")}
@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/barlow-condensed-latin-600-normal-dea55831.woff2)format("woff2"),url(/assets/barlow-condensed-latin-600-normal-45244c13.woff)format("woff")}
@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/barlow-condensed-latin-700-normal-2fd7137c.woff2)format("woff2"),url(/assets/barlow-condensed-latin-700-normal-e6c1ab7e.woff)format("woff")}
@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/barlow-condensed-latin-800-normal-4acccb8f.woff2)format("woff2"),url(/assets/barlow-condensed-latin-800-normal-1ef466cf.woff)format("woff")}
@font-face{font-family:Hind Siliguri;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/hind-siliguri-bengali-400-normal-2b1d0ec0.woff2)format("woff2"),url(/assets/hind-siliguri-bengali-400-normal-2ab44370.woff)format("woff")}
@font-face{font-family:Hind Siliguri;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/hind-siliguri-bengali-500-normal-14ba14e6.woff2)format("woff2"),url(/assets/hind-siliguri-bengali-500-normal-83cb43bb.woff)format("woff")}
@font-face{font-family:Hind Siliguri;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/hind-siliguri-bengali-600-normal-32d9178b.woff2)format("woff2"),url(/assets/hind-siliguri-bengali-600-normal-ff5525d1.woff)format("woff")}
@font-face{font-family:Hind Siliguri;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/hind-siliguri-bengali-700-normal-555deeb1.woff2)format("woff2"),url(/assets/hind-siliguri-bengali-700-normal-9e542081.woff)format("woff")}
@font-face{font-family:Hind Siliguri;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/hind-siliguri-latin-400-normal-1eb044b4.woff2)format("woff2"),url(/assets/hind-siliguri-latin-400-normal-769b4d30.woff)format("woff")}
@font-face{font-family:Hind Siliguri;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/hind-siliguri-latin-600-normal-c7acb7db.woff2)format("woff2"),url(/assets/hind-siliguri-latin-600-normal-a0b7eb3b.woff)format("woff")}
