/* =========================================================
   Jafu IT Solutions — public site styles
   Palette from the logo: deep navy, royal blue, sky swoosh.
   ========================================================= */
:root {
  --ink: #071433;
  --ink-2: #24305a;
  --muted: #5b6785;
  --blue: #0b5cff;
  --blue-d: #0842c4;
  --sky: #22b5ff;
  --paper: #f5f8ff;
  --white: #ffffff;
  --line: #dce4f5;
  --green: #12a150;
  --green-bg: #e3f6ea;
  --blue-bg: #e7efff;
  --amber-bg: #fff3d6;
  --amber: #8a5a00;
  --danger: #c62f35;

  --font-body: 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Baloo Da 2', 'Hind Siliguri', system-ui, sans-serif;

  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --wrap: 1200px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-d); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; color: inherit; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 600px) { :root { --gutter: 16px; } body { font-size: 16px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  font: 600 1rem/1.25 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn i { font-size: .9em; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blue-bg); color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--blue); color: var(--blue); }
.btn-wa { background: #25d366; color: #06301a; }
.btn-wa:hover { background: #1fbb59; color: #06301a; }
.btn-sm { padding: 9px 16px; font-size: .95rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}
.header-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 54px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a.nav-link {
  display: block; padding: 8px 12px; border-radius: 10px;
  color: var(--ink-2); text-decoration: none; font-weight: 500;
}
.site-nav a.nav-link:hover { color: var(--blue); background: var(--blue-bg); }
.site-nav a.nav-link.is-active { color: var(--blue); font-weight: 600; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span:not(.sr) { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1080px) {
  .site-nav { gap: 16px; }
  .site-nav a.nav-link { padding: 8px 8px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .brand img { height: 46px; }
  .header-in { min-height: 66px; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 12px var(--gutter) 20px; box-shadow: 0 24px 40px -24px rgba(7, 20, 51, .35);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a.nav-link { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav .btn { width: 100%; }
}

/* ---------- Hero: the app launcher ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(55% 70% at 88% 18%, rgba(34, 181, 255, .26), transparent 62%),
    radial-gradient(48% 60% at 0% 100%, rgba(11, 92, 255, .38), transparent 64%),
    var(--ink);
  padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 8vw, 104px);
}
.hero-swoosh { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-swoosh path { fill: none; stroke: url(#swooshGrad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1800; stroke-dashoffset: 0; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 {
  font-size: clamp(2.35rem, 5.2vw, 4rem); font-weight: 800; line-height: 1.12;
  margin-bottom: 20px; text-wrap: balance;
}
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, .78); max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.launcher {
  position: relative;
  background: linear-gradient(180deg, #16295e, #0d1d4a);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-xl); padding: 16px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.launcher-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 2px 8px 14px; }
.launcher-bar strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.launcher-bar span { color: rgba(255, 255, 255, .62); font-size: .9rem; }
.launcher-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.app {
  display: flex; flex-direction: column; gap: 8px; padding: 8px;
  border-radius: 18px; color: #fff; text-decoration: none;
  transition: background-color .18s;
}
.app:hover, .app:focus-visible { background: rgba(255, 255, 255, .08); color: #fff; }
.app-logo {
  position: relative; display: block; aspect-ratio: 2.5 / 1; background: var(--tile, #fff); border-radius: 14px;
  overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
/* logos of any shape sit fully inside the tile */
.app-logo img, .prod-logo img {
  position: absolute; inset: 8px 12px; width: calc(100% - 24px); height: calc(100% - 16px);
  max-width: none; object-fit: contain;
}
.app-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; font-size: .92rem; font-weight: 500; }
.app-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-tag { flex: none; font-size: .74rem; font-weight: 600; padding: 1px 9px; border-radius: 99px; background: rgba(18, 161, 80, .2); color: #8ff0b6; }
.app-tag.is-basic { background: rgba(34, 181, 255, .17); color: #a8e0ff; }
.app-tag.is-paid { background: rgba(255, 196, 0, .16); color: #ffd978; }

@media (prefers-reduced-motion: no-preference) {
  .hero-swoosh path { stroke-dashoffset: 1800; animation: swoosh 1.4s .15s cubic-bezier(.6, 0, .2, 1) forwards; }
  .launcher .app { opacity: 0; transform: translateY(8px); animation: appIn .45s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(.35s + var(--i, 0) * 70ms); }
}
@keyframes swoosh { to { stroke-dashoffset: 0; } }
@keyframes appIn { to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14em; }
}
@media (max-width: 420px) {
  .launcher { padding: 10px; border-radius: 22px; }
  .app { padding: 6px; }
  .app-meta { font-size: .84rem; flex-direction: column; align-items: flex-start; gap: 2px; }
}

/* ---------- Facts strip ---------- */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts-list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0 auto; padding: 0 var(--gutter); }
.fact { padding: 22px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; line-height: 1.15; color: var(--blue); }
.fact span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) {
  .facts-list { grid-template-columns: 1fr 1fr; }
  .fact { padding: 16px 0 16px 16px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-white { background: #fff; }
.sec-head { max-width: 700px; margin-bottom: 36px; }
.sec-head h2, .page-hero h1 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); font-weight: 700; }
.sec-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head-row .sec-head { margin-bottom: 0; }

/* Filter chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 8px 16px; border-radius: 99px; font: 500 .95rem/1.2 var(--font-body); cursor: pointer;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Software cards ---------- */
.sw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sw-card {
  display: grid; grid-template-columns: 210px minmax(0, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .18s;
}
.sw-card:hover { border-color: #a9c1f5; }
.sw-card[hidden] { display: none; }
.sw-logo { background: var(--tile, #fff); display: grid; place-items: center; padding: 22px; border-right: 1px solid var(--line); }
.sw-logo img { max-height: 150px; width: auto; object-fit: contain; }
.sw-body { padding: 22px 24px 24px; display: flex; flex-direction: column; }
.sw-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sw-head h3 { font-size: 1.35rem; font-weight: 700; margin: 0; }
.sw-head h3 a { color: inherit; text-decoration: none; }
.sw-head h3 a:hover { color: var(--blue); }
.sw-host { display: block; color: var(--muted); font-size: .88rem; margin-bottom: 8px; }
.sw-tagline { font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.sw-desc { color: var(--muted); font-size: .97rem; margin-bottom: 12px; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 4px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; font-size: .95rem; }
.ticks i { color: var(--green); font-size: .85rem; }
.sw-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }

.badge { flex: none; display: inline-block; font-size: .8rem; font-weight: 600; padding: 3px 11px; border-radius: 99px; white-space: nowrap; }
.badge.is-free { background: var(--green-bg); color: #0b7a3b; }
.badge.is-basic { background: var(--blue-bg); color: var(--blue-d); }
.badge.is-paid { background: var(--amber-bg); color: var(--amber); }

@media (max-width: 1040px) { .sw-card { grid-template-columns: 170px minmax(0, 1fr); } }
@media (max-width: 900px) { .sw-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .sw-card { grid-template-columns: 1fr; }
  .sw-logo { position: relative; aspect-ratio: 2.6 / 1; border-right: 0; border-bottom: 1px solid var(--line); padding: 0; }
  .sw-logo img { position: absolute; inset: 14px 18px; width: calc(100% - 36px); height: calc(100% - 28px); max-height: none; }
  .sw-body { padding: 18px; }
}

/* ---------- Custom software band ---------- */
.custom { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.custom::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; height: 90%;
  background: radial-gradient(closest-side, rgba(11, 92, 255, .35), transparent); pointer-events: none;
}
.custom-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.custom h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); font-weight: 700; }
.custom-lead { color: rgba(255, 255, 255, .78); font-size: 1.1rem; max-width: 30em; margin-bottom: 28px; }
.custom-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.step-n {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .3); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--sky);
}
.steps h3 { font-size: 1.2rem; font-weight: 700; margin: 4px 0 4px; }
.steps p { color: rgba(255, 255, 255, .72); margin: 0; }
.steps.on-light li { border-color: var(--line); }
.steps.on-light .step-n { border-color: var(--line); color: var(--blue); }
.steps.on-light p { color: var(--muted); }
@media (max-width: 860px) { .custom-grid { grid-template-columns: 1fr; } }

/* ---------- Services (ruled grid, not cards) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc { padding: 28px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.svc-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-bg); color: var(--blue); font-size: 1.25rem; margin-bottom: 16px; }
.svc h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 6px; }
.svc p { color: var(--muted); margin: 0; font-size: .98rem; }
.svc .prose { margin-top: 12px; font-size: .98rem; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .svc-grid { grid-template-columns: 1fr; } .svc { padding: 22px 18px; } }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.why { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.why i { font-size: 1.35rem; color: var(--blue); margin-top: 6px; }
.why h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.why p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .why-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.quote blockquote { margin: 0; font-size: 1.04rem; }
.quote .stars { color: #f4b400; font-size: .9rem; letter-spacing: 2px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote figcaption img, .quote .avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote .avatar { display: grid; place-items: center; background: var(--blue-bg); color: var(--blue); font-weight: 700; font-family: var(--font-display); }
.quote figcaption b { display: block; line-height: 1.3; }
.quote figcaption span { color: var(--muted); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative;
  font-weight: 600; font-size: 1.07rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.2rem; color: var(--blue); line-height: 1;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list .faq-a { padding: 0 44px 20px 0; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.post-thumb { aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; display: block; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb.no-img {
  display: grid; place-items: center;
  background: radial-gradient(70% 90% at 80% 10%, rgba(34, 181, 255, .35), transparent 60%), var(--ink);
}
.post-thumb.no-img img { width: 72px; height: 72px; object-fit: contain; opacity: .95; border-radius: 18px; }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { color: var(--muted); font-size: .88rem; margin-bottom: 6px; }
.post-body h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.post-body h3 a { color: inherit; text-decoration: none; }
.post-body h3 a:hover { color: var(--blue); }
.post-body p { color: var(--muted); font-size: .96rem; margin-bottom: 14px; }
.post-body .more { margin-top: auto; font-weight: 600; text-decoration: none; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); }
.pager .is-current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue-d), var(--blue) 55%, #1a8dff); color: #fff; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 44px var(--gutter); flex-wrap: wrap; }
.cta-in h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; margin: 0 0 4px; max-width: 24em; }
.cta-in p { margin: 0; color: rgba(255, 255, 255, .85); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-top: 56px; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo img { height: 64px; width: auto; margin-bottom: 14px; }
.footer-about { color: var(--muted); max-width: 30em; }
.site-footer h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; }
.f-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.f-links a { color: var(--ink-2); text-decoration: none; }
.f-links a:hover { color: var(--blue); }
.f-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.f-contact li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2); }
.f-contact i { color: var(--blue); margin-top: 6px; }
.f-contact a { color: inherit; text-decoration: none; }
.socials { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.socials a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); text-decoration: none; }
.socials a:hover { border-color: var(--blue); color: var(--blue); }
.footer-bottom { margin-top: 44px; border-top: 1px solid var(--line); padding: 18px var(--gutter); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; font-size: 1.7rem; text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(7, 20, 51, .45);
}
.wa-float:hover { color: #fff; background: #1fbb59; }

/* ---------- Inner page hero ---------- */
.page-hero {
  color: #fff; padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 64px);
  background:
    radial-gradient(50% 90% at 92% 0%, rgba(34, 181, 255, .24), transparent 62%),
    radial-gradient(40% 80% at 0% 100%, rgba(11, 92, 255, .32), transparent 64%),
    var(--ink);
}
.page-hero p.lead { color: rgba(255, 255, 255, .78); font-size: 1.1rem; max-width: 40em; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; font-size: .92rem; color: rgba(255, 255, 255, .62); }
.crumbs a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .4); }

/* Product detail */
.prod-hero { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.prod-logo { position: relative; background: var(--tile, #fff); border-radius: var(--r-lg); aspect-ratio: 1.5 / 1; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); overflow: hidden; }
.prod-logo img { inset: 22px 26px; width: calc(100% - 52px); height: calc(100% - 44px); }
.prod-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 6px; }
.prod-hero .lead { margin-bottom: 18px !important; }
.prod-hero .badge { margin-right: 10px; }
.prod-host { color: rgba(255, 255, 255, .7); }
.prod-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.prod-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.aside-card + .aside-card { margin-top: 16px; }
.aside-card h2, .aside-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.aside-card .ticks { margin-bottom: 0; gap: 8px; }
.mini-apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mini-app { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.mini-app .app-logo { box-shadow: inset 0 0 0 1px var(--line); }
.mini-app span { font-weight: 600; font-size: .95rem; }
.mini-app:hover span { color: var(--blue); }
@media (max-width: 860px) {
  .prod-hero, .prod-layout { grid-template-columns: 1fr; }
  .prod-logo { max-width: 320px; }
  .mini-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Rich text */
.prose { font-size: 1.04rem; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.3rem; margin: 1.4em 0 .4em; }
.prose h4 { font-size: 1.1rem; margin: 1.2em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose img { border-radius: var(--r-md); margin: 1.2em 0; }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--blue); color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose iframe { max-width: 100%; border-radius: var(--r-md); }
.narrow { max-width: 780px; }

/* Post */
.post-head-meta { color: rgba(255, 255, 255, .72); display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.post-cover { border-radius: var(--r-lg); margin-bottom: 28px; width: 100%; }
.share { display: flex; gap: 8px; align-items: center; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.share a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); text-decoration: none; }
.share a:hover { color: var(--blue); border-color: var(--blue); }
.recent { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.recent a { font-weight: 600; text-decoration: none; color: var(--ink); line-height: 1.45; display: block; }
.recent a:hover { color: var(--blue); }
.recent small { color: var(--muted); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.form-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid #cdd8ef; border-radius: 12px;
  font: 400 1rem/1.5 var(--font-body); color: var(--ink); background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(11, 92, 255, .2); border-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-ok { background: var(--green-bg); color: #0b5a2d; border: 1px solid #b8e6cb; }
.alert-err { background: #fdecec; color: #8c1d22; border: 1px solid #f5c2c4; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.sticky { position: sticky; top: 100px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .sticky { position: static; } }

.info-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 4px; }
.info-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.info-list .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-bg); color: var(--blue); }
.info-list small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.3; }
.info-list a, .info-list span { color: var(--ink); text-decoration: none; font-weight: 600; word-break: break-word; }
.info-list a:hover { color: var(--blue); }
.map { border: 0; width: 100%; height: 380px; border-radius: var(--r-lg); display: block; }

/* ---------- 404 / maintenance ---------- */
.notfound { text-align: center; padding: clamp(64px, 10vw, 120px) 0; }
.notfound b { display: block; font-family: var(--font-display); font-size: clamp(4rem, 12vw, 7rem); line-height: 1; color: var(--blue); }
.notfound .hero-actions { justify-content: center; margin-top: 24px; }

.empty { padding: 40px; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--muted); }
