/*
 * GymDesh — পণ্যের নিজের পাতার সাজ: "০১ সংকেত" (Signal)
 * ======================================================================
 *
 * এটি Sarotia-র দোকান, কোনো জিমের সাইট নয় — তাই রঙ সবসময় পণ্যের
 * নিজের সংকেত-বেগুনি, আর নাম Schibsted Grotesk-এ (পাশে বেগুনি ●)।
 * জিমের সাইটের সাজ (site.css) থেকে আলাদা ফাইল: কোনো জিমের রঙ বা
 * জিমের পাতার নিয়ম এখানে আসে না, এখানকার বদলও জিমের সাইটে যায় না।
 *
 * নমুনা: docs/themes/sanket.html; বিবরণ: docs/themes/spec/sanket.json →
 * screens.product_page। সমতল — ছায়া, ঝাপসা, গ্লো নেই; কোণ ১০/১৪px।
 * কোনো JavaScript নেই: মাসিক/বার্ষিক সুইচ লুকানো radio দিয়ে, ফোনের
 * মেনু `:target` দিয়ে (লিংকে চাপলে নিজেই বন্ধ হয়)।
 *
 * বাংলার নিয়ম: `letter-spacing`/`uppercase` নয়; বহু-লাইনের শিরোনামে
 * line-height ≥ ১.৪ ও `text-wrap: balance`।
 */

@font-face {
    font-family: 'GD Ank';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('../../fonts/gd-ank.woff2') format('woff2');
    unicode-range: U+2C, U+2E, U+9E6-9EF, U+9F3;
}

:root {
    --bg:      #FFFFFF;
    --canvas:  #EFEEF4;
    --soft:    #F7F6FA;
    --surface: #FFFFFF;
    --hair:    #CFCDD9;
    --ctl:     #8C86A0;
    --ink:     #16131D;
    --muted:   #58536B;
    --act:     #7318CC;   /* সংকেত-বেগুনি — সাদা লেখা ৭.৬৯:১ */
    --on-act:  #FFFFFF;
    --act-text: #7318CC;
    --tint:    #F1EAFD;
    --band:    #1C1826;   /* নিয়ন্ত্রণ-কক্ষ — দুই মোডেই গাঢ় */
    --on-band: #FFFFFF;
    --on-band-muted: #C9C4D6;

    --ok: #0A7A3B;     --ok-bg: #E7F5EC;
    --watch: #9A4A00;  --watch-bg: #FDF0E3;
    --stop: #C4122F;   --stop-bg: #FDE8EC;
    --pause: #58536B;
    --sign-on: #FFFFFF;

    --font: 'Google Sans', 'Noto Sans Bengali', ui-sans-serif, system-ui, sans-serif;
    --latin: 'Schibsted Grotesk', 'Google Sans', ui-sans-serif, system-ui, sans-serif;
    --num: 'GD Ank', 'Google Sans', 'Noto Sans Bengali', ui-sans-serif, system-ui, sans-serif;

    --radius: 10px;
    --radius-lg: 14px;
    --gutter: 64px;
    --head: 64px;

    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg:      #17121F;
        --canvas:  #1D1727;
        --soft:    #1D1727;
        --surface: #221B2D;
        --hair:    #3B3249;
        --ctl:     #7A7390;
        --ink:     #F2EFF7;
        --muted:   #ADA6BD;
        --act:     #BC8CFF;   /* লেখা #17121F, ৭.২৯:১ */
        --on-act:  #17121F;
        --act-text: #C4A3FF;
        --tint:    #2E2540;
        --band:    #0F0C15;

        --ok: #4FCB84;     --ok-bg: #17301F;
        --watch: #F39A3E;  --watch-bg: #33230F;
        --stop: #FF6F86;   --stop-bg: #3A1520;
        --pause: #ADA6BD;
        --sign-on: #17121F;
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: var(--font); font-size: 18px; line-height: 1.7;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body:has(#menu:target) { overflow: hidden; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.4; letter-spacing: normal; text-wrap: balance; }
html[lang="en"] h1, html[lang="en"] h2 { font-family: var(--latin); font-weight: 800; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--act-text); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--head) + 16px); }

.wrap { width: 100%; max-width: 1312px; margin: 0 auto; padding: 0 var(--gutter); }
.num { font-family: var(--num); font-weight: 700; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 60; background: var(--surface); color: var(--ink); border: 2px solid var(--act-text); border-radius: var(--radius); padding: 8px 14px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 8px; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── বোতাম ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 18px; border-radius: var(--radius); border: 1px solid transparent;
    font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn.fill { background: var(--act); color: var(--on-act); }
.btn.fill:hover { filter: brightness(1.08); }
.btn.sec { background: var(--surface); color: var(--ink); border-color: var(--ctl); }
.btn.sec:hover { border-color: var(--ink); }
.btn.big { min-height: 52px; padding: 0 24px; font-size: 17px; }
.btn.wide { width: 100%; }
.link { color: var(--act-text); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.seg { display: inline-flex; border: 1px solid var(--ctl); border-radius: var(--radius); overflow: hidden; min-height: 40px; }
.seg a { display: grid; place-items: center; padding: 0 12px; font-size: 15px; color: var(--muted); text-decoration: none; }
.seg a.on { background: var(--ink); color: var(--bg); font-weight: 600; }

/* চিহ্ন */
.gd-sign { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; line-height: 1.4; }
.gd-sign-icon { flex: 0 0 auto; width: 18px; height: 18px; }
.gd-sign-shape { fill: currentColor; }
.gd-sign-shape-stroked, .gd-sign-ring { stroke: currentColor; }
.gd-sign-mark { fill: var(--sign-on); }
.gd-sign-mark-line { stroke: var(--sign-on); }
.gd-sign-ok { color: var(--ok); } .gd-sign-watch { color: var(--watch); }
.gd-sign-stop { color: var(--stop); } .gd-sign-pause { color: var(--pause); }

/* ── উপরের পট্টি ── */
.p-head { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--hair); }
.p-head-in { min-height: var(--head); display: flex; align-items: center; gap: 32px; }
.mark { display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.wordmark { font-family: var(--latin); font-weight: 800; font-size: 24px; line-height: 1; display: inline-flex; align-items: flex-start; gap: 4px; }
.wordmark i { width: 9px; height: 9px; border-radius: 50%; background: var(--act); display: inline-block; margin-top: 2px; }
.mark small { font-size: 14px; color: var(--muted); font-weight: 500; }
.p-nav { flex: 1; display: flex; justify-content: center; gap: 28px; }
.p-nav a { color: var(--muted); font-size: 16px; font-weight: 500; text-decoration: none; padding: 8px 0; white-space: nowrap; }
.p-nav a:hover { color: var(--ink); }
.p-right { display: flex; align-items: center; gap: 12px; }
.p-mob { display: none; margin-left: auto; align-items: center; gap: 6px; }
.ib { width: 48px; height: 48px; border-radius: var(--radius); display: grid; place-items: center; border: 1px solid var(--hair); background: var(--surface); color: var(--ink); }
.menu-btn { min-height: 48px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--ctl); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 16px; text-decoration: none; color: var(--ink); background: var(--surface); }

.sheet { display: none; }
.sheet:target { display: block; position: fixed; inset: 0; z-index: 50; }
.sheet-dim { position: absolute; inset: 0; background: rgba(22, 19, 29, .55); }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; top: 12px; max-width: 560px; margin: 0 auto; background: var(--surface); border-radius: 20px 20px 0 0; display: flex; flex-direction: column; overflow-y: auto; }
.sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; }
.close { min-height: 48px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--ctl); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 16px; text-decoration: none; color: var(--ink); }
.sheet-nav { border-top: 1px solid var(--hair); }
.sheet-nav a { min-height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--hair); font-size: 17px; font-weight: 500; text-decoration: none; color: var(--ink); }
.sheet-foot { margin-top: auto; padding: 20px 16px 24px; display: grid; gap: 14px; }
.sheet-foot .seg { width: max-content; min-height: 44px; }
.sheet-foot .seg a { padding: 0 18px; }

/* ── শুরুর অংশ ── */
.p-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.p-hero h1 { font-size: clamp(2.2rem, 2.6vw + 1rem, 3.5rem); line-height: 1.4; }
.p-hero .lede { font-size: 20px; line-height: 1.6; color: var(--muted); margin-top: 16px; max-width: 34em; }
.p-hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.p-hero .trial { margin-top: 18px; font-size: 16px; }
.p-hero .wa { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; }

/* অফিসের নমুনা-ছবি — HTML/CSS-এ আঁকা, বাইরের কোনো ছবি নয় */
.shot { border: 1px solid var(--hair); border-radius: var(--radius-lg); overflow: hidden; background: #EFEEF4; color: #16131D; font-size: 13px; line-height: 1.45; }
.shot-bar { height: 34px; background: #F3F2F7; border-bottom: 1px solid #CFCDD9; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: #CFCDD9; }
.shot-bar em { margin-left: 12px; font-style: normal; font-size: 12px; color: #58536B; background: #fff; border: 1px solid #CFCDD9; border-radius: 6px; padding: 1px 10px; }
.shot-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 380px; }
.shot-shelf { background: #E4E2EB; padding: 10px; display: grid; gap: 6px; align-content: start; }
.shot-gym { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.shot-gym i { width: 20px; height: 20px; border-radius: 6px; background: #16294D; display: inline-block; }
.shot-board { background: #fff; border-radius: 8px; padding: 6px 8px; }
.shot-board b { display: block; font-size: 12.5px; }
.shot-board span { display: block; font-size: 11px; color: #58536B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-board.on { outline: 2px solid #7318CC; outline-offset: -2px; background: #F1EAFD; }
.shot-main { padding: 12px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.shot-search { background: #fff; border: 1px solid #8C86A0; border-radius: 8px; padding: 6px 10px; color: #58536B; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-tabs { display: flex; gap: 4px; flex-wrap: nowrap; overflow: hidden; }
.shot-tabs span { padding: 3px 8px; border-radius: 7px; color: #58536B; font-size: 12px; white-space: nowrap; }
.shot-tabs span.on { outline: 2px solid #7318CC; outline-offset: -2px; background: #F1EAFD; color: #7318CC; font-weight: 600; }
.shot-nums { background: #fff; border: 1px solid #CFCDD9; border-radius: 8px; }
.shot-num { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 7px 10px; border-top: 1px solid #CFCDD9; align-items: baseline; }
.shot-num:first-child { border-top: 0; }
.shot-num b { font-weight: 600; }
.shot-num .v { font-family: var(--num); font-weight: 700; font-size: 20px; line-height: 1.1; text-align: right; }
.shot-num small { grid-column: 1 / -1; color: #58536B; font-size: 11px; }
.shot-res { background: #fff; border: 1px solid #CFCDD9; border-radius: 8px; padding: 8px 10px; display: grid; gap: 6px; }
.shot-res .gd-sign { font-size: 12.5px; white-space: normal; }
.shot-res .gd-sign-icon { width: 16px; height: 16px; }
.shot .gd-sign-ok { color: #0A7A3B; } .shot .gd-sign-stop { color: #C4122F; }
.shot .gd-sign-mark, .shot .gd-sign-mark-line { fill: #fff; }
.shot .gd-sign-mark-line { fill: none; stroke: #fff; }

/* ── অংশ ── */
.psec { padding: 80px 0; }
.psec.soft { background: var(--soft); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.sec-h { margin-bottom: 28px; }
.sec-h h2 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.4rem); }
.sec-h p { color: var(--muted); font-size: 18px; margin-top: 6px; max-width: 60ch; }

.signs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.signs > div { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius); padding: 16px; }
.signs .gd-sign { font-size: 20px; }
.signs .gd-sign-icon { width: 30px; height: 30px; }
.signs p { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--muted); }

.boards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.board { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius); padding: 22px 24px; }
.board h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.board h3 .n { font-family: var(--num); font-size: 15px; font-weight: 700; width: 28px; height: 28px; border-radius: 8px; background: var(--tint); color: var(--act-text); display: grid; place-items: center; flex: none; }
.board ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.board li { display: flex; gap: 10px; font-size: 16px; line-height: 1.5; }
.board li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--ok); stroke-width: 2.2; }

/* দাম */
.pick { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.bill { display: inline-flex; border: 1px solid var(--ctl); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.bill label { min-height: 44px; padding: 0 18px; display: grid; place-items: center; font-size: 16px; color: var(--muted); cursor: pointer; }
.bill label + label { border-left: 1px solid var(--ctl); }
.bill-r-m:checked ~ .bill .bill-m, .bill-r-y:checked ~ .bill .bill-y { background: var(--ink); color: var(--bg); font-weight: 600; }
.bill-r-m:focus-visible ~ .bill .bill-m, .bill-r-y:focus-visible ~ .bill .bill-y { outline: 2px solid var(--act-text); outline-offset: 2px; }
.bill-note { margin-left: 12px; font-size: 15px; color: var(--ok); font-weight: 600; }
.price-y { display: none; }
.bill-r-y:checked ~ .packages .price-m { display: none; }
.bill-r-y:checked ~ .packages .price-y { display: block; }

.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.pkg { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; position: relative; }
.pkg.mid { outline: 2px solid var(--act-text); outline-offset: -2px; border-color: transparent; }
.pkg .tag { position: absolute; top: 18px; right: 18px; font-size: 14px; font-weight: 600; color: var(--act-text); background: var(--tint); border-radius: 8px; padding: 2px 10px; }
.pkg h3 { font-size: 22px; }
.pkg .price { font-size: 44px; line-height: 1.1; margin-top: 14px; }
.pkg .per { font-size: 15px; color: var(--muted); }
.pkg .limits { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--hair); list-style: none; display: grid; gap: 4px; font-size: 16px; }
.pkg .limits b { font-family: var(--num); }
.pkg .feat { list-style: none; margin: 14px 0 22px; padding: 14px 0 0; border-top: 1px solid var(--hair); display: grid; gap: 8px; }
.pkg .feat li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.5; }
.pkg .feat li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--ok); stroke-width: 2.2; }
.pkg .btn { margin-top: auto; }
.notes { margin-top: 24px; display: grid; gap: 8px; font-size: 16px; color: var(--muted); }
.notes p { display: flex; gap: 10px; align-items: flex-start; }
.notes svg { margin-top: 4px; }

/* position: relative — ভেতরের .sr-only (absolute) যেন ঘরের বাইরে পাতা চওড়া না করে */
.compare-wrap { position: relative; margin-top: 32px; overflow-x: auto; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
.compare caption { text-align: left; padding: 16px 18px 4px; font-weight: 700; font-size: 20px; }
.compare th, .compare td { padding: 10px 18px; border-top: 1px solid var(--hair); text-align: left; line-height: 1.5; }
.compare thead th { border-top: 0; font-weight: 600; color: var(--muted); font-size: 15px; }
.compare td.c, .compare th.c { text-align: center; }
/* টেবিলে কেবল চিহ্ন দেখা যায়; "আছে" শব্দটি পর্দা-পাঠকের জন্য থাকে */
.compare .yes .gd-sign-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare .yes .gd-sign-icon { width: 20px; height: 20px; }
.compare td.c .gd-sign { justify-content: center; }
.compare .dash { color: var(--muted); }
.compare .grp th { background: var(--soft); font-size: 15px; color: var(--muted); }

.gymlist { display: flex; flex-wrap: wrap; gap: 10px; }
.gymlist a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--hair); background: var(--surface); text-decoration: none; font-size: 16px; }
.gymlist a i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.gymlist a:hover { border-color: var(--ctl); }

.demo-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.demo-card { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius); padding: 22px 24px; text-decoration: none; color: var(--ink); }
.demo-card:hover { border-color: var(--act-text); }
.demo-card .ic { width: 52px; height: 52px; border-radius: 12px; background: var(--tint); color: var(--act-text); display: grid; place-items: center; flex: none; }
.demo-card .ic svg { width: 28px; height: 28px; }
.demo-card .t { min-width: 0; }
.demo-card b { display: block; font-size: 20px; line-height: 1.4; color: var(--ink); }
.demo-card small { display: block; color: var(--muted); font-size: 16px; line-height: 1.5; }
.demo-card .go { margin-left: auto; color: var(--act-text); }

.contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

.p-foot { background: var(--band); color: var(--on-band); font-size: 15px; }
.p-foot-in { padding-block: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.p-foot .wordmark { font-size: 20px; color: var(--on-band); }
.p-foot .wordmark i { background: #BC8CFF; }
.p-foot a { color: var(--on-band); }
.p-foot .muted2 { color: var(--on-band-muted); }
.p-foot .seg { border-color: #7A7390; }
.p-foot .seg a { color: var(--on-band-muted); }
.p-foot .seg a.on { background: #FFFFFF; color: #16131D; }

@media (max-width: 1180px) {
    :root { --gutter: 32px; }
    .p-nav { gap: 18px; }
    .p-hero-in { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 48px; }
    .signs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .boards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
    :root { --head: 56px; }
    .p-nav, .p-right { display: none; }
    .p-mob { display: flex; }
    .mark small { display: none; }
}

@media (max-width: 767px) {
    :root { --gutter: 16px; }
    body { font-size: 17px; }
    .p-hero h1 { font-size: 32px; }
    .p-hero .lede { font-size: 17px; }
    .p-hero .cta .btn { width: 100%; }
    .psec { padding: 52px 0; }
    .signs, .boards, .demo-cards { grid-template-columns: minmax(0, 1fr); }
    .shot-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .shot-shelf { display: none; }
    .pkg { padding: 18px; }
    .pkg .price { font-size: 34px; }
    .bill-note { display: block; margin: -8px 0 16px; }
    .contact .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
