:root {
      --bg: #fffaf1;
      --paper: #ffffff;
      --ink: #1b1712;
      --muted: #6f6254;
      --deep: #18110a;
      --gold: #b8862b;
      --gold2: #e2b95d;
      --gold3: #fff0c9;
      --red: #df3448;
      --green: #16a765;
      --line: #eadfce;
      --soft: #fff7e7;
      --shadow: 0 26px 70px rgba(70, 45, 13, .14);
      --shadow-soft: 0 14px 38px rgba(36, 25, 10, .08);
      --radius: 26px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
      background:
        radial-gradient(circle at 12% 8%, rgba(226,185,93,.20), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(223,52,72,.10), transparent 24%),
        linear-gradient(180deg, #fffaf1 0%, #ffffff 44%, #fffaf1 100%);
      color: var(--ink);
      line-height: 1.72;
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .container {
      width: min(1180px, calc(100% - 40px));
      margin: 0 auto;
    }

    .nav {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255,255,255,.86);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(184,134,43,.16);
      box-shadow: 0 10px 34px rgba(36,25,10,.05);
    }

    .nav-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 10px 0;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 950;
      letter-spacing: .2px;
    }

    .brand-mark {
      width: 44px;
      height: 44px;
      border-radius: 15px;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, var(--deep), var(--gold), var(--gold2));
      color: #fff;
      box-shadow: 0 16px 34px rgba(184,134,43,.28);
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .mini-contact {
      color: var(--muted);
      font-size: 14px;
    }

    .mini-contact strong {
      color: var(--gold);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 50px;
      padding: 0 24px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: var(--paper);
      color: var(--ink);
      font-weight: 900;
      cursor: pointer;
      white-space: nowrap;
      box-shadow: 0 12px 28px rgba(36,25,10,.08);
      transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 18px 44px rgba(36,25,10,.15);
    }

    .btn-primary {
      border: none;
      color: #fff;
      background: linear-gradient(135deg, #1a1209 0%, #b8862b 48%, #e2b95d 100%);
      box-shadow: 0 20px 50px rgba(184,134,43,.32);
    }

    .btn-whatsapp {
      background: #eafff3;
      border-color: rgba(22,167,101,.28);
      color: #0d7a46;
    }

    .btn-ghost {
      background: rgba(255,255,255,.72);
    }

    .hero {
      position: relative;
      padding: 78px 0 70px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.14fr .86fr;
      gap: 34px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      border-radius: 999px;
      background: rgba(255,255,255,.82);
      border: 1px solid rgba(184,134,43,.24);
      color: #8b611e;
      font-size: 14px;
      font-weight: 950;
      margin-bottom: 18px;
      box-shadow: 0 10px 24px rgba(36,25,10,.05);
    }

    h1 {
      font-size: clamp(22px, 3.2vw, 38px);
      line-height: 1.08;
      letter-spacing: -1px;
      margin-bottom: 22px;
      max-width: 760px;
    }

    .title-kicker,
    .title-main {
      display: block;
    }

    .title-kicker {
      font-size: .56em;
      font-weight: 900;
      letter-spacing: 0;
      color: var(--deep);
      margin-bottom: 10px;
    }

    .title-main {
      font-size: 1em;
      line-height: 1.08;
    }

    .gradient-text {
      background: linear-gradient(135deg, var(--deep), var(--gold), #cf2d44);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero-desc {
      color: var(--muted);
      font-size: clamp(17px, 2vw, 21px);
      max-width: 660px;
      margin-bottom: 24px;
    }

    .hero-desc strong {
      color: var(--ink);
    }

    .hero-points {
      display: grid;
      gap: 10px;
      margin: 22px 0 28px;
    }

    .hero-point {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      color: var(--muted);
      font-size: 15px;
    }

    .hero-point b {
      color: var(--ink);
    }

    .dot-check {
      width: 22px;
      height: 22px;
      border-radius: 999px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      margin-top: 2px;
      color: #fff;
      font-size: 13px;
      font-weight: 950;
      background: linear-gradient(135deg, var(--gold), var(--gold2));
    }

    .hero-actions {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 18px;
    }

    .trust-line {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      color: var(--muted);
      font-size: 14px;
    }

    .trust-badge {
      padding: 5px 10px;
      border-radius: 999px;
      background: rgba(255,255,255,.78);
      border: 1px solid rgba(184,134,43,.16);
      color: #8b611e;
      font-weight: 900;
    }

    .preview-card {
      position: relative;
      border-radius: 34px;
      padding: 16px;
      background:
        radial-gradient(circle at 12% 12%, rgba(48,154,224,.16), transparent 30%),
        radial-gradient(circle at 88% 14%, rgba(226,185,93,.22), transparent 28%),
        linear-gradient(180deg, #f8fcff 0%, #f3f8ff 54%, #ffffff 100%);
      border: 1px solid rgba(48,154,224,.16);
      box-shadow: 0 24px 56px rgba(36,25,10,.10);
      overflow: hidden;
    }

    .preview-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(rgba(48,154,224,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(48,154,224,.045) 1px, transparent 1px);
      background-size: 42px 42px;
      opacity: .55;
      pointer-events: none;
    }

    .window {
      position: relative;
      z-index: 1;
      border-radius: 24px;
      overflow: hidden;
      background: #fff;
      border: 1px solid rgba(48,154,224,.14);
      box-shadow: 0 14px 34px rgba(45,94,145,.08);
    }

    .window-top {
      height: 54px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 18px;
      background: linear-gradient(135deg, #eef7ff, #dceeff);
      color: #29547d;
      font-size: 13px;
      border-bottom: 1px solid rgba(48,154,224,.14);
    }

    .dots {
      display: flex;
      gap: 7px;
    }

    .dots span {
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: rgba(48,154,224,.34);
    }

    .window-body {
      padding: 18px;
      background:
        linear-gradient(rgba(48,154,224,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(48,154,224,.04) 1px, transparent 1px),
        #fff;
      background-size: 34px 34px;
    }

    .dashboard-layout {
      display: grid;
      grid-template-columns: 1.6fr 1fr;
      gap: 14px;
    }

    .dash-card {
      border: 1px solid #eadfce;
      border-radius: 20px;
      padding: 16px;
      background: rgba(255,255,255,.92);
      box-shadow: 0 12px 28px rgba(36,25,10,.08);
    }

    .dash-title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      margin-bottom: 12px;
      font-weight: 950;
    }

    .pill {
      display: inline-flex;
      align-items: center;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 950;
    }

    .pill.gold {
      background: #fff0c9;
      color: #8b611e;
    }

    .pill.green {
      background: #eafff3;
      color: #0d7a46;
    }

    .pill.red {
      background: #fff1f3;
      color: #bd2134;
    }

    .chart {
      width: 100%;
      height: 220px;
      border-radius: 16px;
      overflow: hidden;
      background: linear-gradient(180deg, #fffaf0, #fff);
    }

    .chart svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .scroll-chart-shell {
      position: relative;
    }

    .scroll-chart-viewport {
      overflow-x: auto;
      overflow-y: hidden;
      border: 1px solid #eadfce;
      border-radius: 18px;
      background: #fff;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      box-shadow: inset 0 0 0 1px rgba(184,134,43,.04);
    }

    .scroll-chart-viewport::-webkit-scrollbar {
      height: 10px;
    }

    .scroll-chart-viewport::-webkit-scrollbar-track {
      background: #f7f1e5;
      border-radius: 999px;
    }

    .scroll-chart-viewport::-webkit-scrollbar-thumb {
      background: linear-gradient(135deg, #b8862b, #e2b95d);
      border-radius: 999px;
    }

    .scroll-chart-inner {
      min-width: 1280px;
      height: 430px;
    }

    .scroll-tip {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: 10px;
      color: var(--muted);
      font-size: 13px;
    }

    .scroll-tip-left {
      font-weight: 800;
      color: #8b611e;
    }

    .scroll-controls {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .scroll-btn {
      min-height: 38px;
      padding: 0 16px;
      border-radius: 999px;
      border: 1px solid #eadfce;
      background: #fff;
      color: var(--ink);
      font-weight: 900;
      cursor: pointer;
      box-shadow: 0 8px 18px rgba(36,25,10,.06);
      transition: .2s ease;
    }

    .scroll-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 12px 24px rgba(36,25,10,.10);
    }

    .signal-list {
      display: grid;
      gap: 10px;
    }

    .signal {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 12px;
      border: 1px solid #eadfce;
      border-radius: 15px;
      background: #fff;
      font-size: 14px;
    }

    .signal b {
      color: var(--ink);
    }

    .signal small {
      color: var(--muted);
      display: block;
      margin-top: 1px;
    }

    .market-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 14px;
    }

    .market-card {
      padding: 14px;
      border-radius: 18px;
      border: 1px solid #eadfce;
      background: #fff;
      box-shadow: 0 10px 22px rgba(36,25,10,.06);
    }

    .market-card .name {
      color: var(--muted);
      font-size: 13px;
      margin-bottom: 5px;
    }

    .market-card .value {
      font-size: 20px;
      font-weight: 950;
    }

    .market-card .note {
      color: #8b611e;
      font-size: 12px;
      font-weight: 900;
    }

    .preview-note {
      position: relative;
      z-index: 1;
      margin-top: 12px;
      color: rgba(255,255,255,.72);
      font-size: 12px;
      text-align: center;
    }

    .section {
      padding: 72px 0;
    }

    .section-head {
      text-align: center;
      margin-bottom: 36px;
    }

    .tag {
      color: #8b611e;
      font-weight: 950;
      margin-bottom: 8px;
    }

    .section-head h2 {
      font-size: clamp(30px, 4vw, 48px);
      line-height: 1.18;
      margin-bottom: 12px;
    }

    .section-head p {
      color: var(--muted);
      max-width: 780px;
      margin: 0 auto;
      font-size: 17px;
    }

    .pain-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }

    .pain-card,
    .feature,
    .teacher,
    .faq-item,
    .form-card,
    .form-copy,
    .benefit-panel {
      background: rgba(255,255,255,.86);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow-soft);
    }

    .pain-card {
      padding: 24px;
      position: relative;
      overflow: hidden;
    }

    .pain-card::after {
      content: "";
      position: absolute;
      right: -30px;
      top: -30px;
      width: 120px;
      height: 120px;
      border-radius: 999px;
      background: rgba(184,134,43,.08);
    }

    .pain-card .num {
      width: 46px;
      height: 46px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      margin-bottom: 16px;
      background: linear-gradient(135deg, var(--deep), var(--gold));
      color: #fff;
      font-weight: 950;
      box-shadow: 0 14px 28px rgba(184,134,43,.22);
    }

    .pain-card h3 {
      font-size: 21px;
      margin-bottom: 8px;
    }

    .pain-card p {
      color: var(--muted);
      font-size: 15px;
    }

    .benefit-wrap {
      display: grid;
      grid-template-columns: .95fr 1.05fr;
      gap: 24px;
      align-items: stretch;
    }

    .benefit-panel {
      padding: 34px;
      background:
        radial-gradient(circle at 90% 0%, rgba(226,185,93,.22), transparent 34%),
        #fff;
    }

    .benefit-panel h2 {
      font-size: clamp(30px, 4vw, 48px);
      line-height: 1.14;
      margin-bottom: 14px;
    }

    .benefit-panel p {
      color: var(--muted);
      margin-bottom: 22px;
    }

    .module-list {
      display: grid;
      gap: 12px;
    }

    .module {
      display: flex;
      gap: 12px;
      padding: 18px;
      border-radius: 18px;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: 0 10px 24px rgba(36,25,10,.05);
    }

    .check {
      width: 24px;
      height: 24px;
      border-radius: 999px;
      display: grid;
      place-items: center;
      color: #fff;
      flex: 0 0 auto;
      background: linear-gradient(135deg, var(--gold), var(--gold2));
      font-size: 14px;
      font-weight: 950;
      margin-top: 2px;
    }

    .module p {
      color: var(--muted);
      font-size: 15px;
      margin-top: 2px;
    }

    .teacher-grid {
      display: grid;
      grid-template-columns: 1.18fr .91fr .91fr;
      gap: 20px;
    }

    .teacher {
      padding: 28px;
    }

    .teacher.featured {
      border-color: rgba(184,134,43,.42);
      box-shadow: 0 26px 70px rgba(184,134,43,.16);
      background:
        radial-gradient(circle at 100% 0%, rgba(226,185,93,.28), transparent 35%),
        #fff;
    }

    .avatar {
      width: 76px;
      height: 76px;
      border-radius: 24px;
      display: grid;
      place-items: center;
      margin-bottom: 18px;
      color: #fff;
      font-weight: 950;
      font-size: 25px;
      background: linear-gradient(135deg, var(--deep), var(--gold), var(--gold2));
      box-shadow: 0 16px 34px rgba(184,134,43,.24);
    }

    .teacher-photo {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      border-radius: 22px;
      display: block;
      margin-bottom: 18px;
      border: 1px solid rgba(184,134,43,.18);
      box-shadow: 0 16px 36px rgba(184,134,43,.16);
      background: #fff;
    }

    .teacher h3 {
      font-size: 26px;
      margin-bottom: 4px;
    }

    .teacher .role {
      color: #8b611e;
      font-weight: 950;
      margin-bottom: 14px;
    }

    .teacher p {
      color: var(--muted);
      font-size: 15px;
    }

    .teacher ul {
      margin-top: 14px;
      padding-left: 18px;
      color: var(--muted);
      font-size: 15px;
    }

    .form-wrap {
      display: grid;
      grid-template-columns: .88fr 1.12fr;
      gap: 26px;
      align-items: start;
    }

    .form-copy {
      padding: 34px;
      position: sticky;
      top: 98px;
    }

    .form-copy h2 {
      font-size: clamp(30px, 4vw, 48px);
      line-height: 1.14;
      margin-bottom: 16px;
    }

    .form-copy p {
      color: var(--muted);
      margin-bottom: 20px;
    }

    .form-card {
      padding: 30px;
    }

    .field-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .field {
      margin-bottom: 16px;
    }

    .field.full {
      grid-column: 1 / -1;
    }

    label {
      display: block;
      font-weight: 950;
      margin-bottom: 8px;
      font-size: 14px;
    }

    .required {
      color: var(--red);
    }

    input,
    select,
    textarea {
      width: 100%;
      min-height: 50px;
      border: 1px solid var(--line);
      border-radius: 15px;
      background: #fff;
      color: var(--ink);
      padding: 12px 14px;
      outline: none;
      font-size: 15px;
      transition: .2s ease;
      font-family: inherit;
    }

    input::placeholder,
    textarea::placeholder {
      color: #aa9b86;
    }

    input:focus,
    select:focus,
    textarea:focus {
      border-color: rgba(184,134,43,.72);
      box-shadow: 0 0 0 4px rgba(184,134,43,.12);
    }

    textarea {
      resize: vertical;
      min-height: 92px;
    }

    .phone-row {
      display: grid;
      grid-template-columns: minmax(240px, .72fr) 1fr;
      gap: 10px;
    }

    .checkbox-row {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--muted);
      font-size: 14px;
      margin-top: -4px;
    }

    .checkbox-row input {
      width: 18px;
      min-height: 18px;
      accent-color: var(--gold);
    }

    .form-note {
      color: var(--muted);
      font-size: 13px;
      margin-top: 14px;
    }

    .success {
      display: none;
      margin-top: 16px;
      padding: 16px;
      border-radius: 16px;
      background: #f2fff7;
      border: 1px solid rgba(22,167,101,.32);
      color: #0d7a46;
      font-weight: 850;
    }

    .faq {
      max-width: 100%;
      margin: 0;
      display: grid;
      gap: 14px;
    }

    details.faq-item {
      padding: 18px 20px;
    }

    summary {
      cursor: pointer;
      font-weight: 950;
      list-style: none;
    }

    summary::-webkit-details-marker {
      display: none;
    }

    details p {
      margin-top: 12px;
      color: var(--muted);
    }

    .risk-box {
      margin-top: 20px;
      padding: 22px;
      border-radius: 22px;
      background: rgba(255,255,255,.78);
      border: 1px solid var(--line);
      color: var(--muted);
      font-size: 14px;
    }

    footer {
      padding: 38px 0;
      border-top: 1px solid var(--line);
      background: rgba(255,255,255,.82);
      color: var(--muted);
      font-size: 14px;
    }

    footer strong {
      color: var(--ink);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 20px;
      align-items: center;
    }

    .floating-wa {
      position: fixed;
      right: 20px;
      bottom: 20px;
      z-index: 40;
      width: 60px;
      height: 60px;
      border-radius: 999px;
      background: var(--green);
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 24px;
      font-weight: 950;
      box-shadow: 0 18px 44px rgba(22,167,101,.36);
      border: 3px solid #fff;
    }

    .mobile-only {
      display: none;
    }


    .case-caption {
      position: relative;
      z-index: 1;
      margin-top: 14px;
      padding: 14px 16px;
      border-radius: 18px;
      background: rgba(255,255,255,.88);
      border: 1px solid rgba(48,154,224,.14);
      color: #506273;
      font-size: 14px;
      line-height: 1.65;
      box-shadow: 0 10px 24px rgba(36,25,10,.06);
    }

    .case-caption strong {
      color: var(--ink);
    }

    .hero-claim {
      color: var(--ink);
      font-weight: 900;
    }

    .mobile-cta-bar {
      display: none;
    }

    @media (max-width: 980px) {
      .hero-grid,
      .benefit-wrap,
      .form-wrap {
        grid-template-columns: 1fr;
      }

      .teacher-grid,
      .pain-grid {
        grid-template-columns: 1fr;
      }

      .form-copy {
        position: static;
      }
    }

    @media (max-width: 720px) {
      .container {
        width: min(100% - 28px, 1180px);
      }

      .nav-inner {
        align-items: flex-start;
        flex-direction: column;
      }

      .nav-actions {
        width: 100%;
        justify-content: flex-start;
      }

      .mini-contact {
        width: 100%;
      }

      .hero {
        padding: 50px 0 42px;
      }

      .hero-actions,
      .nav-actions {
        flex-direction: column;
        align-items: stretch;
      }

      .btn {
        width: 100%;
      }

      .dashboard-layout,
      .market-row,
      .field-grid,
      .phone-row {
        grid-template-columns: 1fr;
      }

      .window-top span:last-child {
        display: none;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }

      body {
        padding-bottom: 88px;
      }

      .floating-wa {
        display: none;
      }

      .mobile-cta-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        display: flex;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.96);
        backdrop-filter: blur(14px);
        border-top: 1px solid rgba(184,134,43,.16);
        box-shadow: 0 -12px 30px rgba(36,25,10,.08);
      }

      .mobile-cta-bar .btn {
        width: 100%;
        min-height: 52px;
      }

      .market-scroll-wrap {
        max-height: 400px;
      }

      .carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 24px;
      }

      .carousel-controls {
        align-items: flex-start;
      }

      .carousel-hint {
        text-align: left;
      }

      .route-card {
        padding: 14px 16px;
      }

      .route-text {
        font-size: 14px;
      }
    }
  

    /* Brand & layout polish - 2026-06 update */
    .brand {
      min-width: 0;
      gap: 14px;
    }

    .brand-logo-pair {
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 0 0 auto;
      padding: 6px 10px;
      border-radius: 20px;
      background: rgba(255,255,255,.88);
      border: 1px solid rgba(184,134,43,.18);
      box-shadow: 0 14px 30px rgba(36,25,10,.08);
    }

    .brand-logo {
      width: 46px;
      height: 46px;
      object-fit: cover;
      display: block;
      background: #fff;
      border: 1px solid rgba(184,134,43,.14);
      box-shadow: 0 8px 18px rgba(36,25,10,.08);
    }

    .brand-logo.homily-logo {
      border-radius: 12px;
      padding: 1px;
    }

    .brand-logo.channel-logo {
      width: 46px;
      height: 46px;
      border-radius: 999px;
    }

    .brand-text {
      display: inline-flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 4px;
      min-width: 0;
      font-size: clamp(16px, 1.5vw, 20px);
      line-height: 1.18;
      color: var(--ink);
    }

    .brand-divider {
      color: var(--gold);
      font-weight: 900;
      margin: 0 2px;
    }

    .metric-grid,
    .signal-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
    }

    .metric-grid {
      margin-bottom: 14px;
    }

    .signal-grid {
      margin-top: 16px;
    }

    .footer-brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
      color: var(--ink);
    }

    .footer-brand img {
      width: 34px;
      height: 34px;
      object-fit: cover;
      background: #fff;
      border: 1px solid rgba(184,134,43,.16);
      box-shadow: 0 8px 18px rgba(36,25,10,.06);
    }

    .footer-brand img:first-child { border-radius: 10px; }
    .footer-brand img:nth-child(2) { border-radius: 999px; }

    @media (max-width: 1180px) {
      .dashboard-layout { grid-template-columns: 1fr; }
      .scroll-chart-inner { min-width: 1120px; }
      .metric-grid,
      .signal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    @media (max-width: 720px) {
      .brand {
        width: 100%;
        align-items: center;
      }

      .brand-logo-pair {
        padding: 5px 8px;
        gap: 6px;
      }

      .brand-logo.homily-logo,
      .brand-logo.channel-logo {
        width: 38px;
        height: 38px;
      }

      .brand-text {
        font-size: 16px;
        max-width: calc(100% - 112px);
      }

      .metric-grid,
      .signal-grid {
        grid-template-columns: 1fr;
      }

      .scroll-chart-inner {
        min-width: 980px;
        height: 390px;
      }
    }

  

    .window-top .panel-title {
      flex: 1 1 auto;
      text-align: center;
      line-height: 1.28;
      font-size: 13.5px;
      letter-spacing: .1px;
      padding: 0 8px;
    }

    @media (max-width: 720px) {
      .window-top .panel-title {
        text-align: left;
        font-size: 12.5px;
        padding: 0 2px;
      }
    }

  

    /* AI prediction image panel responsive update */
    .market-image-window {
      background: #fff;
    }

    .market-image-body {
      padding: 18px;
      background:
        linear-gradient(rgba(56,129,220,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56,129,220,.055) 1px, transparent 1px),
        #ffffff;
      background-size: 34px 34px;
    }

    .market-image-card {
      padding: 16px;
      overflow: hidden;
      background: rgba(255,255,255,.98);
    }

    .market-image-title {
      align-items: center;
      margin-bottom: 14px;
      flex-wrap: wrap;
    }

    .market-preview-image {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 18px;
      object-fit: contain;
      border: 1px solid rgba(48,154,224,.18);
      box-shadow: 0 18px 46px rgba(36,25,10,.12);
      background: #fff;
    }


    .section-cta {
      margin-top: 28px;
      display: flex;
      justify-content: center;
    }

    .market-scroll-wrap {
      max-height: 560px;
      overflow-y: auto;
      padding-right: 6px;
      border-radius: 18px;
      border: 1px solid rgba(48,154,224,.16);
      background: linear-gradient(180deg, rgba(245,250,255,.95) 0%, rgba(255,255,255,.98) 100%);
    }

    .market-scroll-wrap::-webkit-scrollbar {
      width: 8px;
    }

    .market-scroll-wrap::-webkit-scrollbar-thumb {
      background: rgba(48,154,224,.28);
      border-radius: 999px;
    }

    .scroll-tip {
      position: sticky;
      top: 0;
      z-index: 2;
      text-align: center;
      font-size: 12px;
      color: #4f6d88;
      background: rgba(255,255,255,.9);
      padding: 8px 10px;
      border-bottom: 1px solid rgba(48,154,224,.12);
    }

    .market-preview-image {
      border: 0;
      border-radius: 0 0 18px 18px;
      box-shadow: none;
      background: transparent;
    }

    .teacher.featured .teacher-photo {
      object-fit: cover;
      object-position: center;
    }

    @media (max-width: 980px) {
      .market-image-body { padding: 16px; }
      .market-image-card { padding: 14px; }
    }

    @media (max-width: 720px) {
      .preview-card {
        padding: 12px;
        border-radius: 24px;
      }

      .window {
        border-radius: 18px;
      }

      .market-image-body {
        padding: 12px;
      }

      .market-image-card {
        padding: 12px;
        border-radius: 18px;
      }

      .market-preview-image {
        border-radius: 14px;
      }
    }

  
    .route-card {
      margin-top: 18px;
      padding: 16px 18px;
      border-radius: 20px;
      background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(245,250,255,.92));
      border: 1px solid rgba(48,154,224,.15);
      box-shadow: 0 16px 32px rgba(36,25,10,.06);
    }

    .route-label {
      font-size: 13px;
      font-weight: 900;
      color: #8b611e;
      margin-bottom: 8px;
      letter-spacing: .04em;
    }

    .route-text {
      color: var(--ink);
      font-size: 15px;
      line-height: 1.6;
      font-weight: 800;
    }

    .feature-carousel {
      position: relative;
    }

    .carousel-viewport {
      overflow: hidden;
      border-radius: 22px;
      border: 1px solid rgba(48,154,224,.16);
      background: linear-gradient(180deg, rgba(245,250,255,.92) 0%, rgba(255,255,255,.98) 100%);
    }

    .carousel-track {
      display: flex;
      transition: transform .42s ease;
      will-change: transform;
    }

    .carousel-slide {
      min-width: 100%;
      position: relative;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: flex-start;
      background: #fff;
    }

    .carousel-slide .market-preview-image {
      width: 100%;
      height: auto;
      display: block;
      border: 0;
      border-radius: 0;
      box-shadow: none;
      background: #fff;
    }

    .slide-chip {
      position: absolute;
      left: 16px;
      bottom: 16px;
      padding: 7px 12px;
      border-radius: 999px;
      background: rgba(14,36,58,.78);
      color: #fff;
      font-size: 13px;
      font-weight: 900;
      letter-spacing: .02em;
      backdrop-filter: blur(4px);
    }

    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 40px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.5);
      background: rgba(14,36,58,.68);
      color: #fff;
      font-size: 28px;
      line-height: 1;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2;
      box-shadow: 0 10px 24px rgba(36,25,10,.18);
    }

    .carousel-btn.prev { left: 12px; }
    .carousel-btn.next { right: 12px; }

    .carousel-controls {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      margin-top: 14px;
      flex-wrap: wrap;
    }

    .carousel-status {
      font-size: 13px;
      color: var(--muted);
      font-weight: 800;
    }

    .carousel-dots {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .carousel-dot {
      width: 10px;
      height: 10px;
      border-radius: 999px;
      border: 0;
      background: rgba(48,154,224,.24);
      cursor: pointer;
      transition: transform .2s ease, background .2s ease;
    }

    .carousel-dot.active {
      background: linear-gradient(135deg, var(--deep), var(--gold));
      transform: scale(1.25);
    }

    .carousel-hint {
      margin-top: 10px;
      font-size: 12px;
      color: #6c7a89;
      text-align: right;
    }


  
    /* v8 premium polish */
    .btn {
      transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
    }

    .btn-primary {
      border: 0;
      color: #fff;
      background:
        linear-gradient(135deg, #17100b 0%, #7a551c 38%, #c7932e 72%, #df3448 100%);
      box-shadow: 0 18px 34px rgba(184,134,43,.24);
    }

    .btn-primary:hover {
      box-shadow: 0 22px 44px rgba(184,134,43,.30);
      filter: saturate(1.08);
    }

    .btn-ghost {
      background: rgba(255,255,255,.88);
      border: 1px solid rgba(184,134,43,.22);
      color: #7a551c;
      box-shadow: 0 12px 26px rgba(36,25,10,.06);
    }

    .btn-whatsapp {
      border: 0;
      background: linear-gradient(135deg, #14b875, #0f8f5d);
      color: #fff;
      box-shadow: 0 14px 28px rgba(15,143,93,.22);
    }

    .route-card {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-top: 20px;
      padding: 16px 18px;
      border-radius: 22px;
      background:
        radial-gradient(circle at 8% 10%, rgba(255,255,255,.24), transparent 32%),
        linear-gradient(135deg, #101a2a 0%, #173b5d 42%, #bb8628 100%);
      border: 1px solid rgba(255,255,255,.18);
      box-shadow: 0 20px 42px rgba(25,58,91,.20);
      color: #fff;
    }

    .route-label {
      flex: 0 0 auto;
      margin: 0;
      padding: 7px 12px;
      border-radius: 999px;
      background: rgba(255,255,255,.16);
      border: 1px solid rgba(255,255,255,.22);
      color: #fff;
      font-size: 13px;
      font-weight: 950;
      letter-spacing: .05em;
    }

    .route-steps {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      font-weight: 900;
      line-height: 1.5;
      color: rgba(255,255,255,.94);
    }

    .route-steps span {
      white-space: nowrap;
    }

    .route-steps i {
      font-style: normal;
      color: #ffe1a0;
      opacity: .95;
      font-weight: 950;
    }

    .market-image-card {
      border-color: rgba(48,154,224,.18);
      box-shadow: 0 18px 42px rgba(45,94,145,.10);
    }

    .feature-carousel {
      padding: 2px;
      border-radius: 24px;
      background:
        linear-gradient(135deg, rgba(48,154,224,.26), rgba(226,185,93,.22));
    }

    .carousel-viewport {
      border-radius: 22px;
      border: 1px solid rgba(255,255,255,.8);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 18px 42px rgba(45,94,145,.12);
    }

    .carousel-slide {
      background:
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    }

    .slide-chip {
      left: 18px;
      bottom: 18px;
      background: linear-gradient(135deg, rgba(16,26,42,.86), rgba(23,59,93,.82));
      border: 1px solid rgba(255,255,255,.18);
      box-shadow: 0 12px 26px rgba(16,26,42,.20);
    }

    .carousel-btn {
      background: linear-gradient(135deg, rgba(16,26,42,.88), rgba(23,59,93,.82));
      border: 1px solid rgba(255,255,255,.28);
    }

    .carousel-btn:hover {
      background: linear-gradient(135deg, #173b5d, #bb8628);
    }

    .carousel-controls {
      padding: 0 2px;
    }

    .carousel-status {
      padding: 7px 11px;
      border-radius: 999px;
      background: rgba(255,255,255,.76);
      border: 1px solid rgba(48,154,224,.13);
      color: #31516c;
    }

    .carousel-dot {
      width: 11px;
      height: 11px;
    }

    .carousel-hint {
      color: #506273;
      font-weight: 700;
    }

    .section-cta .btn {
      min-width: 220px;
      justify-content: center;
    }

    @media (max-width: 720px) {
      .route-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
      }

      .route-steps {
        gap: 8px;
        font-size: 14px;
      }

      .route-steps span {
        white-space: normal;
      }

      .slide-chip {
        left: 12px;
        bottom: 12px;
        font-size: 12px;
      }
    }

  
    /* v9 homepage cleanup */
    .hero-grid {
      gap: 28px;
    }

    .eyebrow {
      margin-bottom: 14px;
      font-size: 13px;
    }

    h1 {
      margin-bottom: 16px;
      max-width: 680px;
    }

    .title-kicker {
      margin-bottom: 6px;
    }

    .hero-desc {
      max-width: 620px;
      font-size: 17px;
      line-height: 1.7;
      margin-bottom: 18px;
    }

    .hero-points {
      gap: 10px;
      margin-bottom: 18px;
    }

    .hero-point {
      padding: 12px 14px;
      border-radius: 16px;
    }

    .hero-point span:last-child {
      font-size: 14px;
      line-height: 1.6;
      font-weight: 700;
    }

    .hero-actions {
      gap: 12px;
      margin-bottom: 16px;
    }

    .trust-line {
      gap: 10px;
      margin-top: 0;
    }

    .trust-badge {
      padding: 7px 12px;
      font-size: 15px;
    }

    .route-card {
      margin-top: 14px;
      padding: 14px 16px;
    }

    .route-steps {
      font-size: 14px;
    }

    .case-caption {
      margin-top: 10px;
      font-size: 13px;
      line-height: 1.6;
    }

    .panel-title {
      font-size: 13px;
    }

    .dash-title.market-image-title span:first-child {
      font-size: 14px;
      font-weight: 900;
    }

    .hero .btn {
      min-height: 46px;
    }

    @media (max-width: 720px) {
      .hero-desc {
        font-size: 15px;
      }

      .hero-point {
        padding: 10px 12px;
      }

      .hero-point span:last-child {
        font-size: 13px;
      }
    }

  
    .market-image-title {
      justify-content: flex-start;
    }

    .carousel-controls {
      margin-top: 10px;
    }
  
    .tool-positioning {
      margin: -8px 0 16px;
      color: #6f6254;
      font-size: 16px;
      line-height: 1.6;
      font-weight: 800;
      letter-spacing: .02em;
    }

    .floating-wa {
      background: #25D366;
      color: #fff;
      font-size: 0;
      box-shadow: 0 16px 34px rgba(37,211,102,.30);
    }

    .floating-wa svg {
      width: 31px;
      height: 31px;
      display: block;
    }

    .floating-wa:hover {
      background: #1ebe5d;
      transform: translateY(-2px);
    }

    @media (max-width: 720px) {
      .tool-positioning {
        font-size: 12px;
        margin-top: -4px;
      }
    }

/* Inline style cleanup */
.form-note--spaced {
  margin-top: 8px;
}

.submit-button--full {
  width: 100%;
}

/* Form Ajax message update */
.form-error {
  background: #fff1f3;
  border-color: rgba(223, 52, 72, .32);
  color: #bd2134;
}
