:root {
  --ih-paper: #fbf8f1;
  --ih-paper-deep: #f1eadf;
  --ih-surface: #fffdfa;
  --ih-ink: #241b21;
  --ih-muted: #756b70;
  --ih-line: rgba(74, 47, 57, 0.14);
  --ih-plum: #51244f;
  --ih-plum-soft: #754571;
  --ih-tangerine: #ec5a32;
  --ih-cream: #fff1cd;
  --ih-focus: #ec5a32;
  --ih-shadow-soft: 0 18px 54px rgba(72, 39, 48, 0.11);
  --ih-font-display: "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ih-font-body: "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* Lightweight brand atoms. This file intentionally contains no element reset. */
.ih-brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  background: var(--ih-tangerine);
  box-shadow: 0 4px 14px rgba(81, 36, 79, 0.16);
}

.ih-brand-mark > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ih-brand-mark--small {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.ih-brand-mark--large {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.ih-brand-wordmark {
  color: var(--ih-ink);
  font-family: var(--ih-font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.ih-brand-focus:focus-visible,
.ih-brand-focus-within:focus-within {
  outline: 3px solid var(--ih-focus);
  outline-offset: 4px;
}

.ih-brand-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ih-plum);
  color: #fff;
  font-family: var(--ih-font-body);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(81, 36, 79, 0.18);
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ih-brand-button:hover {
  background: var(--ih-plum-soft);
  transform: translateY(-1px);
}

.ih-brand-link {
  color: var(--ih-plum);
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 0.22em;
}

.ih-brand-link:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .ih-brand-button {
    transition: none;
  }

  .ih-brand-button:hover {
    transform: none;
  }
}
