
:root {
  --p-bg: #0a0d14; --p-surface: #131824; --p-ink: #e9edf3; --p-muted: #8891a1;
  --p-accent: #5ab9fc; --p-accent-ink: #0a0d14; --p-action: #5ab9fc; --p-action-ink: #0a0d14;
  --p-inv-bg: #e9edf3; --p-inv-surface: #d7dbe1; --p-inv-ink: #0a0d14; --p-inv-muted: #54575f;
  --p-inv-accent: #0a0d14; --p-inv-accent-ink: #e9edf3; --p-inv-action: #0a0d14; --p-inv-action-ink: #e9edf3;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-text: "Outfit", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 400;
  --display-tracking: -0.03em;
  --display-tracking-xl: -0.04em;
}
/* light mode: the same palette inverted, the accent deepened for 4.5:1 on white */
:root[data-theme="light"] {
  --p-bg: #f6f8fb; --p-surface: #e9edf3; --p-ink: #0a0d14; --p-muted: #545b67;
  --p-accent: #0b6fb8; --p-accent-ink: #ffffff; --p-action: #0b6fb8; --p-action-ink: #ffffff;
  --p-inv-bg: #0a0d14; --p-inv-surface: #131824; --p-inv-ink: #e9edf3; --p-inv-muted: #8891a1;
  --p-inv-accent: #5ab9fc; --p-inv-accent-ink: #0a0d14; --p-inv-action: #5ab9fc; --p-inv-action-ink: #0a0d14;
  color-scheme: light;
}
.theme-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--p-ink) 15%, transparent); background: transparent; color: var(--p-ink); cursor: pointer; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }


/* hero art: the lit ground, one soft light */
.hero__art { background:
  radial-gradient(70% 60% at 18% 12%, color-mix(in oklab, var(--ground-surface) 70%, white 6%), transparent 70%),
  radial-gradient(60% 50% at 90% 100%, color-mix(in oklab, var(--ground-bg) 75%, var(--ground-accent)), transparent 70%),
  var(--ground-bg); }
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; z-index: 2; }
.d-note__line { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: #3d4247; border-top: 1px solid rgb(0 0 0 / .06); }
.d-note__line:first-of-type { border-top: 0; }
.d-note__line i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #e3f1fd; color: #0d5c95; font-style: normal; font-size: 12px; font-weight: 700; }
.d-note__line b { font-weight: 500; color: #16181a; }
.hero__proof { font-size: var(--t-small); color: var(--muted); }
.ly-piece--main .d-row { grid-template-columns: 36px minmax(0, 1fr) 64px 104px; }
.ly-piece--main .d-main { padding-right: var(--ly-cut-room); }
@media (max-width: 639px) { .ly-piece--main .d-row { grid-template-columns: 36px minmax(0, 1fr) 104px; } .ly-piece--main .d-row .num, .ly-piece--main .d-row small { display: none; } .ba-row > .ba-card { grid-column: span 6; } }
@media (max-width: 1023px) { .hero__art > .ly-piece--note { left: var(--s-4); bottom: var(--s-4); width: 270px; } }

/* hero photograph with the shopper widget over its lower left */
.hero__art--photo { background: var(--p-surface); overflow: hidden; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero h1 { hyphens: manual; -webkit-hyphens: manual; text-wrap: balance; }
.tryon-card { box-shadow: 0 24px 48px -16px rgb(0 0 0 / .45); }
.tryon-card__item { display: flex; gap: 10px; align-items: center; padding: 8px 0 10px; }
.tryon-card__item img { width: 40px; height: 48px; object-fit: cover; object-position: 50% 15%; border-radius: 6px; }
.tryon-card__item b { display: block; font-size: 14px; font-weight: 500; color: #16181a; }
.tryon-card__item small { font-size: 13px; color: #5a6270; }
/* category photographs */
.cat { margin: 0; }
.cat h3 { font-size: var(--t-card); margin: 0 0 var(--s-4); }
.cat__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--p-surface); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cat:hover .cat__img img { transform: scale(1.03); }
.cat__chip { position: absolute; left: var(--s-3); bottom: var(--s-3); font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 99px; background: rgb(255 255 255 / .92); color: #0a0d14; }
@media (max-width: 639px) { .cats > .cat { grid-column: span 6; } }
/* photo panels in feature cards */
#features .panel--photo { background: var(--p-surface); }
#features .panel--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
#features .panel--photo .stage { position: absolute; inset: 0; }
#features .panel--photo .at-rise { --ax: 24px; --ay: auto; position: absolute; left: 24px; bottom: 24px; top: auto; }
/* billing rows: no thumbnail column */
#pricing .d-row { grid-template-columns: minmax(0, 1fr) 72px 64px; }
/* the OnMe dashboard mock: stats after using the service */
.sa-lead { max-width: 46ch; margin: 0; }
.sa { --sa-bg: #f1f2f4; --sa-card: #fff; --sa-ink: #1a1c1f; --sa-mut: #616a75; --sa-line: #e3e5e8; --sa-acc: #1a7f4b;
  margin-top: var(--s-7); border-radius: 16px; overflow: hidden; background: var(--sa-bg); color: var(--sa-ink);
  box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 40px 80px -32px rgb(0 0 0 / .55); font: 400 13px/1.4 var(--font-text); }
.sa__top { display: flex; align-items: center; gap: 16px; height: 48px; padding: 0 16px; background: #1a1c1f; color: #e8eaed; }
.sa__store { display: flex; align-items: center; gap: 8px; font-weight: 600; width: 184px; }
.sa__logo { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #5ab9fc; border-right-color: transparent; }
.sa__site { color: #9aa0a6; padding: 4px 10px; border: 1px solid #3a3d42; border-radius: 8px; }
@media (max-width: 639px) { .sa__site { display: none; } }
.sa__search { flex: 1; max-width: 420px; height: 30px; border-radius: 8px; background: #303338; color: #9aa0a6; display: flex; align-items: center; padding: 0 12px; }
.sa__me { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: #4b6cb7; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #fff; }
.sa__body { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.sa__nav { display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; border-right: 1px solid var(--sa-line); background: #ebecef; }
.sa__nav span { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; color: #303338; font-weight: 500; }
.sa__nav span b { margin-left: auto; font-size: 11px; background: #d4d7dc; padding: 1px 7px; border-radius: 99px; }
.sa__nav em { font-style: normal; font-size: 12px; color: var(--sa-mut); padding: 14px 10px 4px; }
.sa__nav .is-on { background: #fff; box-shadow: 0 1px 0 rgb(0 0 0 / .06); }
.sa__nav .sa__sub { padding-left: 38px; font-weight: 400; color: var(--sa-mut); }
.sa__app { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, #0b6fb8, #5ab9fc); }
.sa__main { padding: 20px 24px 24px; min-width: 0; }
.sa__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.sa__head h4 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.sa__range { border: 1px solid var(--sa-line); background: #fff; border-radius: 8px; padding: 5px 10px; font-weight: 500; }
.sa__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sa__kpi, .sa__card { background: var(--sa-card); border-radius: 12px; box-shadow: 0 0 0 1px var(--sa-line), 0 1px 2px rgb(0 0 0 / .04); }
.sa__kpi { position: relative; padding: 14px 16px 12px; display: grid; gap: 2px; }
.sa__kpi small { color: var(--sa-mut); font-size: 12px; }
.sa__kpi b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sa__kpi .up { color: var(--sa-acc); font-size: 12px; font-weight: 500; }
.sa__kpi svg { position: absolute; right: 14px; bottom: 14px; width: 64px; height: 24px; fill: none; stroke: #0b6fb8; stroke-width: 2; vector-effect: non-scaling-stroke; }
.sa__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.sa__card { padding: 14px 16px; }
.sa__ch { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.sa__ch b { font-weight: 600; }
.sa__ch span { color: var(--sa-mut); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.sa__ch i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.sa__ch .k1 { background: #0b6fb8; } .sa__ch .k2 { background: #1a7f4b; margin-left: 8px; }
.sa__chart svg { width: 100%; height: 150px; display: block; }
.sa__chart .grid path { stroke: var(--sa-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sa__chart .area { fill: rgb(11 111 184 / .1); }
.sa__chart .l1, .sa__chart .l2 { fill: none; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.sa__chart .l1 { stroke: #0b6fb8; } .sa__chart .l2 { stroke: #1a7f4b; }
.sa__days { display: flex; justify-content: space-between; color: var(--sa-mut); font-size: 11px; margin-top: 6px; }
.sa__tr { display: grid; grid-template-columns: 32px minmax(0, 1fr) 44px 40px 32px; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--sa-line); }
.sa__tr img { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; object-position: 50% 15%; }
.sa__tr span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.sa__tr em { font-style: normal; text-align: right; color: var(--sa-mut); font-variant-numeric: tabular-nums; }
@media (max-width: 1023px) { .sa__nav { display: none; } .sa__body { grid-template-columns: 1fr; } .sa__row { grid-template-columns: 1fr; } .sa__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sa__chart { display: none; } }
@media (max-width: 639px) { .sa__search, .sa__kpi svg { display: none; } .sa__main { padding: 14px; } .sa__tr { grid-template-columns: 32px minmax(0, 1fr) 40px 32px; } .sa__tr em:nth-of-type(2) { display: none; } .sa__tr:nth-of-type(n+5) { display: none; } }

/* pricing cards */
.seg { display: inline-flex; flex-direction: row; flex: none; align-self: end; white-space: nowrap; padding: 4px; border-radius: 99px; background: var(--p-surface); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-ink) 10%, transparent); }
.section-head--split > .seg { display: inline-flex; grid-auto-flow: column; }
.seg button { display: inline-flex; align-items: center; width: auto; min-height: 40px; padding: 0 18px; border: 0; border-radius: 99px; background: transparent; color: var(--p-muted); font: 500 15px var(--font-text); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--p-ink); color: var(--p-bg); }
.plans { align-items: start; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 24px; background: var(--p-surface); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-ink) 9%, transparent); }
.plan--main { box-shadow: inset 0 0 0 2px var(--p-accent), 0 32px 64px -32px color-mix(in oklab, var(--p-accent) 55%, transparent); }
.plan h3 { margin: 0; font-size: 15px; font-weight: 500; color: var(--p-accent); }
.plan__badge { position: absolute; top: 28px; right: 28px; padding: 6px 12px; border-radius: 99px; background: var(--p-accent); color: var(--p-accent-ink); font-size: 13px; font-weight: 500; }
.plan__price { margin: 20px 0 0; font: var(--display-weight) 56px/1 var(--font-display); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.plan__price small { margin-left: 6px; font: 400 16px var(--font-text); letter-spacing: 0; color: var(--p-muted); }
.plan__tries { margin: 20px 0 4px; font-weight: 500; font-size: 17px; }
.plan__for { margin: 0 0 24px; color: var(--p-muted); }
.plan__list { list-style: none; margin: 0 0 28px; padding: 24px 0 0; border-top: 1px solid color-mix(in oklab, var(--p-ink) 10%, transparent); display: grid; gap: 14px; }
.plan__list li { display: flex; gap: 12px; align-items: baseline; }
.plan__list li::before { content: ""; flex: none; width: 18px; height: 18px; align-self: center; background: var(--p-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.plan__list li { align-items: center; }
.plan__btn { margin-top: 4px; width: 100%; }
@media (max-width: 1023px) { .plans > .plan { grid-column: 1 / -1; } .plan__price { font-size: 44px; } }
/* results: before/after pairs, one ratio per row */
.ba { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--g-alt); }
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 4 / 5; gap: 2px; }
.ba__pair img { width: 100%; height: 100%; object-fit: cover; }
.ba__ph { background: linear-gradient(180deg, color-mix(in oklab, var(--p-surface) 85%, white 6%), var(--p-surface)); display: grid; place-items: end center; }
.ba__ph svg { width: 56%; fill: color-mix(in oklab, var(--p-ink) 8%, transparent); }
.ba__tag { position: absolute; top: var(--s-3); font-size: 13px; font-weight: 500; line-height: 1; padding: 7px 11px; border-radius: 99px; background: rgb(10 13 20 / .72); color: #e9edf3; }
.ba__tag--a { left: calc(50% + 12px); background: var(--p-accent); color: var(--p-accent-ink); }
.ba__tag--b { left: var(--s-3); }
.ba__name { font-size: var(--t-card); margin: 0 0 var(--s-4); }
.ba-row { row-gap: var(--s-5); }

/* features: card panels on the lit ground */
#features .panel { --p-h: 260px; background:
  radial-gradient(80% 70% at 20% 0%, color-mix(in oklab, var(--ground-surface) 75%, white 5%), transparent 70%), var(--ground-bg); }
#features .d-card { box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 14px 32px -18px rgb(0 0 0 / .45); }
#features .stage > .at-rise { --ax: 24px; --ay: 28px; --fit-max: 320px; }
.code-card { font: 400 13px/1.7 var(--font-mono); color: #2b3440; white-space: pre; overflow: hidden; }
.code-card .k { color: #0d5c95; } .code-card .c { color: #7b8794; }
@media (max-width: 639px) { #features .panel { --p-h: 170px; } }

/* checks (iris moment): rows in the window */
.qc { display: grid; gap: 0; }
.qc .d-row { grid-template-columns: minmax(0, 1fr) 96px 104px; }

/* pricing rows */
@media (max-width: 639px) { #pricing .faq__item:nth-child(n+3), #pricing .d-row:nth-child(n+3) { display: none; } }
.plans .t-stat { margin: var(--s-4) 0 var(--s-2); }
.plans .card.is-main { outline: 1px solid var(--p-accent); }
.price-bd { display: none; }
html[data-cur="BDT"] .price-us { display: none; }
html[data-cur="BDT"] .price-bd { display: inline; }
@media (max-width: 639px) { #pricing .faq__item:nth-child(n+3) { display: none; } }

/* ===== shared page system (all pages) ===== */
/* headings run the full line; generous, consistent gap to the content */
.section-head, .section-head--split { margin-bottom: var(--s-8) !important; }
.section-head h2, .section-head--split h2, .page-head h1 { max-width: 24ch; text-wrap: balance; }
@media (min-width: 1024px) { .section-head h2, .section-head--split h2 { max-width: 30ch; } }
.section-head--split { align-items: end; gap: var(--s-6); }
/* hero: the column holds its facts at the foot, level with the photograph */
.hero__text { display: flex; flex-direction: column; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin: auto 0 0; padding-top: var(--s-6); border-top: 1px solid color-mix(in oklab, var(--p-ink) 12%, transparent); }
.hero-facts div { display: grid; gap: 4px; }
.hero-facts dt { font-size: 14px; color: var(--p-muted); order: 2; }
.hero-facts dd { margin: 0; font: var(--display-weight) 32px/1 var(--font-display); letter-spacing: -0.02em; order: 1; }
@media (max-width: 1023px) { .hero-facts { margin-top: var(--s-6); } .hero-facts dd { font-size: 26px; } }
/* category cards: readable titles under the photograph */
.cat { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.cat h3 { margin: 0 !important; font-size: 20px !important; font-weight: 500; letter-spacing: -0.01em; }
.cat p { margin: -8px 0 0; color: var(--p-muted); font-size: 15px; }
/* FAQ as a two-column card grid */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-8); }
.faq-card { padding: 28px 32px; border-radius: 20px; background: var(--p-surface); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-ink) 8%, transparent); }
.faq-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.faq-card p { margin: 0; color: color-mix(in oklab, var(--p-ink) 78%, var(--p-bg)); line-height: 1.6; }
@media (max-width: 767px) { .faq-grid { grid-template-columns: 1fr; } .faq-card { padding: 22px; } }
/* closing band */
.close-band { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: var(--s-6); align-items: end; padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: radial-gradient(90% 140% at 100% 100%, color-mix(in oklab, var(--p-accent) 28%, transparent), transparent 60%), var(--p-surface); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-ink) 8%, transparent); }
.close-band h2 { margin: 0 0 var(--s-3); max-width: 18ch; }
.close-band .t-lead { margin: 0; max-width: 52ch; color: color-mix(in oklab, var(--p-ink) 80%, var(--p-bg)); }
.close-band .btn-row { margin: 0; flex-wrap: nowrap; }
@media (max-width: 1023px) { .close-band { grid-template-columns: 1fr; } .close-band .btn-row { flex-wrap: wrap; } }
/* inner page head + prose */
.page-head { padding: calc(var(--nav) + 96px) 0 var(--s-8); }
.page-head h1 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -0.035em; margin: 0; }
.page-head .t-lead { margin: var(--s-5) 0 0; max-width: 60ch; }
.page-head .updated { margin: var(--s-4) 0 0; font-size: 14px; color: var(--p-muted); }
.page-head .btn-row { margin-top: var(--s-6); }
.block { padding: 0 0 var(--s-10); }
.prose { max-width: 70ch; font-size: 17px; line-height: 1.7; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.02em; margin: var(--s-8) 0 var(--s-4); max-width: none; }
.prose h3 { font-size: 20px; margin: var(--s-6) 0 var(--s-3); }
.prose p, .prose li { color: color-mix(in oklab, var(--p-ink) 85%, var(--p-bg)); }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 8px; }
.prose a { color: var(--p-accent); }
.prose pre { margin: var(--s-4) 0; padding: 22px 24px; border-radius: 16px; background: var(--p-surface); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-ink) 8%, transparent); overflow-x: auto; font: 14px/1.7 var(--font-mono); color: var(--p-ink); }
.prose code { font-family: var(--font-mono); font-size: 0.9em; }
.prose :not(pre) > code { padding: 2px 7px; border-radius: 6px; background: var(--p-surface); }
/* step list (how it works) */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.step-card { padding: 32px; border-radius: 24px; background: var(--p-surface); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-ink) 8%, transparent); }
.step-card .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--p-accent); color: var(--p-accent-ink); font-weight: 600; margin-bottom: var(--s-5); }
.step-card h3 { margin: 0 0 8px; font-size: 21px; font-weight: 500; }
.step-card p { margin: 0; color: var(--p-muted); }
@media (max-width: 1023px) { .steps-grid { grid-template-columns: 1fr; } }
/* split: text + photo */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split__img { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--p-surface); }
.split__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.ticks { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; background: var(--p-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 1023px) { .split { grid-template-columns: 1fr; } .split__img { aspect-ratio: 4 / 3; } }
:lang(bn) h1, :lang(bn) h2, :lang(bn) h3 { font-family: "Hind Siliguri", var(--font-display); letter-spacing: 0; line-height: 1.3; }
:lang(bn) body, :lang(bn) p { font-family: "Hind Siliguri", var(--font-text); }

.cat__img { order: -1; margin-bottom: 8px; }
.cat p { margin: 0 !important; }

.plans-note { margin: var(--s-6) 0 0; color: var(--p-muted); }
.block__h { margin: 0; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -0.03em; }
.page-head + .block, .block + .block { padding-top: var(--s-9); }


/* closing: sized to its content, text centred against a photograph */
footer.closing { height: auto !important; min-height: 0 !important; padding-top: var(--s-9) !important; }
footer.closing > .wrap { display: block !important; }
.close-band { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) !important; align-items: stretch !important; padding: 0 !important; overflow: hidden; min-height: 0; height: auto !important; }
.close-band__text { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.close-band__text h2 { margin: 0 0 var(--s-4); }
.close-band__text .btn-row { margin-top: var(--s-6) !important; }
.close-band__img { position: relative; min-height: 320px; }
.close-band__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
footer.closing .closing__links { margin-top: var(--s-9); }
@media (max-width: 1023px) { .close-band { grid-template-columns: 1fr !important; } .close-band__img { min-height: 240px; order: -1; } }

/* shared extras: duo cards, contact, booking, API steps, flip split */
.block__lead { margin: var(--s-4) 0 var(--s-7); max-width: 60ch; color: var(--p-muted); font-size: 17px; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.duo__card { padding: clamp(28px, 3.5vw, 44px); border-radius: 24px; background: var(--p-surface); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-ink) 8%, transparent); min-width: 0; }
.duo__card h2 { margin: 0 0 var(--s-3); font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.02em; max-width: none; }
.duo__card h3 { margin: var(--s-6) 0 0; font-size: 18px; }
.duo__card > p { margin: 0 0 var(--s-3); color: var(--p-muted); }
.duo__card pre { margin: var(--s-3) 0 var(--s-5); padding: 18px 20px; border-radius: 14px; background: var(--p-bg); overflow-x: auto; font: 13px/1.7 var(--font-mono); color: var(--p-ink); }
.duo__card code { font-family: var(--font-mono); font-size: 0.88em; }
.duo__card .ticks { margin-top: var(--s-4); }
.duo + .grid { margin-top: var(--s-8); }
@media (max-width: 1023px) { .duo { grid-template-columns: 1fr; } }
.api-steps { list-style: none; counter-reset: s; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: 10px; }
.api-steps li { counter-increment: s; display: grid; grid-template-columns: 28px auto 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--p-bg); }
.api-steps li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--p-accent); color: var(--p-accent-ink); font-size: 13px; font-weight: 600; }
.api-steps code { font-weight: 500; }
.api-steps span { color: var(--p-muted); font-size: 15px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.contact-card { display: flex; flex-direction: column; gap: 8px; min-height: 240px; padding: 32px; border-radius: 24px; background: var(--p-surface); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-ink) 8%, transparent); text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.contact-card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--p-accent); }
.contact-card h2 { margin: 0; font-size: 28px; letter-spacing: -0.02em; max-width: none; }
.contact-card p { margin: 0; color: var(--p-muted); }
.contact-card .link { margin-top: auto; }
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { min-height: 0; } }
.split--top { align-items: start; }
.page-head .split__img { aspect-ratio: 4 / 4.4; }
.book-card { border-radius: 24px; overflow: hidden; background: var(--p-surface); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-ink) 8%, transparent); min-height: 420px; }
.book-card iframe { width: 100%; height: 680px; border: 0; }
.book-card__fallback { padding: clamp(28px, 4vw, 48px); }
.book-card__fallback h2 { margin: 0 0 var(--s-3); font-size: 32px; max-width: none; }
.book-card__fallback p { color: var(--p-muted); }
@media (min-width: 1024px) { .split--flip > .split__img { order: -1; } }
.ba-row { row-gap: var(--s-6); }

/* spacing fixes: tighter page heads, splits side by side */
.page-head { padding: calc(var(--nav) + 72px) 0 var(--s-7) !important; }
.page-head + .block { padding-top: 0 !important; }
.block { padding: var(--s-9) 0 0 !important; }
main > .block:last-child, main > .page-head:last-child { padding-bottom: var(--s-9) !important; }
.wrap.split, .split { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: clamp(32px, 6vw, 96px) !important; align-items: center; }
.wrap.split.split--top { align-items: start; }
@media (max-width: 1023px) { .wrap.split, .split { grid-template-columns: 1fr !important; } }

/* inner pages: sections size to their content (the kit's one-screen rule is for the home page) */
main > section.page-head, main > section.block { height: auto !important; min-height: 0 !important; }


h1, h2, h3 { hyphens: manual !important; -webkit-hyphens: manual !important; overflow-wrap: normal; }


/* dashboard section grows with its content, never clipped */
main > section#checks { height: auto !important; min-height: 100svh; overflow: visible !important; padding-bottom: var(--s-9) !important; }
#checks .sa { overflow: hidden; }

