  :root{
    --brand-red:#DA2128;
    --brand-red-deep:#B0161C;
    --olive:#6C7233;
    --olive-deep:#4E5324;
    --paper:#FBF8F2;
    --ink:#221F1F;
    --mist:#EAE6DB;
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  html,body{height:100%;}
  body{
    font-family:'Archivo',sans-serif;
    color:var(--ink);
    background:var(--paper);
  }

  /* ===== FULL PAGE OVERLAY ===== */
  .overlay{
    position:fixed;
    inset:0;
    z-index:9999;
    display:flex;
    flex-direction:column;
    background:var(--paper);
    overflow-y:auto;
  }

  /* ===== MIGRATION RIBBON ===== */
  .ribbon{
    background:var(--brand-red);
    color:#fff;
    padding:12px 24px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    flex-wrap:wrap;
    text-align:center;
    font-size:14.5px;
    font-weight:600;
    letter-spacing:.01em;
  }
  .ribbon .dot{
    width:9px;height:9px;border-radius:50%;
    background:#fff;
    animation:pulse 1.6s ease-in-out infinite;
    flex-shrink:0;
  }
  @keyframes pulse{
    0%,100%{transform:scale(1);opacity:1;}
    50%{transform:scale(1.35);opacity:.55;}
  }
  .ribbon a{
    color:#fff;
    font-weight:700;
    text-decoration:underline;
    text-underline-offset:3px;
  }
  @media (prefers-reduced-motion:reduce){
    .ribbon .dot{animation:none;}
  }

  /* ===== SPLIT LAYOUT ===== */
  .split{
    flex:1;
    display:grid;
    grid-template-columns:1.1fr 1fr;
    min-height:0;
  }

  /* ----- LEFT: brand + move notice ----- */
  .brand-side{
    background:var(--olive);
    color:var(--paper);
    padding:48px 64px 56px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:36px;
    position:relative;
    overflow:hidden;
  }
  .brand-side::after{
    content:"";
    position:absolute;
    right:-140px;
    bottom:-140px;
    width:420px;
    height:420px;
    border-radius:50%;
    border:56px solid rgba(218,33,40,.14);
    pointer-events:none;
  }
  .logo-plate{
    background:#fff;
    border-radius:14px;
    padding:16px 22px;
    display:inline-block;
    width:fit-content;
    box-shadow:0 6px 18px rgba(0,0,0,.18);
  }
  .logo-plate img{
    display:block;
    width:100%;
    max-width:330px;
    height:auto;
  }
  .move-block{max-width:540px;position:relative;z-index:1;}
  .move-block h1{
    font-family:'Fraunces',serif;
    font-weight:600;
    font-size:clamp(30px,3.4vw,44px);
    line-height:1.14;
    margin-bottom:18px;
  }
  .move-block p{
    font-size:16px;
    line-height:1.65;
    color:rgba(251,248,242,.9);
    margin-bottom:26px;
  }
  .new-url{
    display:inline-flex;
    align-items:center;
    gap:12px;
    background:var(--brand-red);
    color:#fff;
    font-family:'Fraunces',serif;
    font-weight:700;
    font-size:clamp(18px,1.9vw,23px);
    padding:16px 26px;
    border-radius:999px;
    text-decoration:none;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
    box-shadow:0 8px 26px rgba(0,0,0,.24);
  }
  .new-url:hover{background:var(--brand-red-deep);transform:translateY(-2px);box-shadow:0 12px 32px rgba(0,0,0,.3);}
  .new-url:focus-visible{outline:3px solid #fff;outline-offset:3px;}
  .new-url svg{flex-shrink:0;}
  .brand-foot{
    font-size:13px;
    color:rgba(251,248,242,.7);
    position:relative;
    z-index:1;
  }

  /* ----- RIGHT: auth card ----- */
  .auth-side{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:48px 40px;
  }
  .auth-card{
    width:100%;
    max-width:440px;
  }
  .auth-card .eyebrow-line{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:14px;
    color:var(--brand-red);
    font-weight:600;
    font-size:14px;
  }
  .auth-card .eyebrow-line svg{flex-shrink:0;}
  .auth-card h2{
    font-family:'Fraunces',serif;
    font-weight:600;
    font-size:30px;
    line-height:1.2;
    margin-bottom:10px;
  }
  .auth-card > p.lede{
    font-size:15px;
    line-height:1.6;
    color:#4A4F4B;
    margin-bottom:28px;
  }

  .tabs{
    display:grid;
    grid-template-columns:1fr 1fr;
    background:var(--mist);
    border-radius:12px;
    padding:5px;
    margin-bottom:26px;
  }
  .tab-btn{
    font-family:'Archivo',sans-serif;
    font-size:15px;
    font-weight:600;
    padding:11px 0;
    border:none;
    border-radius:9px;
    background:transparent;
    color:#5B605B;
    cursor:pointer;
    transition:background .15s ease,color .15s ease;
  }
  .tab-btn[aria-selected="true"]{
    background:#fff;
    color:var(--brand-red);
    box-shadow:0 2px 6px rgba(34,31,31,.10);
  }
  .tab-btn:focus-visible{outline:3px solid var(--brand-red);outline-offset:2px;}

  form{display:flex;flex-direction:column;gap:16px;}
  .field label{
    display:block;
    font-size:13.5px;
    font-weight:600;
    margin-bottom:6px;
    color:var(--ink);
  }
  .field input,.field select{
    width:100%;
    font-family:'Archivo',sans-serif;
    font-size:15px;
    padding:13px 15px;
    border:1.5px solid #CFC8B9;
    border-radius:10px;
    background:#fff;
    color:var(--ink);
    transition:border-color .15s ease, box-shadow .15s ease;
  }
  .field input:focus,.field select:focus{
    outline:none;
    border-color:var(--olive);
    box-shadow:0 0 0 3px rgba(108,114,51,.16);
  }
  .row-2{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
  .helper-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:13.5px;
  }
  .helper-row a{color:var(--brand-red);font-weight:600;text-decoration:none;}
  .helper-row a:hover{text-decoration:underline;}
  .check{
    display:flex;
    gap:10px;
    align-items:flex-start;
    font-size:13px;
    line-height:1.5;
    color:#4A4F4B;
  }
  .check input{margin-top:2px;accent-color:var(--brand-red);width:16px;height:16px;flex-shrink:0;}

  .submit-btn{
    font-family:'Archivo',sans-serif;
    font-size:16px;
    font-weight:700;
    color:#fff;
    background:var(--brand-red);
    border:none;
    border-radius:12px;
    padding:15px 0;
    cursor:pointer;
    transition:background .15s ease, transform .15s ease;
    margin-top:4px;
  }
  .submit-btn:hover{background:var(--brand-red-deep);transform:translateY(-1px);}
  .submit-btn:focus-visible{outline:3px solid var(--olive);outline-offset:3px;}

  .archive-note{
    margin-top:24px;
    padding:16px 18px;
    background:#F1EDE2;
    border-left:4px solid var(--olive);
    border-radius:0 10px 10px 0;
    font-size:13.5px;
    line-height:1.6;
    color:#3C423E;
  }
  .archive-note strong{color:var(--olive-deep);}

  .hidden{display:none;}

  /* ===== RESPONSIVE ===== */
  @media (max-width:900px){
    .split{grid-template-columns:1fr;}
    .brand-side{padding:36px 26px 48px;gap:30px;}
    .brand-side::after{width:300px;height:300px;border-width:40px;right:-120px;bottom:-120px;}
    .auth-side{padding:36px 22px 56px;}
    .move-block h1{font-size:30px;}
    .logo-plate img{max-width:270px;}
  }

  /* ===== ADDED FOR LIVE AUTH: messages, honeypot, spacing ===== */
  .gate-msg{
    border-radius:10px;
    padding:12px 14px;
    margin-bottom:18px;
    font-size:14px;
    line-height:1.5;
    font-weight:500;
  }
  .gate-msg.is-error{
    background:rgba(218,33,40,.08);
    border:1px solid rgba(218,33,40,.35);
    color:var(--brand-red-deep);
  }
  .gate-msg.is-success{
    background:rgba(108,114,51,.10);
    border:1px solid rgba(108,114,51,.38);
    color:var(--olive-deep);
  }
  .gate-msg ul{margin:0;padding-left:18px;}
  .gate-msg li{margin-top:4px;}
  .gate-msg li:first-child{margin-top:0;}
  .gate-msg p{margin:0;}

  .gate-hp{
    position:absolute !important;
    left:-9999px !important;
    width:1px;height:1px;
    overflow:hidden;
  }

  .field input[aria-invalid="true"],
  .field select[aria-invalid="true"]{
    border-color:var(--brand-red);
    background:rgba(218,33,40,.04);
  }

  .submit-btn[disabled]{opacity:.6;cursor:not-allowed;transform:none;}
