/* Guisera — subpage layer: pricing, FAQ, download, blog, tools.
 *
 * Same language as the homepage: a light banner to open, white content below,
 * blue for emphasis. Shared here so six pages cannot drift into six different
 * looks. Depends on the tokens in home.css, which base.html loads first for
 * every site page.
 */

/* ------------------------------------------------------ light banner ----
   This block used to be near-black (--h-ink with the brand ramp behind it),
   which is the look the homepage hero moved away from — it read as a security
   product rather than a creative one. It is now white and airy on the hero's
   palette, so the nav no longer crosses a hard dark/light seam on page two.

   All six pages share this one rule, so no template changed. */
.h-banner {
  position: relative;
  background: #fff;
  color: #0b1220;
  padding: 68px 0 58px;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid #eef1f7;
}
/* Two soft pools, same recipe as .hero — colour as accent, never atmosphere.
   Kept wide and low-opacity so the headline always sits on near-white. */
.h-banner::before,
.h-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.h-banner::before {
  width: 620px; height: 420px;
  top: -240px; left: 50%; transform: translateX(-58%);
  background: #cfe0ff;
  opacity: .8;
}
.h-banner::after {
  width: 460px; height: 340px;
  bottom: -230px; right: -120px;
  background: #d9f2fb;
  opacity: .75;
}
.h-banner > * { position: relative; z-index: 1; }
.h-banner h1 {
  margin: 14px 0 0;
  font-size: clamp(31px, 4.2vw, 48px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #0b1220;
}
.h-banner p {
  margin: 16px auto 0;
  max-width: 40em;
  color: #475569;
  font-size: 17px;
  line-height: 1.65;
}
/* The kicker was a pale indigo chosen to glow on black; on white it is barely
   there. A solid blue pill carries it instead. */
.h-banner .h-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #eff4ff;
  border: 1px solid #d8e4fd;
  color: #1d4ed8;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .09em;   /* inherits text-transform:uppercase from home.css */
}
.h-banner .h-cta-row { justify-content: center; margin-top: 28px; }

/* A post's date and author is a byline, not a label. The kicker pill is right
   for "Pricing" or "Help centre"; applied to "20 July 2026 · The Guisera team"
   it uppercases a sentence and shouts it. */
.h-byline {
  display: inline-block;
  font-size: 13.4px;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
  color: #64748b;
}
/* The banner is the subpage's hero, so its CTA matches the hero's blue rather
   than the indigo/violet ramp. Scoped to the banner on purpose: the ramp still
   carries the in-page CTAs and section accents further down, which is the
   homepage language below the fold. */
.h-banner .h-btn-primary {
  background: linear-gradient(100deg, #2563eb, #3b82f6);
  box-shadow: 0 10px 26px -10px rgba(37, 99, 235, .7);
}
.h-banner .h-btn-primary:hover {
  box-shadow: 0 16px 34px -12px rgba(37, 99, 235, .85);
}
/* Small print under a banner CTA. Uses a slate that clears AA on white --
   var(--h-muted) is tuned for the dark surface and fails here. */
.h-banner-note {
  font-size: 13px;
  color: #64748b;
  margin-top: 14px;
}

/* ----------------------------------------------------------- pricing ---- */
.h-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.h-price {
  position: relative;
  background: #fff;
  border: 1px solid #e7e9f2;
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.h-price:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(20,24,50,.4); }
.h-price.featured { border-color: var(--h-violet); box-shadow: 0 24px 50px -30px rgba(109,91,255,.55); }
.h-price-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--h-ramp);
  color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  white-space: nowrap;
}
.h-price h3 { margin: 0; font-size: 17px; letter-spacing: -.01em; }
.h-price .amount { font-size: 42px; font-weight: 800; letter-spacing: -.035em; margin: 10px 0 2px; }
.h-price .per { color: var(--text-light); font-size: 13.5px; }
.h-price ul { list-style: none; padding: 0; margin: 22px 0 26px; }
.h-price li { position: relative; padding-left: 26px; margin-bottom: 11px; font-size: 14.4px; color: var(--text-medium); }
.h-price li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 1px; color: var(--h-violet); font-size: 12px;
}

/* ------------------------------------------------------------- tiles ---- */
.h-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.h-tile { border: 1px solid #e7e9f2; border-radius: 16px; padding: 24px; background: #fff; }
.h-tile h3 { margin: 14px 0 7px; font-size: 16.5px; }
.h-tile p { margin: 0; color: var(--text-medium); font-size: 14.3px; line-height: 1.66; }

/* -------------------------------------------------------------- blog ---- */
.h-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.h-post {
  display: flex; flex-direction: column;
  border: 1px solid #e7e9f2;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.h-post:hover { transform: translateY(-5px); border-color: #d6d9ea; box-shadow: 0 26px 50px -28px rgba(20,24,50,.42); }
.h-post-cover { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; display: block; background: #eef0f7; }
.h-post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.h-post-meta { font-size: 12.3px; color: var(--text-light); letter-spacing: .03em; }
.h-post h3 { margin: 9px 0; font-size: 18px; line-height: 1.34; letter-spacing: -.015em; color: var(--text-dark); }
.h-post p { margin: 0 0 16px; color: var(--text-medium); font-size: 14.3px; line-height: 1.65; }
.h-post .more { margin-top: auto; font-size: 13.6px; font-weight: 650; color: var(--h-indigo); }

/* ----------------------------------------------------------- article ---- */
.h-article { max-width: 760px; margin: 0 auto; }
.h-article img { max-width: 100%; height: auto; border-radius: 14px; }
.h-article h2 { font-size: 25px; letter-spacing: -.02em; margin: 38px 0 12px; }
.h-article h3 { font-size: 19px; margin: 30px 0 10px; }
.h-article p { font-size: 16.4px; line-height: 1.78; color: #3d4759; margin: 0 0 18px; }
.h-article ul, .h-article ol { font-size: 16.2px; line-height: 1.8; color: #3d4759; padding-left: 22px; }
.h-article li { margin-bottom: 8px; }
.h-article blockquote {
  margin: 26px 0; padding: 18px 24px;
  border-left: 3px solid var(--h-violet);
  background: #f7f8fc; border-radius: 0 12px 12px 0;
  color: var(--text-medium); font-size: 16px;
}

/* ---------------------------------------------------------- download ---- */
.h-dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.h-dl {
  border: 1px solid #e7e9f2; border-radius: 18px; padding: 26px; background: #fff;
  display: flex; flex-direction: column;
}
.h-dl-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.h-dl h3 { margin: 0; font-size: 19px; letter-spacing: -.015em; }
.h-dl-meta { font-size: 13px; color: var(--text-light); margin-top: 6px; }
.h-dl p { color: var(--text-medium); font-size: 14.4px; line-height: 1.66; margin: 14px 0 20px; }
.h-dl .h-btn { margin-top: auto; justify-content: center; }
.h-badge-crit {
  background: rgba(220,38,38,.1); color: #dc2626;
  font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}

/* ------------------------------------------------------------- specs ---- */
.h-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.h-spec { border: 1px solid #e7e9f2; border-radius: 16px; padding: 24px; background: #fff; }
.h-spec h3 { margin: 0 0 4px; font-size: 16px; }
.h-spec .tag { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--h-violet); }
.h-spec ul { list-style: none; padding: 0; margin: 14px 0 0; }
.h-spec li { font-size: 14px; color: var(--text-medium); padding: 8px 0; border-top: 1px solid #f0f1f7; }
.h-spec li:first-child { border-top: none; }

/* --------------------------------------------------------- faq groups ---- */
/* ------------------------------------------------------------- tools ---- */
.h-tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.h-tool-card {
  display: flex; flex-direction: column;
  border: 1px solid #e7e9f2; border-radius: 18px; overflow: hidden; background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.h-tool-card:hover { transform: translateY(-4px); border-color: var(--h-violet); box-shadow: 0 22px 44px -26px rgba(109,91,255,.5); }
.h-tool-shot { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; display: block; background: linear-gradient(135deg,#eef0ff,#e6fbff); }
.h-tool-noshot { aspect-ratio: 16 / 10; display: grid; place-items: center; background: linear-gradient(135deg,#eef0ff,#e6fbff); color: var(--h-indigo); font-size: 34px; }
.h-tool-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.h-tool-body h3 { margin: 0 0 7px; font-size: 17px; letter-spacing: -.015em; color: var(--text-dark); }
.h-tool-body p { margin: 0 0 16px; font-size: 14px; color: var(--text-medium); line-height: 1.62; }
.h-tool-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.h-cost { font-size: 12.6px; color: var(--text-light); }
.h-cost strong { color: var(--text-dark); }
.h-go { font-size: 13.6px; font-weight: 650; color: var(--h-indigo); }

/* -------------------------------------------------------- responsive ---- */
@media (max-width: 1000px) {
  .h-price-grid, .h-posts, .h-tiles, .h-tool-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .h-banner { padding: 54px 0 48px; }
  .h-price-grid, .h-posts, .h-tiles, .h-specs, .h-tool-grid { grid-template-columns: 1fr; }
}
