/* ============================================================
   marketing.css — chrome.sensoryreadable.com
   Marketing-specific additions on top of readablebrand.css.
   Same Poppins, same colour tokens, same site-header — but
   adds patterns the help guide doesn't need: heroes, feature
   cards, dual CTAs, evaluation form.
   ============================================================ */

/* -----------------------------------------------------------
   Self-hosted Poppins (mirrors help.css)
   ----------------------------------------------------------- */
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/poppins-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/poppins-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/poppins-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/poppins-500-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/poppins-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/poppins-600-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/poppins-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/poppins-700-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('fonts/poppins-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('fonts/poppins-800-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* -----------------------------------------------------------
   Marketing-page layout
   The brand site uses a sidebar+content grid on help pages.
   Marketing pages are full-width single-column with a wider
   max-width than the help layout's content column.
   ----------------------------------------------------------- */
.mkt-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* Marketing site nav — extends .site-nav with the active marker */
.site-nav a.mkt-current {
  background: rgba(255, 255, 255, 0.55);
}

/* -----------------------------------------------------------
   Hero blocks — page tops
   .hero is the home-page version (taller, with dual CTAs).
   .hero-page is for inner pages (smaller, single CTA).
   ----------------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--brand-sky) 0%, var(--brand-lavender) 100%);
  padding: 56px 0 64px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(61, 49, 190, 0.08);
}
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
}
.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-indigo);
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--title-indigo);
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.hero p.lead {
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--body-text);
  margin: 0 0 28px;
  max-width: 540px;
}
.hero-image {
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  background: var(--pure-white);
  box-shadow: var(--shadow-pop);
}

.hero-page {
  background: linear-gradient(135deg, var(--brand-sky) 0%, var(--brand-lavender) 100%);
  padding: 40px 0 44px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(61, 49, 190, 0.08);
}
.hero-page-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-page h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--title-indigo);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.hero-page p {
  font-size: 1.05rem;
  color: var(--body-text);
  margin: 0;
  max-width: 720px;
}

/* -----------------------------------------------------------
   CTA buttons
   .cta-primary is the indigo solid button (Web Store).
   .cta-secondary is the outline (evaluation request).
   .cta-row groups them with consistent spacing.
   ----------------------------------------------------------- */
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
  border: 2px solid transparent;
}
.cta-primary {
  background: var(--title-indigo);
  color: var(--pure-white);
  box-shadow: var(--shadow-card);
}
.cta-primary:hover {
  background: var(--brand-indigo);
  transform: translateY(-1px);
  box-shadow: var(--shadow-pop);
  text-decoration: none;
  color: var(--pure-white);
}
.cta-secondary {
  background: var(--pure-white);
  color: var(--title-indigo);
  border-color: var(--title-indigo);
}
.cta-secondary:hover {
  background: var(--sky-faint);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Smaller inline CTAs for use within copy */
.cta-inline {
  display: inline-block;
  padding: 8px 14px;
  background: var(--sky-faint);
  color: var(--title-indigo);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1px solid var(--rule);
}
.cta-inline:hover {
  background: var(--brand-sky);
  text-decoration: none;
}

/* -----------------------------------------------------------
   Section pattern — heading block with optional eyebrow
   ----------------------------------------------------------- */
.mkt-section {
  margin: 56px 0;
}
.mkt-section-head {
  text-align: center;
  margin-bottom: 28px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.mkt-section-head .eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-indigo);
  margin-bottom: 8px;
}
.mkt-section-head h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--title-indigo);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  line-height: 1.2;
}
.mkt-section-head p {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin: 0;
}

/* Left-aligned section head variant for inner pages */
.mkt-section-head.left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

/* -----------------------------------------------------------
   Feature cards — used on Home and Features pages
   ----------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--pure-white);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--brand-indigo);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.12s, box-shadow 0.12s;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-pop);
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--title-indigo);
  margin: 0 0 10px;
  line-height: 1.3;
}
.feature-card p {
  font-size: 0.96rem;
  color: var(--body-text);
  margin: 0;
  line-height: 1.55;
}
.feature-card .icon {
  width: 40px;
  height: 40px;
  background: var(--sky-faint);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.4rem;
}

/* Dense feature list (no cards) — for the Features page */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin: 32px 0;
  align-items: center;
}
@media (max-width: 820px) {
  .feature-detail { grid-template-columns: 1fr; gap: 18px; }
}
.feature-detail.reverse {
  direction: rtl;
}
.feature-detail.reverse > * {
  direction: ltr;
}
.feature-detail h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--title-indigo);
  margin: 0 0 12px;
}
.feature-detail p {
  margin-bottom: 12px;
  line-height: 1.65;
}
.feature-detail ul {
  margin-left: 20px;
}
.feature-detail li {
  margin-bottom: 6px;
  line-height: 1.55;
}
.feature-detail img {
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--pure-white);
  box-shadow: var(--shadow-card);
}

/* -----------------------------------------------------------
   Stat row — three-up numeric callouts
   ----------------------------------------------------------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin: 36px 0;
}
.stat-card {
  background: var(--sky-faint);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.stat-card .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--title-indigo);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 6px;
}
.stat-card .label {
  font-size: 0.92rem;
  color: var(--text-soft);
  font-weight: 500;
}

/* -----------------------------------------------------------
   Comparison-style table (for "How it compares" page)
   Vendor-neutral: no competitor names. Just criteria + answers.
   ----------------------------------------------------------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--pure-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.compare-table th {
  background: var(--sky-faint);
  font-weight: 700;
  color: var(--title-indigo);
  font-size: 0.96rem;
}
.compare-table td:first-child {
  font-weight: 600;
  color: var(--body-text);
  width: 35%;
}
.compare-table tr:last-child td {
  border-bottom: 0;
}

/* -----------------------------------------------------------
   Big CTA strip — "Ready to try Readable?" footer hook
   Used at the bottom of most pages, before the site footer.
   ----------------------------------------------------------- */
.cta-strip {
  background: linear-gradient(135deg, var(--brand-sky) 0%, var(--brand-lavender) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  margin: 48px 0 0;
}
.cta-strip h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--title-indigo);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.cta-strip p {
  font-size: 1rem;
  color: var(--body-text);
  margin: 0 0 22px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-strip .cta-row {
  justify-content: center;
}

/* -----------------------------------------------------------
   Evaluation request form
   ----------------------------------------------------------- */
.eval-form {
  background: var(--pure-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  max-width: 720px;
  margin: 0 auto;
}
.eval-form .form-row {
  margin-bottom: 18px;
}
.eval-form .form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 540px) {
  .eval-form .form-grid-2 { grid-template-columns: 1fr; }
}
.eval-form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--title-indigo);
  margin-bottom: 6px;
}
.eval-form input[type="text"],
.eval-form input[type="email"],
.eval-form input[type="number"],
.eval-form select,
.eval-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--body-text);
  background: var(--off-white);
  transition: border-color 0.12s, background 0.12s;
}
.eval-form input:focus,
.eval-form select:focus,
.eval-form textarea:focus {
  outline: none;
  border-color: var(--brand-indigo);
  background: var(--pure-white);
}
.eval-form textarea {
  min-height: 100px;
  resize: vertical;
  font-family: var(--font-body);
}
.eval-form button[type="submit"] {
  background: var(--title-indigo);
  color: var(--pure-white);
  border: 0;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.12s, transform 0.12s;
}
.eval-form button[type="submit"]:hover {
  background: var(--brand-indigo);
  transform: translateY(-1px);
}
.eval-form .form-note {
  font-size: 0.86rem;
  color: var(--text-soft);
  margin-top: 8px;
  margin-bottom: 0;
}

/* -----------------------------------------------------------
   Audience badges — small "for SENCos" / "for IT" pills
   ----------------------------------------------------------- */
.audience-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.audience-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  background: var(--sky-faint);
  color: var(--title-indigo);
  letter-spacing: 0.02em;
}

/* -----------------------------------------------------------
   Quote / testimonial block
   Used as a placeholder pattern for when real quotes land.
   ----------------------------------------------------------- */
.quote-block {
  background: var(--sky-faint);
  border-left: 4px solid var(--brand-indigo);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 28px 0;
}
.quote-block blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--body-text);
  margin: 0 0 12px;
  line-height: 1.5;
  border-left: 0;
  background: transparent;
  padding: 0;
}
.quote-block cite {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--title-indigo);
  font-style: normal;
}

/* -----------------------------------------------------------
   Family-of-products sidebar block
   ----------------------------------------------------------- */
.family-block {
  background: var(--off-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
}
.family-block h3 {
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-indigo);
  margin: 0 0 14px;
}
.family-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.family-block li {
  margin-bottom: 8px;
  padding-left: 0;
}
.family-block li a {
  color: var(--title-indigo);
  font-weight: 600;
  text-decoration: none;
}
.family-block li a:hover {
  text-decoration: underline;
}
.family-block li span {
  display: block;
  font-size: 0.88rem;
  color: var(--text-soft);
  font-weight: 400;
  margin-top: 2px;
}
