/* John Gems Premium Membership: Apply page (22 Nov 2026, Mukul, sheet PM-4; approved draft apply.html).
   Brand: John Gems N Jewels® cream page, chocolate header, gold; the clearer official logo (LG-1).
   Mukul's rule: clearly readable text at computer, iPad and phone sizes; no faint or thin text anywhere
   (weights 500+, dark colours, at least 14px for small text). */
@font-face{font-family:CG;src:url(fonts/cg-400.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:CG;src:url(fonts/cg-600.woff2) format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:IN;src:url(fonts/in-500.woff2) format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:IN;src:url(fonts/in-600.woff2) format('woff2');font-weight:600;font-display:swap}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{background:#f6efe4;font:500 16px/1.6 IN,system-ui,sans-serif;color:#24160d}
a{color:#6e4f17}
.boot{padding:40px;text-align:center}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Store menu (the johngems.com main menu, as on Loose Diamonds) */
.store{background:#fff;border-bottom:1px solid #e6dccb;padding:10px 24px;display:flex;gap:22px;font-size:15px;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}
.store a{color:#24160d;text-decoration:none;font-weight:600}
.store a:hover,.store a:focus{color:#6e4f17;text-decoration:underline}
/* Header: logo for dark backgrounds + the slogan */
.hd{background:#2a170d;padding:16px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.hd img{height:54px;width:auto;display:block}
.hd .sl{color:#f0d692;font:600 16px/1.3 IN,system-ui,sans-serif;letter-spacing:.18em;text-align:right}
.hd select{background:#2a170d;color:#f3dfb4;border:1px solid #8c6a2e;border-radius:999px;padding:6px 10px;font:600 14px IN,system-ui,sans-serif}
.hdr{display:flex;align-items:center;gap:16px}
.w{max-width:900px;margin:0 auto;padding:34px 22px 64px}
h1{font:400 48px/1.1 CG,Georgia,serif;margin-bottom:12px;color:#24160d}
h1 em{color:#7a5a1e;font-style:normal}
.lead{color:#3d2a1e;margin-bottom:22px;font-size:17px}
/* 22 Nov 2026 (Mukul, sheet PM-15): the price block (GBP 1,000 big, the UK price incl. VAT under it). */
.fee{display:flex;flex-direction:column;gap:2px;margin:4px 0 14px}
.fee b{font:600 44px/1.05 CG,Georgia,serif;color:#24160d}
.fee span{font-size:16px;font-weight:600;color:#5a3d14}
.steps{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}
.steps span{border:1px solid #c9b48f;border-radius:999px;padding:6px 14px;font-size:14px;font-weight:600;background:#fff;color:#3d2a1e}
.steps span.on{background:#2a170d;color:#f3dfb4;border-color:#2a170d}
.steps span.done{background:#efe2c4;border-color:#c9a96a}
.box{background:#fff;border:1px solid #e6dccb;border-radius:14px;padding:24px;margin-bottom:18px}
.box h2{font:600 24px/1.25 CG,Georgia,serif;margin-bottom:14px;color:#24160d}
.two{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px}
.full{grid-column:1/-1}
.f label{display:block;font-size:14px;font-weight:600;color:#3d2a1e;margin-bottom:5px}
.f label i{font-style:normal;font-weight:500;color:#5a4535}
.f input,.f select,.f textarea{width:100%;border:1.5px solid #c9b48f;border-radius:8px;min-height:46px;padding:10px 12px;background:#fffdf9;font:500 16px IN,system-ui,sans-serif;color:#24160d}
.f textarea{min-height:84px;resize:vertical}
.f input::placeholder,.f textarea::placeholder{color:#5a4535;opacity:1}
[dir=rtl] .f input[type=email],[dir=rtl] .f input[type=tel]{direction:ltr;text-align:right}
.f input:focus,.f select:focus,.f textarea:focus,.tog input:focus-visible,.tick input:focus-visible,.btn:focus-visible{outline:3px solid #c9a96a;outline-offset:2px}
.tog{display:flex;align-items:center;gap:10px;margin:18px 0 12px;font-weight:600;cursor:pointer}
.tog input,.tick input{width:22px;height:22px;accent-color:#7a5a1e;flex:none}
.up{border:1.5px dashed #b8955a;border-radius:10px;padding:16px;display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;background:#fffaf0}
.up b{display:block;font-size:16px}
.up small{display:block;color:#3d2a1e;font-size:14px}
.up .ok{color:#2f6a2f;font-weight:600;font-size:14px;margin-top:4px}
.up .bad{color:#9b2a1a;font-weight:600;font-size:14px;margin-top:4px}
.up label.btn{white-space:nowrap}
.up input[type=file]{position:absolute;width:1px;height:1px;opacity:0}
ol.t{padding-left:22px;color:#24160d}
ol.t li{margin-bottom:8px}
.tick{display:flex;gap:12px;align-items:flex-start;margin-top:14px;font-weight:600;cursor:pointer}
.btn{display:inline-block;background:#7a5a1e;color:#fff;border:0;border-radius:999px;padding:14px 30px;font:600 16px IN,system-ui,sans-serif;letter-spacing:.03em;text-decoration:none;cursor:pointer;text-align:center}
.btn:hover{background:#5f4515}
.btn.dark{background:#2a170d;color:#f3dfb4;padding:10px 18px;font-size:15px}
.btn.line{background:#fff;color:#24160d;border:1.5px solid #7a5a1e}
.btn[disabled]{opacity:.6;cursor:wait}
.actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.msg{font-weight:600;color:#9b2a1a;margin-top:10px}
.msg.good{color:#2f6a2f}
.next{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.next div{background:#fbf6ec;border-radius:10px;padding:14px;font-size:15px;color:#24160d}
.next b{display:block;color:#6e4f17;font-size:13px;letter-spacing:.18em;margin-bottom:4px}
.priv{font-size:14px;color:#3d2a1e;margin-top:10px}
.ben{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;list-style:none}
.ben li{padding-left:26px;position:relative}
.ben li:before{content:'';position:absolute;left:4px;top:.5em;width:10px;height:10px;border-radius:50%;background:#b8955a}
.note{font-size:15px;color:#3d2a1e;margin-top:12px}
.state{border-left:5px solid #b8955a}
.state p{margin-bottom:12px}
[dir=rtl] .hd .sl{text-align:left}
[dir=rtl] ol.t{padding-left:0;padding-right:22px}
[dir=rtl] .ben li{padding-left:0;padding-right:26px}
[dir=rtl] .ben li:before{left:auto;right:4px}
[dir=rtl] .state{border-left:1px solid #e6dccb;border-right:5px solid #b8955a}
/* Member card (22 Nov 2026, Mukul, PM-13): dark brown and gold, the slogan, name, Membership ID, member since and the
   store-credit end date. Every text 13px or larger and at least 4.5:1 contrast on #2a170d (test/premium.test.mjs). */
.mc{background:#2a170d;color:#fff8ea;border:1.5px solid #b8955a;border-radius:16px;padding:22px 26px;margin:6px 0 22px;max-width:560px;box-shadow:0 8px 22px rgba(42,23,13,.22)}
.mch{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-bottom:1px solid #8c6a2e;padding-bottom:10px}
.mcs{color:#f0d692;font:600 13px/1.3 IN,system-ui,sans-serif;letter-spacing:.16em}
.mcb{color:#f3dfb4;font:600 14px/1.3 CG,Georgia,serif;letter-spacing:.04em}
.mct{color:#f0d692;font:600 14px/1.3 IN,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;margin-top:14px}
.mcn{color:#fff8ea;font:400 32px/1.2 CG,Georgia,serif;margin:6px 0 16px;overflow-wrap:anywhere}
.mc dl{display:grid;grid-template-columns:repeat(3,auto);justify-content:start;gap:12px 28px}
.mc dt{color:#ead7ae;font:600 13px/1.3 IN,system-ui,sans-serif;letter-spacing:.06em;margin-bottom:2px}
.mc dd{color:#fff8ea;font:600 16px/1.4 IN,system-ui,sans-serif}
.mc dd.mcid{color:#f0d692;font:600 19px/1.3 IN,system-ui,sans-serif;letter-spacing:.08em;white-space:nowrap}
/* iPad */
@media (max-width:1023px){.w{max-width:760px}h1{font-size:42px}}
/* Phone */
@media (max-width:640px){
  .two,.next,.ben{grid-template-columns:1fr}
  h1{font-size:34px}
  .hd{flex-direction:column;padding:14px 16px;gap:10px;text-align:center}
  .hd img{height:44px}
  .hd .sl{text-align:center;letter-spacing:.14em}
  .hdr{flex-direction:column;gap:10px}
  .w{padding:24px 16px 48px}
  .box{padding:18px}
  .up{flex-direction:column;align-items:flex-start}
  .btn{width:100%}
  .store{padding:10px 16px;font-size:15px}
  .mc{padding:18px}
  .mcn{font-size:27px}
  .mc dl{grid-template-columns:1fr 1fr;gap:12px 18px}
  .mc dl .mcr:first-child:nth-last-child(odd){grid-column:1/-1}
}
