:root{
    --brand:#0C8A4B;
    --ink:#12212F;
    --text:#12212F;
    --dim:#6B7A88;
    --line:#DCE3EA;
    --line-soft:#EDF1F5;
    --surface:#FFFFFF;
    --surface-2:#F6F8FA;
    --accent:#12A75D;
    --ok:#0C8A4B;
    --danger:#B3261E;
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  html,body{height:100%;}
  body{font-family:'Inter',sans-serif;color:var(--text);background:var(--surface);display:flex;min-height:100vh;font-size:14px;}
  ::selection{background:rgba(18,167,93,.18);}

  /* ============ ЛЕВАЯ 30% ============ */
  .hero{
    flex:0 0 30%;min-width:290px;background:var(--brand);color:#fff;
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    padding:40px 28px;text-align:center;
  }
  .logo-plate{
    width:170px;height:170px;border-radius:30px;background:#fff;margin:0 auto;
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 22px 52px -24px rgba(0,0,0,.45);
  }
  .logo-plate img{width:132px;height:132px;object-fit:contain;display:block;}
  .wordmark-img{display:block;max-width:280px;width:100%;height:auto;margin-top:22px;}
  .wordmark{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:48px;letter-spacing:2px;line-height:1;margin-top:24px;}
  .rule{width:54px;height:3px;background:rgba(255,255,255,.5);border-radius:3px;margin:18px auto 16px;}
  .taglines{display:flex;flex-direction:column;gap:8px;}
  .taglines .tx{font-size:14.5px;line-height:1.45;color:#fff;}
  .taglines .tx.main{font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:16px;}
  .hero-foot{margin-top:30px;font-family:'JetBrains Mono',monospace;font-size:10.5px;color:rgba(255,255,255,.75);line-height:1.7;}
  .hero-foot a{color:#fff;text-decoration:none;font-weight:600;}

  .hero-reseller{margin-top:26px;padding:16px 18px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:14px;text-align:left;}
  .hero-reseller .hr-title{font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:14px;margin-bottom:6px;}
  .hero-reseller p{font-size:12.5px;line-height:1.5;color:rgba(255,255,255,.88);margin:0;}

  /* ============ ПРАВАЯ 70% ============ */
  .side{flex:1;background:var(--surface);display:flex;flex-direction:column;padding:28px 40px 32px;overflow-y:auto;}
  .side-top{display:flex;justify-content:space-between;align-items:center;gap:12px;}
  .have{font-size:13px;color:var(--dim);}
  .have a{color:var(--brand);font-weight:600;text-decoration:none;}
  .have a:hover{text-decoration:underline;}
  .lang{display:flex;gap:2px;background:var(--surface-2);border:1px solid var(--line);border-radius:10px;padding:2px;}
  .lang button{border:none;background:transparent;border-radius:8px;padding:6px 10px;cursor:pointer;font-family:'JetBrains Mono',monospace;font-size:11px;font-weight:600;color:var(--dim);}
  .lang button.on{background:var(--brand);color:#fff;}

  .form-wrap{flex:1;display:flex;flex-direction:column;justify-content:center;max-width:720px;width:100%;margin:0 auto;padding:24px 0;}
  h1{font-family:'Space Grotesk',sans-serif;font-size:26px;font-weight:600;}
  .sub{font-size:13.5px;color:var(--dim);margin-top:6px;line-height:1.5;}

  .seg{display:flex;gap:6px;margin-top:18px;}
  .seg button{
    flex:1;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:11px 14px;
    font-family:'Inter',sans-serif;font-size:13.5px;font-weight:600;color:var(--dim);cursor:pointer;transition:.15s ease;
  }
  .seg button.on{background:var(--brand);border-color:var(--brand);color:#fff;}

  .sec-h{font-family:'JetBrains Mono',monospace;font-size:10.5px;color:var(--dim);text-transform:uppercase;letter-spacing:.6px;margin:22px 0 10px;padding-bottom:8px;border-bottom:1px solid var(--line-soft);}
  .grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
  .field{display:flex;flex-direction:column;gap:6px;}
  .field.wide{grid-column:1 / -1;}
  .field label{font-family:'JetBrains Mono',monospace;font-size:10.5px;color:var(--dim);text-transform:uppercase;letter-spacing:.5px;}
  .field .hint{font-size:11.5px;color:var(--dim);line-height:1.4;}
  input{
    width:100%;background:var(--surface);border:1px solid var(--line);border-radius:10px;
    padding:11px 13px;font-family:'Inter',sans-serif;font-size:14px;color:var(--text);outline:none;
    transition:border-color .15s ease, box-shadow .15s ease;
  }
  input.mono{font-family:'JetBrains Mono',monospace;letter-spacing:.5px;}
  input::placeholder{color:#A9B5C0;letter-spacing:0;}
  input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(18,167,93,.18);}
  input.bad{border-color:var(--danger);box-shadow:0 0 0 3px rgba(179,38,30,.12);}
  .fe{color:var(--danger);font-size:11.5px;display:none;}
  .fe.on{display:block;}

  .agree{display:flex;align-items:flex-start;gap:9px;margin-top:18px;font-size:12.5px;color:var(--dim);line-height:1.5;cursor:pointer;}
  .agree input{width:16px;height:16px;accent-color:var(--brand);margin-top:1px;flex-shrink:0;}
  .agree a{color:var(--brand);font-weight:600;text-decoration:none;}

  .btn{
    margin-top:18px;border:none;background:var(--brand);color:#fff;font-family:'Inter',sans-serif;
    font-size:14.5px;font-weight:600;padding:13px 24px;border-radius:10px;cursor:pointer;transition:.15s ease;
  }
  .btn:hover{background:#0A7440;}
  .btn:active{transform:translateY(1px);}
  .btn.ghost{background:var(--surface);color:var(--text);border:1px solid var(--line);}
  .btn.ghost:hover{border-color:var(--brand);color:var(--brand);background:var(--surface);}
  .btns{display:flex;gap:8px;flex-wrap:wrap;}
  .done{
    display:none;margin-top:16px;background:rgba(12,138,75,.10);color:var(--ok);
    border-radius:10px;padding:12px 14px;font-size:13px;line-height:1.5;font-weight:500;
  }
  .done.on{display:block;}
  .note{font-size:12px;color:var(--dim);margin-top:14px;line-height:1.5;}

  button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}

  @media (max-width:1000px){
    .hero{flex:0 0 34%;}
    .logo-plate{width:140px;height:140px;border-radius:26px;}
    .logo-plate img{width:108px;height:108px;}
    .wordmark-img{display:block;max-width:280px;width:100%;height:auto;margin-top:22px;}
  .wordmark{font-size:40px;}
  }
  @media (max-width:860px){
    body{flex-direction:column;}
    .hero{flex:0 0 auto;min-width:0;flex-direction:row;gap:16px;text-align:left;padding:22px 20px;justify-content:flex-start;}
    .logo-plate{width:84px;height:84px;border-radius:18px;flex-shrink:0;margin:0;}
    .logo-plate img{width:64px;height:64px;}
    .wordmark-img{display:block;max-width:280px;width:100%;height:auto;margin-top:22px;}
  .wordmark{font-size:30px;margin-top:0;}
    .rule{margin:10px 0 8px;width:40px;}
    .taglines .tx{font-size:12px;}
    .taglines .tx.main{font-size:13px;}
    .hero-foot{display:none;}
    .hero-reseller{display:none;}
    .side{padding:20px;}
    .form-wrap{justify-content:flex-start;padding-top:10px;}
    .grid{grid-template-columns:1fr;}
    input{font-size:16px;padding:12px 13px;}
    .btn{width:100%;padding:14px 16px;}
  }
  @media (prefers-reduced-motion: reduce){*{transition:none!important;}}
