  :root {
    --navy: #0b2b5c;
    --navy-deep: #061a3a;
    --blue: #1565d8;
    --blue-ink: #1553b4;
    --blue-light: #e8f1ff;
    --yellow: #f5c13d;
    --yellow-hover: #f7cb55;
    --green-ink: #127036;
    --green-light: #e7f7ee;
    --red-ink: #b91c1c;
    --red-light: #fdecec;
    --gold-ink: #7a5900;
    --bg: #f3f6fb;
    --line: #e3e9f2;
    --line-strong: #c9d3e1;
    --ink: #0f2547;
    --ink-2: #3f5372;
    --ink-3: #556377;
    --ink-4: #7d8da3;

    --font-display: 'Poppins', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --r-md: 14px;
    --ring: 0 0 0 4px rgba(21, 101, 216, 0.16);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --panel-w: clamp(440px, 36vw, 560px);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { height: 100%; }
  body {
    font-family: var(--font-body); color: var(--ink); background: var(--navy-deep);
    font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01';
  }
  button, input { font: inherit; color: inherit; }
  button { cursor: pointer; border: 0; background: none; }
  a { color: var(--blue-ink); text-decoration: none; }
  a:hover { text-decoration: underline; text-underline-offset: 3px; }
  :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  /* ============ LAYOUT ============ */
  .page { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1fr var(--panel-w); position: relative; isolation: isolate; overflow-x: clip; }

  /* ---------- Photo ---------- */
  .hero {
    position: fixed; inset: 0 calc(var(--panel-w) - 90px) 0 0; z-index: -1; overflow: hidden;
    background: var(--navy) url("data:image/jpe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/Q/r1qKa9s7q6kS4lmXagwBk4P4DqMfXk9DWjqPZMmNJaNrQt6TfPdmRbqFYCh+8TgH0HPXvzRTbX7Nc28sUSgrCWCuBhuASM57UVcNVqzOs1GWi0KVtFPGjrb3B3cSSKRhT8u7Pfnp25xVYahLYtJZ8SkOVKt91SD255H4UUVzSilI6rtq5cvtXktkhR0XzGT/lngKO3HHt/KqNpNaNKjpHIXB+ZmPqCCePc/kPc0UVL2KW5Pp92baQQ2qgsHDMXwCRnpuA+mTjvjjAoooppsTSP/2Q==") center / cover no-repeat;
  }
  .hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero img { object-fit: cover; object-position: 78% 50%; opacity: 0; transition: opacity 0.6s var(--ease), transform 8s var(--ease); transform: scale(1.04); }
  .hero img.ok { opacity: 1; transform: none; }
  .hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
      linear-gradient(90deg, rgba(6, 26, 58, 0.82) 0%, rgba(6, 26, 58, 0.5) 32%, rgba(6, 26, 58, 0) 58%),
      linear-gradient(0deg, rgba(6, 26, 58, 0.7) 0%, rgba(6, 26, 58, 0) 42%),
      linear-gradient(180deg, rgba(6, 26, 58, 0.45) 0%, rgba(6, 26, 58, 0) 22%);
  }

  /* ---------- Left: brand story ---------- */
  .story {
    color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
    padding: clamp(32px, 4vw, 56px) clamp(32px, 5vw, 72px); min-width: 0;
  }
  .brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; width: max-content; }
  .brand:hover { text-decoration: none; }
  .logo { width: 64px; height: 46px; flex: none; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35)); }
  .brand-nm { font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -0.5px; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35); }
  .brand-nm b { color: var(--yellow); font-weight: 800; }
  .brand-bs { font-size: 12px; color: rgba(255, 255, 255, 0.86); margin-top: 5px; letter-spacing: 0.02em; }

  .pitch { max-width: 560px; }
  .pitch h1 {
    font-family: var(--font-display); font-size: clamp(34px, 3.6vw, 54px); font-weight: 800; line-height: 1.08; letter-spacing: -1px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35); text-wrap: balance;
  }
  .pitch h1 em { font-style: normal; color: var(--yellow); }
  .pitch p { font-size: 15px; color: rgba(255, 255, 255, 0.9); margin-top: 16px; line-height: 1.65; max-width: 480px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4); }
  .stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .stat {
    padding: 12px 16px; border-radius: 14px; min-width: 128px;
    background: rgba(6, 26, 58, 0.42); border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
  }
  .stat b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
  .stat span { font-size: 11px; color: rgba(255, 255, 255, 0.84); letter-spacing: 0.04em; text-transform: uppercase; }
  .slogan { font-size: 15px; color: rgba(255, 255, 255, 0.84); direction: rtl; width: max-content; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }

  /* ---------- Right: form panel ---------- */
  .panel {
    position: relative; background: #fff; display: flex; flex-direction: column; justify-content: center;
    padding: 48px clamp(32px, 4vw, 64px) 28px; min-height: 100vh; min-height: 100svh;
    box-shadow: -30px 0 80px -30px rgba(6, 26, 58, 0.5); overflow-y: clip;
  }
  .panel::before {
    content: ''; position: absolute; z-index: -1; background: #fff; border-radius: 50%;
    left: -64px; top: -10%; width: 180px; height: 120%;
  }
  .form-wrap { width: 100%; max-width: 380px; margin: auto; }
  .m-brand { display: none; }

  .secure {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px;
    background: var(--green-light); color: var(--green-ink); font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  }
  .secure .i { width: 13px; height: 13px; stroke-width: 2.4; }
  .panel h2 { font-family: var(--font-display); font-size: clamp(24px, 2vw, 30px); font-weight: 700; color: var(--navy); letter-spacing: -0.4px; line-height: 1.2; margin-top: 18px; }
  .lead { font-size: 14px; color: var(--ink-3); margin-top: 8px; line-height: 1.6; }

  form { margin-top: 26px; display: grid; gap: 14px; }
  .field { position: relative; }
  .field .i-l { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-4); pointer-events: none; transition: color 0.2s; }
  .field input {
    width: 100%; height: 56px; padding: 20px 48px 6px 50px; border-radius: var(--r-md);
    border: 1.5px solid var(--line-strong); background: #f8fafd; font-size: 15px; font-weight: 500; color: var(--ink);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; outline: none;
  }
  .field input:hover { border-color: #aebbd0; }
  .field input:focus { border-color: var(--blue); background: #fff; box-shadow: var(--ring); }
  .field label {
    position: absolute; left: 50px; top: 50%; transform: translateY(-50%); transform-origin: left center;
    font-size: 15px; color: var(--ink-3); pointer-events: none; transition: transform 0.18s var(--ease), color 0.18s;
  }
  .field input:focus + label, .field input:not(:placeholder-shown) + label { transform: translateY(-118%) scale(0.76); color: var(--ink-2); font-weight: 600; }
  .field input:focus + label { color: var(--blue-ink); }
  .field:focus-within .i-l { color: var(--blue); }
  .field .eye {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 10px;
    display: grid; place-items: center; color: var(--ink-3); transition: background 0.2s, color 0.2s;
  }
  .field .eye:hover { background: var(--bg); color: var(--ink); }
  .field .eye .off, .field .eye[aria-pressed='true'] .on { display: none; }
  .field .eye[aria-pressed='true'] .off { display: block; }
  .field.err input { border-color: var(--red-ink); background: #fff; }
  .field.err input:focus { box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.14); }
  .field.err .i-l { color: var(--red-ink); }
  .msg { display: none; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; margin-top: 6px; color: var(--red-ink); }
  .msg .i { width: 14px; height: 14px; }
  .field.err + .msg, .msg.show { display: flex; }
  .msg.caps { color: var(--gold-ink); }

  .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ink); user-select: none; }
  .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .check .box {
    width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-strong); background: #fff;
    display: grid; place-items: center; transition: 0.15s; flex: none;
  }
  .check .box .i { width: 13px; height: 13px; stroke-width: 3.2; color: #fff; opacity: 0; transform: scale(0.6); transition: 0.15s; }
  .check input:checked + .box { background: var(--blue); border-color: var(--blue); }
  .check input:checked + .box .i { opacity: 1; transform: none; }
  .check input:focus-visible + .box { box-shadow: var(--ring); border-color: var(--blue); }
  .link { font-size: 14px; font-weight: 600; color: var(--blue-ink); }

  .btn {
    position: relative; height: 56px; width: 100%; border-radius: var(--r-md); margin-top: 6px;
    background: var(--yellow); color: var(--navy); font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: 0.06em;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 10px 24px -10px rgba(224, 169, 31, 0.9), inset 0 -2px 0 rgba(0, 0, 0, 0.08);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  }
  .btn:hover { background: var(--yellow-hover); box-shadow: 0 14px 28px -10px rgba(224, 169, 31, 0.95), inset 0 -2px 0 rgba(0, 0, 0, 0.08); }
  .btn:active { transform: translateY(1px); }
  .btn .i { width: 18px; height: 18px; stroke-width: 2.4; transition: transform 0.2s; }
  .btn:hover .i { transform: translateX(3px); }
  .btn .spin { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(11, 43, 92, 0.25); border-top-color: var(--navy); animation: spin 0.7s linear infinite; }
  .btn[aria-busy='true'] { pointer-events: none; }
  .btn[aria-busy='true'] .spin { display: block; }
  .btn[aria-busy='true'] .i { display: none; }
  @keyframes spin { to { transform: rotate(360deg); } }

  .alert { display: none; gap: 10px; padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
  .alert.show { display: flex; }
  .alert .i { width: 18px; height: 18px; margin-top: 1px; }
  .alert-err { background: var(--red-light); color: var(--red-ink); }
  .alert-ok { background: var(--green-light); color: var(--green-ink); }

  .note {
    display: flex; gap: 10px; margin-top: 22px; padding: 13px 14px; border-radius: 12px;
    background: var(--bg); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); line-height: 1.55;
  }
  .note .i { width: 18px; height: 18px; color: var(--blue); margin-top: 1px; }
  .note b { color: var(--ink); font-weight: 600; }
  .stores { display: flex; gap: 8px; margin-top: 10px; }
  .store {
    display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 10px;
    background: var(--navy); color: #fff; font-size: 12px; font-weight: 600;
  }
  .store:hover { background: var(--navy-deep); text-decoration: none; }
  .store .i { width: 15px; height: 15px; color: #fff; margin: 0; }

  .view[hidden] { display: none; }
  .back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
  .back .i { width: 16px; height: 16px; }
  .back:hover { color: var(--ink); }

  .foot { margin-top: 28px; text-align: center; font-size: 12px; color: var(--ink-3); }
  .foot a { color: var(--ink-2); font-weight: 600; }

  /* ============ TABLET / MOBILE ============ */
  @media (max-width: 980px) {
    .page { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .hero { position: absolute; inset: 0 0 auto 0; height: 50svh; min-height: 340px; }
    .hero img { transition: opacity 0.6s var(--ease); }
    .hero img { object-position: 72% 40%; }
    .hero::after {
      background:
        linear-gradient(180deg, rgba(6, 26, 58, 0.62) 0%, rgba(6, 26, 58, 0.25) 38%, rgba(6, 26, 58, 0) 62%),
        linear-gradient(0deg, rgba(6, 26, 58, 0.35) 0%, rgba(6, 26, 58, 0) 30%);
    }
    .story { height: 44svh; min-height: 300px; padding: max(24px, env(safe-area-inset-top)) 24px 56px; align-items: center; justify-content: flex-start; text-align: center; gap: 8px; }
    .brand { flex-direction: column; gap: 6px; margin: 0 auto; }
    .logo { width: 84px; height: 60px; }
    .brand-nm { font-size: 44px; }
    .brand-bs, .pitch p, .stats, .slogan { display: none; }
    .pitch { max-width: none; }
    .pitch h1 { font-size: clamp(19px, 5vw, 26px); font-weight: 600; letter-spacing: 0; line-height: 1.2; }
    .pitch h1 br { display: none; }
    .pitch h1 em { color: #fff; }

    .panel {
      min-height: 0; border-radius: 0; box-shadow: none; padding: 8px 24px max(24px, env(safe-area-inset-bottom));
      margin-top: -1px; text-align: center; overflow: visible;
    }
    .panel::before { left: -15%; top: -44px; width: 130%; height: 110px; }
    .secure { display: none; }
    .panel h2 { margin-top: 0; font-size: clamp(24px, 6.4vw, 30px); }
    form { text-align: left; margin-top: 22px; }
    .row { justify-content: flex-start; }
    .row .link { order: 3; width: 100%; text-align: center; margin-top: 14px; }
    .note { text-align: left; }
    .stores { flex-wrap: wrap; }
  }
  @media (max-width: 980px) and (min-width: 641px) {
    .form-wrap { max-width: 440px; }
  }
  @media (max-width: 380px) {
    .panel { padding-left: 18px; padding-right: 18px; }
    .field input { height: 52px; }
    .btn { height: 52px; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  }
