/* HIRED Online · the access shell's own stylesheet (019E, premium front door). Not the product stylesheet; nothing here lays out paid content.
   One deliberate light, ivory world: paper, charcoal ink, restrained gold. No inline styles anywhere (the shell CSP has no 'unsafe-inline'). */
:root {
  --paper: #FAF7F0; --paper-2: #F3EEE3; --card: #FFFDF9;
  --ink: #17150F; --ink-2: #4E4A41; --ink-3: #7C7669;
  --ru: #E5DECF; --ru-2: #D6CDB9;
  --gold: #7E621C;          /* text gold: 5.4:1 on paper */
  --gold-line: #B8954A;     /* decorative lines only */
  --gold-soft: #EFE4C8; --gold-on-ink: #D8BE7E;
  --red: #8F2A2A;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "JetBrains Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background:
    radial-gradient(1100px 560px at 92% -12%, rgba(184, 149, 74, .11), transparent 68%),
    radial-gradient(800px 420px at -10% 110%, rgba(184, 149, 74, .06), transparent 70%),
    var(--paper);
}
::selection { background: var(--gold-soft); color: var(--ink); }

/* ---- frame ---------------------------------------------------------------------------------------------------------- */
.screen {
  min-height: 100svh; display: flex; flex-direction: column; max-width: 1200px; margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
  padding-block: 0 28px;
}

/* ---- header --------------------------------------------------------------------------------------------------------- */
.line { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; border-bottom: 1px solid var(--ru); }
.line::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 2px; background: var(--gold-line); }
.brand { font-family: var(--serif); font-weight: 600; font-size: 25px; letter-spacing: .005em; color: var(--ink); text-decoration: none; line-height: 1; border-radius: 2px; }
.brand i { color: var(--gold-line); font-style: normal; }
.seg { display: flex; align-items: center; gap: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.seg span { display: inline-flex; align-items: center; }
.seg span + span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--ru-2); margin-inline: 14px; }
.seg b { color: var(--ink); font-weight: 500; }
.seg-on b::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-line); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 3px rgba(184, 149, 74, .18); }

/* ---- hero ----------------------------------------------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .88fr); gap: clamp(40px, 6vw, 96px); align-items: start; padding-block: clamp(44px, 8vh, 96px) clamp(40px, 6vh, 72px); flex: 1 0 auto; }
.left { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold-line); }
.say { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.3vw, 60px); line-height: 1.04; letter-spacing: -.022em; margin: 0; text-wrap: balance; font-optical-sizing: auto; }
.say em { font-style: normal; color: var(--gold); }
body[data-state="enter"] .say em { display: block; }   /* the front-door headline: "All in one place." on its own line */
.say:focus { outline: none; }                      /* programmatic focus target for screen readers on state change; not interactive */
.sub, .state-p { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 52ch; margin: 22px 0 0; text-wrap: pretty; }
.sub b { color: var(--ink); font-weight: 600; }

/* ---- the access card ------------------------------------------------------------------------------------------------ */
.card {
  position: relative; margin-top: 34px; max-width: 560px; padding: clamp(24px, 3.2vw, 36px);
  background: var(--card); border: 1px solid var(--ru); border-top: 2px solid var(--gold-line); border-radius: 4px;
  box-shadow: 0 1px 0 rgba(23, 21, 15, .03), 0 30px 60px -36px rgba(23, 21, 15, .28), 0 12px 24px -18px rgba(23, 21, 15, .10);
}
.view { margin: 0; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--ink-2); margin-bottom: 10px; }
.field input {
  width: 100%; height: 58px; font: inherit; font-size: 17px; padding: 0 18px; border: 1px solid var(--ru-2); border-radius: 3px;
  background: #fff; color: var(--ink); outline: none; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input::placeholder { color: #ABA594; }
.field input:hover { border-color: #C4B99F; }
.field input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px var(--gold-soft); }
.field input.code { height: 64px; font-family: var(--mono); font-size: 26px; letter-spacing: .32em; text-align: center; padding-inline: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 18px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; font: inherit; font-weight: 600; font-size: 15px; line-height: 1;
  min-height: 44px; padding: 0 18px; border-radius: 3px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; text-decoration: none;
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease);
}
.btn.primary { min-height: 54px; padding: 0 26px; font-size: 15.5px; background: var(--ink); color: var(--paper); box-shadow: 0 10px 22px -14px rgba(23, 21, 15, .55); }
.btn.primary:hover { background: #000; transform: translateY(-1px); box-shadow: 0 14px 26px -14px rgba(23, 21, 15, .6); }
.btn.primary:active { transform: translateY(0); box-shadow: 0 6px 14px -10px rgba(23, 21, 15, .5); }
.btn.primary .k { font-family: var(--mono); font-weight: 500; font-size: 10px; letter-spacing: .14em; color: var(--gold-on-ink); padding-left: 12px; border-left: 1px solid rgba(250, 247, 240, .22); }
.btn.link { border-color: transparent; padding-inline: 4px; color: var(--ink-2); font-weight: 500; text-decoration: underline; text-decoration-color: var(--ru-2); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.btn.link:hover { color: var(--ink); text-decoration-color: var(--gold-line); }
.btn.ghost { min-height: 40px; padding: 0 16px; font-size: 14px; font-weight: 500; border-color: var(--ru-2); background: #fff; }
.btn.ghost:hover { border-color: var(--ink); }
.btn.ghost:active, .btn.link:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }
.btn:focus-visible, .brand:focus-visible, .foot a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.quiet { font-size: 13.5px; line-height: 1.55; color: var(--ink-3); max-width: 52ch; margin: 20px 0 0; }
.err { color: var(--red); font-size: 14px; line-height: 1.5; margin: 12px 0 0; }
.err[hidden] { display: none; }

/* code-entry help: shown only in the code state, inside the card */
.help { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--ru); }
.help p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); max-width: 54ch; }
.help .help-h { font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--ink); margin-bottom: 6px; }
.help .help-q { font-size: 13.5px; color: var(--ink-3); }
.help .btn { margin-top: 6px; }

.trust { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; font-size: 13px; color: var(--ink-3); letter-spacing: .01em; }
.trust-mark { flex: none; width: 8px; height: 8px; border: 1px solid var(--gold-line); transform: rotate(45deg); }

/* ---- what's inside -------------------------------------------------------------------------------------------------- */
.right { min-width: 0; margin-top: clamp(0px, 1.2vw, 14px); padding: clamp(24px, 3vw, 36px); background: var(--paper-2); border: 1px solid var(--ru); border-radius: 4px; }
.lab { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.rcpt { list-style: none; padding: 0; margin: 18px 0 0; }
.rcpt li { display: grid; gap: 8px; padding: 20px 0; border-top: 1px solid var(--ru-2); }
.rcpt li:first-child { border-top-color: var(--gold-line); }
.rcpt li b { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.rcpt li span { font-family: var(--serif); font-size: 19px; line-height: 1.42; color: var(--ink); text-wrap: pretty; }
.fine { margin: 4px 0 0; padding-top: 16px; border-top: 1px solid var(--ru-2); font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }

/* ---- how access works ----------------------------------------------------------------------------------------------- */
.how { padding-block: 34px 38px; border-top: 1px solid var(--ru); }
.steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(24px, 4vw, 56px); counter-reset: none; }
.steps li { display: flex; align-items: baseline; gap: 16px; padding-top: 16px; border-top: 1px solid var(--ru-2); font-size: 16px; line-height: 1.45; color: var(--ink); }
.steps .n { flex: none; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; line-height: 1; color: var(--gold); font-variant-numeric: lining-nums; }

/* ---- support + footer ----------------------------------------------------------------------------------------------- */
.help-line { margin: 0; padding-block: 26px; border-top: 1px solid var(--ru); font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--ink-2); text-wrap: balance; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; border-top: 1px solid var(--ru); font-size: 12px; color: var(--ink-3); }
.foot a { color: inherit; text-underline-offset: 3px; }
.foot a:hover { color: var(--ink); }

.spin { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--ru); border-top-color: var(--gold-line); border-radius: 50%; animation: s 1s linear infinite; vertical-align: -2px; margin-right: 6px; }
@keyframes s { to { transform: rotate(360deg); } }

/* ---- responsive ----------------------------------------------------------------------------------------------------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 40px; }
  .card { max-width: none; }
  .right { margin-top: 12px; }
}
@media (max-width: 640px) {
  .screen { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .line { min-height: 64px; }
  .brand { font-size: 23px; }
  .hide-m, .seg span:first-child { display: none !important; }
  .seg-on::before { display: none !important; }
  .seg { font-size: 10.5px; letter-spacing: .12em; }
  .hero { padding-block: 32px 32px; }
  .eyebrow { margin-bottom: 16px; }
  .say { font-size: clamp(36px, 10.4vw, 46px); }
  .sub { font-size: 16.5px; margin-top: 16px; }
  .card { margin-top: 26px; padding: 22px 18px 24px; }
  .row { flex-direction: column; align-items: stretch; gap: 8px; }
  .btn.primary { width: 100%; }
  .btn.link { align-self: center; min-height: 44px; }
  .rcpt li span { font-size: 17.5px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding-block: 14px; }
  .help-line { font-size: 17.5px; }
  .foot { flex-direction: column; }
}
@media (max-width: 360px) {
  .btn.primary .k { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn.primary:hover { transform: none; }
}
