/* GST Register: the plain order pages ("lp"), /service/register-for-gst and
   /service/gst-cancellation, where the Google Ads traffic lands.

   Designed with Fable on 18 November 2026 from the old WooCommerce order page,
   which converted because it was only the order. These pages are the order and
   the five things a first-time buyer needs: what it is, what it costs, who
   lodges it, that nothing is charged yet, and a phone number. No menu, no guide
   content, no sticky bar.

   Loaded AFTER assets/site.css, which still supplies the tokens, fonts, reset
   and the form's own components. Everything here is either new (lp-*) or a
   resize scoped under body.lp, so it cannot reach the long pages. The form
   inside is the homepage's and /cancel-gst's own markup, copied in by
   scripts/build-order-pages.mjs, so ids and scripts are unchanged. */
body.lp{--lp-form:680px;--lp-rail:348px;--lp-gap:32px;--lp-pad:32px;
  background:var(--bg);color:var(--ink);line-height:1.55;font-size:16px}
body.lp a{color:var(--blue)}
.lp-wrap{max-width:calc(var(--lp-form) + var(--lp-rail) + var(--lp-gap) + 48px);margin:0 auto;padding:0 24px}
svg.i{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* ---- header: logo, agent badge, phone. No menu, no CTA button. ---- */
.lp-hdr{background:var(--navy);color:#fff}
.lp-hdr .lp-wrap{display:flex;align-items:center;gap:20px;min-height:68px}
.lp-hdr .logo{margin-right:auto;display:block;line-height:0}
.lp-hdr .logo img{height:36px;width:auto;display:block}
body.lp .lp-badge{display:inline-flex;align-items:center;gap:9px;font-size:13px;font-weight:700;color:#fff;text-decoration:none;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:7px 14px 7px 10px;white-space:nowrap}
.lp-badge svg{color:var(--yellow)}
.lp-badge span{color:var(--on-navy-hi);font-weight:600}
body.lp .lp-phone{display:inline-flex;flex-direction:column;align-items:flex-end;justify-content:center;min-height:44px;color:#fff;text-decoration:none;font-weight:800;font-size:18px;line-height:1.15;white-space:nowrap}
.lp-phone small{font-size:11.5px;font-weight:600;color:var(--on-navy);letter-spacing:.04em}
.lp-phone svg{display:none}
.lp-strip{display:none}

/* ---- top band: headline, price, one line of promise ---- */
.lp-top{background:linear-gradient(180deg,var(--navy) 0%,var(--navy2) 100%);color:#fff;padding:30px 0 96px}
.lp-top h1{font-size:40px;font-weight:800;line-height:1.1;letter-spacing:-.01em;color:#fff;text-wrap:balance}
.lp-priceline{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin-top:12px}
.lp-priceline .amt{font-family:var(--font-head);font-size:26px;font-weight:800;color:var(--yellow);line-height:1.1}
.lp-priceline .inc{font-size:15px;font-weight:600;color:var(--on-navy-hi)}
.lp-top .sub{margin-top:8px;font-size:17px;font-weight:600;color:#fff;max-width:56em;text-wrap:pretty}
body.lp .lp-top .sub a{color:var(--yellow);text-decoration:none;font-weight:800;padding:0 2px}

/* ---- main grid: the form is the page; the order summary rides beside it ---- */
.lp-main{margin-top:-72px;padding-bottom:8px}
.lp-grid{display:grid;grid-template-columns:minmax(0,var(--lp-form)) var(--lp-rail);gap:var(--lp-gap);align-items:start}
.lp-card{background:var(--card);border:1px solid var(--line);border-radius:20px;box-shadow:0 18px 48px rgba(0,20,45,.16);overflow:hidden}

/* stepper: four numbered steps and the padlock end-cap, driven by assets/lp.js */
.lp-steps{display:flex;list-style:none;background:var(--sky);border-bottom:1px solid var(--edge);padding:12px var(--lp-pad);gap:6px;margin:0}
.lp-steps li{flex:1;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--muted);min-width:0;white-space:nowrap}
.lp-steps li .n{flex:none;width:26px;height:26px;border-radius:50%;background:#fff;border:2px solid var(--edge);color:var(--muted);display:flex;align-items:center;justify-content:center;font-size:12.5px;font-weight:800}
.lp-steps li .n svg{width:13px;height:13px;stroke-width:2.6}
.lp-steps li.on{color:var(--navy)}
.lp-steps li.on .n{background:var(--yellow);border-color:var(--yellow);color:var(--navy)}
.lp-steps li.done{color:var(--navy)}
.lp-steps li.done .n{background:var(--navy);border-color:var(--navy);color:#fff}
.lp-steps li.pay{flex:0 0 auto}
.lp-steps li .t{overflow:hidden;text-overflow:ellipsis}

/* ---- the shared form, at the order page's size ---- */
body.lp .lp-card .form-card{border:0;border-radius:0;box-shadow:none;margin:0;background:transparent;overflow:visible}
body.lp #gst-progress{display:none}
body.lp .form-head{flex-direction:column;align-items:flex-start;gap:4px;padding:26px var(--lp-pad) 0}
body.lp .form-head .stepnum{order:-1;font-size:12px}
body.lp .form-head h2{font-size:25px;font-weight:800;line-height:1.2;color:var(--navy)}
body.lp .form-body{padding:18px var(--lp-pad) 28px}
body.lp .form-foot{padding:16px var(--lp-pad);gap:14px}
body.lp .form-foot .total b{font-size:22px}
body.lp .form-card label:not(.addon):not(.check):not(.opt):not(.extra):not(.pick),body.lp div.lab{font-size:15px;margin-bottom:6px;color:var(--ink)}
body.lp .form-card label .why{display:block;font-weight:500;font-size:13.5px;margin-top:1px;color:var(--muted)}
body.lp .form-card input[type=text],body.lp .form-card input[type=email],body.lp .form-card input[type=tel],
body.lp .form-card input[type=date],body.lp .form-card input[type=number],body.lp .form-card select{font-size:16px;min-height:52px;padding:12px 14px;border-radius:12px}
body.lp .form-card input[name=abn]{min-height:60px;font-size:18px;padding:14px 18px;border-radius:14px}
body.lp .field{margin-bottom:16px}
body.lp .fs-title{margin:22px 0 12px}
body.lp .note{font-size:14px;color:#3B4668}
body.lp .check{font-size:14.5px;color:#3B4668;font-weight:500;gap:12px;line-height:1.5}
body.lp .check input{width:24px;height:24px;margin-top:1px;flex:none}
body.lp .err{font-size:13.5px}
body.lp .btn{font-size:17px;padding:16px 28px;border-radius:14px;line-height:1.2}
body.lp .btn.ghost{font-size:15px;padding:12px 18px}
body.lp .callout{display:none}
body.lp .opt b{font-size:15.5px}
body.lp .opt small,body.lp .extra .desc{font-size:13.5px}
body.lp .extras{padding:18px}
body.lp .extra b{font-size:16.5px}
body.lp .extra .disc{width:44px;height:44px}
body.lp .sum .rowline{font-size:15px;padding:10px 0}
body.lp .rowline.tot .v{font-size:20px}
body.lp .offer b{font-size:17.5px}
body.lp .offer .desc{font-size:14.5px}
body.lp .offer-lead,body.lp .cb-lead{font-size:15.5px}
body.lp .pay-trust{font-size:14px}

/* step 1 reassurance row (in place of the homepage's small print) */
.lp-assure{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;list-style:none;margin:18px 0 0;padding:0}
.lp-assure li{display:flex;gap:9px;align-items:flex-start;font-size:14px;font-weight:600;color:#3B4668;line-height:1.35}
.lp-assure svg{color:var(--green)}
.lp-alt{margin-top:18px;padding-top:14px;border-top:1px solid var(--line);font-size:14.5px;color:var(--muted)}

/* ---- order summary rail ---- */
.lp-rail{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 18px 48px rgba(0,20,45,.10);padding:22px 22px 20px;position:sticky;top:16px}
.lp-rail .eyebrow{font-size:12px;font-weight:800;color:var(--blue);letter-spacing:.08em;text-transform:uppercase}
.lp-rail [data-sum]{margin-top:6px}
.lp-rail .rowline{font-size:14.5px;padding:9px 0}
.lp-rail .rowline:last-child{border-bottom:0}
.lp-rail .nopay{font-size:13.5px;color:var(--muted);font-weight:600;margin-top:8px}
body.lp[data-lp-stage=pay] .lp-rail .nopay{display:none}
.lp-rail ul.inc{list-style:none;margin:16px 0 0;padding:16px 0 0;border-top:1px solid var(--line)}
.lp-rail ul.inc li{display:flex;gap:10px;font-size:14.5px;font-weight:600;color:#232B45;padding:5px 0;line-height:1.4}
.lp-rail ul.inc svg{color:var(--green);margin-top:1px}
.lp-talk p{font-size:15px;color:#3B4668;margin-top:8px}
body.lp .lp-talk .tel{display:inline-flex;align-items:center;min-height:44px;font-family:var(--font-head);font-size:22px;font-weight:800;color:var(--navy);text-decoration:none}
.lp-talk small{display:block;font-size:13.5px;color:var(--muted);font-weight:600}
.lp-agent{display:flex;gap:12px;align-items:center;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.lp-agent img{height:74px;width:auto;flex:none}
.lp-agent p{font-size:13px;color:var(--muted);line-height:1.5}
.lp-agent b{display:block;color:var(--navy);font-size:14px}
.lp-secure{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--muted);margin-top:14px}
.lp-secure svg{width:16px;height:16px}

/* footnote under the grid */
.lp-ast{font-size:13px;color:var(--muted);line-height:1.6;margin-top:18px;max-width:var(--lp-form)}

/* ---- trust row, FAQ, footer ---- */
.lp-trust{margin-top:36px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.lp-trust div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 18px}
.lp-trust b{display:block;font-family:var(--font-head);font-size:20px;font-weight:800;color:var(--navy);line-height:1.2}
.lp-trust span{display:block;font-size:13.5px;color:var(--muted);font-weight:600;margin-top:3px;line-height:1.4}
.lp-faq{margin-top:44px;max-width:var(--lp-form)}
.lp-faq h2{font-size:24px;font-weight:800;color:var(--navy);margin-bottom:12px}
.lp-faq details{border-bottom:1px solid var(--line)}
.lp-faq details:first-of-type{border-top:1px solid var(--line)}
.lp-faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:16.5px;font-weight:700;padding:16px 2px;min-height:56px;color:var(--ink)}
.lp-faq summary::-webkit-details-marker{display:none}
.lp-faq summary::after{content:"+";font-size:24px;font-weight:500;color:var(--blue);line-height:1;flex:none}
.lp-faq details[open] summary::after{content:"\2212"}
.lp-faq .a{padding:0 2px 18px;font-size:15.5px;color:#3B4668;max-width:40em}
.lp-faq .a p+p{margin-top:8px}
.lp-help{margin-top:28px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;font-size:15.5px;font-weight:600;color:#3B4668}
body.lp .lp-help a.tel{font-family:var(--font-head);font-size:20px;font-weight:800;color:var(--navy);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.lp-ftr{background:var(--navy);color:var(--on-navy);margin-top:56px;padding:30px 0 34px;font-size:13px;line-height:1.65}
.lp-ftr .top{display:flex;flex-wrap:wrap;gap:16px 28px;align-items:center}
.lp-ftr .top img.logo{height:26px;width:auto}
.lp-ftr .top img.tpb{height:84px;width:auto}
.lp-ftr .who{flex:1 1 320px;color:var(--on-navy-hi)}
body.lp .lp-ftr a{color:var(--on-navy-hi)}
.lp-ftr nav{display:flex;flex-wrap:wrap;gap:4px 20px;margin-top:16px;padding-top:16px;border-top:1px solid rgba(255,255,255,.12)}
.lp-ftr nav a{display:inline-flex;align-items:center;min-height:44px;font-weight:600;text-decoration:none}
.lp-ftr .legal{margin-top:10px;color:var(--on-navy);max-width:88ch}
.lp-ftr .legal b{color:var(--on-navy-hi)}

/* ---- tablet and phone ---- */
@media(max-width:1060px){
  .lp-grid{grid-template-columns:minmax(0,1fr)}
  .lp-wrap{max-width:calc(var(--lp-form) + 48px)}
  .lp-rail{position:static;box-shadow:none}
  /* the form above already shows the itemised total (lp.js sets the stage) */
  body.lp[data-lp-stage] .lp-rail .sumhead,
  body.lp[data-lp-stage] .lp-rail [data-sum],
  body.lp[data-lp-stage] .lp-rail .nopay{display:none}
  body.lp[data-lp-stage] .lp-rail ul.inc{margin-top:0;padding-top:0;border-top:0}
  .lp-trust{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  body.lp{--lp-pad:18px}
  .lp-wrap{padding:0 14px}
  .lp-hdr .lp-wrap{min-height:56px;gap:10px}
  .lp-hdr .logo img{height:25px}
  body.lp .lp-badge{display:none}
  body.lp .lp-phone{font-size:16px;flex-direction:row;align-items:center;gap:7px;padding:0 2px}
  .lp-phone small{display:none}
  .lp-phone svg{display:block;width:18px;height:18px;color:var(--yellow)}
  .lp-strip{display:flex;align-items:center;justify-content:center;gap:7px;background:var(--navy-step);color:var(--on-navy-hi);font-size:12.5px;font-weight:700;padding:6px 10px;text-align:center}
  .lp-strip svg{width:15px;height:15px;color:var(--yellow)}
  .lp-strip b{color:#fff}
  .lp-top{padding:16px 0 62px}
  .lp-top h1{font-size:26px}
  .lp-priceline{margin-top:6px;gap:2px 10px}
  .lp-priceline .amt{font-size:21px}
  .lp-priceline .inc{font-size:13.5px}
  .lp-top .sub{font-size:14.5px;margin-top:5px;line-height:1.4}
  .lp-main{margin-top:-50px}
  .lp-card,.lp-rail{border-radius:16px}
  .lp-steps{padding:10px 12px;gap:2px;justify-content:space-between}
  .lp-steps li{flex:0 0 auto;gap:6px;font-size:12.5px}
  .lp-steps li .t{display:none}
  .lp-steps li.on .t{display:inline}
  .lp-steps li:not(:last-child)::after{content:"";width:14px;height:2px;background:var(--edge);margin-left:2px}
  .lp-steps li.on:not(:last-child)::after{display:none}
  body.lp .form-head{padding-top:18px}
  body.lp .form-head h2{font-size:21px}
  body.lp .form-body{padding:14px var(--lp-pad) 22px}
  .lp-assure{grid-template-columns:1fr;gap:8px;margin-top:14px}
  body.lp .form-foot{flex-wrap:wrap;gap:6px 12px;padding:12px var(--lp-pad) 16px}
  body.lp .form-foot .btn{flex:1 1 100%;order:3}
  body.lp .extras{padding:14px 12px}
  .lp-trust{gap:10px;margin-top:26px}
  .lp-trust div{padding:13px 14px}
  .lp-trust b{font-size:17px}
  .lp-faq{margin-top:34px}
  .lp-faq h2{font-size:21px}
  .lp-ftr{margin-top:40px;padding-bottom:70px}
}
@media(max-width:374px){.lp-top h1{font-size:24px}body.lp .lp-phone{font-size:15px}}

/* ---- the split test on /service/register-for-gst (assets/lp-test.js) ----
   The page carries two versions and <html data-lpv> says which one this
   visitor sees: "upfront" (A, the page as designed above) or "completion" (B,
   the same page with no price until the form is completed). Each version's own
   parts carry lpv-upfront or lpv-completion, and the other version's are
   display:none, so they are neither seen nor read out. With no data-lpv (no
   JavaScript) the page is version A. */
html:not([data-lpv="completion"]) .lpv-completion{display:none!important}
html[data-lpv="completion"] .lpv-upfront{display:none!important}

/* Version B holds back the base price and the total until the form is
   completed: the payment panel is where they first appear. That means the
   form's own itemised total on its last step and the total in its footer bar.
   The extras keep their prices where they are chosen. The total's text is
   still kept up to date in the page, so the order still records what the form
   priced and the price check in api/order-checkout.js still runs. */
html[data-lpv="completion"] #gst-form .sum,
html[data-lpv="completion"] #sum-none,
html[data-lpv="completion"] #gst-foot .total{display:none!important}
/* In version B the checklist sits straight under "Your registration", with no total above it. */
html[data-lpv="completion"] .lp-rail ul.inc{margin-top:8px;padding-top:0;border-top:0}
