/* WixaPage -- shared site styles */
:root {
  --red: #c11d1d;
  --red-dark: #98151a;
  --ink: #1c1d21;
  --ink-soft: #4a4d55;
  --line: #e3e5e9;
  --bg-soft: #f6f7f9;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(20, 20, 30, 0.08);
}

* { box-sizing: border-box; }

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

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  max-width: var(--cms-content-width-desktop, 1120px);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Responsive: Hide On Devices (block-level) ---------- */
/* Real, published-page equivalent of the editor's per-block Hide on
   Desktop/Tablet/Mobile toggles (Layers panel + block toolbar). Without
   these rules the toggle only ever affected the editor's own preview. */
@media (max-width: 767px) {
  .cms-hide-mobile { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cms-hide-tablet { display: none !important; }
}
@media (min-width: 1024px) {
  .cms-hide-desktop { display: none !important; }
}

/* ---------- Responsive: Block Boxed vs Wide (published-page parity) ---------- */
.cms-block-wide .container {
  max-width: none !important;
  padding-left: 32px;
  padding-right: 32px;
}

/* ---------- Responsive: Support For Large Screen Devices (1400px+) ---------- */
@media (min-width: 1400px) {
  .container {
    max-width: var(--cms-content-width-large, 1320px);
  }
}

/* ---------- Responsive: Tablet tier (768px-1023px) ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    max-width: var(--cms-content-width-tablet, 720px);
  }
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--red), var(--red-dark), #2b0d0f) 1;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
}
.brand .mark {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 15px;
}
.brand span.pdf { color: var(--red); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--ink); text-decoration: none; }

.nav-actions { display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: white;
}
.btn-primary:hover { background: linear-gradient(135deg, var(--red-dark), #7a1015); text-decoration: none; }
.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
}
.btn-block { width: 100%; }
.btn-lg { padding: 13px 26px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 70px;
  background:
    radial-gradient(1100px 420px at 80% -10%, rgba(193,29,29,0.08), transparent),
    var(--white);
}
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(193,29,29,0.08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 30px;
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.hero-note { font-size: 13.5px; color: var(--ink-soft); }

.hero-visual {
  background: linear-gradient(160deg, #fff, var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px;
}
.mock-window {
  background: white;
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.mock-titlebar {
  background: #2b2d33;
  padding: 9px 12px;
  display: flex;
  gap: 6px;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.r { background: #ff5f57; }
.mock-dot.y { background: #febc2e; }
.mock-dot.g { background: #28c840; }
.mock-toolbar {
  display: flex; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line);
  background: #fafafa;
}
.mock-toolbar span {
  font-size: 11.5px; color: var(--ink-soft); background: white; border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 5px;
}
.mock-body { padding: 26px 30px; }
.mock-page {
  background: white; border: 1px solid var(--line); border-radius: 4px;
  padding: 22px; min-height: 220px;
}
.mock-page .line { height: 9px; background: #eceef1; border-radius: 3px; margin-bottom: 10px; }
.mock-page .line.short { width: 55%; }
.mock-page .line.title { height: 14px; width: 65%; background: #dfe2e7; margin-bottom: 18px; }
.mock-stamp {
  display: inline-block; margin-top: 16px; border: 2px solid #2c8c46; color: #2c8c46;
  font-weight: 800; font-size: 12px; padding: 6px 12px; border-radius: 3px; transform: rotate(-4deg);
}

/* ---------- Sections ---------- */
.section { padding: 78px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 46px; text-align: center; position: relative; }
.section-head h2 { font-size: 32px; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--ink-soft); font-size: 16.5px; margin: 0; }
.section-head::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
}

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

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card .icon {
  width: 42px; height: 42px; border-radius: 9px;
  background: rgba(193,29,29,0.09); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px;
}
.card h3 { font-size: 17px; margin: 0 0 8px; }
.card p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* Showcase ("See it in action") grid */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.showcase-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.showcase-card img {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--line);
  background: #f3f4f6;
}
.showcase-body { padding: 22px 24px; }
.showcase-body h3 { font-size: 18px; margin: 0 0 8px; }
.showcase-body p { color: var(--ink-soft); font-size: 14.5px; margin: 0; line-height: 1.55; }

@media (max-width: 860px) {
  .showcase-grid { grid-template-columns: 1fr; }
}

/* Feature checklist grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 28px;
}
.feature-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.feature-item .tick {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(44,140,70,0.12); color: #2c8c46; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.feature-item b { display: block; }
.feature-item span.sub { color: var(--ink-soft); font-size: 13px; }

/* Privacy strip */
.privacy-strip {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #fff, #fbf5f5);
  border-radius: 14px;
  padding: 34px 38px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: flex-start;
}
.privacy-strip .icon-lock {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--red); color: white; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
}
.privacy-strip h3 { margin: 0 0 8px; font-size: 20px; }
.privacy-strip p { margin: 0; color: var(--ink-soft); }
.privacy-strip .fine { font-size: 12.5px; margin-top: 10px; color: #8a8d94; }

/* Pricing */
.pricing-toggle { display: flex; justify-content: center; margin-bottom: 40px; }
.plan-card {
  background: white; border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 24px; display: flex; flex-direction: column;
  position: relative;
}
.plan-card.featured { border-color: var(--red); box-shadow: 0 10px 30px rgba(193,29,29,0.14); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: white; font-size: 11.5px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; letter-spacing: .03em;
}
.plan-name { font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.plan-desc { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 18px; min-height: 34px; }
.plan-price { font-size: 34px; font-weight: 800; margin-bottom: 2px; }
.plan-price small { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.plan-cycle { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 20px; }
.plan-feats { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan-feats li { font-size: 13.5px; padding: 6px 0; color: var(--ink-soft); border-top: 1px solid var(--line); }
.plan-feats li:first-child { border-top: none; }

/* ---------- Auth pages ---------- */
.auth-shell {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  padding: 40px 20px;
}
.auth-card {
  width: 100%;
  max-width: 400px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 36px 34px;
}
.auth-card .brand { justify-content: center; margin-bottom: 22px; }
.auth-card h1 {
  font-size: 21px;
  text-align: center;
  margin: 0 0 6px;
}
.auth-card p.sub { text-align: center; color: var(--ink-soft); font-size: 14px; margin: 0 0 26px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cfd3d8;
  border-radius: 6px;
  font-size: 14.5px;
  font-family: inherit;
}
.field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(193,29,29,0.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-alert {
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 13.5px;
  margin-bottom: 18px;
}
.form-alert.error { background: #fdecec; color: #9c1f1f; border: 1px solid #f3c6c6; }
.form-alert.ok { background: #e9f7ee; color: #1f7a3d; border: 1px solid #bfe6cc; }

.auth-foot {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 20px;
}
.auth-divider { text-align: center; color: #a7abb2; font-size: 12px; margin: 20px 0; position: relative; }
.auth-divider::before, .auth-divider::after {
  content: ""; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--line);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

/* ---------- Dashboard ---------- */
.dash-shell { background: var(--bg-soft); min-height: calc(100vh - 68px); padding: 44px 0; }
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; }
.dash-card {
  background: white; border: 1px solid var(--line); border-radius: 12px; padding: 26px;
}
.dash-card h2 { margin: 0 0 4px; font-size: 18px; }
.dash-card .muted { color: var(--ink-soft); font-size: 13.5px; }
.plan-pill {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px;
  border-radius: 999px; background: rgba(193,29,29,0.1); color: var(--red);
  text-transform: capitalize;
}
.stat-row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.stat-row:first-child { border-top: none; }
.stat-row .label { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: #181d28;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 40px 0;
  color: #94a3b8;
  font-size: 13.5px;
}
.site-footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #cbd5e1; }
.footer-links a:hover { color: #ffffff; }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .feature-grid { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
}

/* ---------- Canvas Blocks & Responsiveness ----------
   Canvas blocks are built from individually absolute-positioned children
   (left/top in px) laid out against a fixed 1120px design canvas
   (cms.php always sets max-width: 1120px unless a block is explicitly set
   full-width), and the canvas wrapper itself has overflow:hidden. That
   combination means on ANY real viewport narrower than ~1120px -- which is
   most laptops, all tablets, all phones -- the box itself still shrinks to
   fit (max-width, not a fixed width), but the children keep their original
   px positions calibrated for the full 1120px canvas. Anything positioned
   past the now-narrower box edge doesn't just look cramped, it gets
   silently clipped by overflow:hidden and disappears. Below this
   breakpoint we stop trusting the absolute positions entirely and stack
   everything into a single natural-flow column instead, exactly like the
   final small-phone tier already did -- just triggered earlier, before
   clipping can happen. Covers both the published page (body > div.cms-canvas)
   and the editor canvas (#cmsBlocksRoot ... .cms-canvas-box), which use
   different DOM shapes for the same blocks.

   Sections 1 (hero) and 3 (showcase) are excluded -- those are Custom HTML
   blocks built with real flowing CSS (.hero-photo/.hero-tiles,
   .showcase-grid/.showcase-card) that already have their own working
   responsive rules at 860px; stacking them here would fight that. Only
   2, 4, 5, 6 are raw drag-drop canvas sections that actually need this. */
@media (max-width: 1140px) {
  body > div.cms-canvas:nth-of-type(2),
  body > div.cms-canvas:nth-of-type(4),
  body > div.cms-canvas:nth-of-type(5),
  body > div.cms-canvas:nth-of-type(6) {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 40px 24px !important;
    overflow: visible !important;
  }
  body > div.cms-canvas:nth-of-type(2) > div,
  body > div.cms-canvas:nth-of-type(4) > div,
  body > div.cms-canvas:nth-of-type(5) > div,
  body > div.cms-canvas:nth-of-type(6) > div,
  body > div.cms-canvas:nth-of-type(2) > img,
  body > div.cms-canvas:nth-of-type(4) > img,
  body > div.cms-canvas:nth-of-type(5) > img,
  body > div.cms-canvas:nth-of-type(6) > img {
    position: static !important;
    width: 100% !important;
    max-width: 500px !important;
    height: auto !important;
    transform: none !important;
    text-align: center !important;
  }
}

/* ---------- Published Page: Force block + text centering on content sections ---------- */
body > div.cms-canvas:nth-of-type(2),
body > div.cms-canvas:nth-of-type(3),
body > div.cms-canvas:nth-of-type(4),
body > div.cms-canvas:nth-of-type(5),
body > div.cms-canvas:nth-of-type(6) {
  margin-left: auto !important;
  margin-right: auto !important;
}
body > div.cms-canvas:nth-of-type(2) > div,
body > div.cms-canvas:nth-of-type(4) > div,
body > div.cms-canvas:nth-of-type(6) > div {
  text-align: center !important;
}

/* True small-phone tier: tighten padding further and stack the hero and
   showcase sections too, since below 767px even their own internal grid
   CSS has already collapsed to a single column and the extra side padding
   just wastes space. */
@media (max-width: 767px) {
  .cms-canvas {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 40px 24px !important;
    overflow: visible !important;
  }
  .cms-canvas > div,
  .cms-canvas > img,
  .cms-canvas > a {
    position: static !important;
    width: 100% !important;
    max-width: 500px !important;
    height: auto !important;
    transform: none !important;
    text-align: center !important;
  }
}

/* ---------- Wix-Style Global Typographic Classes ---------- */
.h1 {
  font-size: 46px !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.01em !important;
  font-family: inherit;
}
.h2 {
  font-size: 28px !important;
  font-weight: 700 !important;
  margin: 0 0 8px !important;
  font-family: inherit;
}
.h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 0 6px !important;
  font-family: inherit;
}
.lead {
  font-size: 18px !important;
  color: var(--ink-soft) !important;
  line-height: 1.55 !important;
}
.sub-text {
  color: var(--ink-soft) !important;
  font-size: 15px !important;
  margin: 0 !important;
}
.card-desc {
  font-size: 14px !important;
  color: var(--ink-soft) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}
.why-card-text {
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  white-space: pre-wrap !important;
  font-family: inherit;
}
.eyebrow {
  display: inline-block !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  color: var(--red) !important;
  background: rgba(193,29,29,0.08) !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  width: auto !important;
}

/* ---------- Dynamic Canvas Pricing Classes ---------- */
.plan-card-bg {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  pointer-events: none !important;
}
.plan-card-bg.featured {
  background: linear-gradient(160deg, rgba(193,29,29,0.14), rgba(152,21,26,0.05)) !important;
  border: 2px solid transparent !important;
  border-image: linear-gradient(135deg, var(--red), var(--red-dark)) 1 !important;
  box-shadow: 0 16px 36px rgba(193,29,29,0.22) !important;
}
.plan-badge-canvas {
  background: linear-gradient(135deg, var(--red), var(--red-dark)) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  border-radius: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.plan-name-canvas {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
}
.plan-desc-canvas {
  font-size: 13px !important;
  color: var(--ink-soft) !important;
  line-height: 1.35 !important;
}
.plan-price-canvas {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: var(--ink) !important;
}
.plan-cycle-canvas {
  font-size: 12px !important;
  color: #999999 !important;
}
.plan-feat-canvas {
  font-size: 13px !important;
  color: var(--ink-soft) !important;
}

/* ---------- Adobe-style polish: buttons, cards, dark section ---------- */
:root {
  --shadow-lg: 0 20px 50px rgba(20, 20, 30, 0.16);
}

.btn {
  border-radius: 999px;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(193,29,29,0.28); }

.card, .showcase-card {
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover, .showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Full-bleed dark section utility */
.section-dark {
  background: #0f172a;
  color: #f8fafc;
}
.section-dark .section-head h2 { color: #ffffff; }
.section-dark .section-head p { color: #94a3b8; }
.section-dark .card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: #e2e8f0;
  backdrop-filter: blur(2px);
}
.section-dark .card:hover {
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.section-dark .card h3 { color: #ffffff; }
.section-dark .card p { color: #94a3b8; }
.section-dark .card .icon {
  background: linear-gradient(135deg, rgba(193,29,29,0.35), rgba(255,255,255,0.08));
  color: #ffffff;
}


/* ---------- Photo hero (Adobe-style full-bleed hero + quick-action tiles) ---------- */
.hero-photo {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #ffffff;
}
.hero-photo-bg {
  position: absolute;
  inset: 0;
  background: var(--hero-photo-url, linear-gradient(135deg, #2b2d33, #c11d1d 130%));
  background-size: cover;
  background-position: center;
}
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.05) 100%);
}
.hero-photo-content {
  position: relative;
  max-width: var(--cms-content-width-desktop, 1120px);
  margin: 0 auto;
  width: 100%;
  padding: 0 24px 56px;
}
.hero-photo-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255,255,255,0.16);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-photo-content h1 {
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  max-width: 14ch;
}
.hero-photo-content p.lead {
  font-size: 18px;
  color: rgba(255,255,255,0.88);
  margin: 0 0 26px;
  max-width: 46ch;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  background: #ffffff;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.hero-tiles {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #101113;
  z-index: 20;
}
.hero-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  color: #ffffff;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background .15s ease;
}
.hero-tile:last-child { border-right: none; }
.hero-tile:hover { background: rgba(255,255,255,0.06); text-decoration: none; }
.hero-tile-icon {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.hero-tile-label { font-size: 14px; font-weight: 600; flex: 1; display: block; }
.hero-tile-arrow { font-size: 18px; color: rgba(255,255,255,0.6); }

/* ---------- Hero tile descriptions ----------
   A short, always-visible second line under each tile label (no hover
   needed) -- this replaces an earlier hover-popup version the user didn't
   like the look of. Matches how Adobe/Smallpdf present quick-nav items:
   icon + heading + one-line description, visible outright. Attached to
   .hero-tile-label (a real element) via ::after so it flows as a second
   line under the label instead of needing absolute positioning. */
.hero-tile-label::after {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(255,255,255,0.55);
}
.hero-tile:nth-child(1) .hero-tile-label::after {
  content: "15 real tools \2014 edit, sign, redact, OCR, watermark & more";
}
.hero-tile:nth-child(2) .hero-tile-label::after {
  content: "Real screenshots: canvas toolbar, templates, AI layers";
}
.hero-tile:nth-child(3) .hero-tile-label::after {
  content: "PKCS#7 signatures, form-to-wizard, honest sanitize scope";
}
.hero-tile:nth-child(4) .hero-tile-label::after {
  content: "Free trial, Basic $9.99, Pro $29.99, or Enterprise";
}

@media (max-width: 860px) {
  .hero-photo { min-height: 460px; }
  .hero-photo-content h1 { font-size: 34px; max-width: none; }
  .hero-tiles { grid-template-columns: repeat(2, 1fr); }
  .hero-tile-label::after { display: none; }
}

/* ---------- Visual Studio & Page Theming (Clean Light Theme) ----------
   Ensures the canvas editor and published pages have clean, high-contrast,
   crystal-clear readability with crisp white canvas sections, comfortable
   light workspace background, and sharp typography.
*/

/* Body background: clean, crisp white */
body {
  background: #ffffff;
}

/* Editor canvas viewport and workspace: comfortable neutral light gray */
body.cms-edit-mode-active,
#cmsCanvasViewport {
  background: #f0f3f6;
}

#cmsBlocksRoot {
  background: transparent;
}

/* Canvas boxes: clean white canvas with high contrast */
.cms-canvas-box {
  background: #ffffff !important;
  border: 1px dashed #c8cbd1 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Published canvas sections: crisp white background */
.cms-canvas {
  background: #ffffff;
}

/* High-contrast typography across sections */
.h1, .h2, .h3 {
  color: #1c1d21 !important;
}

.lead, .sub-text, .card-desc {
  color: #4a4d55 !important;
}

.why-card-text {
  color: #1c1d21 !important;
}

/* Pricing cards in light mode */
.plan-card-bg {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.plan-card-bg.featured {
  background: #ffffff !important;
  border: 2px solid var(--primary, #0087ff) !important;
  box-shadow: 0 8px 24px rgba(0, 135, 255, 0.12);
}

.plan-name-canvas,
.plan-price-canvas {
  color: #1c1d21 !important;
}

.plan-desc-canvas,
.plan-cycle-canvas,
.plan-feat-canvas {
  color: #4a4d55 !important;
}

