/* The modern monitor: a browser showing one client's example website, plus the Day 2 windows.
   Colours from the brand. The example shop has its own calm look (kaolin + teal) so it reads as a client's site. */
.os { --ink: #14161B; --muted: #555A66; --line: #DCDEE5; --accent: #4257E0; --shop: #0E6E87;
  position: fixed; left: 0; top: 0; z-index: 2; width: 1280px; height: 720px; transform-origin: 0 0; overflow: hidden; pointer-events: auto;
  display: grid; grid-template-rows: 56px 1fr; font: 400 18px/1.35 var(--sans); color: var(--ink); background: #F7F7F5; user-select: none; will-change: transform; }
.os[hidden] { display: none; }

/* browser bar */
.br-bar { display: flex; align-items: center; gap: 18px; padding: 0 20px; background: #E8EBF8; border-bottom: 1px solid var(--line); }
.br-dots { display: inline-flex; gap: 8px; } .br-dots b { width: 12px; height: 12px; border-radius: 50%; background: #AEB9FF; } .br-dots b:first-child { background: #1A2152; }
.br-url { flex: 1; max-width: 560px; height: 34px; display: inline-flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 999px; background: #fff; font: 500 16px/1 var(--sans); color: var(--muted); }
.br-lock { width: 10px; height: 10px; background: var(--shop); }
.br-tag { margin-left: auto; height: 30px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 6px; background: #DCDEE5; font: 500 14px/1 var(--sans); }
.br-tag::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.br-tag[data-t="testing"] { background: #FCEFD6; color: #9A5506; }
.br-tag[data-t="tested"], .br-tag[data-t="live"] { background: #DDF1F5; color: var(--shop); }

/* the example site. --b (0..1, Day 1) turns grey sketch bars into real text */
.site { --b: 1; position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 26px; padding: 26px 48px 32px; background: #ECE5D8; overflow: hidden; }
.site :is(b, h4, p, span, i) { font-style: normal; color: rgb(20 22 27 / var(--b)); background-color: rgb(20 22 27 / calc(.12 * (1 - var(--b)))); border-radius: 4px; transition: color .3s; }
.s-nav { display: flex; align-items: center; gap: 28px; }
.s-logo { font: 600 26px/1 var(--sans); letter-spacing: -.02em; }
.s-links { display: inline-flex; gap: 22px; font: 500 17px/1 var(--sans); } .s-links i { background: none !important; }
.s-ml, .s-phone { font: 500 16px/1 var(--sans); padding: 8px 12px; opacity: 0; transition: opacity .35s; }
.s-ml { margin-left: auto; border: 1px solid rgb(20 22 27 / .3); }
.s-phone { background: #fff !important; }
.s-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.s-copy h4 { margin: 0; display: inline; font: 600 58px/1.02 var(--sans); letter-spacing: -.035em; }
.s-copy p { margin: 18px 0 0; font-size: 21px; color: rgb(85 90 102 / var(--b)); }
.s-wa { display: inline-flex; margin-top: 24px; height: 52px; align-items: center; padding: 0 24px; border-radius: 10px; font: 500 18px/1 var(--sans);
  color: #fff !important; background: var(--shop) !important; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.s-photo { height: 300px; border-radius: 14px; background: rgb(20 22 27 / .1); position: relative; overflow: hidden; }
.s-photo::after, .s-card i::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .45s;
  background: radial-gradient(60% 70% at 30% 30%, #f4c98f, transparent), radial-gradient(70% 60% at 75% 75%, #b87a3d, transparent), #e3b47a; }
.s-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.s-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 14px; border-radius: 12px; background: rgb(255 255 255 / calc(.4 + .5 * var(--b))); }
.s-card i { width: 64px; height: 64px; border-radius: 10px; position: relative; overflow: hidden; background: rgb(20 22 27 / .1) !important; }
.s-card b { font: 600 20px/1.1 var(--sans); }
.s-card span { font: 500 19px/1 var(--sans); min-width: 3.4em; text-align: right; }
.s-card span::before { content: "₹ —"; } .site.c1 .s-card span::before { content: none; }
.site:not(.c1) .s-card span { font-size: 0; } .site:not(.c1) .s-card span::before { font-size: 19px; color: rgb(20 22 27 / .35); }
.s-mobile { position: absolute; right: 30px; bottom: 26px; width: 92px; height: 170px; border-radius: 16px; border: 4px solid #1A2152; background: #ECE5D8;
  display: grid; align-content: start; gap: 8px; padding: 18px 10px; opacity: 0; transform: translateY(16px); transition: opacity .35s, transform .35s; box-shadow: 0 16px 30px rgb(20 22 27 / .25); }
.s-mobile b { height: 8px; border-radius: 3px; background: rgb(20 22 27 / .7); } .s-mobile b:nth-child(2) { width: 70%; } .s-mobile b:nth-child(3) { height: 40px; background: #e3b47a; } .s-mobile b:nth-child(4) { height: 16px; background: var(--shop); }
/* each passed check fills in a part of the page: c0 phones · c1 prices · c2 photos · c3 Malayalam · c4 WhatsApp */
.site.c0 .s-mobile { opacity: 1; transform: none; }
.site.c2 :is(.s-photo, .s-card i)::after { opacity: 1; }
.site.c3 .s-ml { opacity: 1; }
.site.c4 .s-wa, .site.c4 .s-phone { opacity: 1; transform: none; }

/* windows: centred on the screen. On phones .os-pops is scaled up so the window is readable (main.js sets --win) */
.os-pops { position: absolute; inset: 56px 0 0; display: grid; place-items: center; pointer-events: none; transform: scale(var(--win, 1)); transform-origin: 50% 50%; }
.os-win { grid-area: 1 / 1; width: 560px; padding: 30px 32px 28px; border-radius: 16px; background: #fff; color: var(--ink); pointer-events: auto;
  box-shadow: 0 1px 2px rgba(20, 22, 27, .06), 0 24px 60px rgba(14, 18, 48, .3); opacity: 0; scale: .96; transition: opacity .25s ease-out, scale .3s ease-out; }
.os-win.in { opacity: 1; scale: 1; }
.os-win[hidden] { display: none; }
.w-kicker { margin: 0 0 8px; font: 500 15px/1.2 var(--sans); color: var(--muted); display: flex; align-items: center; gap: 8px; }
.w-kicker::before { content: ""; width: 8px; height: 8px; background: var(--accent); }
.os-win h3 { margin: 0; font: 600 30px/1.1 var(--sans); letter-spacing: -.02em; }
.os-win > p:not(.w-kicker) { margin: 10px 0 0; font-size: 20px; color: var(--muted); }
.w-checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.w-checks li { display: flex; align-items: center; gap: 12px; font: 500 18px/1.2 var(--sans); color: var(--muted); transition: color .2s; }
.w-checks li::before { content: ""; width: 16px; height: 16px; border: 2px solid #767C90; transition: background .2s, border-color .2s; }
.w-checks li.ok { color: var(--ink); } .w-checks li.ok::before { background: var(--shop); border-color: var(--shop); }
.os-bar { height: 8px; margin: 22px 0 0; border-radius: 999px; background: #E8EBF8; overflow: hidden; }
.os-bar b { display: block; height: 100%; width: 0; background: var(--accent); }
.os-btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 24px; margin-top: 22px; border: 0; border-radius: 10px; cursor: pointer;
  font: 500 18px/1 var(--sans); color: #fff; background: var(--accent); text-decoration: none; touch-action: none; -webkit-user-select: none; user-select: none;
  transition: background .15s ease-out, scale .12s ease-out; }
.os-hold { width: 100%; }
.os-btn:hover, .os-btn.down { background: #1A2152; }
.os-btn.down { scale: .985; }
.os-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.os-btn:disabled { background: var(--shop); cursor: default; }
.os-quiet { background: transparent; color: var(--accent); } .os-quiet:hover { background: #E8EBF8; }
.w-btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* phones: the windows lift off the monitor at a readable size; the screen must not clip them */
.os.phone { overflow: visible; }
.os.phone .os-win { box-shadow: 0 30px 90px rgba(14, 18, 48, .55); }
/* phones: the window is drawn at ~0.63× of these sizes, so these give ~17 px text and a ~50 px tall button on screen */
.os.phone .os-win { width: 560px; padding: 40px 38px 36px; border-radius: 22px; }
.os.phone .w-kicker { font-size: 24px; } .os.phone .w-kicker::before { width: 12px; height: 12px; }
.os.phone .os-win h3 { font-size: 46px; line-height: 1.08; }
.os.phone .os-win > p:not(.w-kicker) { font-size: 30px; }
.os.phone .w-checks { gap: 14px; margin-top: 26px; } .os.phone .w-checks li { font-size: 28px; gap: 16px; } .os.phone .w-checks li::before { width: 24px; height: 24px; }
.os.phone .os-bar { height: 12px; }
.os.phone .os-btn { height: 80px; font-size: 28px; padding: 0 28px; border-radius: 14px; }
.os.phone .w-btns { flex-direction: column; } .os.phone .w-btns .os-btn { width: 100%; }
