:root {
      --deep: #0d2831;
      --deep-2: #153843;
      --teal: #78999a;
      --teal-dark: #55797b;
      --green: #486d42;
      --sage: #aabd97;
      --sage-soft: #eef5ea;
      --ink: #101820;
      --muted: #607078;
      --line: rgba(13, 40, 49, .13);
      --white: #ffffff;
      --paper: #fbfdfb;
      --shadow: 0 28px 80px rgba(13, 40, 49, .12);
      --mono: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
      --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    }

    * { box-sizing: border-box; }
    html {
      scroll-behavior: smooth;
      overflow-x: hidden;
      -webkit-text-size-adjust: 100%;
      touch-action: pan-x pan-y pinch-zoom;
    }
    img, svg, video, canvas, pre { max-width: 100%; }
    body, .site-shell {
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
      touch-action: pan-x pan-y pinch-zoom;
    }
    body {
      margin: 0;
      font-family: var(--sans);
      color: var(--ink);
      background:
        radial-gradient(circle at 10% 8%, rgba(120, 153, 154, .20), transparent 26%),
        radial-gradient(circle at 86% 12%, rgba(170, 189, 151, .22), transparent 30%),
        linear-gradient(180deg, #fff 0%, #fbfdfb 48%, #fff 100%);
      overflow-x: hidden;
      overscroll-behavior-y: auto;
    }

    @supports (overflow: clip) {
      html, body, .site-shell { overflow-x: clip; }
    }

    body::selection { background: var(--sage); color: var(--deep); }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; }

    .site-shell { min-height: 100vh; position: relative; isolation: isolate; }

    .hero, .code-stage, .rain-field, .ascii-core, .mirc-window, .mirc-body {
      touch-action: pan-x pan-y pinch-zoom;
    }

    .noise {
      position: fixed;
      inset: 0;
      z-index: -3;
      pointer-events: none;
      opacity: .32;
      background-image:
        linear-gradient(rgba(13,40,49,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,40,49,.025) 1px, transparent 1px);
      background-size: 44px 44px;
      mask-image: linear-gradient(to bottom, #000, transparent 86%);
    }

    .container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

    header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, .82);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(13,40,49,.08);
    }

    .header-inner {
      min-height: 78px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: 190px;
    }

    .brand img {
      display: block;
      width: 186px;
      height: auto;
      object-fit: contain;
    }

    nav {
      display: flex;
      align-items: center;
      gap: 24px;
      color: var(--muted);
      font-weight: 760;
      font-size: 14px;
    }

    nav a { transition: color .2s ease; }
    nav a:hover { color: var(--deep); }

    .header-tools {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .lang-switch {
      display: flex;
      align-items: center;
      border: 1px solid rgba(13,40,49,.12);
      border-radius: 999px;
      background: white;
      box-shadow: 0 12px 30px rgba(13, 40, 49, .05);
      padding: 4px;
    }

    .lang-switch button {
      border: 0;
      background: transparent;
      color: var(--muted);
      padding: 8px 10px;
      border-radius: 999px;
      font-weight: 850;
      font-size: 12px;
      cursor: pointer;
      transition: .2s ease;
    }

    .lang-switch button.active {
      background: var(--deep);
      color: white;
      box-shadow: 0 8px 18px rgba(13,40,49,.16);
    }

    .top-cta {
      color: white;
      background: linear-gradient(135deg, var(--deep), var(--teal-dark));
      padding: 12px 16px;
      border-radius: 999px;
      font-weight: 860;
      box-shadow: 0 18px 38px rgba(13, 40, 49, .16);
      white-space: nowrap;
    }

    .hero {
      position: relative;
      padding: 82px 0 42px;
      overflow: hidden;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: .98fr 1.02fr;
      gap: 46px;
      align-items: center;
      position: relative;
      z-index: 2;
    }

    .hero-grid > *, .split > *, .chat-grid > *, .hero-copy, .code-stage, .mirc-window, .final-cta {
      min-width: 0;
      max-width: 100%;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      border: 1px solid rgba(72,109,66,.18);
      border-radius: 999px;
      background: rgba(255,255,255,.72);
      box-shadow: 0 12px 34px rgba(13,40,49,.06);
      color: var(--green);
      font-weight: 850;
      font-size: 13px;
    }

    .live-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 0 0 rgba(72,109,66,.45);
      animation: pulse 1.7s infinite;
    }

    @keyframes pulse {
      70% { box-shadow: 0 0 0 12px rgba(72,109,66,0); }
      100% { box-shadow: 0 0 0 0 rgba(72,109,66,0); }
    }

    h1 {
      margin: 22px 0 20px;
      font-size: clamp(42px, 6.4vw, 82px);
      line-height: .9;
      letter-spacing: -.078em;
      color: var(--deep);
      max-width: 820px;
    }

    h1 .accent {
      color: var(--teal-dark);
      position: relative;
      white-space: nowrap;
    }

    .lead {
      margin: 0 0 30px;
      max-width: 690px;
      color: #415058;
      font-size: 18px;
      line-height: 1.75;
      font-weight: 480;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      align-items: center;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 54px;
      padding: 0 22px;
      border-radius: 18px;
      border: 1px solid transparent;
      font-weight: 900;
      transition: .22s ease;
      cursor: pointer;
    }

    .btn:hover { transform: translateY(-2px); }
    .btn-primary {
      color: #fff;
      background: linear-gradient(135deg, var(--deep), var(--teal-dark));
      box-shadow: 0 22px 48px rgba(13,40,49,.20);
    }
    .btn-soft {
      color: var(--deep);
      background: #fff;
      border-color: rgba(13,40,49,.14);
      box-shadow: 0 16px 36px rgba(13,40,49,.06);
    }

    .trust-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 34px;
      max-width: 720px;
    }

    .trust-box {
      border: 1px solid rgba(13,40,49,.10);
      border-radius: 22px;
      background: rgba(255,255,255,.78);
      padding: 16px;
      box-shadow: 0 12px 34px rgba(13,40,49,.04);
    }

    .trust-box strong {
      display: block;
      font-size: 21px;
      color: var(--deep);
      letter-spacing: -.04em;
      margin-bottom: 4px;
    }
    .trust-box span { color: var(--muted); font-size: 13px; font-weight: 680; }

    .code-stage {
      width: 100%;
      min-height: 590px;
      position: relative;
      border-radius: 38px;
      background:
        radial-gradient(circle at 50% 42%, rgba(170,189,151,.32), transparent 38%),
        radial-gradient(circle at 30% 24%, rgba(120,153,154,.26), transparent 33%),
        rgba(255,255,255,.86);
      border: 1px solid rgba(13,40,49,.11);
      box-shadow: var(--shadow);
      overflow: hidden;
      isolation: isolate;
    }

    .code-stage::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent),
        linear-gradient(rgba(13,40,49,.05) 1px, transparent 1px);
      background-size: 240px 100%, 100% 22px;
      animation: scan 4s linear infinite;
      opacity: .32;
      z-index: 2;
      pointer-events: none;
    }

    @keyframes scan {
      to { background-position: 240px 0, 0 22px; }
    }

    .stage-top {
      position: relative;
      z-index: 5;
      height: 52px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 18px;
      border-bottom: 1px solid rgba(13,40,49,.10);
      color: var(--deep);
      background: rgba(255,255,255,.78);
      font-family: var(--mono);
      font-size: 12px;
      font-weight: 900;
    }

    .stage-dots { display: flex; gap: 7px; }
    .stage-dots i { width: 10px; height: 10px; border-radius: 999px; display: block; }
    .stage-dots i:nth-child(1) { background: var(--deep); }
    .stage-dots i:nth-child(2) { background: var(--teal); }
    .stage-dots i:nth-child(3) { background: var(--sage); }

    .rain-field {
      position: absolute;
      inset: 52px 0 0;
      overflow: hidden;
      z-index: 1;
      opacity: .96;
      mask-image: linear-gradient(to bottom, transparent 0%, black 9%, black 88%, transparent 100%);
    }

    .rain-col {
      position: absolute;
      top: -72%;
      font-family: var(--mono);
      color: var(--teal-dark);
      font-size: 13px;
      line-height: 1.12;
      white-space: pre;
      text-align: center;
      animation: rainFall linear infinite;
      text-shadow: 0 0 14px rgba(72,109,66,.42), 0 0 24px rgba(120,153,154,.22);
      will-change: transform;
    }
    .rain-col:nth-child(3n) { color: var(--green); }
    .rain-col:nth-child(4n) { color: var(--deep); opacity: .76; }

    @keyframes rainFall {
      to { transform: translateY(176%); }
    }

    .ascii-core {
      position: absolute;
      inset: 52px 0 0;
      z-index: 4;
      display: grid;
      place-items: center;
      padding: 24px;
      text-align: center;
      pointer-events: none;
      overflow: hidden;
    }

    .ascii-glow {
      position: absolute;
      width: 420px;
      height: 420px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(72,109,66,.16), transparent 68%);
      filter: blur(8px);
      animation: breathe 4.8s ease-in-out infinite;
    }
    @keyframes breathe { 50% { transform: scale(1.13); opacity: .58; } }

    .ascii-frame {
      position: relative;
      color: var(--deep);
      font-family: var(--mono);
      white-space: pre;
      font-size: clamp(7.6px, .92vw, 12.4px);
      line-height: 1.07;
      font-weight: 900;
      letter-spacing: .02em;
      text-shadow: 0 0 26px rgba(120,153,154,.20);
      animation: floatCore 6s ease-in-out infinite;
      overflow: hidden;
      transform: translate3d(0,0,0);
      will-change: transform;
      contain: layout paint;
    }
    @keyframes floatCore { 50% { transform: translate3d(0,-10px,0); } }

    .conversion-panel {
      position: absolute;
      z-index: 6;
      left: 22px;
      right: 22px;
      bottom: 22px;
      display: grid;
      gap: 9px;
      border: 1px solid rgba(13,40,49,.12);
      background: rgba(255,255,255,.86);
      border-radius: 24px;
      padding: 15px;
      box-shadow: 0 20px 50px rgba(13,40,49,.10);
      backdrop-filter: blur(12px);
      font-family: var(--mono);
      color: var(--deep);
      font-size: 12px;
      font-weight: 850;
    }

    .terminal-line {
      width: 0;
      max-width: 100%;
      overflow: hidden;
      white-space: nowrap;
      border-right: 2px solid var(--green);
      animation: terminalType 5.8s steps(76) infinite;
    }
    .terminal-line:nth-child(2) { animation-delay: .22s; color: var(--teal-dark); }
    .terminal-line:nth-child(3) { animation-delay: .44s; color: var(--green); }
    @keyframes terminalType {
      0% { width: 0; }
      45%, 78% { width: 100%; }
      100% { width: 0; }
    }

    .section { padding: 82px 0; position: relative; }
    .section-head { max-width: 840px; margin-bottom: 28px; }
    .kicker {
      color: var(--green);
      font-weight: 950;
      letter-spacing: .08em;
      text-transform: uppercase;
      font-size: 12px;
      margin-bottom: 12px;
    }
    h2 {
      margin: 0;
      color: var(--deep);
      font-size: clamp(34px, 4.4vw, 58px);
      line-height: .98;
      letter-spacing: -.06em;
    }
    .section-head p, .split-copy p {
      color: #485a62;
      font-size: 17px;
      line-height: 1.75;
      margin: 18px 0 0;
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }

    .card {
      min-height: 238px;
      padding: 25px;
      border: 1px solid rgba(13,40,49,.10);
      background: rgba(255,255,255,.84);
      border-radius: 30px;
      box-shadow: 0 18px 44px rgba(13,40,49,.06);
      position: relative;
      overflow: hidden;
    }
    .card::before {
      content: "";
      position: absolute;
      width: 170px;
      height: 170px;
      border-radius: 50%;
      right: -70px;
      top: -70px;
      background: radial-gradient(circle, rgba(170,189,151,.28), transparent 68%);
    }
    .card .num {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border-radius: 14px;
      color: white;
      background: linear-gradient(135deg, var(--deep), var(--teal-dark));
      font-weight: 950;
      margin-bottom: 20px;
      box-shadow: 0 12px 24px rgba(13,40,49,.16);
    }
    .card h3 { margin: 0 0 12px; color: var(--deep); font-size: 22px; letter-spacing: -.035em; }
    .card p { margin: 0; color: var(--muted); line-height: 1.68; }

    .split {
      display: grid;
      grid-template-columns: .92fr 1.08fr;
      gap: 34px;
      align-items: start;
    }

    .offer-list {
      display: grid;
      gap: 12px;
    }
    .offer-item {
      display: grid;
      grid-template-columns: 44px 1fr;
      gap: 14px;
      align-items: start;
      padding: 18px;
      border-radius: 24px;
      border: 1px solid rgba(13,40,49,.10);
      background: white;
      box-shadow: 0 12px 32px rgba(13,40,49,.045);
    }
    .offer-icon {
      width: 44px;
      height: 44px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      font-family: var(--mono);
      font-weight: 950;
      color: var(--deep);
      background: var(--sage-soft);
    }
    .offer-item strong { display: block; color: var(--deep); font-size: 17px; margin-bottom: 4px; }
    .offer-item span { color: var(--muted); line-height: 1.55; font-size: 14px; }

    .chat-section { padding-top: 70px; }
    .chat-grid {
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: 36px;
      align-items: center;
    }

    .mirc-window {
      border: 2px solid var(--deep);
      background: white;
      box-shadow: 13px 13px 0 rgba(13,40,49,.94), 0 30px 90px rgba(13,40,49,.10);
      font-family: var(--mono);
      overflow: hidden;
      border-radius: 2px;
    }

    .mirc-titlebar {
      height: 36px;
      background: linear-gradient(90deg, var(--deep), var(--teal-dark));
      color: white;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 0 10px;
      font-size: 12px;
      font-weight: 950;
      border-bottom: 2px solid var(--deep);
    }
    .mirc-titlebar > span:first-child {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .win-btns { display: flex; gap: 4px; }
    .win-btns span { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.92); line-height: 1; }

    .mirc-body { display: grid; grid-template-columns: 1fr 154px; min-height: 442px; }
    .chat-log {
      padding: 16px;
      background:
        linear-gradient(rgba(120,153,154,.06) 1px, transparent 1px), #fff;
      background-size: 100% 24px;
      border-right: 2px solid var(--deep);
      overflow-y: auto;
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
      touch-action: pan-y pinch-zoom;
      overscroll-behavior: contain;
      max-height: 442px;
      scroll-behavior: smooth;
    }
    .chat-log::-webkit-scrollbar { width: 9px; }
    .chat-log::-webkit-scrollbar-track { background: rgba(170,189,151,.18); }
    .chat-log::-webkit-scrollbar-thumb { background: rgba(13,40,49,.38); border-radius: 999px; }

    .chat-intro {
      min-height: 368px;
      display: grid;
      place-items: center;
      align-content: center;
      gap: 12px;
      text-align: center;
      color: var(--deep);
    }
    .chat-intro.hide { display: none; }
    .intro-ascii {
      margin: 0;
      max-width: 100%;
      color: var(--green);
      font-family: var(--mono);
      font-size: clamp(8px, 1.1vw, 12px);
      line-height: 1.05;
      white-space: pre;
      text-shadow: 0 0 18px rgba(72,109,66,.22);
      animation: introFlicker 1.5s steps(2) infinite, introFloat 3.6s ease-in-out infinite;
    }
    .intro-line {
      max-width: 420px;
      color: #405057;
      font-size: 12px;
      font-weight: 900;
      line-height: 1.55;
    }
    @keyframes introFlicker { 50% { opacity: .62; filter: blur(.2px); } }
    @keyframes introFloat { 50% { transform: translateY(-7px); } }

    .msg { margin: 0 0 12px; font-size: 13px; line-height: 1.58; color: #13242b; animation: msgIn .55s ease both; }
    .msg:nth-child(2) { animation-delay: .18s; }
    .msg:nth-child(3) { animation-delay: .36s; }
    .msg:nth-child(4) { animation-delay: .54s; }
    .msg:nth-child(5) { animation-delay: .72s; }
    .msg:nth-child(6) { animation-delay: .9s; }
    .msg:nth-child(7) { animation-delay: 1.08s; }
    @keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
    .sys { color: #738188; }
    .bot { color: var(--green); font-weight: 950; }
    .client { color: #485b9f; font-weight: 950; }
    .team { color: var(--teal-dark); font-weight: 950; }

    .user-panel { background: var(--sage-soft); padding: 12px; color: var(--deep); font-size: 12px; }
    .user-panel strong { display: block; margin-bottom: 11px; }
    .user-row { display: flex; gap: 7px; align-items: center; margin-bottom: 9px; color: #405057; }
    .status { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(72,109,66,.12); }
    .mirc-input { display: flex; gap: 8px; align-items: center; padding: 10px; border-top: 2px solid var(--deep); background: white; font-size: 13px; }
    .mirc-input input {
      flex: 1;
      min-width: 0;
      border: 0;
      outline: 0;
      background: transparent;
      color: #13242b;
      font-family: var(--mono);
      font-size: 13px;
      direction: auto;
    }
    .mirc-input input::placeholder { color: rgba(64,80,87,.72); }
    .mirc-send {
      border: 1px solid var(--deep);
      background: var(--sage-soft);
      color: var(--deep);
      padding: 7px 10px;
      font-family: var(--mono);
      font-weight: 950;
      cursor: pointer;
      box-shadow: 2px 2px 0 rgba(13,40,49,.20);
    }
    .mirc-send:hover { background: #fff; }
    .mirc-send:disabled { opacity: .55; cursor: wait; }
    .chat-hint {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 11px 12px 12px;
      border-top: 2px solid var(--deep);
      background:
        linear-gradient(90deg, rgba(170,189,151,.28), rgba(255,255,255,.92), rgba(120,153,154,.24));
      color: var(--deep);
      font-family: var(--mono);
      font-size: 12px;
      font-weight: 950;
      text-align: center;
      letter-spacing: .02em;
    }
    .hint-arrows {
      color: var(--green);
      white-space: nowrap;
      font-size: 16px;
      letter-spacing: 2px;
      animation: hintBlink .82s steps(2) infinite, hintBounce 1.15s ease-in-out infinite;
      text-shadow: 0 0 12px rgba(72,109,66,.28);
    }
    .hint-arrows:last-child { animation-delay: .2s; }
    @keyframes hintBlink { 50% { opacity: .25; } }
    @keyframes hintBounce { 50% { transform: translateY(-3px); } }

    .prompt { color: var(--green); font-weight: 950; }
    .cursor { display: inline-block; width: 8px; height: 15px; background: var(--green); vertical-align: -2px; margin-inline-start: 3px; animation: blink .9s steps(1) infinite; }
    @keyframes blink { 50% { opacity: 0; } }

    .final-cta {
      margin: 74px 0 84px;
      border-radius: 38px;
      background:
        radial-gradient(circle at 20% 30%, rgba(170,189,151,.24), transparent 32%),
        linear-gradient(135deg, var(--deep), #1a4651);
      color: white;
      padding: 46px;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 20px;
      align-items: center;
      box-shadow: 0 28px 88px rgba(13,40,49,.22);
      overflow: hidden;
      position: relative;
    }
    .final-cta::after {
      content: "$ → LEAD → SALE → CRM → $";
      position: absolute;
      right: 34px;
      bottom: 18px;
      color: rgba(255,255,255,.10);
      font-family: var(--mono);
      font-weight: 950;
      font-size: 22px;
      letter-spacing: .04em;
    }
    .final-cta h2 { color: white; max-width: 760px; }
    .final-cta p { color: rgba(255,255,255,.76); margin: 14px 0 0; max-width: 740px; line-height: 1.7; }
    .final-cta .btn { background: white; color: var(--deep); position: relative; z-index: 2; }

    footer {
      border-top: 1px solid rgba(13,40,49,.10);
      padding: 26px 0 38px;
      color: var(--muted);
      font-size: 14px;
    }
    .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

    [dir="rtl"] body { font-family: Tahoma, Arial, var(--sans); }
    [dir="rtl"] .hero-grid, [dir="rtl"] .split, [dir="rtl"] .chat-grid { direction: rtl; }
    [dir="rtl"] h1, [dir="rtl"] h2 { letter-spacing: -.035em; }
    [dir="rtl"] .lead, [dir="rtl"] .section-head p, [dir="rtl"] .split-copy p, [dir="rtl"] .card p, [dir="rtl"] .offer-item span { line-height: 1.95; }
    [dir="rtl"] .mirc-window, [dir="rtl"] .code-stage, [dir="rtl"] .conversion-panel, [dir="rtl"] .ascii-frame, [dir="rtl"] .rain-col { direction: ltr; text-align: left; }
    [dir="rtl"] .mirc-body { direction: ltr; }
    [dir="rtl"] .chat-log { direction: rtl; text-align: right; border-right: 0; border-left: 2px solid var(--deep); }
    [dir="rtl"] .msg { direction: rtl; }
    [dir="rtl"] .final-cta { direction: rtl; }
    [dir="rtl"] .final-cta::after { right: auto; left: 34px; }

    @media (max-width: 980px) {
      .hero-grid, .split, .chat-grid { grid-template-columns: 1fr; }
      .hero { padding-top: 54px; }
      .code-stage { min-height: 530px; }
      .cards { grid-template-columns: 1fr; }
      .final-cta { grid-template-columns: 1fr; padding: 34px; }
      .final-cta .btn { width: fit-content; }
      nav { display: none; }
    }
    @media (max-width: 680px) {
      .container { width: min(1180px, calc(100% - 24px)); }
      .header-inner { min-height: 74px; }
      .brand { min-width: 0; }
      .brand img { width: 146px; }
      .top-cta { display: none; }
      h1 { font-size: clamp(38px, 14vw, 58px); }
      .lead { font-size: 16px; }
      .trust-row { grid-template-columns: 1fr; }
      .hero-actions .btn { width: 100%; }
      .code-stage { min-height: 500px; border-radius: 28px; }
      .rain-field { opacity: 1; }
      .rain-col { font-size: 10px; line-height: 1.1; }
      .ascii-core { padding: 16px 10px 92px; align-items: center; }
      .ascii-frame { font-size: clamp(6px, 1.68vw, 7.2px); max-width: 100%; }
      .conversion-panel { left: 10px; right: 10px; bottom: 10px; font-size: 9.4px; border-radius: 18px; padding: 12px; }
      .terminal-line { animation-duration: 6.8s; }
      .section { padding: 58px 0; }
      .mirc-body { grid-template-columns: 1fr; }
      .user-panel { display: none; }
      .chat-log { border-right: 0; max-height: 430px; }
      [dir="rtl"] .chat-log { border-left: 0; }
      .intro-ascii { font-size: clamp(6px, 1.9vw, 8px); }
      .mirc-input { gap: 6px; }
      .mirc-send { padding: 7px 8px; }
      .chat-hint { font-size: 10px; gap: 6px; padding: 9px 8px 10px; }
      .hint-arrows { font-size: 13px; letter-spacing: 1px; }
      .mirc-window { box-shadow: 5px 5px 0 rgba(13,40,49,.94), 0 20px 48px rgba(13,40,49,.10); }
      .footer-row { align-items: flex-start; flex-direction: column; }
    }

    @media (max-width: 420px) {
      .header-tools { gap: 8px; }
      .lang-switch button { padding: 7px 8px; font-size: 11px; }
      .brand img { width: 132px; }
      h1 { font-size: clamp(34px, 13.5vw, 48px); }
      .code-stage { min-height: 470px; }
      .ascii-frame { font-size: clamp(5.35px, 1.56vw, 6.4px); }
      .conversion-panel { font-size: 8.8px; }
      .final-cta { padding: 28px 20px; border-radius: 28px; }
    }


/* Mobile pinch-zoom safety: during zoom, heavy animations are paused so the page keeps panning smoothly. */
html.is-zooming .rain-col,
html.is-zooming .ascii-frame,
html.is-zooming .terminal-line,
html.is-zooming .code-stage::before,
html.is-zooming .live-dot,
html.is-zooming .ascii-glow,
html.is-zooming .intro-ascii {
  animation-play-state: paused !important;
}
