/* ==========================================================================
   HostNest - main.css (fully responsive: 280px phones -> 4K screens)
   ========================================================================== */
:root {
  --g950: #06361f; --g900: #0a4a2b; --g800: #0c5d34; --g700: #0b7a3e; --g600: #0f9448;
  --g500: #16a34a; --g400: #4ade80; --g200: #bbf7d0; --g100: #dcf5e6; --g50: #f0fbf4;
  --ink: #0f1f17; --ink2: #334155; --muted: #5d6d64; --line: #e1ede6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(6, 54, 31, .05), 0 10px 28px rgba(6, 54, 31, .07);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Bengali", Arial, sans-serif;
  --wrap: 1200px;
  --pad: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 93.75%; scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-width: 280px; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
body.menu-open { overflow: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
svg { flex: none; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
h1, h2, h3, p, li, a, blockquote { overflow-wrap: break-word; }
ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--g500); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: max(var(--pad), env(safe-area-inset-left)); padding-right: max(var(--pad), env(safe-area-inset-right)); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--g700); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Grid/flex children must be allowed to shrink (prevents overflow) */
.hdr-in > *, .hero-grid > *, .domain-panel > *, .svc-grid > *, .why-grid > *, .rev-grid > *, .foot-grid > * { min-width: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 8px; border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s; }
.btn-primary { background: var(--g700); color: #fff; box-shadow: 0 6px 16px rgba(11, 122, 62, .22); }
.btn-primary:hover { background: var(--g800); }
.btn-outline { background: #fff; color: var(--g700); border-color: var(--g700); }
.btn-outline:hover { background: var(--g50); }
.btn-sm { height: 38px; padding: 0 16px; }
.btn-lg { height: 48px; padding: 0 24px; font-size: .98rem; }
.btn-block { width: 100%; }

/* Offer bar */
.topbar { position: relative; background: var(--g900); color: #fff; }
.topbar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; min-height: 46px; padding-block: 6px; padding-left: max(52px, env(safe-area-inset-left)); padding-right: max(52px, env(safe-area-inset-right)); }
.topbar p { font-size: .9rem; }
.tb-title { display: flex; align-items: center; gap: 10px; font-size: 1rem !important; color: #fff; }
.tb-title svg { color: #fcd34d; }
.tb-text { text-wrap: balance; }
.coupon { display: inline-block; margin-left: 6px; padding: 3px 10px; border: 1.5px dashed #86efac; border-radius: 8px; color: #fde68a; font-family: inherit; font-weight: 700; letter-spacing: .02em; overflow-wrap: anywhere; }
.tb-off strong { color: var(--g400); }
.countdown { display: flex; gap: 6px; margin-left: 6px; }
.countdown div { min-width: 46px; padding: 3px 6px; text-align: center; border-radius: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); line-height: 1.1; }
.countdown b { display: block; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .62rem; opacity: .8; }
.btn-copy { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 8px; border: 0; background: #22c55e; color: #052e16; font-weight: 700; font-size: .88rem; cursor: pointer; transition: background-color .2s; white-space: nowrap; }
.btn-copy:hover { background: #4ade80; }
.tb-close { position: absolute; top: 50%; right: max(14px, env(safe-area-inset-right)); transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background-color .2s; }
.tb-close:hover { background: rgba(255, 255, 255, .26); }
.tb-close:focus-visible { outline-color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); }
.hdr-in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--g700); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; color: var(--g800); }
.brand-text small { font-size: .62rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 8px 11px; background: none; border: 0; border-radius: 8px; font-weight: 500; font-size: .92rem; color: var(--ink2); text-decoration: none; cursor: pointer; }
.nav-link:hover { color: var(--g700); }
.nav-link.is-active { color: var(--g700); font-weight: 700; }
.nav-link.is-active::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -2px; height: 3px; border-radius: 3px; background: var(--g600); }
.nav-link svg { transition: transform .2s; }
.has-dd { position: relative; }
.has-dd.open .dd-toggle svg { transform: rotate(180deg); }
.dd { display: none; position: absolute; top: 100%; left: 0; z-index: 10; min-width: 220px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(6, 54, 31, .14); }
.dd a { display: block; padding: 10px 12px; border-radius: 8px; font-size: .92rem; font-weight: 500; text-decoration: none; color: var(--ink2); }
.dd a:hover { background: var(--g50); color: var(--g700); }
.has-dd.open .dd { display: block; }
@media (hover: hover) and (min-width: 1025px) {
  .has-dd:hover .dd { display: block; }
  .has-dd:hover .dd-toggle svg { transform: rotate(180deg); }
}
.nav-mobile-only { display: none; }
.hdr-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-toggle { display: none; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--g800); cursor: pointer; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: inline-flex; }

/* Hero */
.hero { background: radial-gradient(900px 420px at 85% 10%, #d6f7e3 0%, transparent 70%), linear-gradient(180deg, var(--g50), #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 20px; padding-block: 24px 32px; }
.trust-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; background: #e3f6ea; border: 1px solid #cdecd9; color: var(--g800); font-weight: 600; font-size: .82rem; }
.trust-badge svg { color: var(--g700); }
.hero h1 { margin-top: 16px; font-size: clamp(1.7rem, 3.8vw, 2.8rem); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; }
.hero h1 span { color: var(--g500); }
.lead { max-width: 540px; margin-top: 14px; font-size: 1rem; color: var(--ink2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-feats { display: grid; grid-template-columns: repeat(4, max-content); gap: 14px 20px; margin-top: 26px; }
.hero-feats li { display: flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 500; line-height: 1.35; color: var(--ink2); }
.hf-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--g100); color: var(--g700); }
.hero-art img { width: 100%; max-width: 540px; margin-inline: auto; }

/* Domain */
.domain { padding-block: 0 8px; }
.domain-panel { display: grid; grid-template-columns: 1fr 1.7fr; align-items: center; gap: 24px; margin-top: 4px; padding: 20px 24px; border-radius: 16px; background: linear-gradient(135deg, #e6f7ec, #f1fbf5); border: 1px solid #d3eedd; }
.dp-left { display: flex; align-items: center; gap: 14px; }
.dp-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--g700); color: #fff; }
.dp-left h2 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.dp-left p { margin-top: 4px; font-size: .85rem; color: var(--muted); }
.dsearch { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.dsearch:focus-within { border-color: var(--g500); box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); }
.ds-ico { display: inline-flex; padding-left: 12px; color: var(--g700); }
.dsearch input { flex: 1; min-width: 0; height: 42px; border: 0; background: transparent; font-size: .95rem; outline: none; }
.dsearch input::placeholder { color: #7b8a82; }
.domain-result { margin-top: 12px; padding: 10px 14px; border-radius: 10px; font-size: .92rem; }
.domain-result a { font-weight: 700; color: var(--g700); }
.domain-result.is-available { background: #dcfce7; color: #14532d; }
.domain-result.is-taken { background: #fef3c7; color: #78350f; }
.domain-result.is-error { background: #fee2e2; color: #7f1d1d; }
.tlds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tlds li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 9px; background: #fff; border: 1px solid var(--line); font-size: .85rem; }
.tlds b { font-weight: 700; }
.tlds li span:last-child { color: var(--muted); }
.tld-dot { width: 18px; height: 18px; flex: none; border-radius: 50%; background: #3b82f6; }
.tld-2 { background: #0f172a; } .tld-3 { background: #7c3aed; } .tld-4 { background: #f97316; } .tld-5 { background: #16a34a; }

/* Section heads */
.sec-head { text-align: center; max-width: 760px; margin: 36px auto 22px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; border-radius: 999px; background: var(--g100); color: var(--g800); font-size: .7rem; font-weight: 700; letter-spacing: .06em; }
.pill-outline { background: #fff; border: 1px solid #b7e4c7; }
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--g600); }
.sec-head h2 { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; font-size: clamp(1.25rem, 2.6vw, 1.8rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.sec-head .dash { flex: 1; min-width: 20px; max-width: 100px; border-top: 2px dotted #a7d9b9; }
.sec-head p:last-child { margin-top: 8px; color: var(--muted); }

/* Services */
.services { padding-bottom: 36px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.svc:hover { border-color: #b7e4c7; box-shadow: 0 14px 34px rgba(6, 54, 31, .12); }
.svc-top { display: flex; gap: 12px; }
.il { width: 84px; height: 84px; flex: none; }
.il-blob { fill: #dff5e8; } .il-srv { fill: #0f7a40; } .il-led { fill: #86efac; } .il-bg { fill: #fff; stroke: #cdecd9; stroke-width: 2; } .il-badge { color: #0b7a3e; }
.svc-body { min-width: 0; flex: 1; }
.svc-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.svc-title h3 { font-size: 1.05rem; font-weight: 700; }
.badge { padding: 3px 10px; border-radius: 6px; background: var(--g100); color: var(--g800); font-size: .7rem; font-weight: 700; white-space: nowrap; }
.svc-body > p { margin-top: 4px; font-size: .82rem; line-height: 1.45; color: var(--muted); }
.checks { display: grid; gap: 2px; margin-top: 8px; }
.checks li { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink2); }
.chk { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--g100); color: var(--g700); }
.svc-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price small { display: block; font-size: .75rem; color: var(--muted); }
.price strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.price strong span { font-size: 1rem; font-weight: 700; color: var(--g700); }

/* Why */
.why { background: linear-gradient(180deg, var(--g50), #e9f8ef); border-block: 1px solid #d9efe2; }
.why-grid { display: grid; grid-template-columns: 1fr 1.5fr; align-items: center; gap: 28px; padding-block: 26px; }
.why-copy h2 { margin-top: 8px; font-size: clamp(1.25rem, 2.3vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.why-copy > p:not(.pill) { margin: 8px 0 16px; max-width: 520px; color: var(--muted); }
.why-feats { display: grid; grid-template-columns: repeat(5, 1fr); }
.why-feats li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 2px 8px; text-align: center; font-size: .85rem; font-weight: 500; color: var(--ink2); line-height: 1.4; }
.why-feats li + li { border-left: 1px solid #cfe7da; }
.wf-ico { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #d3f2df; color: var(--g700); }

/* Reviews */
.reviews { padding-block: 28px 36px; }
.rev-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.rev-head h2 { margin-top: 8px; font-size: clamp(1.2rem, 2.3vw, 1.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.rev-head p:last-child { margin-top: 4px; max-width: 560px; color: var(--muted); font-size: .88rem; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rev { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 16px 66px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.q { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--g100); color: var(--g700); }
.rev blockquote p { font-size: .88rem; color: var(--ink2); }
.rev figcaption { display: flex; align-items: center; gap: 10px; margin-top: auto; margin-left: -48px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; border-radius: 50%; color: #fff; font-weight: 700; background: var(--g700); }
.av-2 { background: #0f766e; } .av-3 { background: #166534; }
.who { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.who strong { font-size: .92rem; }
.who small { color: var(--muted); font-size: .8rem; }
.stars { display: inline-flex; gap: 2px; margin-top: 4px; color: #16a34a; }

/* Footer */
.site-footer { background: var(--g950); color: #d7eadf; padding-bottom: env(safe-area-inset-bottom); }
.foot-grid { display: grid; grid-template-columns: 1.5fr .9fr 1fr 1fr 1.5fr; gap: 26px; padding-block: 34px 22px; }
.brand-light { color: #fff; }
.brand-light .brand-text b { color: #fff; }
.brand-light .brand-text small { color: #9cc9b0; }
.foot-brand p { margin-top: 12px; max-width: 320px; font-size: .85rem; color: #b7d4c4; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .08); transition: background-color .2s; }
.social a:hover { background: var(--g600); }
.foot-col h3 { margin-bottom: 10px; font-size: .95rem; font-weight: 700; color: #fff; }
.foot-col li + li { margin-top: 6px; }
.foot-col a { font-size: .85rem; color: #b7d4c4; text-decoration: none; transition: color .2s; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-news p { font-size: .85rem; color: #b7d4c4; margin-bottom: 10px; }
.nl { display: flex; align-items: center; gap: 6px; padding: 5px; border-radius: 10px; background: #fff; }
.nl input[type="email"] { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 0; background: transparent; font-size: .9rem; color: var(--ink); outline: none; }
.nl button { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 38px; border: 0; border-radius: 8px; background: var(--g600); color: #fff; cursor: pointer; transition: background-color .2s; }
.nl button:hover { background: var(--g700); }
.nl:focus-within { box-shadow: 0 0 0 3px rgba(74, 222, 128, .5); }
.nl-msg { margin: 10px 0 0 !important; padding: 8px 12px; border-radius: 8px; font-size: .85rem !important; }
.nl-msg.is-success { background: #dcfce7; color: #14532d !important; }
.nl-msg.is-error { background: #fee2e2; color: #7f1d1d !important; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.foot-bottom-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 12px; }
.foot-bottom p { font-size: .85rem; color: #b7d4c4; }
.foot-bottom p a { color: var(--g400); text-decoration: none; }
.pay { display: flex; flex-wrap: wrap; gap: 10px; }
.pay li { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 28px; padding: 0 9px; border-radius: 6px; background: #fff; font-size: .72rem; font-weight: 800; }
.pay-visa { color: #1a1f71; font-style: italic; letter-spacing: .02em; }
.pay-mc span { width: 18px; height: 18px; border-radius: 50%; background: #eb001b; }
.pay-mc span + span { margin-left: -7px; background: #f79e1b; opacity: .92; }
.pay-bkash { color: #e2136e; } .pay-nagad { color: #f26522; } .pay-paypal { color: #003087; }

/* ==========================================================================
   Responsive (desktop-first, largest to smallest)
   ========================================================================== */

/* Large / 2K / 4K screens */
@media (min-width: 1600px) {
  html { font-size: 100%; }
  :root { --wrap: 1320px; }
}
@media (min-width: 2200px) {
  html { font-size: 112.5%; }
  :root { --wrap: 1500px; }
}

@media (max-width: 1180px) {
  .topbar-in { gap: 6px 14px; }
  .countdown { margin-left: 0; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .foot-news { grid-column: 1 / -1; max-width: 480px; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .hero-feats { grid-template-columns: repeat(2, max-content); }
}

/* Tablets landscape / small laptops */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .hdr-in { gap: 12px; justify-content: space-between; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; justify-content: stretch; max-height: calc(100vh - 70px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 6px max(20px, env(safe-area-inset-right)) 16px max(20px, env(safe-area-inset-left)); background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(6, 54, 31, .12); }
  @supports (height: 100dvh) { .nav { max-height: calc(100dvh - 70px); } }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li:last-child { border-bottom: 0; padding-top: 10px; }
  .nav-link { width: 100%; justify-content: space-between; padding: 12px 4px; border-radius: 0; }
  .nav-link.is-active::after { left: 4px; right: auto; width: 28px; bottom: 6px; }
  .dd { position: static; min-width: 0; margin: 0 0 10px; box-shadow: none; border: 0; background: var(--g50); }
  .nav-mobile-only { display: block; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
  .why-feats { grid-template-columns: repeat(5, 1fr); }
  .rev-grid { grid-template-columns: repeat(2, 1fr); }
  .rev-grid .rev:last-child { grid-column: 1 / -1; }
}

/* Tablets portrait */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 20px 24px; }
  .hero-art { order: -1; max-width: 400px; margin-inline: auto; }
  .hero-feats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 12px; }
  .hero-feats li { align-items: flex-start; }
  .domain-panel { grid-template-columns: 1fr; padding: 18px; gap: 14px; }
  .why-feats { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .why-feats li:nth-child(4) { border-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

/* Large phones / small tablets: offer bar becomes two tidy rows */
@media (max-width: 760px) {
  /* Compact 2-row offer bar: [20% OFF  CODE  Copy] / [Ends in 73d 22h 27m 31s] */
  .topbar-in { padding-block: 8px; padding-left: max(40px, env(safe-area-inset-left)); padding-right: max(40px, env(safe-area-inset-right)); gap: 6px 10px; }
  .tb-title, .tb-lbl, .tb-amp, .tb-long { display: none; }
  .topbar p { font-size: .88rem; }
  .tb-off { order: 1; }
  .tb-text:not(.tb-off) { order: 2; }
  .btn-copy { order: 3; height: 28px; padding: 0 10px; gap: 6px; font-size: .78rem; }
  .coupon { margin-left: 0; padding: 2px 8px; font-size: .85rem; }
  .countdown { order: 4; flex: 0 0 100%; justify-content: center; align-items: baseline; gap: 10px; margin: 0; font-size: .78rem; }
  .countdown::before { content: "Ends in"; opacity: .8; }
  .countdown div { display: flex; align-items: baseline; gap: 1px; min-width: 0; padding: 0; background: none; border: 0; }
  .countdown b { display: inline; font-size: .9rem; }
  .countdown span { display: inline-block; font-size: 0; opacity: .85; text-transform: lowercase; }
  .countdown span::first-letter { font-size: .72rem; }
  .tb-close { top: 8px; transform: none; width: 28px; height: 28px; right: max(8px, env(safe-area-inset-right)); }
  .hide-sm { display: none; }
  .rev-head { flex-direction: column; align-items: flex-start; }
}

/* Phones */
@media (max-width: 680px) {
  :root { --pad: 14px; }
  .hdr-in { min-height: 58px; }
  .brand-text b { font-size: 1.25rem; }
  .brand-text small { display: none; }
  .logo-mark { width: 34px; height: 34px; }
  .sec-head { margin-top: 28px; }
  .sec-head .dash { display: none; }
  .svc-grid, .rev-grid { grid-template-columns: 1fr; }
  .rev-grid .rev:last-child { grid-column: auto; }
  .hero-cta .btn { flex: 1 1 0; padding: 0 12px; }
  .hero-feats { grid-template-columns: 1fr 1fr; gap: 12px 10px; }
  .hf-ico { width: 36px; height: 36px; }
  .dsearch { flex-wrap: wrap; padding: 8px; }
  .dsearch input { flex: 1 1 calc(100% - 50px); }
  .dsearch .btn { width: 100%; }
  .dp-left { flex-direction: column; align-items: flex-start; }
  .why-feats { grid-template-columns: repeat(2, 1fr); }
  .why-feats li { border-left: 0 !important; }
  .why-feats li:last-child { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding-block: 26px 16px; }
  .foot-news { max-width: none; }
  .foot-bottom-in { justify-content: center; text-align: center; }
  .pay { justify-content: center; }
}

/* Small phones */
@media (max-width: 420px) {
  .topbar-in { padding-left: max(36px, env(safe-area-inset-left)); padding-right: max(36px, env(safe-area-inset-right)); }
  .topbar p { font-size: .82rem; }
  .countdown { gap: 8px; }
  .svc { padding: 14px; }
  .svc-top { gap: 10px; }
  .il { width: 64px; height: 64px; }
  .rev { padding: 16px 14px 14px; }
  .q { position: static; }
  .rev figcaption { margin-left: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .btn-sm { padding: 0 14px; }
  .hdr-actions { gap: 6px; }
  .price strong { font-size: 1.35rem; }
  .domain-panel { padding: 14px; }
}

/* Very small phones (320px and below, e.g. iPhone SE 1st gen, Galaxy Fold folded) */
@media (max-width: 360px) {
  .hdr-in { gap: 8px; }
  .brand { gap: 6px; }
  .brand-text b { font-size: 1.1rem; }
  .logo-mark { width: 30px; height: 30px; }
  .btn-sm { padding: 0 10px; font-size: .85rem; }
  .nav-toggle { width: 38px; height: 38px; }
  .btn-copy span { display: none; }
  .btn-copy { width: 30px; padding: 0; justify-content: center; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-feats { grid-template-columns: 1fr; }
  .trust-badge { font-size: .75rem; padding: 5px 10px; }
  .why-feats { grid-template-columns: 1fr; }
  .why-feats li:last-child { grid-column: auto; }
}

/* Short landscape phones: keep the open menu scrollable */
@media (max-height: 480px) and (orientation: landscape) {
  .nav { max-height: calc(100vh - 64px); }
  @supports (height: 100dvh) { .nav { max-height: calc(100dvh - 64px); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .topbar, .site-header { position: static; }
  .tb-close, .nav-toggle { display: none; }
}