/* PlayVRoom landing page
   Built to match the approved design mockup. Palette and spacing are taken
   from it directly; the hero art is the same render with the text removed, so
   headline copy is live HTML rather than baked into a picture - it stays
   selectable, translatable and readable by a screen reader. */

:root {
  --ink: #0f1b2d;
  --muted: #5b6b82;
  --line: #e3e9f2;
  --bg: #f4f8fd;
  --navy: #061020;
  --blue: #1a6df0;
  --cyan: #16d0ee;
  --cyan-dark: #0bb6d2;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(15, 27, 45, .06);
  --shadow-lg: 0 10px 34px rgba(15, 27, 45, .12);
  --wrap: 1400px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* Every inline icon is sized here. Without a default an SVG with no width
   attribute expands to fill its container, which it will happily do at
   several hundred pixels. */
svg { width: 1.05em; height: 1.05em; flex: none; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

.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;
}

/* --- buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 10rem; border: 0;
  font: inherit; font-weight: 800; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cyan); color: #04121a; }
.btn-primary:hover { background: var(--cyan-dark); box-shadow: 0 8px 22px rgba(22, 208, 238, .33); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-sm { padding: .6rem 1.15rem; font-size: .92rem; }
/* secondary action on a light background - the ghost variant is white-on-dark
   and disappears here */
.btn-outline { background: #fff; color: var(--blue); border: 1.5px solid #cddcf5; }
.btn-outline:hover { background: #f3f7fe; border-color: var(--blue); }

/* --- header ------------------------------------------------------------- */

.site-head {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  padding: 22px 0;
}
.head-row { display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-text { line-height: 1.05; }
.brand-name { font-size: 1.6rem; font-weight: 900; color: #fff; letter-spacing: -.02em; }
.brand-name span { color: var(--cyan); }
.brand-tag {
  white-space: nowrap;
  font-size: .62rem; letter-spacing: .22em; color: rgba(255,255,255,.62);
  font-weight: 700; text-transform: uppercase; margin-top: 2px;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav a { color: rgba(255,255,255,.88); font-weight: 600; font-size: .96rem; }
.nav a:hover { color: #fff; }

.nav-toggle {
  display: none; margin-left: auto; background: transparent; border: 0;
  color: #fff; font-size: 1.6rem; cursor: pointer; padding: 4px 10px;
}

/* --- hero --------------------------------------------------------------- */

.hero {
  position: relative; background: var(--navy);
  min-height: 620px; display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  /* a url() in a stylesheet resolves against the STYLESHEET, not the page, so
     a bare "hero.jpg" here asked for /assets/site/hero.jpg - a 404 - and the
     hero silently rendered as flat navy with no art at all */
  background: url("../landing/hero.jpg") center right / cover no-repeat;
}
/* keeps the headline legible over the art without washing the render out */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(6,16,32,.95) 0%, rgba(6,16,32,.86) 28%,
    rgba(6,16,32,.45) 52%, rgba(6,16,32,.12) 72%, rgba(6,16,32,.3) 100%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  /* block only - the inline padding belongs to .wrap, and a shorthand here
     silently zeroed it, putting the headline against the screen edge */
  padding-block: 150px 66px;
}
.hero-copy { max-width: 580px; }

.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.3rem); line-height: 1.02;
  margin: 0 0 1.1rem; color: #fff; font-weight: 900; letter-spacing: -.025em;
}
.hero h1 .dot { color: var(--cyan); }
.hero-sub {
  font-size: clamp(1rem, 1.35vw, 1.18rem); color: rgba(255,255,255,.84);
  margin: 0 0 2rem; max-width: 30em;
}
.hero-sub strong { color: #fff; font-weight: 700; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2.6rem; }

.hero-trust { display: flex; gap: 0; flex-wrap: wrap; align-items: center; }
.hero-trust li {
  display: flex; align-items: center; gap: 11px; list-style: none;
  padding: 0 26px 0 0; margin-right: 26px;
  border-right: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.8); font-size: .88rem; line-height: 1.3;
}
.hero-trust li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-trust svg { width: 26px; height: 26px; stroke: var(--cyan); }
.hero-trust ul { display: contents; }

/* --- feature cards ------------------------------------------------------ */

.features { margin-top: -46px; position: relative; z-index: 5; }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; display: flex; gap: 18px; align-items: flex-start;
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 54px; height: 54px; border-radius: 50%; flex: none;
  background: #e8f0fe; display: grid; place-items: center;
}
.feature-icon svg { width: 26px; height: 26px; stroke: var(--blue); }
.feature h3 { margin: 2px 0 6px; font-size: 1.08rem; font-weight: 800; }
.feature p { margin: 0; color: var(--muted); font-size: .93rem; }

/* --- class / chapters --------------------------------------------------- */

.classes { padding: 54px 0 20px; }
.classes-head {
  display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  margin-bottom: 26px;
}
/* min-width:0 is the whole fix for mobile overflow: without it the pill row,
   which scrolls horizontally, refuses to shrink below its content width and
   pushes the document wider than the screen. */
.classes-head > * { min-width: 0; max-width: 100%; }
.classes-head h2 { margin: 0; font-size: 1.85rem; font-weight: 900; letter-spacing: -.02em; }
.classes-head p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }

.pills { display: flex; gap: 10px; margin: 0 auto; flex-wrap: wrap; }
.pill {
  padding: .6rem 1.4rem; border-radius: 10rem; border: 1px solid var(--line);
  background: #fff; font: inherit; font-weight: 700; font-size: .95rem;
  color: var(--ink); cursor: pointer; transition: all .15s ease;
}
.pill:hover { border-color: #b9ccea; }
.pill[aria-selected="true"] {
  background: var(--blue); color: #fff; border-color: var(--blue);
  box-shadow: 0 6px 16px rgba(26,109,240,.28);
}
.view-all { color: var(--blue); font-weight: 800; font-size: .95rem; white-space: nowrap; }
.view-all:hover { text-decoration: underline; }

.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; align-items: stretch; grid-auto-columns: minmax(300px, 1fr);
  gap: 22px; overflow-x: auto; scroll-behavior: smooth; padding: 6px 2px 22px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }

.chapter {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; scroll-snap-align: start; display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.chapter:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.chapter-art { position: relative; aspect-ratio: 16 / 9; background: #0b1726; }
.chapter-art img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  padding: .28rem .7rem; border-radius: 10rem; font-size: .72rem;
  font-weight: 800; color: #fff; letter-spacing: .01em;
}
.tag.physics   { background: #1a6df0; }
.tag.chemistry { background: #e0892a; }
.tag.biology   { background: #19a974; }

.chapter-body {
  padding: 16px 18px 18px; display: flex; align-items: flex-start; gap: 12px;
  flex: 1;
}
.chapter-body h3 {
  margin: 0 0 4px; font-size: 1.02rem; font-weight: 800; line-height: 1.25;
  /* two lines reserved so cards in a row stay the same height whether the
     chapter is "Sound" or "Cell - Structure and Functions" */
  min-height: 2.5em;
}
.chapter-body p { margin: 0; color: var(--muted); font-size: .86rem; }
.chapter-go {
  margin-left: auto; width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: #eaf1fe; display: grid; place-items: center; align-self: center;
}
.chapter-go svg { width: 16px; height: 16px; stroke: var(--blue); }
.chapter:hover .chapter-go { background: var(--blue); }
.chapter:hover .chapter-go svg { stroke: #fff; }

.rail-btn {
  position: absolute; top: 34%; z-index: 6; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg);
}
.rail-btn:hover { background: #f3f7fe; }
.rail-btn svg { width: 17px; height: 17px; stroke: var(--ink); }
.rail-btn.prev { left: -18px; }
.rail-btn.next { right: -18px; }

.empty { color: var(--muted); padding: 30px 2px; }

/* --- pricing ------------------------------------------------------------ */

.pricing { padding: 10px 0 60px; }
.price-band {
  background: linear-gradient(110deg, #eaf2fe 0%, #e6f6fc 100%);
  border: 1px solid #d8e6f8; border-radius: 18px;
  padding: 34px 38px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 34px; align-items: center;
}
.price-lead h2 { margin: 0 0 6px; font-size: 1.6rem; font-weight: 900; letter-spacing: -.02em; }
.price-lead p { margin: 0; color: var(--muted); }

.plan {
  position: relative; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 26px 30px;
  display: flex; gap: 32px; align-items: center;
}
.badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .72rem; font-weight: 800;
  padding: .3rem .85rem; border-radius: 10rem; white-space: nowrap;
}
.plan-name { font-weight: 800; margin: 0 0 2px; }
.plan-price { font-size: 2rem; font-weight: 900; letter-spacing: -.02em; }
.plan-price .was {
  font-size: 1rem; font-weight: 600; color: var(--muted);
  text-decoration: line-through; margin-right: .45rem;
}
.plan-note { color: var(--muted); font-size: .85rem; margin: 2px 0 0; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li { display: flex; align-items: center; gap: 9px; font-size: .9rem; padding: .18rem 0; }
.plan li svg { width: 16px; height: 16px; stroke: #19a974; flex: none; }

.trust { display: flex; flex-direction: column; gap: 10px; }
.trust > p { margin: 0 0 2px; font-weight: 700; font-size: .95rem; max-width: 22ch; }
.trust li { display: flex; align-items: center; gap: 10px; list-style: none; font-size: .9rem; color: var(--muted); }
.trust ul { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.trust svg { width: 20px; height: 20px; stroke: var(--blue); flex: none; }

/* --- footer ------------------------------------------------------------- */

.site-foot { background: var(--navy); color: rgba(255,255,255,.72); padding: 46px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.site-foot h4 { color: #fff; font-size: .95rem; margin: 0 0 12px; font-weight: 800; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-foot a:hover { color: var(--cyan); }
.site-foot .brand-name { font-size: 1.3rem; }
.foot-note {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .85rem;
}

/* --- responsive --------------------------------------------------------- */

@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: 1fr; }
  .price-band { grid-template-columns: 1fr; }
  .plan { flex-direction: column; align-items: flex-start; gap: 18px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .nav {
    display: none; position: absolute; top: 100%; left: 20px; right: 20px;
    background: #0d1b30; border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius); padding: 16px; flex-direction: column;
    align-items: stretch; gap: 4px; box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .nav a { padding: .6rem .4rem; }
  .nav-toggle { display: block; }
  .hero { min-height: 540px; }
  .hero-bg { background-position: 68% center; }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(6,16,32,.92) 0%, rgba(6,16,32,.72) 45%, rgba(6,16,32,.9) 100%);
  }
  .hero-inner { padding-block: 124px 54px; }
  .hero-trust li { border-right: 0; padding-right: 0; margin: 0 20px 10px 0; }
  .classes-head { flex-direction: column; align-items: stretch; }
  .pills {
    margin: 0; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px;
    width: 100%; -webkit-overflow-scrolling: touch;
  }
  .pill { flex: none; }
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 1.3rem; }
  .brand-tag { font-size: .55rem; letter-spacing: .16em; }
  /* a last line of defence - nothing should ever scroll the page sideways */
  html, body { overflow-x: hidden; }
  .rail { grid-auto-columns: 82%; }
  .rail-btn { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rail { scroll-behavior: auto; }
  .btn:hover, .chapter:hover { transform: none; }
}

/* ========================================================================
   Components shared by the inner pages. The landing styles above establish
   the tokens; everything here reuses them so the site reads as one product.
   ======================================================================== */

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: #fff; color: var(--ink); padding: .7rem 1.1rem; border-radius: 0 0 .4rem 0;
}
.skip:focus { left: 0; }

/* header variant for pages with no dark hero behind it */
.site-head.solid { position: static; background: var(--navy); }
.nav-signin { font-weight: 700; }

/* --- inner page banner --------------------------------------------------- */

.page-hero {
  background: var(--navy); color: #fff; padding: 64px 0 56px; position: relative;
  background-image:
    radial-gradient(1100px 420px at 80% -10%, rgba(26,109,240,.33), transparent 60%),
    radial-gradient(760px 340px at 10% 120%, rgba(22,208,238,.18), transparent 60%);
}
.page-hero h1 {
  margin: 0 0 .7rem; font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 900; letter-spacing: -.025em; max-width: 20ch;
  line-height: 1.08;
}
.page-sub { margin: 0; color: rgba(255,255,255,.8); max-width: 62ch; font-size: 1.05rem; }
.eyebrow {
  margin: 0 0 .5rem; text-transform: uppercase; letter-spacing: .18em;
  font-size: .72rem; font-weight: 800; color: var(--cyan);
}
.page-hero .hero-cta { margin-top: 1.6rem; margin-bottom: 0; }

/* --- generic section ----------------------------------------------------- */

.section { padding: 56px 0; }
.section.tight { padding: 38px 0; }
.section.alt { background: #fff; border-block: 1px solid var(--line); }
.section-head { max-width: 62ch; margin: 0 0 30px; }
.section-head.center { margin: 0 auto 34px; text-align: center; }
.section-head h2 { margin: 0 0 .4rem; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 900; letter-spacing: -.02em; }
.section-head p { margin: 0; color: var(--muted); }

.grid { display: grid; gap: 22px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 .4rem; font-size: 1.08rem; font-weight: 800; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; background: #e8f0fe;
  display: grid; place-items: center; margin-bottom: 14px;
}
.card .ico svg { width: 22px; height: 22px; stroke: var(--blue); }

/* --- numbered steps ------------------------------------------------------ */

.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 1.05rem;
}
.step h3 { margin: 6px 0 .35rem; font-size: 1.1rem; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* --- pricing ------------------------------------------------------------- */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 28px; position: relative; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.plan-card.featured {
  border-color: var(--blue); box-shadow: 0 14px 40px rgba(26,109,240,.17);
}
.plan-card .badge { top: -13px; }
.plan-card h3 { margin: 0 0 .15rem; font-size: 1.3rem; font-weight: 900; }
.plan-card .tagline { color: var(--muted); font-size: .92rem; margin: 0 0 1.1rem; }
.plan-card .amount { font-size: 2.3rem; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.plan-card .gst { color: var(--muted); font-weight: 700; font-size: .95rem; }
.plan-card .best { font-size: .86rem; color: var(--muted); margin: .5rem 0 1.3rem; }
.plan-card ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .55rem; }
.plan-card li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .92rem; align-items: start; }
.plan-card li svg { width: 17px; height: 17px; margin-top: .18rem; }
.plan-card li.yes svg { stroke: #19a974; }
.plan-card li.no { color: #9aa7b8; }
.plan-card li.no svg { stroke: #c3ccd9; }
.plan-card .btn { margin-top: auto; justify-content: center; }

/* --- faq ----------------------------------------------------------------- */

.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2px 20px; box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; font-weight: 800; padding: 16px 0; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 700; font-size: 1.3rem; color: var(--blue); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 18px; color: var(--muted); font-size: .95rem; }

/* --- library catalogue --------------------------------------------------- */

.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.search {
  flex: 1; min-width: 220px; max-width: 360px; padding: .68rem 1rem;
  border: 1px solid var(--line); border-radius: 10rem; font: inherit; background: #fff;
}
.search:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.count { color: var(--muted); font-size: .92rem; margin-left: auto; }

.lib-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lib-grid .chapter { scroll-snap-align: none; }

.locked-note {
  display: flex; gap: 14px; align-items: center; background: #fff8e9;
  border: 1px solid #f3e2bd; border-radius: var(--radius); padding: 16px 20px;
  margin-bottom: 26px; font-size: .94rem;
}
.locked-note svg { width: 22px; height: 22px; stroke: #b3791a; }

/* --- download ------------------------------------------------------------ */

.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.dl {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; gap: 20px; box-shadow: var(--shadow);
}
.dl .ico {
  width: 56px; height: 56px; border-radius: 14px; background: #e8f0fe;
  display: grid; place-items: center; flex: none;
}
.dl .ico svg { width: 28px; height: 28px; stroke: var(--blue); }
.dl h3 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.dl .sub { color: var(--muted); font-size: .9rem; margin: 0 0 .7rem; }
.dl .req { color: var(--muted); font-size: .86rem; margin: 0 0 1rem; }
.dl .meta { font-size: .82rem; color: var(--muted); margin: .6rem 0 0; }
.chip {
  display: inline-block; padding: .18rem .6rem; border-radius: 10rem;
  font-size: .72rem; font-weight: 800; margin-left: .5rem; vertical-align: middle;
}
.chip.ok { background: #e6f7ef; color: #15784f; }
.chip.soon { background: #eef1f6; color: #70809a; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* --- prose / about ------------------------------------------------------- */

.prose { max-width: 70ch; }
.prose p { color: var(--muted); }
.prose h2 { margin: 2rem 0 .6rem; font-size: 1.4rem; font-weight: 900; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team .card { text-align: center; }
.team .avatar {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 1.5rem;
}

/* --- cta band ------------------------------------------------------------ */

.cta-band {
  background: linear-gradient(110deg, #0b1b33 0%, #10294a 100%); color: #fff;
  border-radius: 18px; padding: 38px 42px; display: flex; gap: 28px;
  align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 .3rem; font-size: 1.5rem; font-weight: 900; }
.cta-band p { margin: 0; color: rgba(255,255,255,.76); }

@media (max-width: 1080px) {
  .grid.c4, .lib-grid { grid-template-columns: repeat(2, 1fr); }
  .grid.c3, .plans, .team { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .grid.c2, .grid.c4, .lib-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 28px; }
  .count { margin-left: 0; width: 100%; }
}
