/* NG Digital — order page. Builds on home.css tokens, buttons, nav and footer. */
.order-page .nav { position: sticky; top: 0; }
.order-links { margin-left: auto; }
.secure-tag { display: none; align-items: center; gap: 8px; margin-left: auto; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 .74rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.lock { position: relative; width: 10px; height: 8px; border-radius: 2px; background: var(--lime); margin-top: 4px; }
.lock::before { content: ""; position: absolute; left: 1.5px; top: -6px; width: 7px; height: 7px; border: 1.5px solid var(--lime); border-bottom: 0; border-radius: 5px 5px 0 0; box-sizing: border-box; }
@media (min-width: 560px) { .secure-tag { display: inline-flex; } }
@media (min-width: 900px) { .secure-tag { margin-left: 0; } }

.order {
  position: relative; isolation: isolate; overflow: clip;
  width: min(1240px, 100%); margin-inline: auto; padding: 36px var(--gutter) 90px;
  display: grid; gap: 28px;
  grid-template-areas: "head" "pay" "details";
}
.order-glow { position: absolute; z-index: -1; right: -200px; top: -160px; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, rgb(198 255 61 / .22), transparent 62%); filter: blur(60px); pointer-events: none; }
.order-head { grid-area: head; }
.pay-card { grid-area: pay; }
.order-details { grid-area: details; display: grid; gap: 28px; }

.order-head h1 { margin-top: 20px; font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: .95; letter-spacing: -0.05em; font-weight: 850; }
.order-sub { margin-top: 18px; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--fg-2); max-width: 46ch; }
.order-jump { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--fg); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; }
.order-jump #hero-price { color: var(--lime); }
@media (min-width: 1000px) { .order-jump { display: none; } }

/* Payment card */
.pay-card {
  position: relative; align-self: start; padding: 28px 24px 24px; border-radius: var(--r-lg);
  border: 1px solid transparent;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, linear-gradient(160deg, var(--lime), rgb(198 255 61 / .06) 40%, var(--line-2)) border-box;
  box-shadow: 0 50px 100px -50px var(--lime-glow), 0 30px 60px -30px rgb(0 0 0 / .8);
}
.pay-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pay-step { font: 600 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.pay-tag { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 .7rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.launching { margin-top: 18px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgb(198 255 61 / .35); background: var(--lime-soft); }
.launching[hidden] { display: none; }
.launching-k { font: 600 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.launching-name { margin-top: 8px; font: 800 1.2rem/1.2 var(--f-display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.launching-link { display: inline-block; margin-top: 8px; color: var(--fg-2); font-size: .88rem; font-weight: 600; text-decoration: none; }
.launching-link:hover { color: var(--lime); }
.pay-card h2 { margin-top: 18px; font-size: 1.5rem; letter-spacing: -0.03em; max-width: none; }
.order-price { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 20px; font: 900 clamp(3.6rem, 8vw, 4.8rem)/.85 var(--f-display); letter-spacing: -0.06em; }
.order-price span { font: 500 .95rem/1 var(--f-body); letter-spacing: 0; color: var(--muted); }
.pay-list { list-style: none; margin: 0 0 22px; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.pay-list li { display: flex; gap: 12px; color: var(--fg-2); font-size: .95rem; }
.pay-list li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lime-soft); color: var(--lime); font-size: .75rem; font-weight: 900; }

.terms-check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgb(0 0 0 / .3); font-size: .9rem; color: var(--fg-2); cursor: pointer; transition: border-color .2s; }
.terms-check:hover { border-color: var(--fg-2); }
.terms-check a { color: var(--fg); }
.terms-check input { flex: none; appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; border: 1.5px solid var(--fg-2); background: transparent; display: grid; place-items: center; cursor: pointer; transition: all .2s; }
.terms-check input::after { content: ""; width: 10px; height: 6px; border: 2.5px solid var(--ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.terms-check input:checked { background: var(--lime); border-color: var(--lime); }
.terms-check input:checked::after { opacity: 1; }
.terms-check input:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.terms-check:has(input:checked) { border-color: rgb(198 255 61 / .5); }

.checkout-status { min-height: 1.4em; margin-top: 12px; font-size: .88rem; color: var(--muted); text-align: center; }
.checkout-status.is-error { color: var(--danger); }
.checkout-status a { color: var(--lime); }
#whop-checkout { min-width: 0; margin-top: 8px; }
#whop-checkout iframe { width: 100%; min-height: 30rem; border: 0; border-radius: 14px; }
[hidden] { display: none !important; }
.pay-security { display: flex; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.shield { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--lime-soft); color: var(--lime); font-size: .7rem; font-weight: 900; }
.pay-alt { margin-top: 16px; text-align: center; font-size: .88rem; color: var(--muted); }
.pay-alt a { color: var(--lime); text-decoration: none; font-weight: 600; }
.pay-alt a:hover { text-decoration: underline; }

/* Intake after payment */
.intake { margin-top: 8px; }
.intake h2 { font-size: 1.6rem; margin: 14px 0 10px; }
.intake-copy { color: var(--fg-2); margin-bottom: 20px; }
.intake input, .intake textarea { width: 100%; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgb(0 0 0 / .45); color: var(--fg); font: 400 1rem/1.5 var(--f-body); transition: border-color .2s, box-shadow .2s; }
.intake input { height: 56px; padding-block: 0; }
.intake textarea { resize: vertical; min-height: 150px; }
.intake input:focus, .intake textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px var(--lime-soft); }
.intake textarea::placeholder { color: #66665f; }
.intake-note { font-size: .8rem; color: var(--muted); margin: 4px 0 16px; }

/* Details column */
.order-example { display: block; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2); text-decoration: none; transition: border-color .3s, transform .35s var(--ease), box-shadow .35s; }
.order-example:hover { border-color: var(--lime); transform: translateY(-4px); box-shadow: 0 30px 60px -30px var(--lime-glow); }
.ex-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #151518; border-bottom: 1px solid var(--line); }
.ex-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a40; }
.ex-bar i:nth-child(1) { background: #ff5f57; } .ex-bar i:nth-child(2) { background: #febc2e; } .ex-bar i:nth-child(3) { background: #28c840; }
.ex-bar span { margin: 0 auto; padding: 5px 16px; border-radius: 8px; background: #0b0b0d; color: var(--muted); font: 500 .72rem/1 var(--f-mono); }
.order-example img { width: 100%; aspect-ratio: 1100 / 700; object-fit: cover; object-position: top; }
.ex-caption { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; }
.ex-caption strong { display: block; font-family: var(--f-display); font-size: 1.05rem; letter-spacing: -0.02em; }
.ex-caption small { color: var(--muted); font-size: .85rem; }
.ex-arrow { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 800; }

.order-block { padding: 26px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-2); }
.order-block h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); max-width: 20ch; margin-bottom: 22px; }
.order-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.order-steps li { display: flex; gap: 16px; }
.os-num { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); font: 800 .95rem/1 var(--f-display); color: var(--lime); }
.order-steps strong { display: block; font-size: 1.02rem; margin-bottom: 3px; }
.order-steps p { color: var(--fg-2); font-size: .93rem; }
.know-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; color: var(--fg-2); font-size: .93rem; }
.know-list strong { color: var(--fg); }
.know-list a { color: var(--lime); }

@media (min-width: 1000px) {
  .order { grid-template-columns: minmax(0, 1fr) minmax(0, 470px); grid-template-areas: "head pay" "details pay"; column-gap: 64px; row-gap: 40px; padding-top: 60px; }
  .pay-card { position: sticky; top: calc(var(--nav-h) + 20px); padding: 32px 30px 26px; }
}
.order-page .footer { padding-bottom: 46px; }

/* After payment, the card becomes the intake step only: no price, no second "pay" prompt. */
.pay-card:has(#order-intake:not([hidden])) :is(.pay-top, #payment-title, .order-price, .pay-list, .pay-security, .pay-alt) { display: none; }
.pay-card:has(#order-intake:not([hidden])) #payment-status { margin: 0 0 6px; text-align: left; color: var(--lime); }
.pay-card:has(#order-intake:not([hidden])) .intake { margin-top: 0; }

/* The person behind NG Digital (owner.json). */
.order-owner { display: flex; align-items: center; gap: 16px; color: var(--fg-2); }
.order-owner .owner-face { width: 56px; height: 56px; font-size: 1.2rem; }
.order-owner strong { color: var(--fg); }
