/*
Theme Name: Magazine Bold
Theme URI: https://magazine.13.140.162.231.nip.io
Author: Ivy Digitals
Description: Magazine Bold — loud, confident, sales-funnel aesthetic. White + black + electric blue + hot pink + yellow. Asymmetric hero. Designed for VoxAI Voice Agent + AI services.
Version: 1.0.0
License: Proprietary
Text Domain: magazine-bold
*/

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  background: #fff;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.08) 1px, transparent 0);
  background-size: 24px 24px;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* --- Colors --- */
:root {
  --ink: #000;
  --paper: #fff;
  --blue: #2563EB;
  --pink: #EC4899;
  --yellow: #FACC15;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #9ca3af;
  --gray-600: #525252;
  --gray-800: #1f1f1f;
}

/* --- Layout --- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 48px 0; }
.grid { display: grid; gap: 24px; }

/* --- Top Marquee --- */
.marquee {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-block;
  animation: marquee 30s linear infinite;
  padding-left: 100%;
}
.marquee__track span { padding-right: 48px; }
.marquee__track span::after { content: " ★ "; color: var(--yellow); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.header__logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.04em;
}
.header__logo em { font-style: normal; color: var(--blue); }
.header__nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.header__nav a {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.header__nav a:hover { color: var(--blue); }
.header__cta {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 100px;
  transition: background 0.2s;
}
.header__cta:hover { background: var(--blue); }
.header__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header__cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  margin-left: 4px;
}
@media (max-width: 768px) {
  .header__nav { display: none; }
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 96px 0 64px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__headline {
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.hero__headline em { font-style: normal; color: var(--blue); }
.hero__headline .strike {
  position: relative;
  display: inline-block;
}
.hero__headline .strike::after {
  content: '';
  position: absolute;
  left: -4%;
  right: -4%;
  top: 50%;
  height: 16px;
  background: var(--pink);
  transform: translateY(-50%) rotate(-2deg);
  z-index: -1;
}
.hero__sub {
  margin-top: 32px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-600);
  max-width: 540px;
}
.hero__actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 100px;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--pink);
  color: var(--paper);
}
.btn--primary:hover { background: var(--ink); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--blue { background: var(--blue); color: var(--paper); }
.btn--blue:hover { background: var(--ink); }
.hero__visual {
  position: relative;
  min-height: 500px;
}
.hero__circle {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.1;
  padding: 24px;
  z-index: 2;
}
.hero__card {
  position: absolute;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 8px 8px 0 var(--ink);
  width: 240px;
  font-size: 14px;
}
.hero__card--1 {
  top: 200px;
  left: -40px;
  transform: rotate(-3deg);
  background: var(--blue);
  color: var(--paper);
  border-color: var(--ink);
}
.hero__card--2 {
  top: 60px;
  right: -20px;
  transform: rotate(4deg);
  background: var(--paper);
}
.hero__card--3 {
  bottom: 0;
  left: 80px;
  transform: rotate(-2deg);
  background: var(--pink);
  color: var(--paper);
}
.hero__card h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.hero__card p {
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.9;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__visual { min-height: 400px; }
}

/* --- Stats Strip --- */
.stats {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat__num em { font-style: normal; color: var(--yellow); }
.stat__label {
  margin-top: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}
@media (max-width: 768px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat__num { font-size: 40px; }
}

/* --- Section Heading --- */
.sec-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 32px;
}
.sec-head__eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--ink);
  color: var(--paper);
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 16px;
}
.sec-head__title {
  font-size: clamp(32px, 5vw, 64px);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
}
.sec-head__title em { font-style: normal; color: var(--blue); }
.sec-head__sub {
  max-width: 480px;
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* --- Pricing Grid --- */
.pricing {
  padding: 96px 0;
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}
.plan {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s;
}
.plan:hover { transform: translateY(-4px); }
.plan--popular {
  background: var(--ink);
  color: var(--paper);
  transform: scale(1.04);
  z-index: 2;
}
.plan--popular:hover { transform: scale(1.04) translateY(-4px); }
.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 100px;
  border: 2px solid var(--ink);
}
.plan__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}
.plan__price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 16px 0 4px;
  line-height: 1;
}
.plan__price small {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
  letter-spacing: 0;
}
.plan__tagline {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.7;
  min-height: 36px;
}
.plan__feats {
  list-style: none;
  margin-top: 24px;
  flex-grow: 1;
}
.plan__feats li {
  padding: 8px 0;
  font-size: 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: start;
  gap: 8px;
}
.plan--popular .plan__feats li { border-color: rgba(255,255,255,0.15); }
.plan__feats li::before {
  content: "✓";
  font-weight: 700;
  flex-shrink: 0;
}
.plan__feats li.no { opacity: 0.4; text-decoration: line-through; }
.plan__feats li.no::before { content: "—"; }
.plan__cta {
  margin-top: 24px;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  padding: 14px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  display: block;
}
.plan__cta:hover { background: var(--blue); }
.plan--popular .plan__cta { background: var(--yellow); color: var(--ink); }
.plan--popular .plan__cta:hover { background: var(--pink); color: var(--paper); }
@media (max-width: 1024px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .plan--popular { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; transform: none; }
}
@media (max-width: 600px) {
  .pricing__grid { grid-template-columns: 1fr; }
  .plan--popular { max-width: none; }
}

/* --- Product Grid --- */
.products {
  padding: 96px 0;
  background: var(--gray-100);
}
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--ink);
}
.product__cat {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 100px;
  align-self: start;
}
.product__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 16px 0 8px;
  line-height: 1.15;
}
.product__excerpt {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
  flex-grow: 1;
}
.product__foot {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--gray-200);
  padding-top: 20px;
}
.product__price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
}
.product__price small {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-600);
  display: block;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.product__link {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}
.product__link:hover { background: var(--blue); }
@media (max-width: 900px) {
  .products__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .products__grid { grid-template-columns: 1fr; }
}

/* --- Comparison Table --- */
.compare {
  padding: 96px 0;
}
.compare__wrap {
  overflow-x: auto;
  border: 2px solid var(--ink);
  border-radius: 16px;
}
.compare table {
  width: 100%;
  border-collapse: collapse;
}
.compare th, .compare td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
}
.compare thead th {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
}
.compare tbody tr { border-top: 1px solid var(--gray-200); }
.compare tbody tr:nth-child(even) { background: var(--gray-100); }
.compare td:first-child { font-weight: 600; }
.compare__yes { color: #10b981; font-weight: 700; }
.compare__no { color: var(--gray-400); }
.compare__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.compare__col {
  padding: 32px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
}
.compare__col--ours { background: var(--ink); color: var(--paper); }
.compare__col h3 {
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.compare__col ul { list-style: none; }
.compare__col li {
  padding: 8px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: start;
  gap: 8px;
}
.compare__col--ours li { border-color: rgba(255,255,255,0.15); }
.compare__col li::before {
  font-weight: 700;
  flex-shrink: 0;
}
.compare__col:not(.compare__col--ours) li::before { content: "✕"; color: #ef4444; }
.compare__col--ours li::before { content: "✓"; color: var(--yellow); }

/* --- Emoji Grid --- */
.emoji-grid {
  padding: 96px 0;
  background: var(--yellow);
}
.emoji-grid__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.emoji-tile {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}
.emoji-tile__icon {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 16px;
}
.emoji-tile__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.emoji-tile__text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .emoji-grid__inner { grid-template-columns: 1fr; }
}

/* --- Testimonials --- */
.testimonials {
  padding: 96px 0;
  background: var(--pink);
  color: var(--paper);
}
.testimonials .sec-head__eyebrow { background: var(--paper); color: var(--ink); }
.testimonials .sec-head__title em { color: var(--yellow); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--ink);
  color: var(--paper);
  padding: 32px;
  border-radius: 16px;
}
.testimonial__quote {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 24px;
}
.testimonial__who {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}
@media (max-width: 900px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}

/* --- CTA Section --- */
.cta {
  padding: 96px 0;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.cta__title {
  font-size: clamp(40px, 6vw, 96px);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 1;
  max-width: 900px;
  margin: 0 auto;
}
.cta__title em { font-style: normal; color: var(--yellow); }
.cta__sub {
  margin: 24px auto 32px;
  font-size: 18px;
  opacity: 0.8;
  max-width: 600px;
}

/* --- Footer --- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}
.footer__brand p {
  font-size: 14px;
  opacity: 0.7;
  max-width: 320px;
  line-height: 1.5;
}
.footer h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  opacity: 0.5;
}
.footer ul { list-style: none; }
.footer li { padding: 4px 0; }
.footer a { font-size: 14px; opacity: 0.8; transition: opacity 0.2s; }
.footer a:hover { opacity: 1; color: var(--yellow); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.5;
}
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* --- WooCommerce overrides --- */
.woocommerce-notices-wrapper { margin: 24px 0; }
.woocommerce-message {
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 16px 20px;
  border-radius: 12px;
  font-weight: 600;
}
.woocommerce-error {
  background: var(--pink);
  color: var(--paper);
  border: 2px solid var(--ink);
  padding: 16px 20px;
  border-radius: 12px;
}
.woocommerce-info {
  background: var(--blue);
  color: var(--paper);
  border: 2px solid var(--ink);
  padding: 16px 20px;
  border-radius: 12px;
}

/* --- Single Product --- */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 48px 0 96px;
  align-items: start;
}
.product-hero__image {
  background: var(--gray-100);
  border: 2px solid var(--ink);
  border-radius: 20px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-hero__info h1 {
  font-size: clamp(32px, 5vw, 56px);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
}
.product-hero__excerpt {
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 32px;
}
.product-hero__price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.product-hero__price small {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-600);
  display: block;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.product-hero__content {
  margin-top: 32px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-800);
}
.product-hero__content h2, .product-hero__content h3 {
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 18px;
  margin: 24px 0 12px;
}
.product-hero__content ul { padding-left: 24px; margin: 16px 0; }
.product-hero__content li { padding: 4px 0; }
.woocommerce-product-details__short-description { margin-bottom: 24px; }
@media (max-width: 900px) {
  .product-hero { grid-template-columns: 1fr; gap: 32px; }
}

/* --- Form --- */
.frm_form_field { margin-bottom: 20px; }
.frm_form_field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.frm_form_field input,
.frm_form_field textarea,
.frm_form_field select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  font: inherit;
  background: var(--paper);
}
.frm_form_field input:focus,
.frm_form_field textarea:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
.frm_button_submit,
.frm_form_field button[type="submit"] {
  background: var(--pink);
  color: var(--paper);
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}
.frm_button_submit:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

/* --- Single Post / Page --- */
.page-hero {
  padding: 64px 0 32px;
  border-bottom: 2px solid var(--ink);
}
.page-hero__title {
  font-size: clamp(36px, 5vw, 64px);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
}
.page-hero__meta {
  margin-top: 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
}
.entry-content {
  max-width: 720px;
  margin: 64px auto;
  font-size: 17px;
  line-height: 1.7;
}
.entry-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
}
.entry-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  margin: 32px 0 12px;
}
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 16px; }
.entry-content li { padding: 4px 0; }
.entry-content img { border: 2px solid var(--ink); border-radius: 12px; margin: 24px 0; }
.entry-content a { color: var(--blue); text-decoration: underline; }

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}
.card {
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 32px;
  background: var(--paper);
}
.card--blue { background: var(--blue); color: var(--paper); }
.card--pink { background: var(--pink); color: var(--paper); }
.card--yellow { background: var(--yellow); color: var(--ink); }
.card h3 {
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.card p { font-size: 14px; line-height: 1.6; opacity: 0.9; }
@media (max-width: 768px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* --- Responsive typography helpers --- */
.page-numbers {
  display: inline-flex;
  gap: 4px;
  margin: 32px 0;
  list-style: none;
}
.page-numbers li a, .page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}
.page-numbers li a:hover { background: var(--ink); color: var(--paper); }
.page-numbers li span.current { background: var(--blue); color: var(--paper); border-color: var(--blue); }

/* --- Utilities --- */
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
/* --- WooCommerce Blocks checkout/cart layout fixes --- */
.wc-block-checkout, .wc-block-cart {
  font-family: var(--font-sans, "Inter", sans-serif);
  color: var(--ink, #0f172a);
}

.wc-block-checkout__sidebar,
.wc-block-cart__sidebar,
.wp-block-woocommerce-checkout-order-summary-block,
.wp-block-woocommerce-cart-order-summary-block {
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  padding: 24px;
  background: var(--paper, #ffffff);
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.wc-block-checkout__sidebar *,
.wc-block-cart__sidebar * {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.wc-block-components-totals-item,
.wc-block-components-totals-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 8px 0 !important;
  width: 100% !important;
  box-sizing: border-box;
}

.wc-block-components-totals-item__label,
.wc-block-components-totals-row__label {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  text-align: left !important;
}

.wc-block-components-totals-item__value,
.wc-block-components-totals-row__value,
.wc-block-formatted-money-amount {
  flex: 0 0 auto !important;
  text-align: right !important;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums;
}

.wc-block-cart-item,
.wc-block-components-order-summary-item {
  display: grid !important;
  grid-template-columns: 64px 1fr auto !important;
  gap: 12px !important;
  padding: 16px 0 !important;
  align-items: flex-start !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.wc-block-cart-item__image,
.wc-block-components-order-summary-item__image {
  width: 64px !important;
  height: 64px !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.10);
}

.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wc-block-cart-item__product,
.wc-block-components-order-summary-item__description {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.wc-block-cart-item__product-name,
.wc-block-components-order-summary-item__title {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  display: block;
  word-wrap: break-word;
}

.wc-block-cart-item__product-metadata,
.wc-block-cart-item__quantity,
.wc-block-components-order-summary-item__metadata {
  font-size: 12px;
  color: rgba(15, 23, 42, 0.65);
  margin-top: 4px;
}

.wc-block-cart-item__total,
.wc-block-components-order-summary-item__total-price {
  flex: 0 0 auto !important;
  text-align: right !important;
  font-weight: 600;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums;
}

.wc-block-cart-item__arrow,
.wc-block-components-order-summary-item__arrow {
  display: none !important;
}

.wc-block-currency-symbol,
.wc-block-format-currency__symbol,
.wc-price__currency {
  display: inline-block !important;
  margin-right: 2px !important;
  position: static !important;
  white-space: nowrap;
}

.wc-block-checkout__form,
.wc-block-cart-items {
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  padding: 24px;
  background: var(--paper, #ffffff);
}

.wc-block-checkout__order-summary-title,
.wc-block-cart__order-summary-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.wc-block-checkout__actions .wc-block-components-checkout-place-order-button,
button.wc-block-components-checkout-place-order-button {
  width: 100%;
  background: #000 !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 16px 32px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer;
  text-transform: none !important;
}

.wc-block-checkout__actions .wc-block-components-checkout-place-order-button:hover {
  background: #1f2937 !important;
}

.wc-block-checkout__terms,
.wc-block-components-checkbox {
  margin: 16px 0;
}

@media (max-width: 1024px) {
  .wc-block-checkout__main,
  .wc-block-cart__main,
  .wc-block-checkout__sidebar,
  .wc-block-cart__sidebar {
    max-width: 100% !important;
  }
}

@media (max-width: 600px) {
  .wc-block-cart-item,
  .wc-block-components-order-summary-item {
    grid-template-columns: 56px 1fr auto !important;
    gap: 8px !important;
  }
  .wc-block-cart-item__image,
  .wc-block-components-order-summary-item__image {
    width: 56px !important;
    height: 56px !important;
  }
  .wc-block-checkout__form,
  .wc-block-cart-items,
  .wc-block-checkout__sidebar,
  .wc-block-cart__sidebar {
    padding: 16px;
  }
}

/* --- Ivy Footer styles --- */
.ivy-footer {
  background: #0a0a0a;
  color: #f5f5f5;
  padding: 80px 32px 32px;
  font-family: var(--font-sans, "Inter", sans-serif);
}

.ivy-footer-top {
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.ivy-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
}

.ivy-footer-brand .ivy-footer-logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.ivy-footer-logo-mark { color: #2563EB; }
.ivy-footer-logo-dot { color: #2563EB; opacity: 0.6; }
.ivy-footer-logo-name { color: #fff; }

.ivy-footer-tagline {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 24px;
  max-width: 360px;
}

.ivy-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.ivy-footer-contact-row {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  align-items: flex-start;
  line-height: 1.45;
}

.ivy-footer-contact-row:hover { color: #fff; }
.ivy-footer-contact-icon { color: #2563EB; flex-shrink: 0; }

.ivy-footer-socials {
  display: flex;
  gap: 8px;
}

.ivy-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.18s, color 0.18s;
}

.ivy-footer-socials a:hover {
  background: #2563EB;
  color: #fff;
}

.ivy-footer-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 18px;
}

.ivy-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ivy-footer-list a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.18s;
}

.ivy-footer-list a:hover { color: #fff; }

.ivy-footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 1100px) {
  .ivy-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ivy-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .ivy-footer { padding: 60px 20px 20px; }
  .ivy-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ivy-footer-brand { grid-column: 1 / -1; }
  .ivy-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .ivy-footer-grid { grid-template-columns: 1fr; }
}
cat: can't open '/var/www/html/footer.css': No such file or directory

/* --- Ivy Footer styles --- */
.ivy-footer {
  background: #0a0a0a;
  color: #f5f5f5;
  padding: 80px 32px 32px;
  font-family: var(--font-sans, "Inter", sans-serif);
}

.ivy-footer-top {
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.ivy-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
}

.ivy-footer-brand .ivy-footer-logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.ivy-footer-logo-mark { color: #2563EB; }
.ivy-footer-logo-dot { color: #2563EB; opacity: 0.6; }
.ivy-footer-logo-name { color: #fff; }

.ivy-footer-tagline {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 24px;
  max-width: 360px;
}

.ivy-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.ivy-footer-contact-row {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  align-items: flex-start;
  line-height: 1.45;
}

.ivy-footer-contact-row:hover { color: #fff; }
.ivy-footer-contact-icon { color: #2563EB; flex-shrink: 0; }

.ivy-footer-socials {
  display: flex;
  gap: 8px;
}

.ivy-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.18s, color 0.18s;
}

.ivy-footer-socials a:hover {
  background: #2563EB;
  color: #fff;
}

.ivy-footer-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 18px;
}

.ivy-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ivy-footer-list a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.18s;
}

.ivy-footer-list a:hover { color: #fff; }

.ivy-footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 1100px) {
  .ivy-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ivy-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .ivy-footer { padding: 60px 20px 20px; }
  .ivy-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ivy-footer-brand { grid-column: 1 / -1; }
  .ivy-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .ivy-footer-grid { grid-template-columns: 1fr; }
}

/* --- Trial Agents page styles --- */
.ivy-trial-hero {
  text-align: center;
  padding: 60px 0 40px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 60px;
}

.ivy-display-xl {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: #0f172a;
}

.ivy-lead {
  font-size: 18px;
  line-height: 1.5;
  color: #475569;
  max-width: 640px;
  margin: 0 auto;
}

.ivy-trial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.ivy-trial-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px;
  background: #fff;
  transition: transform 0.18s, box-shadow 0.18s;
}
.ivy-trial-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

.ivy-trial-card h3 { font-size: 20px; font-weight: 700; margin: 16px 0 12px; }
.ivy-trial-card p { font-size: 14px; color: #475569; line-height: 1.55; margin-bottom: 20px; }

.ivy-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ivy-tag--blue { background: #dbeafe; color: #1e40af; }
.ivy-tag--pink { background: #fce7f3; color: #be185d; }
.ivy-tag--yellow { background: #fef3c7; color: #92400e; }

.ivy-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.18s, opacity 0.18s;
}
.ivy-btn:hover { transform: translateY(-1px); opacity: 0.95; }
.ivy-btn--blue { background: #2563EB; color: #fff; }
.ivy-btn--pink { background: #EC4899; color: #fff; }
.ivy-btn--yellow { background: #FACC15; color: #0f172a; }
.ivy-btn--black { background: #0f172a; color: #fff; }
.ivy-btn--lg { font-size: 16px; padding: 16px 32px; }

/* --- Form pages shared styles (SEO Audit, Security Scan, Social Posting, Candidate CoPilot, Partners) --- */
.ivy-seo-form {
  max-width: 600px;
  margin: 40px auto;
  padding: 40px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.ivy-form-bento { display: flex; flex-direction: column; gap: 16px; }

.ivy-form-bento label {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.ivy-form-bento input,
.ivy-form-bento select,
.ivy-form-bento textarea {
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.18s;
}

.ivy-form-bento input:focus,
.ivy-form-bento select:focus,
.ivy-form-bento textarea:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.ivy-form-bento input[type=checkbox],
.ivy-form-bento input[type=radio] { width: auto; }

.ivy-form-bento select[multiple] { padding: 8px; }
.ivy-form-bento select[multiple] option { padding: 8px; }

.ivy-form-bento button[type=submit] {
  margin-top: 8px;
  width: 100%;
}

.ivy-check-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 30px auto;
}

.ivy-check-list li {
  padding: 12px 16px;
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  color: #0f172a;
  position: relative;
  padding-left: 40px;
}

.ivy-check-list li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #2563EB;
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

#ivy-seo-result,
#ivy-security-result,
#ivy-social-result,
#ivy-candidate-result,
#ivy-partner-result {
  margin-top: 24px;
}

/* --- Team page --- */
.ivy-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.ivy-team-card {
  padding: 28px;
  background: #faf9f7;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}

.ivy-team-card h3 {
  font-size: 20px;
  margin: 0 0 12px;
  font-weight: 700;
}

.ivy-team-card p {
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

/* --- Case Studies --- */
.ivy-case-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  background: #fff;
}

.ivy-case-card h3 { margin: 16px 0; font-size: 22px; }
.ivy-case-card ul { margin: 16px 0 0; padding-left: 20px; }
.ivy-case-card ul li { margin-bottom: 6px; font-size: 14px; }

/* --- Page content wrappers --- */
.page-id-158 .entry-content,
.page-id-161 .entry-content,
.page-id-162 .entry-content,
.page-id-163 .entry-content,
.page-id-164 .entry-content,
.page-id-165 .entry-content,
.page-id-166 .entry-content,
.page-id-159 .entry-content,
.page-id-160 .entry-content,
.page-id-157 .entry-content,
.page-id-167 .entry-content {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 40px 24px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* --- Form result boxes --- */
.ivy-result {
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.ivy-result--success {
  background: #d1fae5;
  border: 1px solid #10b981;
  color: #065f46;
}
.ivy-result--error {
  background: #fee2e2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

@media (max-width: 720px) {
  .ivy-display-xl { font-size: 32px; }
  .ivy-trial-grid { grid-template-columns: 1fr; }
  .ivy-seo-form { margin: 20px; padding: 24px; }
}

/* --- Product card image (Magazine Bold) --- */
.product__media {
  display: block;
  margin: -16px -16px 12px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.product:hover .product__media img {
  transform: scale(1.04);
}

.product__title a {
  color: inherit;
  text-decoration: none;
}

.product__title a:hover {
  text-decoration: underline;
}

/* Add some spacing since product now has image */
.product {
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.product__title {
  margin-top: 4px;
  order: 2;
}

.product__cat {
  order: 1;
}

.product__excerpt {
  order: 3;
  flex: 1;
}

.product__foot {
  order: 4;
  margin-top: 12px;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
