/* Avumen site. Light only. Colors are the brand palette (AVUMEN_Palette.css); sizes follow the approved card design. */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/IBMPlexSans-Regular.ba711a3085.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/IBMPlexSans-SemiBold.f78048030e.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --blue: #2D52D2;
  --blue-dark: #213FA8;
  --navy: #0B1530;
  --tint: #EEF2FF;
  --ink: #121933;
  --muted: #4A5374;
  --page: #F4F6FB;
  --card: #FFFFFF;
  --divider: #E5E9F3;
  --black: #000000;
  --white: #FFFFFF;
  --focus: #2D52D2;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--page);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 22px;
}

h1,
h2,
p,
dl,
dd,
ul {
  margin: 0;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* The card page */

/* The design's 76 pixel bottom padding put the initials circle over the logo (the card rises 56 and the circle 52
   more), so the band is taller: the circle starts 18 pixels under the logo. */
.band {
  background: var(--navy);
  padding: 22px 24px 126px;
  display: flex;
  justify-content: center;
}

/* Padding a negative margin cancels gives the logo link a 44 pixel target without moving it. */
.band-logo {
  display: block;
  line-height: 0;
  padding: 7px;
  margin: -7px;
}

.band-logo:focus-visible {
  outline-color: var(--white);
}

.band-logo img {
  display: block;
  height: 30px;
  width: auto;
}

.stack {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 16px;
}

.profile,
.panel {
  background: var(--card);
  border: 1px solid var(--divider);
}

.profile {
  margin-top: -56px;
  border-radius: 20px;
  padding: 0 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.initials {
  width: 104px;
  height: 104px;
  margin-top: -52px;
  border-radius: 52px;
  border: 4px solid var(--white);
  background: var(--tint);
  color: var(--blue-dark);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile h1 {
  margin: 14px 0 2px;
  font-size: 26px;
  line-height: 32px;
  font-weight: 600;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.role {
  color: var(--muted);
}

.primary-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 20px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  text-align: center;
}

.button-primary,
.button-wallet {
  min-height: 50px;
  border-radius: 12px;
  font-size: 16px;
  color: var(--white);
}

.button-primary {
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.button-wallet {
  background: var(--black);
}

.button-wallet:hover {
  color: var(--white);
}

.button svg {
  flex: none;
}

.quick-actions {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 16px;
}

.quick-actions a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

.quick-actions a:hover {
  color: var(--blue-dark);
}

.quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background: var(--tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel {
  margin-top: 14px;
  border-radius: 16px;
}

.details {
  padding: 4px 18px;
}

.details div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
}

.details div:last-child {
  border-bottom: 0;
}

.details dt {
  width: 76px;
  flex: none;
  font-size: 13px;
  color: var(--muted);
}

.details dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

.details dd a {
  display: inline-block;
  padding: 11px 0;
  margin: -11px 0;
}

.about {
  padding: 18px;
}

.eyebrow {
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-lead {
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  color: var(--navy);
}

.about-body {
  margin: 6px 0 14px;
  font-size: 14px;
  line-height: 21px;
  color: var(--muted);
}

.button-outline {
  min-height: 44px;
  border-radius: 10px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
}

.button-outline:hover {
  border-color: var(--blue-dark);
}

.share {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.qr {
  display: block;
  flex: none;
  width: 112px;
  height: 112px;
}

.share-title {
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--navy);
}

.share-body {
  margin-top: 2px;
  font-size: 13px;
  line-height: 19px;
  color: var(--muted);
}

.share-url {
  margin-top: 6px;
  font-size: 13px;
  line-height: 19px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.footer {
  padding: 22px 16px 28px;
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  text-align: center;
  font-size: 12px;
  line-height: 16px;
}

.footer a {
  display: inline-block;
  padding: 14px 8px;
  margin: -14px 0;
  color: var(--muted);
}

@media (max-width: 359px) {
  .stack {
    padding: 0 12px;
  }

  .profile {
    padding: 0 14px 20px;
  }

  .details {
    padding: 4px 14px;
  }

  .details dt {
    width: 64px;
  }

  .share {
    padding: 14px;
    gap: 12px;
  }

  .qr {
    width: 96px;
    height: 96px;
  }
}

/* The home page and Page Not Found */

.plain {
  min-height: 100vh;
  min-height: 100svh;
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.plain-logo-link {
  display: block;
  padding: 2px;
}

.plain-logo {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
}

.plain-title {
  margin-top: 28px;
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
  color: var(--navy);
  text-wrap: balance;
}

.plain-body {
  margin-top: 8px;
  color: var(--muted);
}

.plain-link {
  display: inline-block;
  margin-top: 24px;
  padding: 11px 4px;
  font-weight: 600;
  font-size: 16px;
}
