/* NorthStar: the statement form (in the Early Access column) and the privacy notice.
 *
 * Written in the template's own measured language, not a new one: Inter for everything read,
 * IBM Plex Mono 12px capitals for labels (the template's eyebrows), fields on 4% white with a 12%
 * hairline and an 8px radius (the template's own email field), the white 8px button, cards at a
 * 20px radius on 3% white (the System cards). #d9b46a #f0d8a8 #a47b3a are his logo's golds,
 * filled by build.py stage_sections(). No accent-coloured side borders anywhere.
 *
 * Everything is scoped under .ns-wrap or .ns-modal so nothing here can outrank a template rule. */

.ns-wrap{width:100%;max-width:600px;margin:6px auto 0;text-align:left;font-family:"Inter","Inter Placeholder",-apple-system,sans-serif;color:#fff;box-sizing:border-box}
.ns-wrap *,.ns-modal *{box-sizing:border-box}
.ns-form{display:flex;flex-direction:column;gap:16px;padding:22px;border-radius:20px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.09);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.ns-form[hidden],.ns-done[hidden],.ns-progress[hidden],.ns-mails[hidden],.ns-modal[hidden]{display:none!important}

/* the drop zone */
.ns-drop{position:relative;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);transition:border-color .2s ease,background-color .2s ease}
.ns-drop:hover,.ns-drop.ns-over{border-color:color-mix(in srgb,#d9b46a 70%,transparent);background:color-mix(in srgb,#d9b46a 7%,transparent)}
.ns-drop.ns-bad{border-color:rgba(242,168,150,.7)}
.ns-file{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0 0 0 0)}
.ns-drop-in{display:flex;flex-direction:column;align-items:center;gap:8px;padding:28px 20px 24px;text-align:center;cursor:pointer}
.ns-file:focus-visible + .ns-drop-in{outline:2px solid #d9b46a;outline-offset:-3px;border-radius:14px}
.ns-drop-ico{display:inline-flex;width:42px;height:42px;border-radius:50%;align-items:center;justify-content:center;color:#d9b46a;background:color-mix(in srgb,#d9b46a 12%,transparent);border:1px solid color-mix(in srgb,#d9b46a 30%,transparent)}
.ns-drop-ico svg{width:20px;height:20px}
.ns-drop-t{font-size:16px;line-height:1.35;letter-spacing:-.01em;color:#fff}
.ns-u{color:#f0d8a8;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.ns-drop-s{font-size:13px;line-height:1.5;color:rgba(255,255,255,.6);max-width:380px}
.ns-files{list-style:none;margin:0;padding:0 12px;display:flex;flex-direction:column;gap:6px}
.ns-has .ns-files{padding-bottom:12px}
.ns-drop > .ns-err{padding:0 16px 14px;text-align:center}
.ns-f{display:flex;align-items:center;gap:10px;padding:8px 8px 8px 12px;border-radius:8px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}
.ns-f-n{flex:1;min-width:0;font-size:14px;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ns-f-s{flex:none;font-family:"IBM Plex Mono","IBM Plex Mono Placeholder",ui-monospace,monospace;font-size:12px;color:rgba(255,255,255,.6)}
.ns-f-x{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:-7px -6px -7px 0;border:0;border-radius:6px;background:none;color:rgba(255,255,255,.7);cursor:pointer}
.ns-f-x:hover{background:rgba(255,255,255,.08);color:#fff}
.ns-f-x svg{width:14px;height:14px}

/* fields */
.ns-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 14px}
.ns-field{display:flex;flex-direction:column;gap:7px;min-width:0}
.ns-label{font-family:"IBM Plex Mono","IBM Plex Mono Placeholder",ui-monospace,monospace;font-size:11.5px;font-weight:500;line-height:1.2;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.66)}
.ns-opt{letter-spacing:.08em;text-transform:none;font-weight:400;color:rgba(255,255,255,.62)}
.ns-input{width:100%;height:46px;padding:0 14px;border-radius:8px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.04);color:#fff;font:400 15px/1.3 "Inter","Inter Placeholder",-apple-system,sans-serif;letter-spacing:-.005em;outline:none;transition:border-color .15s ease,box-shadow .15s ease;-webkit-appearance:none;appearance:none;color-scheme:dark}
.ns-input::placeholder{color:rgba(255,255,255,.58)}
.ns-input:hover{border-color:rgba(255,255,255,.2)}
.ns-input:focus{border-color:color-mix(in srgb,#d9b46a 80%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,#d9b46a 18%,transparent)}
.ns-bad .ns-input,.ns-input[aria-invalid="true"]{border-color:rgba(242,168,150,.7)}
.ns-area{height:auto;min-height:84px;padding:12px 14px;resize:vertical;line-height:1.45}
.ns-select{position:relative}
.ns-select::after{content:"";position:absolute;right:16px;top:50%;width:7px;height:7px;margin-top:-6px;border-right:1.5px solid rgba(255,255,255,.6);border-bottom:1.5px solid rgba(255,255,255,.6);transform:rotate(45deg);pointer-events:none}
.ns-select .ns-input{padding-right:40px;cursor:pointer}
.ns-select .ns-input option{background:#141414;color:#fff}
.ns-err{margin:0;font-size:12.5px;line-height:1.4;color:#f2b8a6}
.ns-alert{margin:0;font-size:13.5px;line-height:1.45;color:#f2b8a6;text-align:center}
.ns-alert:empty{display:none}
.ns-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ns-sending{opacity:.9}
.ns-err:empty{display:none}
.ns-hint{margin:0;font-size:12.5px;color:rgba(255,255,255,.55)}

/* consent */
.ns-check{display:flex;align-items:center;gap:10px;cursor:pointer;margin-top:2px;min-height:44px}
.ns-check.ns-bad .ns-box{border-color:rgba(242,168,150,.85)}
.ns-link{display:inline-block;padding:6px 0}
.ns-check input{position:absolute;opacity:0;width:1px;height:1px}
.ns-box{flex:none;width:18px;height:18px;margin-top:1px;border-radius:5px;border:1px solid rgba(255,255,255,.5);background:rgba(255,255,255,.04);display:inline-flex;align-items:center;justify-content:center;transition:background-color .15s ease,border-color .15s ease}
.ns-check input:checked + .ns-box{background:#d9b46a;border-color:#d9b46a}
.ns-check input:checked + .ns-box::after{content:"";width:9px;height:5px;border-left:1.75px solid #141414;border-bottom:1.75px solid #141414;transform:rotate(-45deg) translate(1px,-1px)}
.ns-check input:focus-visible + .ns-box{outline:2px solid #d9b46a;outline-offset:2px}
.ns-check-t{font-size:14px;line-height:1.45;color:rgba(255,255,255,.75)}
.ns-check-t a,.ns-fine a{color:#f0d8a8;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.ns-check-t a:hover,.ns-fine a:hover{color:#fff}

/* the button: the template's white button, full width */
.ns-submit{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:50px;margin-top:4px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#fff;color:#171717;font:500 16px/1 "Inter","Inter Placeholder",-apple-system,sans-serif;letter-spacing:-.02em;cursor:pointer;transition:background-color .2s ease,transform .2s ease}
.ns-submit svg{width:16px;height:16px;transition:transform .2s ease}
.ns-submit:hover{background:#f0d8a8}
.ns-submit:hover svg{transform:translateX(3px)}
.ns-submit:focus-visible{outline:2px solid #d9b46a;outline-offset:3px}
.ns-submit:disabled{cursor:progress;opacity:.85}
.ns-progress{height:2px;border-radius:2px;background:rgba(255,255,255,.08);overflow:hidden}
.ns-progress span{display:block;height:100%;width:40%;background:#d9b46a;animation:ns-run 1.1s ease-in-out infinite}
@keyframes ns-run{0%{transform:translateX(-100%)}100%{transform:translateX(260%)}}
.ns-fine{margin:0;font-size:13px;line-height:1.55;color:rgba(255,255,255,.6);text-align:center}

/* the confirmation */
.ns-done{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:34px 24px 28px;border-radius:20px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.09);outline:none}
.ns-done-ico{display:inline-flex;width:52px;height:52px;border-radius:50%;align-items:center;justify-content:center;color:#141414;background:#d9b46a}
.ns-done-ico svg{width:24px;height:24px}
.ns-done-t{margin:6px 0 0;font:400 32px/1.1 "Inter","Inter Placeholder",sans-serif;letter-spacing:-.06em;color:#fff}
.ns-done-b{margin:0;max-width:440px;font-size:16px;line-height:1.55;color:rgba(255,255,255,.72)}
.ns-demo{width:100%;margin-top:10px;padding:14px;border-radius:14px;border:1px dashed color-mix(in srgb,#d9b46a 45%,transparent);display:flex;flex-direction:column;gap:10px;align-items:center}
.ns-demo-n{margin:0;font-family:"IBM Plex Mono","IBM Plex Mono Placeholder",ui-monospace,monospace;font-size:12px;line-height:1.5;letter-spacing:.04em;color:#f0d8a8}
.ns-demo-tg,.ns-again{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);color:#fff;border-radius:8px;height:44px;padding:0 16px;font:500 14px/1 "Inter","Inter Placeholder",sans-serif;letter-spacing:-.01em;cursor:pointer}
.ns-demo-tg:hover,.ns-again:hover{background:rgba(255,255,255,.1)}
.ns-demo-tg:focus-visible,.ns-again:focus-visible{outline:2px solid #d9b46a;outline-offset:2px}
.ns-again{margin-top:6px}
.ns-mails{width:100%;display:flex;flex-direction:column;gap:12px;text-align:left}
.ns-mail{border-radius:12px;border:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.25);overflow:hidden}
.ns-mail-h{padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.08);display:flex;flex-direction:column;gap:4px}
.ns-mail-b{padding:12px 14px;display:flex;flex-direction:column;gap:6px}
.ns-mail-p p{margin:0 0 6px;font-size:14px;line-height:1.55;color:rgba(255,255,255,.8)}
.ns-m-r{display:grid;grid-template-columns:88px 1fr;gap:10px;font-size:13.5px;line-height:1.45}
.ns-m-k{font-family:"IBM Plex Mono","IBM Plex Mono Placeholder",ui-monospace,monospace;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.5);padding-top:2px}
.ns-m-v{color:#fff;overflow-wrap:anywhere}

/* the privacy notice */
.ns-modal{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:24px;font-family:"Inter","Inter Placeholder",-apple-system,sans-serif}
.ns-modal-bg{position:absolute;inset:0;background:rgba(5,5,5,.66);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity .22s ease}
.ns-modal-card{position:relative;width:min(560px,100%);max-height:calc(100vh - 48px);overflow:auto;padding:30px 28px 24px;border-radius:20px;background:#121212;border:1px solid rgba(255,255,255,.1);color:#fff;opacity:0;transform:translateY(10px);transition:opacity .22s ease,transform .22s ease}
.ns-in .ns-modal-bg{opacity:1}
.ns-in .ns-modal-card{opacity:1;transform:none}
.ns-modal-x{position:absolute;top:10px;right:10px;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-radius:8px;background:rgba(255,255,255,.06);color:#fff;cursor:pointer}
.ns-modal-x:hover{background:rgba(255,255,255,.12)}
.ns-modal-x:focus-visible{outline:2px solid #d9b46a;outline-offset:2px}
.ns-modal-x svg{width:14px;height:14px}
.ns-modal-t{margin:0 44px 18px 0;font:400 28px/1.15 "Inter","Inter Placeholder",sans-serif;letter-spacing:-.05em;color:#fff}
.ns-modal-l{margin:0;display:grid;grid-template-columns:150px 1fr;gap:12px 18px;border-top:1px solid rgba(255,255,255,.08);padding-top:16px}
.ns-modal-l dt{font-family:"IBM Plex Mono","IBM Plex Mono Placeholder",ui-monospace,monospace;font-size:11.5px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:#f0d8a8;padding-top:3px}
.ns-modal-l dd{margin:0;font-size:14.5px;line-height:1.55;color:rgba(255,255,255,.78)}
.ns-modal-f{margin:18px 0 0;padding-top:14px;border-top:1px solid rgba(255,255,255,.08);font-size:13px;color:rgba(255,255,255,.55)}
html.ns-lock,html.ns-lock body{overflow:hidden}
/* the fixed nav: a glass pill (it had no ground: content ran under it, and at the top its white
 * links sat on the pale gold at 2:1) */
nav[data-framer-name="Nav Default"],[data-framer-name="Mobile Closed"]{background:rgba(12,12,12,.66)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 0 0 1px rgba(255,255,255,.07);transition:background-color .25s ease}
/* the footer's legal line, made into controls by sections.js legal() */
.ns-legal{cursor:pointer;transition:opacity .15s ease;padding:12px 4px;margin:-12px -4px}
.ns-legal:hover{opacity:.75}
.ns-legal:focus-visible{outline:2px solid #d9b46a;outline-offset:3px;border-radius:2px}
/* the studio credit, after Instagram in the footer's legal row (sections.js credit()) */
.ns-credit{text-decoration:none;white-space:nowrap;padding:12px 4px;margin:-12px -4px;transition:opacity .15s ease}
.ns-credit:hover{opacity:.75}
.ns-credit:focus-visible{outline:2px solid #d9b46a;outline-offset:3px;border-radius:2px}

/* his terminal, in The Card's column where the card was. Square, at most 600px (520 read small
 * next to the template's 680px card, round 2 review), wider than the 300px phone column. T1 and V1 are on
 * pure black and the page is rgb(10,10,10) under a grain tile, so the frame fades out at its edges
 * instead of showing a box: the top 4% (the device starts at 5%), the bottom from 89% (the device
 * ends at 88.6%, below it only the reflection, which the take cuts at the frame edge) and the
 * outer 12% of each side (the device spans 33% to 71%). */
/* margin 0, NOT auto: in Main's flex column an auto margin beats align-self, and once the box is
 * wider than the 300px phone column it overflowed to the right only (29px off centre at 390 and the
 * pause button clipped at the screen edge). align-self:center alone overflows both sides evenly. */
.ns-term{position:relative;width:min(600px,calc(100vw - 32px));margin:0;align-self:center}
/* the box's footprint before the block mounts (it arrives after hydration, and Main's other
 * children are hidden, so nothing held the space: the review measured a 520px jump). The
 * placeholder goes the moment #terminal is in, at the same size and the same place. */
[data-framer-name="The Card"] [data-framer-name="Main"]:not(:has(> #terminal))::before{content:"";display:block;flex:none;
  width:min(600px,calc(100vw - 32px));aspect-ratio:1/1}
.ns-term-box{position:relative;width:100%;aspect-ratio:1/1;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 4%,#000 89%,transparent 100%),linear-gradient(to right,transparent 0,#000 12%,#000 88%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to bottom,transparent 0,#000 4%,#000 89%,transparent 100%),linear-gradient(to right,transparent 0,#000 12%,#000 88%,transparent 100%);
  mask-composite:intersect;
  /* the page's grain is a background layer, so an opaque black frame sat on it as a darker square
   * (first local review, both widths). Lighten keeps every device pixel brighter than the page (its
   * body measures 34 to 46, the page about 10 plus grain) and lets the page show through the black. */
  mix-blend-mode:lighten}
/* the still (the clip's frame 0) is a plain picture underneath; the video sits exactly over it and
 * stays invisible until it is really playing, so nothing ever reads as a video: no poster, no
 * control, no pointer events (right-click lands on the picture), and a refused autoplay leaves the
 * picture alone with no play glyph drawn over it (Cieven, 2026-09-19: no pause button) */
.ns-term-still,.ns-term-media{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.ns-term-media{visibility:hidden;pointer-events:none}
.ns-term.is-playing .ns-term-media{visibility:visible}
/* the one line under it (the template's hint) wraps on a phone; balanced, not an orphaned word */
[data-framer-name="The Card"] [data-framer-name="Hint"] p{text-wrap:balance}

@media (max-width:640px){
  .ns-form{padding:16px;gap:14px;border-radius:16px}
  .ns-grid{grid-template-columns:1fr}
  .ns-drop-in{padding:22px 14px 20px}
  .ns-done{padding:28px 16px 22px}
  .ns-done-t{font-size:28px}
  .ns-m-r{grid-template-columns:1fr;gap:0}
  .ns-modal{align-items:flex-end;padding:12px}
  .ns-modal-card{padding:26px 18px 20px;max-height:calc(100vh - 24px)}
  .ns-modal-l{grid-template-columns:1fr;gap:4px}
  .ns-modal-l dd{margin-bottom:10px}
}
@media (prefers-reduced-motion:reduce){
  .ns-progress span{animation:none;width:100%}
  .ns-modal-bg,.ns-modal-card,.ns-submit,.ns-submit svg,.ns-drop{transition:none}
}
