
    .tqo-wrap, .tqo-wrap *,.tqo-wrap *::before,.tqo-wrap *::after { box-sizing: border-box; }
    .tqo-wrap * { margin: 0; padding: 0; }

    :root {
      --terra:  #C48479;
      --terra2: #B87068;
      --cream:  #FAF7F2;
      --cream2: #F2EAE0;
      --dark:   #1E1410;
      --dark2:  #3A2B27;
      --grey:   #6B5550;
      --white:  #ffffff;
    }

    html { scroll-behavior: smooth; }

.tqo-wrap {
      background-color: #FAF7F2;
      color: #1E1410;
      font-family: 'Inter', sans-serif;
      font-weight: 300;
      overflow-x: hidden;
    }

    /* ── NAV ── */
    .tqo-wrap .tqo-nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 22px 56px;
      background-color: #FAF7F2;
      border-bottom: 1px solid rgba(196, 132, 121, 0.2);
    }

    .nav-logo {
      font-family: 'Lora', serif;
      font-size: 28px;
      font-style: italic;
      color: #1E1410;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .nav-logo img {
   width: auto;
    display: block;
    object-fit: contain;
    margin: -20px 0;
    }

    .nav-links {
      display: flex;
      gap: 38px;
      list-style: none;
      align-items: center;
    }

    .nav-links a {
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      font-weight: 400;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #3A2B27;
      text-decoration: none;
      transition: color 0.2s;
    }

    .nav-links a:hover { color: #C48479; }

    .nav-cta {
      background-color: #C48479 !important;
      color: #ffffff !important;
      padding: 11px 26px !important;
      border-radius: 3px;
    }

    .nav-cta:hover { background-color: #B87068 !important; }

    /* ── HERO ── */
    .hero {
      padding-top: 88px;
      background-color: #FAF7F2;
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: 92vh;
    }

    .hero-content {
      background-color: #FAF7F2;
      padding: 72px 60px 72px 72px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .eyebrow {
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      font-weight: 400;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: #C48479;
      margin-bottom: 24px;
    }

    .hero-title {
      font-family: 'Lora', serif;
      font-size: clamp(36px, 4vw, 58px);
      font-weight: 400;
      line-height: 1.15;
      color: #1E1410;
      margin-bottom: 26px;
    }

    .hero-title em {
      font-style: italic;
      color: #C48479;
    }

    .hero-body {
      font-family: 'Lora', serif;
      font-style: italic;
      font-size: 18px;
      line-height: 1.75;
      color: #6B5550;
      margin-bottom: 16px;
      max-width: 460px;
    }

    .hero-body-plain {
      font-family: 'Inter', sans-serif;
      font-size: 15px;
      line-height: 1.85;
      color: #3A2B27;
      font-weight: 300;
      max-width: 460px;
      margin-bottom: 40px;
    }

    .btn-primary {
      display: inline-block;
      background-color: #C48479;
      color: #ffffff;
      font-family: 'Inter', sans-serif;
      font-size: 12.5px;
      font-weight: 400;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 17px 42px;
      border-radius: 3px;
      text-decoration: none;
      transition: background-color 0.2s;
      align-self: flex-start;
      border: none;
      cursor: pointer;
    }

    .btn-primary:hover { background-color: #B87068; }

    /* Hero image grid */
    .hero-images {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 1fr 1fr;
      gap: 4px;
      min-height: 500px;
    }

    .hero-img {
      background-size: cover;
      background-position: center;
    }

    /* Warm placeholder tones, replace with real photos */
    .img-1 { background-color: #D4A898; }
    .img-2 { background-color: #E4D0BC; }
    .img-3 { background-color: #BF9888; }
    .img-4 { background-color: #CDB0A0; position: relative; }

    .img-label {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      background-color: rgba(30, 20, 16, 0.75);
      padding: 16px 20px;
      font-family: 'Lora', serif;
      font-style: italic;
      font-size: 14px;
      color: rgba(255,255,255,0.92);
      line-height: 1.5;
      border-top: 2px solid #C48479;
    }

    /* What's Inside, animated cycling card */
    /* ── What's Inside: 3D rotating card ── */
    .inside-card {
      position: relative;
      overflow: hidden;
      border-top: 2px solid #C48479;
      display: flex;
      flex-direction: column;
      background:
        radial-gradient(120% 90% at 18% 12%, #34211B 0%, #1E1410 55%, #160E0B 100%);
      perspective: 1100px;
      perspective-origin: 50% 42%;
      isolation: isolate;
    }

    /* soft moving sheen so the dark surface feels dimensional */
    .inside-card::before {
      content: '';
      position: absolute;
      inset: -40%;
      background: radial-gradient(closest-side, rgba(196,132,121,0.16), transparent 70%);
      opacity: 0.9;
      z-index: 0;
      animation: insideGlow 14s ease-in-out infinite alternate;
      pointer-events: none;
    }

    @keyframes insideGlow {
      0%   { transform: translate(-12%, -8%) scale(1); }
      100% { transform: translate(14%, 10%) scale(1.15); }
    }

    .inside-head {
      position: relative;
      z-index: 3;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 22px 24px 0;
    }

    .inside-eyebrow {
      font-family: 'Inter', sans-serif;
      font-weight: 400;
      font-size: 10px;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: #C48479;
    }

    .inside-count {
      font-family: 'Inter', sans-serif;
      font-weight: 300;
      font-size: 10px;
      letter-spacing: 1px;
      color: rgba(250, 247, 242, 0.45);
      font-variant-numeric: tabular-nums;
    }

    .inside-stage {
      flex: 1;
      position: relative;
      min-height: 0;
      z-index: 2;
      transform-style: preserve-3d;
    }

    .inside-slide {
      position: absolute;
      inset: 0;
      padding: 22px 26px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      transform-style: preserve-3d;
      transform-origin: left center;
      opacity: 0;
      visibility: hidden;
      transform: rotateY(-32deg) translateZ(-60px) translateX(24px);
      transition:
        opacity 0.6s ease,
        transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
        visibility 0.6s ease;
      pointer-events: none;
      will-change: transform, opacity;
    }

    .inside-slide.active {
      opacity: 1;
      visibility: visible;
      transform: rotateY(0deg) translateZ(0) translateX(0);
      pointer-events: auto;
    }

    .inside-slide .kind {
      font-family: 'Inter', sans-serif;
      font-weight: 400;
      font-size: 10px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: rgba(196, 132, 121, 0.9);
      margin-bottom: 12px;
    }

    .inside-slide .name {
      font-family: 'Lora', serif;
      font-style: italic;
      font-weight: 500;
      font-size: 31px;
      line-height: 1.1;
      color: #FAF7F2;
      margin-bottom: 13px;
      text-shadow: 0 6px 22px rgba(0,0,0,0.45);
    }

    .inside-slide .desc {
      font-family: 'Inter', sans-serif;
      font-weight: 300;
      font-size: 13px;
      line-height: 1.55;
      color: rgba(250, 247, 242, 0.74);
      max-width: 235px;
    }

    .inside-dots {
      position: relative;
      z-index: 3;
      display: flex;
      gap: 7px;
      padding: 0 26px 22px;
    }

    .inside-dots button {
      width: 22px;
      height: 3px;
      border: none;
      padding: 0;
      border-radius: 2px;
      background-color: rgba(250, 247, 242, 0.18);
      cursor: pointer;
      overflow: hidden;
      position: relative;
      transition: background-color 0.4s ease;
    }

    .inside-dots button.on {
      background-color: rgba(196, 132, 121, 0.35);
    }

    /* the active dot fills like a progress bar in time with the slide */
    .inside-dots button.on::after {
      content: '';
      position: absolute;
      inset: 0;
      transform-origin: left center;
      transform: scaleX(0);
      background-color: #C48479;
      animation: dotFill var(--dur, 4200ms) linear forwards;
    }

    @keyframes dotFill {
      from { transform: scaleX(0); }
      to   { transform: scaleX(1); }
    }

    @media (max-width: 600px) {
      .inside-slide .name { font-size: 27px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .inside-card::before { animation: none; }
      .inside-slide { transition: opacity 0.4s ease; transform: none; }
      .inside-slide.leaving { transform: none; }
      .inside-slide.active { transform: none; }
      .inside-dots button.on::after { animation: none; transform: scaleX(1); }
    }

    /* ── Fanned page previews ── */
    .page-fan {
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(130% 100% at 50% 12%, #F2EAE0 0%, #E9DDCE 60%, #E0D2C0 100%);
      border-top: 2px solid #C48479;
      display: flex;
      align-items: center;
      justify-content: center;
      perspective: 1300px;
    }

    .page-fan .fan-label {
      position: absolute;
      top: 18px; left: 24px;
      z-index: 6;
      font-family: 'Inter', sans-serif;
      font-weight: 400;
      font-size: 10px;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: #B87068;
    }

    .fan-stage {
      position: relative;
      width: 60%;
      max-width: 200px;
      aspect-ratio: 3 / 4;
      transform-style: preserve-3d;
    }

    .fan-page {
      position: absolute;
      inset: 0;
      border-radius: 4px;
      background-size: cover;
      background-position: top center;
      background-repeat: no-repeat;
      box-shadow:
        0 10px 26px rgba(30, 20, 16, 0.28),
        0 2px 6px rgba(30, 20, 16, 0.20);
      border: 3px solid #FFFFFF;
      transform-origin: bottom center;
      transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
                  box-shadow 0.6s ease;
      backface-visibility: hidden;
    }

    /* fanned angles, back to front */
    .fan-page.p1 { transform: rotate(-15deg) translateX(-26%) translateY(6%); z-index: 1; }
    .fan-page.p2 { transform: rotate(-5deg)  translateX(-9%)  translateY(0%); z-index: 2; }
    .fan-page.p3 { transform: rotate(5deg)   translateX(9%)   translateY(0%); z-index: 3; }
    .fan-page.p4 { transform: rotate(15deg)  translateX(26%)  translateY(6%); z-index: 4; }

    /* spread wider on hover, like opening a hand of pages */
    .page-fan:hover .fan-page.p1 { transform: rotate(-22deg) translateX(-40%) translateY(8%); }
    .page-fan:hover .fan-page.p2 { transform: rotate(-8deg)  translateX(-15%) translateY(-2%); }
    .page-fan:hover .fan-page.p3 { transform: rotate(8deg)   translateX(15%)  translateY(-2%); }
    .page-fan:hover .fan-page.p4 { transform: rotate(22deg)  translateX(40%)  translateY(8%); }

    .page-fan:hover .fan-page {
      box-shadow:
        0 16px 34px rgba(30, 20, 16, 0.32),
        0 3px 8px rgba(30, 20, 16, 0.22);
    }

    @media (max-width: 600px) {
      .fan-stage { width: 56%; }
    }

    @media (prefers-reduced-motion: reduce) {
      .fan-page { transition: none; }
    }
    }

    /* ── STRIP ── */
    .strip {
      background-color: #C48479;
      padding: 18px 0;
      overflow: hidden;
    }

    .strip-track {
      display: flex;
      gap: 52px;
      animation: slide 24s linear infinite;
      white-space: nowrap;
    }

    .strip-track span {
      font-family: 'Lora', serif;
      font-style: italic;
      font-size: 15.5px;
      color: #000000;
      flex-shrink: 0;
    }

    .strip-dot {
      font-style: normal !important;
      color: rgba(255,255,255,0.35) !important;
    }

    @keyframes slide {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }

    /* ── WORKBOOK ── */
    .workbook {
      background-color: #F2EAE0;
      padding: 100px 80px;
    }

    .workbook-inner {
      max-width: 1100px;
      margin: 0 auto;
    }

    .workbook-header {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: start;
      margin-bottom: 60px;
    }

    .workbook-title {
      font-family: 'Lora', serif;
      font-size: clamp(32px, 3.8vw, 52px);
      font-weight: 400;
      line-height: 1.18;
      color: #1E1410;
    }

    .workbook-title em {
      font-style: italic;
      color: #C48479;
    }

    .workbook-desc {
      font-family: 'Lora', serif;
      font-style: italic;
      font-size: 17.5px;
      line-height: 1.75;
      color: #6B5550;
      margin-bottom: 14px;
    }

    .workbook-price-line {
      font-family: 'Inter', sans-serif;
      font-size: 12.5px;
      font-weight: 400;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #C48479;
      margin-bottom: 30px;
    }

    /* Phase cards */
    .cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 3px;
      margin-bottom: 52px;
    }

    .card {
      background-color: #ffffff;
      padding: 44px 36px;
      border-top: 3px solid #C48479;
    }

    .card-label {
      font-family: 'Inter', sans-serif;
      font-size: 10.5px;
      font-weight: 400;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #C48479;
      margin-bottom: 14px;
      display: block;
    }

    .card-heading {
      font-family: 'Lora', serif;
      font-size: 23px;
      font-weight: 400;
      color: #1E1410;
      margin-bottom: 12px;
    }

    .card-text {
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 300;
      line-height: 1.82;
      color: #6B5550;
    }

    .workbook-cta-wrap {
      text-align: center;
    }

    .workbook-cta-wrap .btn-primary {
      align-self: auto;
      font-size: 13.5px;
      padding: 19px 54px;
    }

    .cta-note {
      margin-top: 14px;
      font-family: 'Lora', serif;
      font-style: italic;
      font-size: 15px;
      color: #6B5550;
    }

    /* ── QUOTE ── */
    .quote {
      background-color: #FAF7F2;
      padding: 90px 80px;
      text-align: center;
    }

    .quote-mark {
      font-family: 'Lora', serif;
      font-size: 110px;
      color: rgba(196,132,121,0.2);
      line-height: 0.7;
      display: block;
      margin-bottom: 32px;
    }

    .quote-text {
      font-family: 'Lora', serif;
      font-style: italic;
      font-size: clamp(22px, 2.8vw, 36px);
      line-height: 1.55;
      color: #1E1410;
      max-width: 680px;
      margin: 0 auto 24px;
    }

    .quote-attr {
      font-family: 'Inter', sans-serif;
      font-size: 11.5px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: #C48479;
    }

    /* ── WAITLIST ── */
    .waitlist {
      background-color: #2A1C18;
      padding: 90px 80px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

    .waitlist h2 {
      font-family: 'Lora', serif;
      font-size: clamp(28px, 3.2vw, 44px);
      font-weight: 400;
      color: #FAF7F2;
      line-height: 1.25;
      margin-bottom: 18px;
    }

    .waitlist h2 em {
      font-style: italic;
      color: #C48479;
    }

    .waitlist-body {
      font-family: 'Lora', serif;
      font-style: italic;
      font-size: 17px;
      color: rgba(250,247,242,0.6);
      line-height: 1.75;
    }

    .waitlist-form {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .waitlist-form input {
      background-color: rgba(250,247,242,0.08);
      border: 1px solid rgba(250,247,242,0.2);
      border-radius: 3px;
      padding: 16px 20px;
      font-family: 'Lora', serif;
      font-style: italic;
      font-size: 16px;
      color: #FAF7F2;
      outline: none;
      transition: border-color 0.2s;
    }

    .waitlist-form input::placeholder { color: rgba(250,247,242,0.38); }
    .waitlist-form input:focus { border-color: #C48479; }

    .waitlist-form button {
      margin-top: 4px;
      background-color: #C48479;
      color: #ffffff;
      font-family: 'Inter', sans-serif;
      font-size: 12.5px;
      font-weight: 400;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 17px;
      border: none;
      border-radius: 3px;
      cursor: pointer;
      transition: background-color 0.2s;
    }

    .waitlist-form button:hover { background-color: #B87068; }

    .waitlist-note {
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      color: rgba(250,247,242,0.3);
      text-align: center;
    }

    /* ── FOOTER ── */
    .tqo-wrap footer {
      background-color: #1E1410;
      padding: 52px 80px 36px;
    }

    .footer-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 40px;
      padding-bottom: 40px;
      border-bottom: 1px solid rgba(250,247,242,0.08);
      margin-bottom: 28px;
    }

    .footer-brand-name {
      font-family: 'Lora', serif;
      font-style: italic;
      font-size: 20px;
      color: #FAF7F2;
      margin-bottom: 10px;
    }

    .footer-brand-tag {
      font-family: 'Lora', serif;
      font-style: italic;
      font-size: 13px;
      color: rgba(250,247,242,0.35);
    }

    .footer-cols {
      display: flex;
      gap: 56px;
      flex-wrap: wrap;
    }

    .footer-col h4 {
      font-family: 'Inter', sans-serif;
      font-size: 10.5px;
      font-weight: 400;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #C48479;
      margin-bottom: 16px;
    }

    .footer-col a {
      display: block;
      font-family: 'Inter', sans-serif;
      font-size: 13.5px;
      font-weight: 300;
      color: rgba(250,247,242,0.42);
      text-decoration: none;
      margin-bottom: 10px;
      transition: color 0.2s;
    }

    .footer-col a:hover { color: #FAF7F2; }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }

    .footer-bottom p,
    .footer-bottom a {
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      font-weight: 300;
      color: rgba(250,247,242,0.22);
      text-decoration: none;
    }

    .footer-bottom a:hover { color: rgba(250,247,242,0.6); }

    /* ── RESPONSIVE ── */
    @media (max-width: 860px) {
      .tqo-wrap .tqo-nav { padding: 18px 24px; }
      .nav-logo img { height: 42px; max-width: 190px; }
      .nav-links { display: none; }

      .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        background-color: #FAF7F2;
      }

      .hero-content {
        background-color: #FAF7F2;
        padding: 60px 28px 48px;
      }

      .hero-images {
        min-height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 3px;
      }

      .inside-card {
        min-height: 280px;
      }

      .page-fan {
        min-height: 280px;
      }

      .hero-img {
        min-height: 220px;
      }

      .workbook { padding: 72px 28px; }
      .workbook-header { grid-template-columns: 1fr; gap: 32px; }
      .cards { grid-template-columns: 1fr; gap: 3px; }

      .quote { padding: 72px 28px; }

      .waitlist {
        grid-template-columns: 1fr;
        padding: 72px 28px;
        gap: 48px;
      }

      .tqo-wrap footer { padding: 48px 24px 28px; }
      .footer-row { flex-direction: column; }
      .footer-cols { gap: 36px; }
    }
  
body.admin-bar .tqo-wrap .tqo-nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .tqo-wrap .tqo-nav { top: 46px; } }

.elementor-widget-tqo-header, .elementor-widget-tqo-hero, .elementor-widget-tqo-strip, .elementor-widget-tqo-workbook, .elementor-widget-tqo-quote, .elementor-widget-tqo-waitlist, .elementor-widget-tqo-footer, .elementor-widget-tqo-full-page { margin:0 !important; }


/* TQO editable plugin fixes */
.tqo-wrap .tqo-nav-actions {
  display: flex;
  align-items: center;
  gap: 38px;
}
.tqo-wrap .tqo-menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid rgba(196, 132, 121, 0.28);
  background: transparent;
  border-radius: 3px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.tqo-wrap .tqo-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #3A2B27;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.tqo-wrap .tqo-nav.is-open .tqo-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tqo-wrap .tqo-nav.is-open .tqo-menu-toggle span:nth-child(2) { opacity: 0; }
.tqo-wrap .tqo-nav.is-open .tqo-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.tqo-wrap .nav-links.menu { margin: 0; }
.tqo-wrap .nav-links li { list-style: none; margin: 0; padding: 0; }
.tqo-wrap .nav-links .sub-menu {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  list-style: none;
  margin: 12px 0 0;
  padding: 14px 16px;
  background: #FAF7F2;
  border: 1px solid rgba(196, 132, 121, 0.18);
  box-shadow: 0 12px 30px rgba(30,20,16,.08);
  min-width: 170px;
  transition: opacity .2s ease, visibility .2s ease;
}
.tqo-wrap .nav-links li:hover > .sub-menu { opacity: 1; visibility: visible; }
.tqo-wrap .nav-links .sub-menu a { display: block; padding: 7px 0; }
.tqo-wrap .hero-img { background-size: cover; background-position: center; }
.tqo-wrap .workbook-cta-wrap { text-align: center; }

@media (max-width: 860px) {
  .tqo-wrap .tqo-nav { padding: 18px 24px; }
  .tqo-wrap .tqo-menu-toggle { display: flex; }
  .tqo-wrap .tqo-nav-actions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: #FAF7F2;
    border-bottom: 1px solid rgba(196, 132, 121, 0.2);
    box-shadow: 0 14px 26px rgba(30,20,16,.08);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 24px;
    transition: max-height .35s ease, opacity .25s ease, padding .25s ease;
  }
  .tqo-wrap .tqo-nav.is-open .tqo-nav-actions {
    max-height: 520px;
    opacity: 1;
    padding: 22px 24px 24px;
  }
  .tqo-wrap .nav-links,
  .tqo-wrap .nav-links.menu {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 18px;
  }
  .tqo-wrap .nav-links a { font-size: 12px; }
  .tqo-wrap .nav-links .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    padding: 8px 0 0 16px;
    margin: 0;
  }
  .tqo-wrap .nav-cta { align-self: flex-start; }
  .tqo-wrap .hero { padding-top: 78px; }
  .tqo-wrap .hero-content { padding: 56px 24px 44px; }
  .tqo-wrap .hero-title { font-size: clamp(34px, 10vw, 46px); }
  .tqo-wrap .hero-body { font-size: 17px; }
  .tqo-wrap .btn-primary { padding: 15px 28px; }
  .tqo-wrap .cards { gap: 10px; }
  .tqo-wrap .card { padding: 34px 26px; }
}

@media (max-width: 480px) {
  .tqo-wrap .nav-logo { font-size: 21px; }
  .tqo-wrap .nav-logo img { max-height: 42px; max-width: 170px; }
  .tqo-wrap .hero-images { grid-template-columns: 1fr; }
  .tqo-wrap .inside-card, .tqo-wrap .page-fan, .tqo-wrap .hero-img { min-height: 260px; }
  .tqo-wrap .workbook, .tqo-wrap .quote, .tqo-wrap .waitlist { padding-left: 22px; padding-right: 22px; }
  .tqo-wrap footer { padding-left: 22px; padding-right: 22px; }
}

/* Width alignment fix: standalone footer content aligns with header/page container */
.tqo-section-footer footer,
.tqo-wrap.tqo-section-footer footer {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.tqo-section-footer .tqo-footer-inner {
  width: min(1180px, calc(100% - 112px));
  margin: 0 auto;
  box-sizing: border-box;
}
@media (max-width: 1240px) {
  .tqo-section-footer .tqo-footer-inner { width: min(1180px, calc(100% - 64px)); }
}
@media (max-width: 860px) {
  .tqo-section-footer .tqo-footer-inner { width: calc(100% - 48px); }
}
@media (max-width: 480px) {
  .tqo-section-footer .tqo-footer-inner { width: calc(100% - 36px); }
}
