:root {
  color-scheme: light;
  --ink: #171719;
  --muted: #68686b;
  --paper: #f6f3ee;
  --card: #fffdf9;
  --line: rgba(23, 23, 25, 0.13);
  --accent: #ff6b3d;
}

* { box-sizing: border-box; }
[hidden] { display:none !important; }
.network-banner { position:sticky; z-index:100; top:0; min-height:46px; padding:8px 16px; display:flex; align-items:center; justify-content:center; gap:14px; background:#20232b; color:#fff; font-size:11px; text-align:center; }
.network-banner button { min-height:30px; padding:0 10px; flex:none; border:1px solid rgba(255,255,255,.35); border-radius:999px; background:transparent; color:#fff; font:inherit; font-weight:800; cursor:pointer; }
.network-banner button:focus-visible { outline:3px solid rgba(255,255,255,.5); outline-offset:2px; }
body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  background: radial-gradient(circle at 50% 0%, #fff 0, var(--paper) 58%);
  font-family: "HK Grotesk",Arial,sans-serif;
}
.portal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 4vw, 64px);
}
.portal-brand { width:auto; height:42px; display:flex; align-items:center; flex:none; border-radius:13px; color:var(--ink); text-decoration:none; }
.portal-brand img { width:42px; height:42px; display:block; border:1px solid rgba(23,23,25,.1); border-radius:inherit; object-fit:cover; box-shadow:0 7px 18px -14px rgba(21,23,29,.75); }
.portal-brand span { margin-left:11px; font-size:18px; font-weight:800; letter-spacing:-.04em; white-space:nowrap; }
.portal-account { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
.portal-account a { color: var(--ink); text-underline-offset: 4px; }
.portal-account button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.project-nav-actions { display:flex; align-items:center; gap:14px; font-size:13px; }
.project-nav-actions a { color:var(--ink); text-underline-offset:4px; }
.portal-main { width: min(1120px, calc(100% - 40px)); margin: 7vh auto 0; }
.portal-shell { max-width: 650px; margin: 0 auto; text-align: center; }
.portal-kicker { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.portal-title { margin: 18px 0; font-family: "Instrument Serif", Georgia, serif; font-size: clamp(48px, 8vw, 88px); font-weight: 400; line-height: .94; }
.portal-copy { margin: 0 auto; max-width: 530px; color: var(--muted); font-size: clamp(16px, 2vw, 19px); line-height: 1.55; }
.portal-loader { width: 30px; height: 30px; margin: 34px auto; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
.portal-action { display: inline-flex; min-height: 50px; margin-top: 30px; padding: 0 24px; align-items: center; justify-content: center; border: 0; border-radius: 999px; color: white; background: var(--ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.portal-action[hidden] { display: none; }
.portal-secondary { display: block; width: max-content; margin: 16px auto 0; color: var(--ink); text-underline-offset: 4px; }
.portal-secondary[hidden] { display: none; }
.access-form { display: grid; gap: 12px; max-width: 480px; margin: 32px auto 0; text-align: left; }
.access-form label { font-size: 14px; font-weight: 700; }
.access-form__row { display: flex; gap: 10px; }
.access-form input { width: 100%; min-height: 54px; padding: 0 18px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: var(--card); font: inherit; outline: none; }
.access-form input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23,23,25,.08); }
.access-form button { min-height: 54px; padding: 0 22px; border: 0; border-radius: 16px; color: white; background: var(--ink); font: inherit; font-weight: 700; white-space: nowrap; cursor: pointer; }
.access-form button:disabled { opacity: .55; cursor: wait; }
.access-note { min-height: 24px; margin: 16px 0 0; color: var(--muted); line-height: 1.5; }
.access-sent { max-width:480px; margin:30px auto 0; padding:22px; border:1px solid var(--line); border-radius:20px; background:rgba(255,253,249,.86); text-align:left; }
.access-sent__visual { width:42px; height:42px; margin-bottom:18px; display:grid; place-items:center; border-radius:12px; background:#dfe9f9; color:#456091; font-size:19px; font-weight:800; }
.access-sent h2 { margin:8px 0 9px; font-family:"Instrument Serif",Georgia,serif; font-size:36px; font-weight:400; }
.access-sent>p:not(.portal-kicker) { margin:0; color:var(--muted); font-size:13px; line-height:1.5; }
.access-sent ol { margin:18px 0; padding-left:20px; color:#4f5661; font-size:12px; line-height:1.8; }
.access-sent button { width:100%; min-height:46px; border:0; border-radius:12px; background:var(--ink); color:#fff; font:700 12px/1 "HK Grotesk",Arial,sans-serif; cursor:pointer; }
.access-sent button:disabled { background:#e7e8eb; color:#8c9098; cursor:not-allowed; }
.access-sent .access-change { margin-top:7px; background:transparent; color:var(--ink); }
.access-sent button:focus-visible { outline:3px solid rgba(64,89,147,.3); outline-offset:3px; }
.library-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.library-head h1 { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-size: clamp(52px, 8vw, 96px); font-weight: 400; line-height: .9; }
.library-user { color: var(--muted); }
.library-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 80px; }
.library-card { min-height: 300px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 24px; background: var(--card); }
.library-card { color: inherit; text-decoration: none; }
.library-card[href] { transition: transform .2s ease, border-color .2s ease; }
.library-card[href]:hover { transform: translateY(-4px); border-color: rgba(23,23,25,.32); }
.library-card[href]:focus-visible { outline: 3px solid rgba(23,23,25,.25); outline-offset: 3px; }
.library-card:first-child { background: #171719; color: white; }
.library-card__number { opacity: .55; font-size: 12px; letter-spacing: .1em; }
.library-card h2 { margin: 0 0 8px; font-size: 28px; }
.library-card p { margin: 0; opacity: .65; }
.library-card__state { align-self: flex-start; margin-top: 24px; padding: 8px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .portal-main { margin-top: 4vh; }
  .library-head { align-items: flex-start; flex-direction: column; }
  .library-grid { grid-template-columns: 1fr; }
  .library-card { min-height: 230px; }
  .access-form__row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .portal-loader { animation-duration: 1.8s; } }

.library-skeleton { margin-top:36px; }
.library-skeleton>p { color:var(--muted); font-size:12px; text-align:center; }
.skeleton-head { margin-bottom:34px; display:grid; gap:12px; }
.skeleton-head i,.skeleton-head b,.skeleton-head span,.skeleton-grid article { position:relative; overflow:hidden; display:block; background:#e7e5e1; }
.skeleton-head i { width:110px; height:10px; border-radius:5px; }
.skeleton-head b { width:min(540px,78vw); height:68px; border-radius:15px; }
.skeleton-head span { width:min(420px,62vw); height:14px; border-radius:7px; }
.skeleton-grid { display:grid; grid-template-columns:1fr; gap:14px; }
.skeleton-grid article { height:330px; border-radius:20px; }
.skeleton-head>*::after,.skeleton-grid article::after { content:""; position:absolute; inset:0; transform:translateX(-100%); background:linear-gradient(90deg,transparent,rgba(255,255,255,.6),transparent); animation:skeleton-shift 1.4s ease-in-out infinite; }
@keyframes skeleton-shift { to { transform:translateX(100%); } }
@media (min-width:680px) { .skeleton-grid { grid-template-columns:repeat(2,1fr); } }
@media (min-width:1100px) { .skeleton-grid { grid-template-columns:repeat(4,1fr); }.skeleton-grid article { height:360px; } }

/* ============================================================
   Private library — guided, mobile-first onboarding
   ============================================================ */

#library-content.portal-main { width: min(1240px, calc(100% - 32px)); margin-top: 36px; }
.library-head { align-items: flex-start; flex-direction: column; gap: 24px; margin-bottom: 30px; }
.library-head h1 { max-width: 820px; font-size: clamp(52px, 14vw, 92px); letter-spacing: -.045em; }
.library-head__copy { max-width: 600px; margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.library-status { width: 100%; padding: 16px; display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,253,249,.72); }
.library-status span { color: #6b7690; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.library-status strong { font-size: 15px; }
.library-status small { color: var(--muted); font-size: 11px; }
.library-status button { width: max-content; min-height: 34px; margin: 7px 0 -5px; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: #4d628f; font: 750 11px/1 "HK Grotesk",Arial,sans-serif; cursor: pointer; }

.library-onboarding {
  position: relative;
  margin-bottom: 70px;
  padding: 22px;
  overflow: hidden;
  display: grid;
  gap: 28px;
  border-radius: 25px;
  background:
    radial-gradient(circle at 5% 5%, rgba(255,132,54,.34), transparent 33%),
    radial-gradient(circle at 95% 100%, rgba(55,104,239,.34), transparent 38%),
    #171920;
  color: #fff;
  box-shadow: 0 35px 70px -50px rgba(16,19,30,.85);
}
.library-onboarding[hidden] { display: none; }
.onboarding-badge { display: inline-flex; width: max-content; padding: 7px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #d1d6e0; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.library-onboarding h2 { margin: 19px 0 14px; font-size: clamp(36px, 10vw, 60px); line-height: .92; letter-spacing: -.045em; }
.library-onboarding h2 em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
.library-onboarding__copy > p { max-width: 570px; margin: 0; color: #b7bfcd; font-size: 14px; line-height: 1.6; }
.library-onboarding ol { margin: 24px 0 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.library-onboarding li { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 10px; color: #c9cfda; font-size: 12px; }
.library-onboarding li b { color: #737e91; font-size: 10px; letter-spacing: .08em; }
.tool-preference { padding: 18px; align-self: end; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; background: rgba(255,255,255,.07); }
.tool-preference fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.tool-preference legend { margin-bottom: 13px; color: #fff; font-size: 13px; font-weight: 750; }
.tool-preference fieldset > div { display: flex; flex-wrap: wrap; gap: 7px; }
.tool-preference [data-tool-choice] { min-height: 40px; padding: 0 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.06); color: #c5cbd7; font: 700 11px/1 "HK Grotesk",Arial,sans-serif; cursor: pointer; }
.tool-preference [data-tool-choice][aria-pressed="true"] { border-color: #fff; background: #fff; color: #191b21; }
.onboarding-start { min-height: 52px; margin-top: 18px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; border-radius: 13px; background: #fff; color: #171920; font-size: 14px; font-weight: 800; text-decoration: none; }
.onboarding-skip { width: 100%; min-height: 44px; margin-top: 8px; padding: 0; border: 0; background: transparent; color: #8f98a9; font: 600 11px/1.3 "HK Grotesk",Arial,sans-serif; cursor: pointer; }

.library-section-head { margin-bottom: 26px; display: grid; gap: 16px; }
.library-section-head h2 { margin: 8px 0 0; font-size: clamp(36px, 9vw, 66px); line-height: .94; letter-spacing: -.045em; }
.library-section-head h2 em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
.library-section-head > p { max-width: 390px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.library-grid { grid-template-columns: 1fr; gap: 14px; padding-bottom: 90px; }
.library-card,
.library-card:first-child {
  min-height: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255,253,249,.88);
  color: var(--ink);
  box-shadow: 0 18px 42px -35px rgba(29,37,57,.45);
}
.library-card--ready { border-color: rgba(55,91,179,.28); }
.library-card__cover { position: relative; height: 220px; overflow: hidden; border-radius: 19px 19px 14px 14px; }
.library-card__body { padding: 18px; }
.library-card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.library-card__number { color: #7b8697; opacity: 1; font-size: 9px; font-weight: 800; }
.library-card__availability { padding: 5px 8px; border-radius: 999px; background: #e0f3e8; color: #267449; font-size: 9px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.library-card__availability.is-soon { background: #eceff4; color: #788292; }
.library-card h3 { margin: 16px 0 5px; font-size: 25px; line-height: 1; letter-spacing: -.035em; }
.library-card p { margin: 0; color: #778191; opacity: 1; font-size: 14px; }
.library-card ul { margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.library-card ul li { padding: 6px 8px; border-radius: 7px; background: #eef1f5; color: #616d7e; font-size: 10px; font-weight: 750; }
.library-card__tools { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 5px; }
.library-card__tools span { padding: 5px 7px; border: 1px solid rgba(42,55,82,.1); border-radius: 999px; color: #7a8493; font-size: 9px; font-weight: 700; }
.library-card__state { min-height: 46px; margin-top: 16px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 11px; background: #181a20; color: #fff; font-size: 12px; font-weight: 800; }
.library-card__state.is-muted { min-height: auto; padding: 7px 0 0; background: transparent; color: #9199a6; }
.library-card__progress { margin-top: 15px; }
.library-card__progress > span { position: relative; height: 28px; display: block; overflow: hidden; border-radius: 8px; background: #e9edf3; }
.library-card__progress i { position: absolute; inset: 0 auto 0 0; width: 0; background: #cfd9f2; }
.library-card__progress b { position: relative; z-index: 1; height: 100%; padding: 0 9px; display: flex; align-items: center; color: #435374; font-size: 9px; }

.cover-prmpt { padding: 16px; background: #f7f6f2; }
.cover-prmpt b { font-family: "Instrument Serif", Georgia, serif; font-size: 43px; font-style: italic; font-weight: 400; letter-spacing: -.08em; }
.cover-prmpt span { position: absolute; left: 16px; top: 105px; font-size: 7px; }
.cover-prmpt i { position: absolute; right: 14px; bottom: 14px; padding: 7px 19px 9px; border-radius: 999px; background: #080808; color: #fff; font: 28px/1 "HK Grotesk",Arial,sans-serif; letter-spacing: -.06em; }
.cover-eyewear { padding: 17px; background: radial-gradient(circle at 58% 62%, #c7e1ee 0 19%, transparent 40%), linear-gradient(#0a3a57,#b3cedb); color: #fff; }
.cover-eyewear::after { content:""; position:absolute; width:56%; aspect-ratio:2.6; right:8%; top:39%; border:12px solid rgba(12,17,22,.85); border-radius:50%; transform:rotate(-7deg); box-shadow:-82px 2px 0 -12px rgba(12,17,22,.85); }
.cover-eyewear b { font-size: 13px; }.cover-eyewear span { position:absolute; left:17px; bottom:18px; font-size:11px; }
.cover-rocket { padding: 22px; background: radial-gradient(circle at 94% 44%, #116fff, transparent 38%), #171719; color:#fff; }
.cover-rocket b { font-size:15px; }.cover-rocket span { position:absolute; left:22px; bottom:22px; font-size:26px; font-weight:800; line-height:1; }
.cover-404 { background:linear-gradient(145deg,#ffb336,#ef8614); color:#fff; text-align:center; }
.cover-404 strong { display:block; color:rgba(255,230,164,.55); font-size:142px; line-height:1.18; letter-spacing:-.12em; }.cover-404 span { position:absolute; left:0; right:0; bottom:24px; font-size:11px; font-weight:800; }
.cover-estate { background:radial-gradient(circle at 50% 75%,#ffb9e8,transparent 30%),linear-gradient(#8e8df5,#c889cf 56%,#56416f); color:#fff; text-align:center; }
.cover-estate::after { content:""; position:absolute; left:38%; right:38%; bottom:0; height:70%; background:linear-gradient(90deg,#493c75,#c487bc,#55426e); clip-path:polygon(35% 0,65% 0,90% 100%,8% 100%); }.cover-estate b { position:relative; z-index:1; display:block; padding-top:16px; font-family:"Instrument Serif",serif; font-size:48px; font-weight:400; }.cover-estate span { position:relative; z-index:2; font-size:10px; }
.cover-prisma { padding:20px; background:radial-gradient(circle at 75% 25%,#e3a55f,transparent 22%),linear-gradient(#14202a 0 47%,#29291e 48%); color:#fff; }.cover-prisma b { position:absolute; left:14px; bottom:32px; font-size:56px; font-weight:500; letter-spacing:-.08em; }.cover-prisma span { position:absolute; right:16px; bottom:22px; font-family:"Instrument Serif",serif; font-size:10px; font-style:italic; text-align:right; }
.cover-3d { padding:24px; display:grid; grid-template-columns:42px 1fr; align-content:center; gap:20px 12px; background:#fafafa; color:#111; }.cover-3d span { font-size:28px; font-weight:900; }.cover-3d b { align-self:center; font-size:11px; }
.cover-wellness { padding:18px; background:radial-gradient(circle at 50% 100%,#34531f,#050605 50%); color:#fff; text-align:center; }.cover-wellness b { display:block; margin-top:32px; font-family:"Instrument Serif",serif; font-size:47px; font-weight:400; }.cover-wellness span { position:absolute; left:0; right:0; bottom:26px; color:#b7c9aa; font-size:11px; }

.library-onboarding a:focus-visible,
.library-onboarding button:focus-visible,
.library-card:focus-visible { outline: 3px solid rgba(73,105,190,.35); outline-offset: 3px; }

@media (min-width: 680px) {
  #library-content.portal-main { width: min(1240px, calc(100% - 64px)); margin-top: 58px; }
  .library-head { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 42px; }
  .library-head h1 { font-size: clamp(64px, 7vw, 96px); }
  .library-status { width: auto; min-width: 250px; }
  .library-onboarding { padding: 34px; grid-template-columns: 1.25fr .75fr; gap: 46px; }
  .library-section-head { grid-template-columns: 1fr auto; align-items: end; }
  .library-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .library-card__cover { height: 245px; }
}

@media (min-width: 1100px) {
  .library-onboarding { padding: 42px; }
  .library-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
  .library-card__cover { height: 210px; }
  .library-card h3 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .library-card[href] { transition: none; }
  .skeleton-head>*::after,.skeleton-grid article::after { animation:none; }
}

/* Passwordless sign-in — mobile-only composition. Desktop portal stays unchanged. */
.access-assurance { display:none; }
@media (max-width:760px) {
  body.access-page {
    background:
      radial-gradient(circle at 18% 9%,rgba(229,220,243,.78),transparent 31%),
      radial-gradient(circle at 88% 92%,rgba(218,231,255,.75),transparent 34%),
      #f3f6fb;
  }
  .access-page .portal-nav { min-height:68px;padding:12px 18px; }
  .access-page .portal-brand { height:44px;border-radius:0; }
  .access-page .portal-brand img { display:none; }
  .access-page .portal-brand span { margin:0;font-size:0; }
  .access-page .portal-brand span::after { content:"award.vibe.coded";font:400 24px/1 "Instrument Serif",serif;letter-spacing:-.04em; }
  .access-page .project-nav-actions { gap:0; }
  .access-page .project-nav-actions a { min-height:44px;display:flex;align-items:center;color:#737e8f;font-size:10px;font-weight:700; }
  .access-page .project-nav-actions a:first-child { display:none; }
  .access-page .portal-main { width:min(calc(100% - 36px),430px);margin:9svh auto 0; }
  .access-page .portal-shell { max-width:none; }
  .access-page .portal-kicker { display:none; }
  .access-page .portal-title { margin:0;font:400 clamp(46px,14vw,60px)/.9 "Instrument Serif",serif;letter-spacing:-.045em; }
  .access-page .portal-copy { max-width:350px;margin:15px auto 0;color:#7a8494;font-size:14px;line-height:1.5; }
  .access-page .access-form { max-width:none;margin:42px 0 0;gap:8px; }
  .access-page .access-form label { font-size:12px;font-weight:800; }
  .access-page .access-form__row { gap:12px; }
  .access-page .access-form input { min-height:57px;padding:0 16px;border-color:rgba(35,43,60,.12);border-radius:17px;background:rgba(255,255,255,.76);font-size:14px;box-shadow:inset 0 1px 0 #fff; }
  .access-page .access-form input::placeholder { color:#969eaa; }
  .access-page .access-form input:focus { border-color:#6d7fa9;box-shadow:0 0 0 3px rgba(76,99,155,.12); }
  .access-page .access-form button { min-height:57px;border-radius:17px;background:linear-gradient(100deg,#ff7b28,#ef5775 45%,#5267f8);box-shadow:0 20px 40px -27px #4659ce;font-size:14px; }
  .access-page .access-assurance { max-width:330px;margin:17px auto 0;display:block;color:#7e8897;font-size:10px;line-height:1.5;text-align:center; }
  .access-page .access-note { min-height:20px;margin:11px auto 0;color:#a3424d;font-size:10px;line-height:1.45;text-align:center; }
  .access-page .access-sent { margin-top:30px;padding:20px;border-color:rgba(35,43,60,.11);border-radius:20px;background:rgba(255,255,255,.76); }
  .access-page .access-sent__visual { background:linear-gradient(135deg,#ff9b43,#5267f8);color:#fff; }
  .access-page .access-sent h2 { font-size:40px; }
}

.private-footer { margin: -40px 0 32px; padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.private-footer p { margin: 0; font-size: 12px; }
.private-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.private-footer a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); font-size: 12px; font-weight: 700; text-underline-offset: 4px; }
@media (min-width: 680px) { .private-footer { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Sign in is a full site page, not a floating portal panel. */
body.access-page { display:flex;flex-direction:column;background:radial-gradient(circle at 15% 8%,rgba(232,225,244,.72),transparent 30%),radial-gradient(circle at 88% 85%,rgba(218,231,255,.7),transparent 32%),#f3f6fb; }
.access-page .portal-main { width:min(calc(100% - 44px),1120px);margin:0 auto;padding:132px 0 110px;flex:1; }
.access-page .portal-shell { max-width:none;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.72fr);align-items:start;gap:clamp(56px,9vw,130px);text-align:left; }
.access-page .portal-kicker { margin:0;color:#5d71a1;font-size:10px;font-weight:800; }
.access-page .portal-title { max-width:620px;margin:18px 0;font-size:clamp(64px,7vw,96px);letter-spacing:-.045em; }
.access-page .portal-copy { max-width:520px;margin:0;color:#747e8e;font-size:17px; }
.access-page .access-panel { padding-top:45px;border-top:1px solid var(--line); }
.access-page .access-form { max-width:none;margin:0;gap:10px; }
.access-page .access-form__row { flex-direction:column;gap:10px; }
.access-page .access-form input,.access-page .access-form button { min-height:58px;border-radius:14px; }
.access-page .access-form button { width:100%; }
.access-page .access-assurance { max-width:380px;margin:15px 0 0;display:block;color:#7e8795;font-size:10px;line-height:1.55;text-align:left; }
.access-page .access-note { margin:11px 0 0;text-align:left; }
.access-page .access-sent { max-width:none;margin:0;padding:0;border:0;background:transparent; }

@media(max-width:759px) {
  .access-page .portal-main { width:min(calc(100% - 36px),520px);padding:108px 0 78px; }
  .access-page .portal-shell { display:block;text-align:left; }
  .access-page .portal-kicker { display:block; }
  .access-page .portal-title { margin:14px 0;font-size:clamp(48px,14vw,64px); }
  .access-page .portal-copy { margin:0;font-size:14px; }
  .access-page .access-panel { margin-top:42px;padding-top:26px; }
  .access-page .access-form { margin:0; }
  .access-page .access-assurance,.access-page .access-note { margin-left:0;margin-right:0;text-align:left; }
  .access-page .access-sent { margin-top:0;padding:0;border:0;background:transparent; }
  .access-page .access-sent h2 { font-size:42px; }
}
