/* Public information pages (FAQ, Contact us): the VERA shell look, readable
   before sign-in, light and dark from the same tokens. */
.pg-info { min-height: 100dvh; margin: 0; display: flex; flex-direction: column; background: var(--bg, #16181c); color: var(--ink, #eef0f3);
  font-family: var(--ff-sans, 'IBM Plex Sans', system-ui, sans-serif); font-size: 15.5px; line-height: 1.65; }
.pg-info a { color: inherit; }
.ip-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 4vw, 48px);
  background: color-mix(in srgb, var(--bg, #16181c) 86%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line, #2a2e35); }
.ip-mark { display: block; width: 132px; height: 22px; background: var(--ink, #eef0f3);
  -webkit-mask: url(./vera-lockup-mask-tm.png) no-repeat left center / contain; mask: url(./vera-lockup-mask-tm.png) no-repeat left center / contain; }
.ip-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ip-nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-family: var(--ff-display, inherit); font-stretch: 112%; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 650; color: var(--ink-2, #b7bcc4); }
.ip-nav a:hover, .ip-nav a[aria-current="page"] { color: var(--ink, #eef0f3); background: var(--v2-sunk, #22262c); }
.ip-nav .ip-back { border: 1px solid var(--line, #2a2e35); }
.ip-main { width: min(780px, 100%); box-sizing: border-box; margin: 0 auto; padding: clamp(32px, 6vw, 64px) 16px 56px; flex: 1; }
.ip-eyebrow { margin: 0 0 8px; font-family: var(--ff-display, inherit); font-stretch: 112%; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; color: var(--muted, #8c929b); }
.ip-h1 { margin: 0 0 12px; font-family: var(--ff-display, inherit); font-stretch: 115%; text-transform: uppercase; letter-spacing: .05em; font-size: clamp(24px, 4vw, 32px); font-weight: 700; line-height: 1.15; }
.ip-lead { margin: 0 0 36px; max-width: 62ch; color: var(--ink-2, #b7bcc4); font-size: 16.5px; }
.ip-sec { margin-bottom: 32px; }
.ip-sec h2 { margin: 0 0 12px; font-family: var(--ff-display, inherit); font-stretch: 112%; text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; font-weight: 650; color: var(--muted, #8c929b); }
.ip-sec details { margin-bottom: 10px; border: 1px solid var(--line, #2a2e35); border-radius: 16px; background: var(--v2-surface, #1b1e23); box-shadow: var(--v2-puff, none), var(--v2-raise, none); }
.ip-sec summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-weight: 600; font-size: 16px; }
.ip-sec summary::-webkit-details-marker { display: none; }
.ip-sec summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); opacity: .6; transition: transform 220ms ease; }
.ip-sec details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.ip-sec details > :not(summary) { margin: 0 20px 16px; color: var(--ink-2, #b7bcc4); }
.ip-sec details ol, .ip-sec details ul { padding-left: 22px; }
.ip-sec details li { margin-bottom: 6px; }
.ip-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ip-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line, #2a2e35); border-radius: 18px; background: var(--v2-surface, #1b1e23);
  text-decoration: none; box-shadow: var(--v2-puff, none), var(--v2-raise, none); transition: border-color 200ms ease, transform 200ms ease; }
.ip-card:hover { border-color: var(--line-strong, #3a3f47); transform: translateY(-2px); }
.ip-ic { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--v2-sunk, #22262c); color: var(--ink-2, #b7bcc4); }
.ip-ic svg { width: 18px; height: 18px; }
.ip-ct { display: grid; gap: 2px; font-size: 14px; color: var(--ink-2, #b7bcc4); line-height: 1.5; }
.ip-ct b { color: var(--ink, #eef0f3); font-size: 15.5px; }
.ip-note { margin-top: 24px; color: var(--muted, #8c929b); font-size: 14.5px; }
.ip-foot { padding: 22px 16px; text-align: center; border-top: 1px solid var(--line, #2a2e35); font-family: var(--ff-mono, monospace); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted, #8c929b); }
.ip-foot a { color: var(--ink-2, #b7bcc4); }
@media (max-width: 560px) { .ip-top { flex-direction: column; align-items: flex-start; } }

/* ---------- Brand background: the sign-in page's warm and blue washes over a
   faint grid. Fixed and still (the frosted top bar must not blur a moving layer). */
.pg-info { background-color: var(--bg, #16181c);
  background-image: radial-gradient(70% 60% at 12% 8%, oklch(80% .1 62 / .16), transparent 70%),
                    radial-gradient(60% 55% at 92% 88%, oklch(70% .08 245 / .14), transparent 70%);
  background-attachment: fixed; }
.pg-info::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(color-mix(in srgb, var(--ink, #eef0f3) 5%, transparent) 1px, transparent 1px),
                    linear-gradient(90deg, color-mix(in srgb, var(--ink, #eef0f3) 5%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(90% 70% at 50% 20%, #000 30%, transparent 85%); mask-image: radial-gradient(90% 70% at 50% 20%, #000 30%, transparent 85%); }
.pg-info > :not(.ip-top) { position: relative; z-index: 1; }

/* ---------- Hover: cards lift, the edge brightens, a soft light follows the cursor. */
.ip-sec details, .ip-card { position: relative; overflow: hidden; isolation: isolate;
  transition: transform 320ms var(--v2-ease, cubic-bezier(.23, 1, .32, 1)), border-color 240ms ease, box-shadow 320ms ease; }
.ip-sec details::before, .ip-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 300ms ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--ink, #eef0f3) 7%, transparent), transparent 62%); }
@media (hover: hover) and (pointer: fine) {
  .ip-sec details:hover, .ip-card:hover { transform: translateY(-2px); border-color: var(--line-strong, #3a3f47); box-shadow: var(--v2-puff, none), var(--v2-raise-hi, 0 18px 40px -20px #000); }
  .ip-sec details:hover::before, .ip-card:hover::before { opacity: 1; }
  .ip-sec summary:hover { color: var(--ink, #eef0f3); }
  .ip-sec summary:hover::after { opacity: 1; }
}
.ip-sec summary { transition: color 200ms ease; color: var(--ink, #eef0f3); }
.ip-sec details[open] { border-color: var(--line-strong, #3a3f47); }
/* An answer eases in when it opens. */
.ip-sec details[open] > :not(summary) { animation: ip-open 320ms var(--v2-ease, cubic-bezier(.23, 1, .32, 1)) both; }
@keyframes ip-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Entrance: everything rises in as it reaches the viewport (info-pages.js). */
.ip-wait { opacity: 0; transform: translateY(14px); }
.ip-in { animation: ip-rise 560ms var(--v2-ease, cubic-bezier(.23, 1, .32, 1)) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes ip-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .ip-wait { opacity: 1; transform: none; } .ip-in, .ip-sec details[open] > :not(summary) { animation: none; }
  .ip-sec details, .ip-card { transition: none; }
}

/* Terms and Privacy: readable prose, and a draft banner until Warwick publishes. */
.ip-draft { display: inline-block; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px; font-family: var(--ff-mono); font-size: 12px; letter-spacing: .06em; color: oklch(80% .13 88); border: 1px solid color-mix(in oklch, oklch(80% .13 88) 45%, transparent); background: color-mix(in oklch, oklch(80% .13 88) 10%, transparent); }
.ip-legal .ip-sec p, .ip-legal .ip-sec li { font-size: 15px; line-height: 1.7; color: var(--ink-2, inherit); max-width: 72ch; }
.ip-legal .ip-sec ul { padding-left: 20px; display: grid; gap: 6px; margin: 10px 0; }
.ip-legal .ip-sec p + p { margin-top: 10px; }
/* Inside the sign-in pop-up: the page body only. */
.ip-embed .ip-top, .ip-embed .ip-foot { display: none; }
.ip-embed .ip-main { padding-top: 28px; }
